3.672 \(\int \frac{e^{\coth ^{-1}(a x)} \sqrt{c-a^2 c x^2}}{x^2} \, dx\)

Optimal. Leaf size=73 \[ \frac{\log (x) \sqrt{c-a^2 c x^2}}{x \sqrt{1-\frac{1}{a^2 x^2}}}-\frac{\sqrt{c-a^2 c x^2}}{a x^2 \sqrt{1-\frac{1}{a^2 x^2}}} \]

[Out]

-(Sqrt[c - a^2*c*x^2]/(a*Sqrt[1 - 1/(a^2*x^2)]*x^2)) + (Sqrt[c - a^2*c*x^2]*Log[x])/(Sqrt[1 - 1/(a^2*x^2)]*x)

________________________________________________________________________________________

Rubi [A]  time = 0.194528, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {6192, 6193, 43} \[ \frac{\log (x) \sqrt{c-a^2 c x^2}}{x \sqrt{1-\frac{1}{a^2 x^2}}}-\frac{\sqrt{c-a^2 c x^2}}{a x^2 \sqrt{1-\frac{1}{a^2 x^2}}} \]

Antiderivative was successfully verified.

[In]

Int[(E^ArcCoth[a*x]*Sqrt[c - a^2*c*x^2])/x^2,x]

[Out]

-(Sqrt[c - a^2*c*x^2]/(a*Sqrt[1 - 1/(a^2*x^2)]*x^2)) + (Sqrt[c - a^2*c*x^2]*Log[x])/(Sqrt[1 - 1/(a^2*x^2)]*x)

Rule 6192

Int[E^(ArcCoth[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)*(x_)^2)^(p_), x_Symbol] :> Dist[(c + d*x^2)^p/(x^(2*p)*(
1 - 1/(a^2*x^2))^p), Int[u*x^(2*p)*(1 - 1/(a^2*x^2))^p*E^(n*ArcCoth[a*x]), x], x] /; FreeQ[{a, c, d, n, p}, x]
 && EqQ[a^2*c + d, 0] &&  !IntegerQ[n/2] &&  !IntegerQ[p]

Rule 6193

Int[E^(ArcCoth[(a_.)*(x_)]*(n_.))*(u_.)*((c_) + (d_.)/(x_)^2)^(p_.), x_Symbol] :> Dist[c^p/a^(2*p), Int[(u*(-1
 + a*x)^(p - n/2)*(1 + a*x)^(p + n/2))/x^(2*p), x], x] /; FreeQ[{a, c, d, n, p}, x] && EqQ[c + a^2*d, 0] &&  !
IntegerQ[n/2] && (IntegerQ[p] || GtQ[c, 0]) && IntegersQ[2*p, p + n/2]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int \frac{e^{\coth ^{-1}(a x)} \sqrt{c-a^2 c x^2}}{x^2} \, dx &=\frac{\sqrt{c-a^2 c x^2} \int \frac{e^{\coth ^{-1}(a x)} \sqrt{1-\frac{1}{a^2 x^2}}}{x} \, dx}{\sqrt{1-\frac{1}{a^2 x^2}} x}\\ &=\frac{\sqrt{c-a^2 c x^2} \int \frac{1+a x}{x^2} \, dx}{a \sqrt{1-\frac{1}{a^2 x^2}} x}\\ &=\frac{\sqrt{c-a^2 c x^2} \int \left (\frac{1}{x^2}+\frac{a}{x}\right ) \, dx}{a \sqrt{1-\frac{1}{a^2 x^2}} x}\\ &=-\frac{\sqrt{c-a^2 c x^2}}{a \sqrt{1-\frac{1}{a^2 x^2}} x^2}+\frac{\sqrt{c-a^2 c x^2} \log (x)}{\sqrt{1-\frac{1}{a^2 x^2}} x}\\ \end{align*}

Mathematica [A]  time = 0.0240446, size = 43, normalized size = 0.59 \[ \frac{\sqrt{c-a^2 c x^2} (a x \log (x)-1)}{a x^2 \sqrt{1-\frac{1}{a^2 x^2}}} \]

Antiderivative was successfully verified.

[In]

Integrate[(E^ArcCoth[a*x]*Sqrt[c - a^2*c*x^2])/x^2,x]

[Out]

(Sqrt[c - a^2*c*x^2]*(-1 + a*x*Log[x]))/(a*Sqrt[1 - 1/(a^2*x^2)]*x^2)

________________________________________________________________________________________

Maple [A]  time = 0.136, size = 48, normalized size = 0.7 \begin{align*}{\frac{a\ln \left ( x \right ) x-1}{ \left ( ax+1 \right ) x}\sqrt{-c \left ({a}^{2}{x}^{2}-1 \right ) }{\frac{1}{\sqrt{{\frac{ax-1}{ax+1}}}}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(a*ln(x)*x-1)*(-c*(a^2*x^2-1))^(1/2)/x/(a*x+1)/((a*x-1)/(a*x+1))^(1/2)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [A]  time = 1.50128, size = 50, normalized size = 0.68 \begin{align*} \frac{\sqrt{-a^{2} c}{\left (a x \log \left (x\right ) - 1\right )}}{a x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(-a^2*c)*(a*x*log(x) - 1)/(a*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(1/((a*x-1)/(a*x+1))**(1/2)*(-a**2*c*x**2+c)**(1/2)/x**2,x)

[Out]

Timed out

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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