3.153 \(\int \frac{e^{n \coth ^{-1}(a x)}}{x^2} \, dx\)

Optimal. Leaf size=70 \[ \frac{a 2^{\frac{n}{2}+1} \left (1-\frac{1}{a x}\right )^{1-\frac{n}{2}} \text{Hypergeometric2F1}\left (1-\frac{n}{2},-\frac{n}{2},2-\frac{n}{2},\frac{a-\frac{1}{x}}{2 a}\right )}{2-n} \]

[Out]

(2^(1 + n/2)*a*(1 - 1/(a*x))^(1 - n/2)*Hypergeometric2F1[1 - n/2, -n/2, 2 - n/2, (a - x^(-1))/(2*a)])/(2 - n)

________________________________________________________________________________________

Rubi [A]  time = 0.0336342, antiderivative size = 70, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {6171, 69} \[ \frac{a 2^{\frac{n}{2}+1} \left (1-\frac{1}{a x}\right )^{1-\frac{n}{2}} \, _2F_1\left (1-\frac{n}{2},-\frac{n}{2};2-\frac{n}{2};\frac{a-\frac{1}{x}}{2 a}\right )}{2-n} \]

Antiderivative was successfully verified.

[In]

Int[E^(n*ArcCoth[a*x])/x^2,x]

[Out]

(2^(1 + n/2)*a*(1 - 1/(a*x))^(1 - n/2)*Hypergeometric2F1[1 - n/2, -n/2, 2 - n/2, (a - x^(-1))/(2*a)])/(2 - n)

Rule 6171

Int[E^(ArcCoth[(a_.)*(x_)]*(n_))*(x_)^(m_.), x_Symbol] :> -Subst[Int[(1 + x/a)^(n/2)/(x^(m + 2)*(1 - x/a)^(n/2
)), x], x, 1/x] /; FreeQ[{a, n}, x] &&  !IntegerQ[n] && IntegerQ[m]

Rule 69

Int[((a_) + (b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*Hypergeometric2F1[
-n, m + 1, m + 2, -((d*(a + b*x))/(b*c - a*d))])/(b*(m + 1)*(b/(b*c - a*d))^n), x] /; FreeQ[{a, b, c, d, m, n}
, x] && NeQ[b*c - a*d, 0] &&  !IntegerQ[m] &&  !IntegerQ[n] && GtQ[b/(b*c - a*d), 0] && (RationalQ[m] ||  !(Ra
tionalQ[n] && GtQ[-(d/(b*c - a*d)), 0]))

Rubi steps

\begin{align*} \int \frac{e^{n \coth ^{-1}(a x)}}{x^2} \, dx &=-\operatorname{Subst}\left (\int \left (1-\frac{x}{a}\right )^{-n/2} \left (1+\frac{x}{a}\right )^{n/2} \, dx,x,\frac{1}{x}\right )\\ &=\frac{2^{1+\frac{n}{2}} a \left (1-\frac{1}{a x}\right )^{1-\frac{n}{2}} \, _2F_1\left (1-\frac{n}{2},-\frac{n}{2};2-\frac{n}{2};\frac{a-\frac{1}{x}}{2 a}\right )}{2-n}\\ \end{align*}

Mathematica [A]  time = 0.0357531, size = 44, normalized size = 0.63 \[ -\frac{4 a e^{(n+2) \coth ^{-1}(a x)} \text{Hypergeometric2F1}\left (2,\frac{n}{2}+1,\frac{n}{2}+2,-e^{2 \coth ^{-1}(a x)}\right )}{n+2} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[E^(n*ArcCoth[a*x])/x^2,x]

[Out]

(-4*a*E^((2 + n)*ArcCoth[a*x])*Hypergeometric2F1[2, 1 + n/2, 2 + n/2, -E^(2*ArcCoth[a*x])])/(2 + n)

________________________________________________________________________________________

Maple [F]  time = 0.064, size = 0, normalized size = 0. \begin{align*} \int{\frac{{{\rm e}^{n{\rm arccoth} \left (ax\right )}}}{{x}^{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(n*arccoth(a*x))/x^2,x)

[Out]

int(exp(n*arccoth(a*x))/x^2,x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*arccoth(a*x))/x^2,x, algorithm="maxima")

[Out]

integrate(((a*x - 1)/(a*x + 1))^(1/2*n)/x^2, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (\frac{a x - 1}{a x + 1}\right )^{\frac{1}{2} \, n}}{x^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*arccoth(a*x))/x^2,x, algorithm="fricas")

[Out]

integral(((a*x - 1)/(a*x + 1))^(1/2*n)/x^2, x)

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{e^{n \operatorname{acoth}{\left (a x \right )}}}{x^{2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*acoth(a*x))/x**2,x)

[Out]

Integral(exp(n*acoth(a*x))/x**2, x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(n*arccoth(a*x))/x^2,x, algorithm="giac")

[Out]

integrate(((a*x - 1)/(a*x + 1))^(1/2*n)/x^2, x)