3.185 \(\int x^2 \coth ^2(d (a+b \log (c x^n))) \, dx\)

Optimal. Leaf size=136 \[ -\frac{2 x^3 \, _2F_1\left (1,\frac{3}{2 b d n};1+\frac{3}{2 b d n};e^{2 a d} \left (c x^n\right )^{2 b d}\right )}{b d n}+\frac{x^3 \left (e^{2 a d} \left (c x^n\right )^{2 b d}+1\right )}{b d n \left (1-e^{2 a d} \left (c x^n\right )^{2 b d}\right )}+\frac{1}{3} x^3 \left (\frac{3}{b d n}+1\right ) \]

[Out]

((1 + 3/(b*d*n))*x^3)/3 + (x^3*(1 + E^(2*a*d)*(c*x^n)^(2*b*d)))/(b*d*n*(1 - E^(2*a*d)*(c*x^n)^(2*b*d))) - (2*x
^3*Hypergeometric2F1[1, 3/(2*b*d*n), 1 + 3/(2*b*d*n), E^(2*a*d)*(c*x^n)^(2*b*d)])/(b*d*n)

________________________________________________________________________________________

Rubi [F]  time = 0.0584018, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int x^2 \coth ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx \]

Verification is Not applicable to the result.

[In]

Int[x^2*Coth[d*(a + b*Log[c*x^n])]^2,x]

[Out]

Defer[Int][x^2*Coth[d*(a + b*Log[c*x^n])]^2, x]

Rubi steps

\begin{align*} \int x^2 \coth ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx &=\int x^2 \coth ^2\left (d \left (a+b \log \left (c x^n\right )\right )\right ) \, dx\\ \end{align*}

Mathematica [A]  time = 4.53231, size = 165, normalized size = 1.21 \[ \frac{x^3 \left ((2 b d n+3) \left (-3 \, _2F_1\left (1,\frac{3}{2 b d n};1+\frac{3}{2 b d n};e^{2 d \left (a+b \log \left (c x^n\right )\right )}\right )-3 \coth \left (d \left (a+b \log \left (c x^n\right )\right )\right )+b d n\right )-9 e^{2 d \left (a+b \log \left (c x^n\right )\right )} \, _2F_1\left (1,1+\frac{3}{2 b d n};2+\frac{3}{2 b d n};e^{2 d \left (a+b \log \left (c x^n\right )\right )}\right )\right )}{3 b d n (2 b d n+3)} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2*Coth[d*(a + b*Log[c*x^n])]^2,x]

[Out]

(x^3*(-9*E^(2*d*(a + b*Log[c*x^n]))*Hypergeometric2F1[1, 1 + 3/(2*b*d*n), 2 + 3/(2*b*d*n), E^(2*d*(a + b*Log[c
*x^n]))] + (3 + 2*b*d*n)*(b*d*n - 3*Coth[d*(a + b*Log[c*x^n])] - 3*Hypergeometric2F1[1, 3/(2*b*d*n), 1 + 3/(2*
b*d*n), E^(2*d*(a + b*Log[c*x^n]))])))/(3*b*d*n*(3 + 2*b*d*n))

________________________________________________________________________________________

Maple [F]  time = 0.113, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ({\rm coth} \left (d \left ( a+b\ln \left ( c{x}^{n} \right ) \right ) \right ) \right ) ^{2}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*coth(d*(a+b*ln(c*x^n)))^2,x)

[Out]

int(x^2*coth(d*(a+b*ln(c*x^n)))^2,x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{b c^{2 \, b d} d n x^{3} e^{\left (2 \, b d \log \left (x^{n}\right ) + 2 \, a d\right )} -{\left (b d n + 6\right )} x^{3}}{3 \,{\left (b c^{2 \, b d} d n e^{\left (2 \, b d \log \left (x^{n}\right ) + 2 \, a d\right )} - b d n\right )}} - 3 \, \int \frac{x^{2}}{b c^{b d} d n e^{\left (b d \log \left (x^{n}\right ) + a d\right )} + b d n}\,{d x} + 3 \, \int \frac{x^{2}}{b c^{b d} d n e^{\left (b d \log \left (x^{n}\right ) + a d\right )} - b d n}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*coth(d*(a+b*log(c*x^n)))^2,x, algorithm="maxima")

[Out]

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

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x^{2} \coth \left (b d \log \left (c x^{n}\right ) + a d\right )^{2}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*coth(d*(a+b*log(c*x^n)))^2,x, algorithm="fricas")

[Out]

integral(x^2*coth(b*d*log(c*x^n) + a*d)^2, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*coth(d*(a+b*ln(c*x**n)))**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \coth \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )^{2}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*coth(d*(a+b*log(c*x^n)))^2,x, algorithm="giac")

[Out]

integrate(x^2*coth((b*log(c*x^n) + a)*d)^2, x)