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

Optimal. Leaf size=126 \[ -\frac {2 x \, _2F_1\left (1,\frac {1}{2 b d n};1+\frac {1}{2 b d n};e^{2 a d} \left (c x^n\right )^{2 b d}\right )}{b d n}+\frac {x \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 )}+x \left (\frac {1}{b d n}+1\right ) \]

[Out]

(1+1/b/d/n)*x+x*(1+exp(2*a*d)*(c*x^n)^(2*b*d))/b/d/n/(1-exp(2*a*d)*(c*x^n)^(2*b*d))-2*x*hypergeom([1, 1/2/b/d/
n],[1+1/2/b/d/n],exp(2*a*d)*(c*x^n)^(2*b*d))/b/d/n

________________________________________________________________________________________

Rubi [F]  time = 0.01, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \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[Coth[d*(a + b*Log[c*x^n])]^2,x]

[Out]

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

Rubi steps

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

________________________________________________________________________________________

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

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [F]  time = 0.42, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\coth \left (b d \log \left (c x^{n}\right ) + a d\right )^{2}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \coth \left ({\left (b \log \left (c x^{n}\right ) + a\right )} d\right )^{2}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [F]  time = 1.09, size = 0, normalized size = 0.00 \[ \int \coth ^{2}\left (d \left (a +b \ln \left (c \,x^{n}\right )\right )\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \frac {b c^{2 \, b d} d n x e^{\left (2 \, b d \log \left (x^{n}\right ) + 2 \, a d\right )} - {\left (b d n + 2\right )} x}{b c^{2 \, b d} d n e^{\left (2 \, b d \log \left (x^{n}\right ) + 2 \, a d\right )} - b d n} - \int \frac {1}{b c^{b d} d n e^{\left (b d \log \left (x^{n}\right ) + a d\right )} + b d n}\,{d x} + \int \frac {1}{b c^{b d} d n e^{\left (b d \log \left (x^{n}\right ) + a d\right )} - b d n}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\mathrm {coth}\left (d\,\left (a+b\,\ln \left (c\,x^n\right )\right )\right )}^2 \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________