Optimal. Leaf size=42 \[ \frac{\tanh (x)}{2 a \sqrt{a \cosh ^2(x)}}+\frac{\cosh (x) \tan ^{-1}(\sinh (x))}{2 a \sqrt{a \cosh ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0248997, antiderivative size = 42, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3204, 3207, 3770} \[ \frac{\tanh (x)}{2 a \sqrt{a \cosh ^2(x)}}+\frac{\cosh (x) \tan ^{-1}(\sinh (x))}{2 a \sqrt{a \cosh ^2(x)}} \]
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 )^{3/2}} \, dx &=\frac{\tanh (x)}{2 a \sqrt{a \cosh ^2(x)}}+\frac{\int \frac{1}{\sqrt{a \cosh ^2(x)}} \, dx}{2 a}\\ &=\frac{\tanh (x)}{2 a \sqrt{a \cosh ^2(x)}}+\frac{\cosh (x) \int \text{sech}(x) \, dx}{2 a \sqrt{a \cosh ^2(x)}}\\ &=\frac{\tan ^{-1}(\sinh (x)) \cosh (x)}{2 a \sqrt{a \cosh ^2(x)}}+\frac{\tanh (x)}{2 a \sqrt{a \cosh ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0144693, size = 31, normalized size = 0.74 \[ \frac{\tanh (x)+2 \cosh (x) \tan ^{-1}\left (\tanh \left (\frac{x}{2}\right )\right )}{2 a \sqrt{a \cosh ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.059, size = 82, normalized size = 2. \begin{align*}{\frac{1}{2\,{a}^{2}\cosh \left ( x \right ) \sinh \left ( x \right ) }\sqrt{a \left ( \sinh \left ( x \right ) \right ) ^{2}} \left ( -\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 ) ^{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.77283, size = 55, normalized size = 1.31 \begin{align*} \frac{e^{\left (3 \, x\right )} - e^{x}}{a^{\frac{3}{2}} e^{\left (4 \, x\right )} + 2 \, a^{\frac{3}{2}} e^{\left (2 \, x\right )} + a^{\frac{3}{2}}} + \frac{\arctan \left (e^{x}\right )}{a^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.18795, size = 878, normalized size = 20.9 \begin{align*} \frac{{\left (3 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right )^{2} + e^{x} \sinh \left (x\right )^{3} +{\left (3 \, \cosh \left (x\right )^{2} - 1\right )} e^{x} \sinh \left (x\right ) +{\left (4 \, \cosh \left (x\right ) e^{x} \sinh \left (x\right )^{3} + e^{x} \sinh \left (x\right )^{4} + 2 \,{\left (3 \, \cosh \left (x\right )^{2} + 1\right )} e^{x} \sinh \left (x\right )^{2} + 4 \,{\left (\cosh \left (x\right )^{3} + \cosh \left (x\right )\right )} e^{x} \sinh \left (x\right ) +{\left (\cosh \left (x\right )^{4} + 2 \, \cosh \left (x\right )^{2} + 1\right )} e^{x}\right )} \arctan \left (\cosh \left (x\right ) + \sinh \left (x\right )\right ) +{\left (\cosh \left (x\right )^{3} - \cosh \left (x\right )\right )} e^{x}\right )} \sqrt{a e^{\left (4 \, x\right )} + 2 \, a e^{\left (2 \, x\right )} + a} e^{\left (-x\right )}}{a^{2} \cosh \left (x\right )^{4} +{\left (a^{2} e^{\left (2 \, x\right )} + a^{2}\right )} \sinh \left (x\right )^{4} + 2 \, a^{2} \cosh \left (x\right )^{2} + 4 \,{\left (a^{2} \cosh \left (x\right ) e^{\left (2 \, x\right )} + a^{2} \cosh \left (x\right )\right )} \sinh \left (x\right )^{3} + 2 \,{\left (3 \, a^{2} \cosh \left (x\right )^{2} + a^{2} +{\left (3 \, a^{2} \cosh \left (x\right )^{2} + a^{2}\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right )^{2} + a^{2} +{\left (a^{2} \cosh \left (x\right )^{4} + 2 \, a^{2} \cosh \left (x\right )^{2} + a^{2}\right )} e^{\left (2 \, x\right )} + 4 \,{\left (a^{2} \cosh \left (x\right )^{3} + a^{2} \cosh \left (x\right ) +{\left (a^{2} \cosh \left (x\right )^{3} + a^{2} \cosh \left (x\right )\right )} e^{\left (2 \, x\right )}\right )} \sinh \left (x\right )} \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.15458, size = 76, normalized size = 1.81 \begin{align*} \frac{\frac{\pi + 2 \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, x\right )} - 1\right )} e^{\left (-x\right )}\right )}{\sqrt{a}} - \frac{4 \,{\left (e^{\left (-x\right )} - e^{x}\right )}}{{\left ({\left (e^{\left (-x\right )} - e^{x}\right )}^{2} + 4\right )} \sqrt{a}}}{4 \, a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]