Optimal. Leaf size=51 \[ \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}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0197899, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {4122, 192, 191} \[ \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}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\text{sech}^2(a+b x)^{3/2}} \, dx &=\frac{\operatorname{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 \operatorname{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.0657508, size = 44, normalized size = 0.86 \[ \frac{\tanh ^3(a+b x)+3 \tanh (a+b x) \text{sech}^2(a+b x)}{3 b \text{sech}^2(a+b x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.104, size = 201, normalized size = 3.9 \begin{align*}{\frac{{{\rm e}^{4\,bx+4\,a}}}{ \left ( 24+24\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}+{\frac{3\,{{\rm e}^{2\,bx+2\,a}}}{ \left ( 8+8\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{3}{ \left ( 8+8\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}}-{\frac{{{\rm e}^{-2\,bx-2\,a}}}{ \left ( 24+24\,{{\rm e}^{2\,bx+2\,a}} \right ) b}{\frac{1}{\sqrt{{\frac{{{\rm e}^{2\,bx+2\,a}}}{ \left ( 1+{{\rm e}^{2\,bx+2\,a}} \right ) ^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.01207, size = 73, normalized size = 1.43 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.04689, size = 89, normalized size = 1.75 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 20.3354, size = 54, normalized size = 1.06 \begin{align*} \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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13752, size = 65, normalized size = 1.27 \begin{align*} -\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{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]