Optimal. Leaf size=65 \[ \frac{3}{8} a^2 \tanh (x) \sqrt{a \text{sech}^2(x)}+\frac{3}{8} a^{5/2} \tan ^{-1}\left (\frac{\sqrt{a} \tanh (x)}{\sqrt{a \text{sech}^2(x)}}\right )+\frac{1}{4} a \tanh (x) \left (a \text{sech}^2(x)\right )^{3/2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0336254, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {4122, 195, 217, 203} \[ \frac{3}{8} a^2 \tanh (x) \sqrt{a \text{sech}^2(x)}+\frac{3}{8} a^{5/2} \tan ^{-1}\left (\frac{\sqrt{a} \tanh (x)}{\sqrt{a \text{sech}^2(x)}}\right )+\frac{1}{4} a \tanh (x) \left (a \text{sech}^2(x)\right )^{3/2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4122
Rule 195
Rule 217
Rule 203
Rubi steps
\begin{align*} \int \left (a \text{sech}^2(x)\right )^{5/2} \, dx &=a \operatorname{Subst}\left (\int \left (a-a x^2\right )^{3/2} \, dx,x,\tanh (x)\right )\\ &=\frac{1}{4} a \left (a \text{sech}^2(x)\right )^{3/2} \tanh (x)+\frac{1}{4} \left (3 a^2\right ) \operatorname{Subst}\left (\int \sqrt{a-a x^2} \, dx,x,\tanh (x)\right )\\ &=\frac{3}{8} a^2 \sqrt{a \text{sech}^2(x)} \tanh (x)+\frac{1}{4} a \left (a \text{sech}^2(x)\right )^{3/2} \tanh (x)+\frac{1}{8} \left (3 a^3\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a-a x^2}} \, dx,x,\tanh (x)\right )\\ &=\frac{3}{8} a^2 \sqrt{a \text{sech}^2(x)} \tanh (x)+\frac{1}{4} a \left (a \text{sech}^2(x)\right )^{3/2} \tanh (x)+\frac{1}{8} \left (3 a^3\right ) \operatorname{Subst}\left (\int \frac{1}{1+a x^2} \, dx,x,\frac{\tanh (x)}{\sqrt{a \text{sech}^2(x)}}\right )\\ &=\frac{3}{8} a^{5/2} \tan ^{-1}\left (\frac{\sqrt{a} \tanh (x)}{\sqrt{a \text{sech}^2(x)}}\right )+\frac{3}{8} a^2 \sqrt{a \text{sech}^2(x)} \tanh (x)+\frac{1}{4} a \left (a \text{sech}^2(x)\right )^{3/2} \tanh (x)\\ \end{align*}
Mathematica [A] time = 0.0341739, size = 42, normalized size = 0.65 \[ \frac{1}{8} \cosh (x) \left (a \text{sech}^2(x)\right )^{5/2} \left (2 \sinh (x)+3 \sinh (x) \cosh ^2(x)+6 \cosh ^4(x) \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.08, size = 127, normalized size = 2. \begin{align*}{\frac{{a}^{2} \left ( 3\,{{\rm e}^{6\,x}}+11\,{{\rm e}^{4\,x}}-11\,{{\rm e}^{2\,x}}-3 \right ) }{4\, \left ({{\rm e}^{2\,x}}+1 \right ) ^{3}}\sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}}+{\frac{3\,i}{8}}{a}^{2}{{\rm e}^{-x}} \left ({{\rm e}^{2\,x}}+1 \right ) \sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}\ln \left ({{\rm e}^{x}}+i \right ) -{\frac{3\,i}{8}}{a}^{2}{{\rm e}^{-x}} \left ({{\rm e}^{2\,x}}+1 \right ) \sqrt{{\frac{a{{\rm e}^{2\,x}}}{ \left ({{\rm e}^{2\,x}}+1 \right ) ^{2}}}}\ln \left ({{\rm e}^{x}}-i \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.68599, size = 97, normalized size = 1.49 \begin{align*} \frac{3}{4} \, a^{\frac{5}{2}} \arctan \left (e^{x}\right ) + \frac{3 \, a^{\frac{5}{2}} e^{\left (7 \, x\right )} + 11 \, a^{\frac{5}{2}} e^{\left (5 \, x\right )} - 11 \, a^{\frac{5}{2}} e^{\left (3 \, x\right )} - 3 \, a^{\frac{5}{2}} e^{x}}{4 \,{\left (e^{\left (8 \, x\right )} + 4 \, e^{\left (6 \, x\right )} + 6 \, e^{\left (4 \, x\right )} + 4 \, e^{\left (2 \, x\right )} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.23797, size = 3067, normalized size = 47.18 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1358, size = 88, normalized size = 1.35 \begin{align*} \frac{1}{16} \,{\left (3 \, \pi - \frac{4 \,{\left (3 \,{\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 20 \, e^{\left (-x\right )} - 20 \, e^{x}\right )}}{{\left ({\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4\right )}^{2}} + 6 \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\right )} a^{\frac{5}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]