3.153 \(\int \frac{\sinh ^7(x)}{a+a \cosh (x)} \, dx\)

Optimal. Leaf size=46 \[ \frac{(a-a \cosh (x))^6}{6 a^7}-\frac{4 (a-a \cosh (x))^5}{5 a^6}+\frac{(a-a \cosh (x))^4}{a^5} \]

[Out]

(a - a*Cosh[x])^4/a^5 - (4*(a - a*Cosh[x])^5)/(5*a^6) + (a - a*Cosh[x])^6/(6*a^7)

________________________________________________________________________________________

Rubi [A]  time = 0.0649232, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {2667, 43} \[ \frac{(a-a \cosh (x))^6}{6 a^7}-\frac{4 (a-a \cosh (x))^5}{5 a^6}+\frac{(a-a \cosh (x))^4}{a^5} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[x]^7/(a + a*Cosh[x]),x]

[Out]

(a - a*Cosh[x])^4/a^5 - (4*(a - a*Cosh[x])^5)/(5*a^6) + (a - a*Cosh[x])^6/(6*a^7)

Rule 2667

Int[cos[(e_.) + (f_.)*(x_)]^(p_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(b^p*f), S
ubst[Int[(a + x)^(m + (p - 1)/2)*(a - x)^((p - 1)/2), x], x, b*Sin[e + f*x]], x] /; FreeQ[{a, b, e, f, m}, x]
&& IntegerQ[(p - 1)/2] && EqQ[a^2 - b^2, 0] && (GeQ[p, -1] ||  !IntegerQ[m + 1/2])

Rule 43

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])

Rubi steps

\begin{align*} \int \frac{\sinh ^7(x)}{a+a \cosh (x)} \, dx &=-\frac{\operatorname{Subst}\left (\int (a-x)^3 (a+x)^2 \, dx,x,a \cosh (x)\right )}{a^7}\\ &=-\frac{\operatorname{Subst}\left (\int \left (4 a^2 (a-x)^3-4 a (a-x)^4+(a-x)^5\right ) \, dx,x,a \cosh (x)\right )}{a^7}\\ &=\frac{(a-a \cosh (x))^4}{a^5}-\frac{4 (a-a \cosh (x))^5}{5 a^6}+\frac{(a-a \cosh (x))^6}{6 a^7}\\ \end{align*}

Mathematica [A]  time = 0.0302479, size = 27, normalized size = 0.59 \[ \frac{4 \sinh ^8\left (\frac{x}{2}\right ) (28 \cosh (x)+5 \cosh (2 x)+27)}{15 a} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[x]^7/(a + a*Cosh[x]),x]

[Out]

(4*(27 + 28*Cosh[x] + 5*Cosh[2*x])*Sinh[x/2]^8)/(15*a)

________________________________________________________________________________________

Maple [B]  time = 0.034, size = 107, normalized size = 2.3 \begin{align*} 128\,{\frac{1}{a} \left ({\frac{1}{768\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{6}}}-{\frac{7}{1280\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{5}}}+{\frac{7}{1024\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{4}}}-{\frac{7}{2048\, \left ( \tanh \left ( x/2 \right ) +1 \right ) ^{2}}}-{\frac{7}{2048\,\tanh \left ( x/2 \right ) +2048}}+{\frac{1}{768\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{6}}}+{\frac{7}{1280\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{5}}}+{\frac{7}{1024\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{4}}}-{\frac{7}{2048\, \left ( \tanh \left ( x/2 \right ) -1 \right ) ^{2}}}+{\frac{7}{2048\,\tanh \left ( x/2 \right ) -2048}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(x)^7/(a+a*cosh(x)),x)

[Out]

128/a*(1/768/(tanh(1/2*x)+1)^6-7/1280/(tanh(1/2*x)+1)^5+7/1024/(tanh(1/2*x)+1)^4-7/2048/(tanh(1/2*x)+1)^2-7/20
48/(tanh(1/2*x)+1)+1/768/(tanh(1/2*x)-1)^6+7/1280/(tanh(1/2*x)-1)^5+7/1024/(tanh(1/2*x)-1)^4-7/2048/(tanh(1/2*
x)-1)^2+7/2048/(tanh(1/2*x)-1))

________________________________________________________________________________________

Maxima [A]  time = 1.09906, size = 113, normalized size = 2.46 \begin{align*} -\frac{{\left (12 \, e^{\left (-x\right )} + 30 \, e^{\left (-2 \, x\right )} - 100 \, e^{\left (-3 \, x\right )} - 75 \, e^{\left (-4 \, x\right )} + 600 \, e^{\left (-5 \, x\right )} - 5\right )} e^{\left (6 \, x\right )}}{1920 \, a} - \frac{600 \, e^{\left (-x\right )} - 75 \, e^{\left (-2 \, x\right )} - 100 \, e^{\left (-3 \, x\right )} + 30 \, e^{\left (-4 \, x\right )} + 12 \, e^{\left (-5 \, x\right )} - 5 \, e^{\left (-6 \, x\right )}}{1920 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^7/(a+a*cosh(x)),x, algorithm="maxima")

[Out]

-1/1920*(12*e^(-x) + 30*e^(-2*x) - 100*e^(-3*x) - 75*e^(-4*x) + 600*e^(-5*x) - 5)*e^(6*x)/a - 1/1920*(600*e^(-
x) - 75*e^(-2*x) - 100*e^(-3*x) + 30*e^(-4*x) + 12*e^(-5*x) - 5*e^(-6*x))/a

________________________________________________________________________________________

Fricas [B]  time = 1.81454, size = 313, normalized size = 6.8 \begin{align*} \frac{5 \, \cosh \left (x\right )^{6} + 5 \, \sinh \left (x\right )^{6} - 12 \, \cosh \left (x\right )^{5} + 15 \,{\left (5 \, \cosh \left (x\right )^{2} - 4 \, \cosh \left (x\right ) - 2\right )} \sinh \left (x\right )^{4} - 30 \, \cosh \left (x\right )^{4} + 100 \, \cosh \left (x\right )^{3} + 15 \,{\left (5 \, \cosh \left (x\right )^{4} - 8 \, \cosh \left (x\right )^{3} - 12 \, \cosh \left (x\right )^{2} + 20 \, \cosh \left (x\right ) + 5\right )} \sinh \left (x\right )^{2} + 75 \, \cosh \left (x\right )^{2} - 600 \, \cosh \left (x\right )}{960 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^7/(a+a*cosh(x)),x, algorithm="fricas")

[Out]

1/960*(5*cosh(x)^6 + 5*sinh(x)^6 - 12*cosh(x)^5 + 15*(5*cosh(x)^2 - 4*cosh(x) - 2)*sinh(x)^4 - 30*cosh(x)^4 +
100*cosh(x)^3 + 15*(5*cosh(x)^4 - 8*cosh(x)^3 - 12*cosh(x)^2 + 20*cosh(x) + 5)*sinh(x)^2 + 75*cosh(x)^2 - 600*
cosh(x))/a

________________________________________________________________________________________

Sympy [B]  time = 12.7959, size = 218, normalized size = 4.74 \begin{align*} \frac{16 \tanh ^{12}{\left (\frac{x}{2} \right )}}{15 a \tanh ^{12}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{10}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{8}{\left (\frac{x}{2} \right )} - 300 a \tanh ^{6}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{4}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{2}{\left (\frac{x}{2} \right )} + 15 a} - \frac{96 \tanh ^{10}{\left (\frac{x}{2} \right )}}{15 a \tanh ^{12}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{10}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{8}{\left (\frac{x}{2} \right )} - 300 a \tanh ^{6}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{4}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{2}{\left (\frac{x}{2} \right )} + 15 a} + \frac{240 \tanh ^{8}{\left (\frac{x}{2} \right )}}{15 a \tanh ^{12}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{10}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{8}{\left (\frac{x}{2} \right )} - 300 a \tanh ^{6}{\left (\frac{x}{2} \right )} + 225 a \tanh ^{4}{\left (\frac{x}{2} \right )} - 90 a \tanh ^{2}{\left (\frac{x}{2} \right )} + 15 a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)**7/(a+a*cosh(x)),x)

[Out]

16*tanh(x/2)**12/(15*a*tanh(x/2)**12 - 90*a*tanh(x/2)**10 + 225*a*tanh(x/2)**8 - 300*a*tanh(x/2)**6 + 225*a*ta
nh(x/2)**4 - 90*a*tanh(x/2)**2 + 15*a) - 96*tanh(x/2)**10/(15*a*tanh(x/2)**12 - 90*a*tanh(x/2)**10 + 225*a*tan
h(x/2)**8 - 300*a*tanh(x/2)**6 + 225*a*tanh(x/2)**4 - 90*a*tanh(x/2)**2 + 15*a) + 240*tanh(x/2)**8/(15*a*tanh(
x/2)**12 - 90*a*tanh(x/2)**10 + 225*a*tanh(x/2)**8 - 300*a*tanh(x/2)**6 + 225*a*tanh(x/2)**4 - 90*a*tanh(x/2)*
*2 + 15*a)

________________________________________________________________________________________

Giac [A]  time = 1.20752, size = 101, normalized size = 2.2 \begin{align*} -\frac{{\left (600 \, e^{\left (5 \, x\right )} - 75 \, e^{\left (4 \, x\right )} - 100 \, e^{\left (3 \, x\right )} + 30 \, e^{\left (2 \, x\right )} + 12 \, e^{x} - 5\right )} e^{\left (-6 \, x\right )} - 5 \, e^{\left (6 \, x\right )} + 12 \, e^{\left (5 \, x\right )} + 30 \, e^{\left (4 \, x\right )} - 100 \, e^{\left (3 \, x\right )} - 75 \, e^{\left (2 \, x\right )} + 600 \, e^{x}}{1920 \, a} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(x)^7/(a+a*cosh(x)),x, algorithm="giac")

[Out]

-1/1920*((600*e^(5*x) - 75*e^(4*x) - 100*e^(3*x) + 30*e^(2*x) + 12*e^x - 5)*e^(-6*x) - 5*e^(6*x) + 12*e^(5*x)
+ 30*e^(4*x) - 100*e^(3*x) - 75*e^(2*x) + 600*e^x)/a