Optimal. Leaf size=51 \[ \frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4207, 198, 197}
\begin {gather*} \frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}}+\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 197
Rule 198
Rule 4207
Rubi steps
\begin {align*} \int \frac {1}{\text {sech}^2(a+b x)^{3/2}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\left (1-x^2\right )^{5/2}} \, dx,x,\tanh (a+b x)\right )}{b}\\ &=\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \text {Subst}\left (\int \frac {1}{\left (1-x^2\right )^{3/2}} \, dx,x,\tanh (a+b x)\right )}{3 b}\\ &=\frac {\tanh (a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}}+\frac {2 \tanh (a+b x)}{3 b \sqrt {\text {sech}^2(a+b x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 44, normalized size = 0.86 \begin {gather*} \frac {3 \text {sech}^2(a+b x) \tanh (a+b x)+\tanh ^3(a+b x)}{3 b \text {sech}^2(a+b x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(200\) vs.
\(2(43)=86\).
time = 2.54, size = 201, normalized size = 3.94
method | result | size |
risch | \(\frac {{\mathrm e}^{4 b x +4 a}}{24 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}+\frac {3 \,{\mathrm e}^{2 b x +2 a}}{8 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {3}{8 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}-\frac {{\mathrm e}^{-2 b x -2 a}}{24 b \left ({\mathrm e}^{2 b x +2 a}+1\right ) \sqrt {\frac {{\mathrm e}^{2 b x +2 a}}{\left ({\mathrm e}^{2 b x +2 a}+1\right )^{2}}}}\) | \(201\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.32, size = 54, normalized size = 1.06 \begin {gather*} \frac {e^{\left (3 \, b x + 3 \, a\right )}}{24 \, b} + \frac {3 \, e^{\left (b x + a\right )}}{8 \, b} - \frac {3 \, e^{\left (-b x - a\right )}}{8 \, b} - \frac {e^{\left (-3 \, b x - 3 \, a\right )}}{24 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 32, normalized size = 0.63 \begin {gather*} \frac {\sinh \left (b x + a\right )^{3} + 3 \, {\left (\cosh \left (b x + a\right )^{2} + 3\right )} \sinh \left (b x + a\right )}{12 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 12.29, size = 54, normalized size = 1.06 \begin {gather*} \begin {cases} - \frac {2 \tanh ^{3}{\left (a + b x \right )}}{3 b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {3}{2}}} + \frac {\tanh {\left (a + b x \right )}}{b \left (\operatorname {sech}^{2}{\left (a + b x \right )}\right )^{\frac {3}{2}}} & \text {for}\: b \neq 0 \\\frac {x}{\left (\operatorname {sech}^{2}{\left (a \right )}\right )^{\frac {3}{2}}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.37, size = 48, normalized size = 0.94 \begin {gather*} -\frac {{\left (9 \, e^{\left (2 \, b x + 2 \, a\right )} + 1\right )} e^{\left (-3 \, b x - 3 \, a\right )} - e^{\left (3 \, b x + 3 \, a\right )} - 9 \, e^{\left (b x + a\right )}}{24 \, 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.02 \begin {gather*} \int \frac {1}{{\left (\frac {1}{{\mathrm {cosh}\left (a+b\,x\right )}^2}\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________