3.6.94 \(\int \frac {\sinh ^2(x) \sinh (2 x)}{(1-\sinh ^2(x))^{3/2}} \, dx\) [594]

Optimal. Leaf size=29 \[ \frac {2}{\sqrt {1-\sinh ^2(x)}}+2 \sqrt {1-\sinh ^2(x)} \]

[Out]

2/(1-sinh(x)^2)^(1/2)+2*(1-sinh(x)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 29, normalized size of antiderivative = 1.00, 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, 272, 45} \begin {gather*} 2 \sqrt {1-\sinh ^2(x)}+\frac {2}{\sqrt {1-\sinh ^2(x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(Sinh[x]^2*Sinh[2*x])/(1 - Sinh[x]^2)^(3/2),x]

[Out]

2/Sqrt[1 - Sinh[x]^2] + 2*Sqrt[1 - Sinh[x]^2]

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {\sinh ^2(x) \sinh (2 x)}{\left (1-\sinh ^2(x)\right )^{3/2}} \, dx &=i \text {Subst}\left (\int -\frac {2 i x^3}{\left (1-x^2\right )^{3/2}} \, dx,x,\sinh (x)\right )\\ &=2 \text {Subst}\left (\int \frac {x^3}{\left (1-x^2\right )^{3/2}} \, dx,x,\sinh (x)\right )\\ &=\text {Subst}\left (\int \frac {x}{(1-x)^{3/2}} \, dx,x,\sinh ^2(x)\right )\\ &=\text {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.04, size = 21, normalized size = 0.72 \begin {gather*} \frac {5-\cosh (2 x)}{\sqrt {1-\sinh ^2(x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(Sinh[x]^2*Sinh[2*x])/(1 - Sinh[x]^2)^(3/2),x]

[Out]

(5 - Cosh[2*x])/Sqrt[1 - Sinh[x]^2]

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 0.11, size = 28, normalized size = 0.97

method result size
default \(\mathit {`\,int/indef0`\,}\left (-\frac {2 \left (\sinh ^{3}\left (x \right )\right )}{\left (\sinh ^{2}\left (x \right )-1\right ) \sqrt {1-\left (\sinh ^{2}\left (x \right )\right )}}, \sinh \left (x \right )\right )\) \(28\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)^2*sinh(2*x)/(1-sinh(x)^2)^(3/2),x,method=_RETURNVERBOSE)

[Out]

`int/indef0`(-2*sinh(x)^3/(sinh(x)^2-1)/(1-sinh(x)^2)^(1/2),sinh(x))

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 177 vs. \(2 (25) = 50\).
time = 1.70, size = 177, normalized size = 6.10 \begin {gather*} -\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 {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2*sinh(2*x)/(1-sinh(x)^2)^(3/2),x, algorithm="maxima")

[Out]

-16*e^(-x)/((2*e^(-x) + e^(-2*x) - 1)^(3/2)*(2*e^(-x) - e^(-2*x) + 1)^(3/2)) + 62*e^(-3*x)/((2*e^(-x) + e^(-2*
x) - 1)^(3/2)*(2*e^(-x) - e^(-2*x) + 1)^(3/2)) - 16*e^(-5*x)/((2*e^(-x) + e^(-2*x) - 1)^(3/2)*(2*e^(-x) - e^(-
2*x) + 1)^(3/2)) + e^(-7*x)/((2*e^(-x) + e^(-2*x) - 1)^(3/2)*(2*e^(-x) - e^(-2*x) + 1)^(3/2)) + e^x/((2*e^(-x)
 + e^(-2*x) - 1)^(3/2)*(2*e^(-x) - e^(-2*x) + 1)^(3/2))

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 161 vs. \(2 (25) = 50\).
time = 0.72, size = 161, normalized size = 5.55 \begin {gather*} \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 {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2*sinh(2*x)/(1-sinh(x)^2)^(3/2),x, algorithm="fricas")

[Out]

sqrt(2)*(cosh(x)^4 + 4*cosh(x)*sinh(x)^3 + sinh(x)^4 + 2*(3*cosh(x)^2 - 5)*sinh(x)^2 - 10*cosh(x)^2 + 4*(cosh(
x)^3 - 5*cosh(x))*sinh(x) + 1)*sqrt(-(cosh(x)^2 + sinh(x)^2 - 3)/(cosh(x)^2 - 2*cosh(x)*sinh(x) + sinh(x)^2))/
(cosh(x)^5 + 5*cosh(x)*sinh(x)^4 + sinh(x)^5 + 2*(5*cosh(x)^2 - 3)*sinh(x)^3 - 6*cosh(x)^3 + 2*(5*cosh(x)^3 -
9*cosh(x))*sinh(x)^2 + (5*cosh(x)^4 - 18*cosh(x)^2 + 1)*sinh(x) + cosh(x))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \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 {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)**2*sinh(2*x)/(1-sinh(x)**2)**(3/2),x)

[Out]

Integral(sinh(x)**2*sinh(2*x)/(-(sinh(x) - 1)*(sinh(x) + 1))**(3/2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^2*sinh(2*x)/(1-sinh(x)^2)^(3/2),x, algorithm="giac")

[Out]

integrate(sinh(2*x)*sinh(x)^2/(-sinh(x)^2 + 1)^(3/2), x)

________________________________________________________________________________________

Mupad [B]
time = 0.49, size = 47, normalized size = 1.62 \begin {gather*} \frac {2\,\sqrt {1-{\left (\frac {{\mathrm {e}}^{-x}}{2}-\frac {{\mathrm {e}}^x}{2}\right )}^2}\,\left ({\mathrm {e}}^{4\,x}-10\,{\mathrm {e}}^{2\,x}+1\right )}{{\mathrm {e}}^{4\,x}-6\,{\mathrm {e}}^{2\,x}+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((sinh(2*x)*sinh(x)^2)/(1 - sinh(x)^2)^(3/2),x)

[Out]

(2*(1 - (exp(-x)/2 - exp(x)/2)^2)^(1/2)*(exp(4*x) - 10*exp(2*x) + 1))/(exp(4*x) - 6*exp(2*x) + 1)

________________________________________________________________________________________