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

Optimal. Leaf size=51 \[ -\frac{2 \left (a+\frac{1}{x}\right )^2}{a \sqrt{1-\frac{1}{a^2 x^2}}}-3 a \sqrt{1-\frac{1}{a^2 x^2}}+3 a \csc ^{-1}(a x) \]

[Out]

-3*a*Sqrt[1 - 1/(a^2*x^2)] - (2*(a + x^(-1))^2)/(a*Sqrt[1 - 1/(a^2*x^2)]) + 3*a*ArcCsc[a*x]

________________________________________________________________________________________

Rubi [A]  time = 0.0740333, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.417, Rules used = {6169, 853, 669, 641, 216} \[ -\frac{2 \left (a+\frac{1}{x}\right )^2}{a \sqrt{1-\frac{1}{a^2 x^2}}}-3 a \sqrt{1-\frac{1}{a^2 x^2}}+3 a \csc ^{-1}(a x) \]

Antiderivative was successfully verified.

[In]

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

[Out]

-3*a*Sqrt[1 - 1/(a^2*x^2)] - (2*(a + x^(-1))^2)/(a*Sqrt[1 - 1/(a^2*x^2)]) + 3*a*ArcCsc[a*x]

Rule 6169

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

Rule 853

Int[((d_) + (e_.)*(x_))^(m_)*((f_) + (g_.)*(x_))^(n_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Dist[d^(2*m)/a^
m, Int[((f + g*x)^n*(a + c*x^2)^(m + p))/(d - e*x)^m, x], x] /; FreeQ[{a, c, d, e, f, g, n, p}, x] && NeQ[e*f
- d*g, 0] && EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p] && ILtQ[m, 0] && IntegerQ[n]

Rule 669

Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(e*(d + e*x)^(m - 1)*(a + c*x^2)^(p
 + 1))/(c*(p + 1)), x] - Dist[(e^2*(m + p))/(c*(p + 1)), Int[(d + e*x)^(m - 2)*(a + c*x^2)^(p + 1), x], x] /;
FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 + a*e^2, 0] && LtQ[p, -1] && GtQ[m, 1] && IntegerQ[2*p]

Rule 641

Int[((d_) + (e_.)*(x_))*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Simp[(e*(a + c*x^2)^(p + 1))/(2*c*(p + 1)),
x] + Dist[d, Int[(a + c*x^2)^p, x], x] /; FreeQ[{a, c, d, e, p}, x] && NeQ[p, -1]

Rule 216

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSin[(Rt[-b, 2]*x)/Sqrt[a]]/Rt[-b, 2], x] /; FreeQ[{a, b}
, x] && GtQ[a, 0] && NegQ[b]

Rubi steps

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

Mathematica [A]  time = 0.0817021, size = 41, normalized size = 0.8 \[ \frac{a \sqrt{1-\frac{1}{a^2 x^2}} (1-5 a x)}{a x-1}+3 a \sin ^{-1}\left (\frac{1}{a x}\right ) \]

Warning: Unable to verify antiderivative.

[In]

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

[Out]

(a*Sqrt[1 - 1/(a^2*x^2)]*(1 - 5*a*x))/(-1 + a*x) + 3*a*ArcSin[1/(a*x)]

________________________________________________________________________________________

Maple [B]  time = 0.169, size = 593, normalized size = 11.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/((a*x-1)/(a*x+1))^(3/2)/x^2,x)

[Out]

-((a^2*x^2-1)^(1/2)*(a^2)^(1/2)*x^4*a^4+ln((a^2*x+(a^2)^(1/2)*((a*x-1)*(a*x+1))^(1/2))/(a^2)^(1/2))*x^3*a^4-(a
^2*x^2-1)^(3/2)*(a^2)^(1/2)*x^2*a^2-5*(a^2*x^2-1)^(1/2)*(a^2)^(1/2)*x^3*a^3-3*a^3*x^3*(a^2)^(1/2)*arctan(1/(a^
2*x^2-1)^(1/2))+(a^2)^(1/2)*((a*x-1)*(a*x+1))^(1/2)*x^3*a^3-ln((a^2*x+(a^2*x^2-1)^(1/2)*(a^2)^(1/2))/(a^2)^(1/
2))*x^3*a^4-2*ln((a^2*x+(a^2)^(1/2)*((a*x-1)*(a*x+1))^(1/2))/(a^2)^(1/2))*x^2*a^3+2*(a^2)^(1/2)*(a^2*x^2-1)^(3
/2)*x*a+7*(a^2*x^2-1)^(1/2)*(a^2)^(1/2)*x^2*a^2+6*a^2*x^2*(a^2)^(1/2)*arctan(1/(a^2*x^2-1)^(1/2))+2*(a^2)^(1/2
)*((a*x-1)*(a*x+1))^(3/2)*x*a-2*(a^2)^(1/2)*((a*x-1)*(a*x+1))^(1/2)*x^2*a^2+2*ln((a^2*x+(a^2*x^2-1)^(1/2)*(a^2
)^(1/2))/(a^2)^(1/2))*x^2*a^3+ln((a^2*x+(a^2)^(1/2)*((a*x-1)*(a*x+1))^(1/2))/(a^2)^(1/2))*x*a^2-(a^2*x^2-1)^(3
/2)*(a^2)^(1/2)-3*(a^2)^(1/2)*(a^2*x^2-1)^(1/2)*x*a-3*a*x*(a^2)^(1/2)*arctan(1/(a^2*x^2-1)^(1/2))+(a^2)^(1/2)*
((a*x-1)*(a*x+1))^(1/2)*x*a-ln((a^2*x+(a^2*x^2-1)^(1/2)*(a^2)^(1/2))/(a^2)^(1/2))*x*a^2)/x/(a^2)^(1/2)/((a*x-1
)*(a*x+1))^(1/2)/(a*x+1)/((a*x-1)/(a*x+1))^(3/2)

________________________________________________________________________________________

Maxima [A]  time = 1.47312, size = 97, normalized size = 1.9 \begin{align*} -2 \, a{\left (\frac{\frac{3 \,{\left (a x - 1\right )}}{a x + 1} + 2}{\left (\frac{a x - 1}{a x + 1}\right )^{\frac{3}{2}} + \sqrt{\frac{a x - 1}{a x + 1}}} + 3 \, \arctan \left (\sqrt{\frac{a x - 1}{a x + 1}}\right )\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/((a*x-1)/(a*x+1))^(3/2)/x^2,x, algorithm="maxima")

[Out]

-2*a*((3*(a*x - 1)/(a*x + 1) + 2)/(((a*x - 1)/(a*x + 1))^(3/2) + sqrt((a*x - 1)/(a*x + 1))) + 3*arctan(sqrt((a
*x - 1)/(a*x + 1))))

________________________________________________________________________________________

Fricas [A]  time = 1.89969, size = 162, normalized size = 3.18 \begin{align*} -\frac{6 \,{\left (a^{2} x^{2} - a x\right )} \arctan \left (\sqrt{\frac{a x - 1}{a x + 1}}\right ) +{\left (5 \, a^{2} x^{2} + 4 \, a x - 1\right )} \sqrt{\frac{a x - 1}{a x + 1}}}{a x^{2} - x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/((a*x-1)/(a*x+1))^(3/2)/x^2,x, algorithm="fricas")

[Out]

-(6*(a^2*x^2 - a*x)*arctan(sqrt((a*x - 1)/(a*x + 1))) + (5*a^2*x^2 + 4*a*x - 1)*sqrt((a*x - 1)/(a*x + 1)))/(a*
x^2 - x)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral(1/(x**2*((a*x - 1)/(a*x + 1))**(3/2)), x)

________________________________________________________________________________________

Giac [A]  time = 1.18608, size = 115, normalized size = 2.25 \begin{align*} -2 \, a{\left (\frac{\frac{3 \,{\left (a x - 1\right )}}{a x + 1} + 2}{\frac{{\left (a x - 1\right )} \sqrt{\frac{a x - 1}{a x + 1}}}{a x + 1} + \sqrt{\frac{a x - 1}{a x + 1}}} + 3 \, \arctan \left (\sqrt{\frac{a x - 1}{a x + 1}}\right )\right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/((a*x-1)/(a*x+1))^(3/2)/x^2,x, algorithm="giac")

[Out]

-2*a*((3*(a*x - 1)/(a*x + 1) + 2)/((a*x - 1)*sqrt((a*x - 1)/(a*x + 1))/(a*x + 1) + sqrt((a*x - 1)/(a*x + 1)))
+ 3*arctan(sqrt((a*x - 1)/(a*x + 1))))