Optimal. Leaf size=29 \[ 2 \sqrt{1-\sinh ^2(x)}+\frac{2}{\sqrt{1-\sinh ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.107906, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {12, 266, 43} \[ 2 \sqrt{1-\sinh ^2(x)}+\frac{2}{\sqrt{1-\sinh ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 266
Rule 43
Rubi steps
\begin{align*} \int \frac{\sinh ^2(x) \sinh (2 x)}{\left (1-\sinh ^2(x)\right )^{3/2}} \, dx &=i \operatorname{Subst}\left (\int -\frac{2 i x^3}{\left (1-x^2\right )^{3/2}} \, dx,x,\sinh (x)\right )\\ &=2 \operatorname{Subst}\left (\int \frac{x^3}{\left (1-x^2\right )^{3/2}} \, dx,x,\sinh (x)\right )\\ &=\operatorname{Subst}\left (\int \frac{x}{(1-x)^{3/2}} \, dx,x,\sinh ^2(x)\right )\\ &=\operatorname{Subst}\left (\int \left (\frac{1}{(1-x)^{3/2}}-\frac{1}{\sqrt{1-x}}\right ) \, dx,x,\sinh ^2(x)\right )\\ &=\frac{2}{\sqrt{1-\sinh ^2(x)}}+2 \sqrt{1-\sinh ^2(x)}\\ \end{align*}
Mathematica [A] time = 0.0539855, size = 21, normalized size = 0.72 \[ \frac{5-\cosh (2 x)}{\sqrt{1-\sinh ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.044, size = 28, normalized size = 1. \begin{align*} \mbox{{\tt ` int/indef0`}} \left ( -2\,{\frac{ \left ( \sinh \left ( x \right ) \right ) ^{3}}{ \left ( -1+ \left ( \sinh \left ( x \right ) \right ) ^{2} \right ) \sqrt{1- \left ( \sinh \left ( x \right ) \right ) ^{2}}}},\sinh \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.65, size = 239, normalized size = 8.24 \begin{align*} -\frac{16 \, e^{\left (-x\right )}}{{\left (2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1\right )}^{\frac{3}{2}}{\left (2 \, e^{\left (-x\right )} - e^{\left (-2 \, x\right )} + 1\right )}^{\frac{3}{2}}} + \frac{62 \, e^{\left (-3 \, x\right )}}{{\left (2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1\right )}^{\frac{3}{2}}{\left (2 \, e^{\left (-x\right )} - e^{\left (-2 \, x\right )} + 1\right )}^{\frac{3}{2}}} - \frac{16 \, e^{\left (-5 \, x\right )}}{{\left (2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1\right )}^{\frac{3}{2}}{\left (2 \, e^{\left (-x\right )} - e^{\left (-2 \, x\right )} + 1\right )}^{\frac{3}{2}}} + \frac{e^{\left (-7 \, x\right )}}{{\left (2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1\right )}^{\frac{3}{2}}{\left (2 \, e^{\left (-x\right )} - e^{\left (-2 \, x\right )} + 1\right )}^{\frac{3}{2}}} + \frac{e^{x}}{{\left (2 \, e^{\left (-x\right )} + e^{\left (-2 \, x\right )} - 1\right )}^{\frac{3}{2}}{\left (2 \, e^{\left (-x\right )} - e^{\left (-2 \, x\right )} + 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.16068, size = 548, normalized size = 18.9 \begin{align*} \frac{\sqrt{2}{\left (\cosh \left (x\right )^{4} + 4 \, \cosh \left (x\right ) \sinh \left (x\right )^{3} + \sinh \left (x\right )^{4} + 2 \,{\left (3 \, \cosh \left (x\right )^{2} - 5\right )} \sinh \left (x\right )^{2} - 10 \, \cosh \left (x\right )^{2} + 4 \,{\left (\cosh \left (x\right )^{3} - 5 \, \cosh \left (x\right )\right )} \sinh \left (x\right ) + 1\right )} \sqrt{-\frac{\cosh \left (x\right )^{2} + \sinh \left (x\right )^{2} - 3}{\cosh \left (x\right )^{2} - 2 \, \cosh \left (x\right ) \sinh \left (x\right ) + \sinh \left (x\right )^{2}}}}{\cosh \left (x\right )^{5} + 5 \, \cosh \left (x\right ) \sinh \left (x\right )^{4} + \sinh \left (x\right )^{5} + 2 \,{\left (5 \, \cosh \left (x\right )^{2} - 3\right )} \sinh \left (x\right )^{3} - 6 \, \cosh \left (x\right )^{3} + 2 \,{\left (5 \, \cosh \left (x\right )^{3} - 9 \, \cosh \left (x\right )\right )} \sinh \left (x\right )^{2} +{\left (5 \, \cosh \left (x\right )^{4} - 18 \, \cosh \left (x\right )^{2} + 1\right )} \sinh \left (x\right ) + \cosh \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh ^{2}{\left (x \right )} \sinh{\left (2 x \right )}}{\left (- \left (\sinh{\left (x \right )} - 1\right ) \left (\sinh{\left (x \right )} + 1\right )\right )^{\frac{3}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sinh \left (2 \, x\right ) \sinh \left (x\right )^{2}}{{\left (-\sinh \left (x\right )^{2} + 1\right )}^{\frac{3}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]