\(\int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx\) [552]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F(-2)]
   Sympy [F(-1)]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 18, antiderivative size = 121 \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\frac {12 \cosh (a+b x) \sqrt {\text {csch}(a+b x)}}{35 b^2}-\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}+\frac {12 i E\left (\left .\frac {1}{2} \left (i a-\frac {\pi }{2}+i b x\right )\right |2\right )}{35 b^2 \sqrt {\text {csch}(a+b x)} \sqrt {i \sinh (a+b x)}} \]

[Out]

-4/35*cosh(b*x+a)*csch(b*x+a)^(5/2)/b^2-2/7*x*csch(b*x+a)^(7/2)/b+12/35*cosh(b*x+a)*csch(b*x+a)^(1/2)/b^2-12/3
5*I*(sin(1/2*I*a+1/4*Pi+1/2*I*b*x)^2)^(1/2)/sin(1/2*I*a+1/4*Pi+1/2*I*b*x)*EllipticE(cos(1/2*I*a+1/4*Pi+1/2*I*b
*x),2^(1/2))/b^2/csch(b*x+a)^(1/2)/(I*sinh(b*x+a))^(1/2)

Rubi [A] (verified)

Time = 0.06 (sec) , antiderivative size = 121, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {5553, 3853, 3856, 2719} \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=-\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}+\frac {12 \cosh (a+b x) \sqrt {\text {csch}(a+b x)}}{35 b^2}+\frac {12 i E\left (\left .\frac {1}{2} \left (i a+i b x-\frac {\pi }{2}\right )\right |2\right )}{35 b^2 \sqrt {i \sinh (a+b x)} \sqrt {\text {csch}(a+b x)}}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b} \]

[In]

Int[x*Cosh[a + b*x]*Csch[a + b*x]^(9/2),x]

[Out]

(12*Cosh[a + b*x]*Sqrt[Csch[a + b*x]])/(35*b^2) - (4*Cosh[a + b*x]*Csch[a + b*x]^(5/2))/(35*b^2) - (2*x*Csch[a
 + b*x]^(7/2))/(7*b) + (((12*I)/35)*EllipticE[(I*a - Pi/2 + I*b*x)/2, 2])/(b^2*Sqrt[Csch[a + b*x]]*Sqrt[I*Sinh
[a + b*x]])

Rule 2719

Int[Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticE[(1/2)*(c - Pi/2 + d*x), 2], x] /; FreeQ[{
c, d}, x]

Rule 3853

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d*x]*((b*Csc[c + d*x])^(n - 1)/(d*(n
- 1))), x] + Dist[b^2*((n - 2)/(n - 1)), Int[(b*Csc[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n,
 1] && IntegerQ[2*n]

Rule 3856

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rule 5553

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

Rubi steps \begin{align*} \text {integral}& = -\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}+\frac {2 \int \text {csch}^{\frac {7}{2}}(a+b x) \, dx}{7 b} \\ & = -\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}-\frac {6 \int \text {csch}^{\frac {3}{2}}(a+b x) \, dx}{35 b} \\ & = \frac {12 \cosh (a+b x) \sqrt {\text {csch}(a+b x)}}{35 b^2}-\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}-\frac {6 \int \frac {1}{\sqrt {\text {csch}(a+b x)}} \, dx}{35 b} \\ & = \frac {12 \cosh (a+b x) \sqrt {\text {csch}(a+b x)}}{35 b^2}-\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}-\frac {6 \int \sqrt {i \sinh (a+b x)} \, dx}{35 b \sqrt {\text {csch}(a+b x)} \sqrt {i \sinh (a+b x)}} \\ & = \frac {12 \cosh (a+b x) \sqrt {\text {csch}(a+b x)}}{35 b^2}-\frac {4 \cosh (a+b x) \text {csch}^{\frac {5}{2}}(a+b x)}{35 b^2}-\frac {2 x \text {csch}^{\frac {7}{2}}(a+b x)}{7 b}+\frac {12 i E\left (\left .\frac {1}{2} \left (i a-\frac {\pi }{2}+i b x\right )\right |2\right )}{35 b^2 \sqrt {\text {csch}(a+b x)} \sqrt {i \sinh (a+b x)}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.55 (sec) , antiderivative size = 83, normalized size of antiderivative = 0.69 \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=-\frac {2 \sqrt {\text {csch}(a+b x)} \left (-6 \cosh (a+b x)+6 E\left (\left .\frac {1}{4} (-2 i a+\pi -2 i b x)\right |2\right ) \sqrt {i \sinh (a+b x)}+\text {csch}^3(a+b x) (5 b x+\sinh (2 (a+b x)))\right )}{35 b^2} \]

[In]

Integrate[x*Cosh[a + b*x]*Csch[a + b*x]^(9/2),x]

[Out]

(-2*Sqrt[Csch[a + b*x]]*(-6*Cosh[a + b*x] + 6*EllipticE[((-2*I)*a + Pi - (2*I)*b*x)/4, 2]*Sqrt[I*Sinh[a + b*x]
] + Csch[a + b*x]^3*(5*b*x + Sinh[2*(a + b*x)])))/(35*b^2)

Maple [F]

\[\int x \cosh \left (b x +a \right ) \operatorname {csch}\left (b x +a \right )^{\frac {9}{2}}d x\]

[In]

int(x*cosh(b*x+a)*csch(b*x+a)^(9/2),x)

[Out]

int(x*cosh(b*x+a)*csch(b*x+a)^(9/2),x)

Fricas [F(-2)]

Exception generated. \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(x*cosh(b*x+a)*csch(b*x+a)^(9/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F(-1)]

Timed out. \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\text {Timed out} \]

[In]

integrate(x*cosh(b*x+a)*csch(b*x+a)**(9/2),x)

[Out]

Timed out

Maxima [F]

\[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\int { x \cosh \left (b x + a\right ) \operatorname {csch}\left (b x + a\right )^{\frac {9}{2}} \,d x } \]

[In]

integrate(x*cosh(b*x+a)*csch(b*x+a)^(9/2),x, algorithm="maxima")

[Out]

integrate(x*cosh(b*x + a)*csch(b*x + a)^(9/2), x)

Giac [F]

\[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\int { x \cosh \left (b x + a\right ) \operatorname {csch}\left (b x + a\right )^{\frac {9}{2}} \,d x } \]

[In]

integrate(x*cosh(b*x+a)*csch(b*x+a)^(9/2),x, algorithm="giac")

[Out]

integrate(x*cosh(b*x + a)*csch(b*x + a)^(9/2), x)

Mupad [F(-1)]

Timed out. \[ \int x \cosh (a+b x) \text {csch}^{\frac {9}{2}}(a+b x) \, dx=\int x\,\mathrm {cosh}\left (a+b\,x\right )\,{\left (\frac {1}{\mathrm {sinh}\left (a+b\,x\right )}\right )}^{9/2} \,d x \]

[In]

int(x*cosh(a + b*x)*(1/sinh(a + b*x))^(9/2),x)

[Out]

int(x*cosh(a + b*x)*(1/sinh(a + b*x))^(9/2), x)