Optimal. Leaf size=61 \[ \frac{3 \tanh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{3 \cosh (x) \tan ^{-1}(\sinh (x))}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0385913, antiderivative size = 61, 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 = {3204, 3207, 3770} \[ \frac{3 \tanh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{3 \cosh (x) \tan ^{-1}(\sinh (x))}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3204
Rule 3207
Rule 3770
Rubi steps
\begin{align*} \int \frac{1}{\left (a \cosh ^2(x)\right )^{5/2}} \, dx &=\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}}+\frac{3 \int \frac{1}{\left (a \cosh ^2(x)\right )^{3/2}} \, dx}{4 a}\\ &=\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}}+\frac{3 \tanh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{3 \int \frac{1}{\sqrt{a \cosh ^2(x)}} \, dx}{8 a^2}\\ &=\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}}+\frac{3 \tanh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{(3 \cosh (x)) \int \text{sech}(x) \, dx}{8 a^2 \sqrt{a \cosh ^2(x)}}\\ &=\frac{3 \tan ^{-1}(\sinh (x)) \cosh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}+\frac{\tanh (x)}{4 a \left (a \cosh ^2(x)\right )^{3/2}}+\frac{3 \tanh (x)}{8 a^2 \sqrt{a \cosh ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0350681, size = 40, normalized size = 0.66 \[ \frac{\tanh (x) \left (2 \text{sech}^2(x)+3\right )+6 \cosh (x) \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )}{8 a^2 \sqrt{a \cosh ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.062, size = 102, normalized size = 1.7 \begin{align*}{\frac{1}{8\,{a}^{3} \left ( \cosh \left ( x \right ) \right ) ^{3}\sinh \left ( x \right ) }\sqrt{a \left ( \sinh \left ( x \right ) \right ) ^{2}} \left ( -3\,\ln \left ( 2\,{\frac{\sqrt{-a}\sqrt{a \left ( \sinh \left ( x \right ) \right ) ^{2}}-a}{\cosh \left ( x \right ) }} \right ) a \left ( \cosh \left ( x \right ) \right ) ^{4}+3\,\sqrt{a \left ( \sinh \left ( x \right ) \right ) ^{2}} \left ( \cosh \left ( x \right ) \right ) ^{2}\sqrt{-a}+2\,\sqrt{-a}\sqrt{a \left ( \sinh \left ( x \right ) \right ) ^{2}} \right ){\frac{1}{\sqrt{-a}}}{\frac{1}{\sqrt{a \left ( \cosh \left ( x \right ) \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.80192, size = 101, normalized size = 1.66 \begin{align*} \frac{3 \, e^{\left (7 \, x\right )} + 11 \, e^{\left (5 \, x\right )} - 11 \, e^{\left (3 \, x\right )} - 3 \, e^{x}}{4 \,{\left (a^{\frac{5}{2}} e^{\left (8 \, x\right )} + 4 \, a^{\frac{5}{2}} e^{\left (6 \, x\right )} + 6 \, a^{\frac{5}{2}} e^{\left (4 \, x\right )} + 4 \, a^{\frac{5}{2}} e^{\left (2 \, x\right )} + a^{\frac{5}{2}}\right )}} + \frac{3 \, \arctan \left (e^{x}\right )}{4 \, a^{\frac{5}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.33545, size = 2461, normalized size = 40.34 \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.1452, size = 100, normalized size = 1.64 \begin{align*} \frac{3 \,{\left (\pi + 2 \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )\right )}}{16 \, a^{\frac{5}{2}}} - \frac{3 \, \sqrt{a}{\left (e^{\left (-x\right )} - e^{x}\right )}^{3} + 20 \, \sqrt{a}{\left (e^{\left (-x\right )} - e^{x}\right )}}{4 \,{\left ({\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4\right )}^{2} a^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]