3.168 \(\int \frac {\text {csch}^4(a+b \log (c x^n))}{x} \, dx\)

Optimal. Leaf size=42 \[ \frac {\coth \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac {\coth ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n} \]

[Out]

coth(a+b*ln(c*x^n))/b/n-1/3*coth(a+b*ln(c*x^n))^3/b/n

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {3767} \[ \frac {\coth \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac {\coth ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n} \]

Antiderivative was successfully verified.

[In]

Int[Csch[a + b*Log[c*x^n]]^4/x,x]

[Out]

Coth[a + b*Log[c*x^n]]/(b*n) - Coth[a + b*Log[c*x^n]]^3/(3*b*n)

Rule 3767

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> -Dist[d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rubi steps

\begin {align*} \int \frac {\text {csch}^4\left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=\frac {\operatorname {Subst}\left (\int \text {csch}^4(a+b x) \, dx,x,\log \left (c x^n\right )\right )}{n}\\ &=\frac {i \operatorname {Subst}\left (\int \left (1+x^2\right ) \, dx,x,-i \coth \left (a+b \log \left (c x^n\right )\right )\right )}{b n}\\ &=\frac {\coth \left (a+b \log \left (c x^n\right )\right )}{b n}-\frac {\coth ^3\left (a+b \log \left (c x^n\right )\right )}{3 b n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.07, size = 56, normalized size = 1.33 \[ \frac {2 \coth \left (a+b \log \left (c x^n\right )\right )}{3 b n}-\frac {\coth \left (a+b \log \left (c x^n\right )\right ) \text {csch}^2\left (a+b \log \left (c x^n\right )\right )}{3 b n} \]

Antiderivative was successfully verified.

[In]

Integrate[Csch[a + b*Log[c*x^n]]^4/x,x]

[Out]

(2*Coth[a + b*Log[c*x^n]])/(3*b*n) - (Coth[a + b*Log[c*x^n]]*Csch[a + b*Log[c*x^n]]^2)/(3*b*n)

________________________________________________________________________________________

fricas [B]  time = 0.44, size = 272, normalized size = 6.48 \[ -\frac {8 \, {\left (\cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + 2 \, \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )\right )}}{3 \, {\left (b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{5} + 5 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{4} + b n \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{5} - 3 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{3} + {\left (10 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} - 3 \, b n\right )} \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{3} + 2 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right ) + {\left (10 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{3} - 9 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )\right )} \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + {\left (5 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{4} - 9 \, b n \cosh \left (b n \log \relax (x) + b \log \relax (c) + a\right )^{2} + 4 \, b n\right )} \sinh \left (b n \log \relax (x) + b \log \relax (c) + a\right )\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(a+b*log(c*x^n))^4/x,x, algorithm="fricas")

[Out]

-8/3*(cosh(b*n*log(x) + b*log(c) + a) + 2*sinh(b*n*log(x) + b*log(c) + a))/(b*n*cosh(b*n*log(x) + b*log(c) + a
)^5 + 5*b*n*cosh(b*n*log(x) + b*log(c) + a)*sinh(b*n*log(x) + b*log(c) + a)^4 + b*n*sinh(b*n*log(x) + b*log(c)
 + a)^5 - 3*b*n*cosh(b*n*log(x) + b*log(c) + a)^3 + (10*b*n*cosh(b*n*log(x) + b*log(c) + a)^2 - 3*b*n)*sinh(b*
n*log(x) + b*log(c) + a)^3 + 2*b*n*cosh(b*n*log(x) + b*log(c) + a) + (10*b*n*cosh(b*n*log(x) + b*log(c) + a)^3
 - 9*b*n*cosh(b*n*log(x) + b*log(c) + a))*sinh(b*n*log(x) + b*log(c) + a)^2 + (5*b*n*cosh(b*n*log(x) + b*log(c
) + a)^4 - 9*b*n*cosh(b*n*log(x) + b*log(c) + a)^2 + 4*b*n)*sinh(b*n*log(x) + b*log(c) + a))

________________________________________________________________________________________

giac [A]  time = 0.16, size = 47, normalized size = 1.12 \[ -\frac {4 \, {\left (3 \, c^{2 \, b} x^{2 \, b n} e^{\left (2 \, a\right )} - 1\right )}}{3 \, {\left (c^{2 \, b} x^{2 \, b n} e^{\left (2 \, a\right )} - 1\right )}^{3} b n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(a+b*log(c*x^n))^4/x,x, algorithm="giac")

[Out]

-4/3*(3*c^(2*b)*x^(2*b*n)*e^(2*a) - 1)/((c^(2*b)*x^(2*b*n)*e^(2*a) - 1)^3*b*n)

________________________________________________________________________________________

maple [A]  time = 0.30, size = 36, normalized size = 0.86 \[ \frac {\left (\frac {2}{3}-\frac {\mathrm {csch}\left (a +b \ln \left (c \,x^{n}\right )\right )^{2}}{3}\right ) \coth \left (a +b \ln \left (c \,x^{n}\right )\right )}{n b} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(csch(a+b*ln(c*x^n))^4/x,x)

[Out]

1/n/b*(2/3-1/3*csch(a+b*ln(c*x^n))^2)*coth(a+b*ln(c*x^n))

________________________________________________________________________________________

maxima [B]  time = 0.34, size = 92, normalized size = 2.19 \[ -\frac {4 \, {\left (3 \, c^{2 \, b} e^{\left (2 \, b \log \left (x^{n}\right ) + 2 \, a\right )} - 1\right )}}{3 \, {\left (b c^{6 \, b} n e^{\left (6 \, b \log \left (x^{n}\right ) + 6 \, a\right )} - 3 \, b c^{4 \, b} n e^{\left (4 \, b \log \left (x^{n}\right ) + 4 \, a\right )} + 3 \, b c^{2 \, b} n e^{\left (2 \, b \log \left (x^{n}\right ) + 2 \, a\right )} - b n\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(a+b*log(c*x^n))^4/x,x, algorithm="maxima")

[Out]

-4/3*(3*c^(2*b)*e^(2*b*log(x^n) + 2*a) - 1)/(b*c^(6*b)*n*e^(6*b*log(x^n) + 6*a) - 3*b*c^(4*b)*n*e^(4*b*log(x^n
) + 4*a) + 3*b*c^(2*b)*n*e^(2*b*log(x^n) + 2*a) - b*n)

________________________________________________________________________________________

mupad [B]  time = 1.45, size = 55, normalized size = 1.31 \[ \frac {4\,{\mathrm {e}}^{4\,a}\,{\left (c\,x^n\right )}^{4\,b}\,\left ({\mathrm {e}}^{2\,a}\,{\left (c\,x^n\right )}^{2\,b}-3\right )}{3\,b\,n\,{\left ({\mathrm {e}}^{2\,a}\,{\left (c\,x^n\right )}^{2\,b}-1\right )}^3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*sinh(a + b*log(c*x^n))^4),x)

[Out]

(4*exp(4*a)*(c*x^n)^(4*b)*(exp(2*a)*(c*x^n)^(2*b) - 3))/(3*b*n*(exp(2*a)*(c*x^n)^(2*b) - 1)^3)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\operatorname {csch}^{4}{\left (a + b \log {\left (c x^{n} \right )} \right )}}{x}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(csch(a+b*ln(c*x**n))**4/x,x)

[Out]

Integral(csch(a + b*log(c*x**n))**4/x, x)

________________________________________________________________________________________