Optimal. Leaf size=55 \[ \frac{8 \tanh (x)}{15 a^2 \sqrt{a \text{sech}^2(x)}}+\frac{4 \tanh (x)}{15 a \left (a \text{sech}^2(x)\right )^{3/2}}+\frac{\tanh (x)}{5 \left (a \text{sech}^2(x)\right )^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0291431, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4122, 192, 191} \[ \frac{8 \tanh (x)}{15 a^2 \sqrt{a \text{sech}^2(x)}}+\frac{4 \tanh (x)}{15 a \left (a \text{sech}^2(x)\right )^{3/2}}+\frac{\tanh (x)}{5 \left (a \text{sech}^2(x)\right )^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 192
Rule 191
Rubi steps
\begin{align*} \int \frac{1}{\left (a \text{sech}^2(x)\right )^{5/2}} \, dx &=a \operatorname{Subst}\left (\int \frac{1}{\left (a-a x^2\right )^{7/2}} \, dx,x,\tanh (x)\right )\\ &=\frac{\tanh (x)}{5 \left (a \text{sech}^2(x)\right )^{5/2}}+\frac{4}{5} \operatorname{Subst}\left (\int \frac{1}{\left (a-a x^2\right )^{5/2}} \, dx,x,\tanh (x)\right )\\ &=\frac{\tanh (x)}{5 \left (a \text{sech}^2(x)\right )^{5/2}}+\frac{4 \tanh (x)}{15 a \left (a \text{sech}^2(x)\right )^{3/2}}+\frac{8 \operatorname{Subst}\left (\int \frac{1}{\left (a-a x^2\right )^{3/2}} \, dx,x,\tanh (x)\right )}{15 a}\\ &=\frac{\tanh (x)}{5 \left (a \text{sech}^2(x)\right )^{5/2}}+\frac{4 \tanh (x)}{15 a \left (a \text{sech}^2(x)\right )^{3/2}}+\frac{8 \tanh (x)}{15 a^2 \sqrt{a \text{sech}^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0388786, size = 36, normalized size = 0.65 \[ \frac{(150 \sinh (x)+25 \sinh (3 x)+3 \sinh (5 x)) \cosh (x) \sqrt{a \text{sech}^2(x)}}{240 a^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.054, size = 196, normalized size = 3.6 \begin{align*}{\frac{{{\rm e}^{6\,x}}}{160\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}}+{\frac{5\,{{\rm e}^{4\,x}}}{96\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}}+{\frac{5\,{{\rm e}^{2\,x}}}{16\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}}-{\frac{5}{16\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}}-{\frac{5\,{{\rm e}^{-2\,x}}}{96\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}}-{\frac{{{\rm e}^{-4\,x}}}{160\,{a}^{2} \left ({{\rm e}^{2\,x}}+1 \right ) }{\frac{1}{\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.82914, size = 72, normalized size = 1.31 \begin{align*} \frac{e^{\left (5 \, x\right )}}{160 \, a^{\frac{5}{2}}} + \frac{5 \, e^{\left (3 \, x\right )}}{96 \, a^{\frac{5}{2}}} - \frac{5 \, e^{\left (-x\right )}}{16 \, a^{\frac{5}{2}}} - \frac{5 \, e^{\left (-3 \, x\right )}}{96 \, a^{\frac{5}{2}}} - \frac{e^{\left (-5 \, x\right )}}{160 \, a^{\frac{5}{2}}} + \frac{5 \, e^{x}}{16 \, a^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.14912, size = 1885, normalized size = 34.27 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 15.0781, size = 60, normalized size = 1.09 \begin{align*} \frac{8 \tanh ^{5}{\left (x \right )}}{15 a^{\frac{5}{2}} \left (\operatorname{sech}^{2}{\left (x \right )}\right )^{\frac{5}{2}}} - \frac{4 \tanh ^{3}{\left (x \right )}}{3 a^{\frac{5}{2}} \left (\operatorname{sech}^{2}{\left (x \right )}\right )^{\frac{5}{2}}} + \frac{\tanh{\left (x \right )}}{a^{\frac{5}{2}} \left (\operatorname{sech}^{2}{\left (x \right )}\right )^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.13454, size = 55, normalized size = 1. \begin{align*} -\frac{{\left (150 \, e^{\left (4 \, x\right )} + 25 \, e^{\left (2 \, x\right )} + 3\right )} e^{\left (-5 \, x\right )} - 3 \, e^{\left (5 \, x\right )} - 25 \, e^{\left (3 \, x\right )} - 150 \, e^{x}}{480 \, a^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]