Optimal. Leaf size=11 \[ \frac {\text {ArcSin}(\tanh (a+b x))}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 11, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {4207, 222}
\begin {gather*} \frac {\text {ArcSin}(\tanh (a+b x))}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 222
Rule 4207
Rubi steps
\begin {align*} \int \sqrt {\text {sech}^2(a+b x)} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\sqrt {1-x^2}} \, dx,x,\tanh (a+b x)\right )}{b}\\ &=\frac {\sin ^{-1}(\tanh (a+b x))}{b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(29\) vs. \(2(11)=22\).
time = 0.01, size = 29, normalized size = 2.64 \begin {gather*} \frac {\text {ArcTan}(\sinh (a+b x)) \cosh (a+b x) \sqrt {\text {sech}^2(a+b x)}}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 2.49, size = 130, normalized size = 11.82
method | result | size |
risch | \(\frac {i \ln \left ({\mathrm e}^{b x}+i {\mathrm e}^{-a}\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}\, \left ({\mathrm e}^{2 b x +2 a}+1\right ) {\mathrm e}^{-b x -a}}{b}-\frac {i \ln \left ({\mathrm e}^{b x}-i {\mathrm e}^{-a}\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}\, \left ({\mathrm e}^{2 b x +2 a}+1\right ) {\mathrm e}^{-b x -a}}{b}\) | \(130\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 11, normalized size = 1.00 \begin {gather*} \frac {\arctan \left (\sinh \left (b x + a\right )\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 19, normalized size = 1.73 \begin {gather*} \frac {2 \, \arctan \left (\cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {\operatorname {sech}^{2}{\left (a + b x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 12, normalized size = 1.09 \begin {gather*} \frac {2 \, \arctan \left (e^{\left (b x + a\right )}\right )}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.09 \begin {gather*} \int \sqrt {\frac {1}{{\mathrm {cosh}\left (a+b\,x\right )}^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________