3.850 \(\int \frac{1}{\sqrt{\left (\frac{a}{x^2}+\frac{b}{x}\right ) x^3}} \, dx\)

Optimal. Leaf size=28 \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a x+b x^2}}\right )}{\sqrt{b}} \]

[Out]

(2*ArcTanh[(Sqrt[b]*x)/Sqrt[a*x + b*x^2]])/Sqrt[b]

_______________________________________________________________________________________

Rubi [A]  time = 0.028026, antiderivative size = 28, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158 \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a x+b x^2}}\right )}{\sqrt{b}} \]

Antiderivative was successfully verified.

[In]  Int[1/Sqrt[(a/x^2 + b/x)*x^3],x]

[Out]

(2*ArcTanh[(Sqrt[b]*x)/Sqrt[a*x + b*x^2]])/Sqrt[b]

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 1.24455, size = 26, normalized size = 0.93 \[ \frac{2 \operatorname{atanh}{\left (\frac{\sqrt{b} x}{\sqrt{a x + b x^{2}}} \right )}}{\sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/((a/x**2+b/x)*x**3)**(1/2),x)

[Out]

2*atanh(sqrt(b)*x/sqrt(a*x + b*x**2))/sqrt(b)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0101054, size = 56, normalized size = 2. \[ \frac{2 \sqrt{x} \sqrt{a+b x} \log \left (\sqrt{b} \sqrt{a+b x}+b \sqrt{x}\right )}{\sqrt{b} \sqrt{x (a+b x)}} \]

Antiderivative was successfully verified.

[In]  Integrate[1/Sqrt[(a/x^2 + b/x)*x^3],x]

[Out]

(2*Sqrt[x]*Sqrt[a + b*x]*Log[b*Sqrt[x] + Sqrt[b]*Sqrt[a + b*x]])/(Sqrt[b]*Sqrt[x
*(a + b*x)])

_______________________________________________________________________________________

Maple [A]  time = 0.005, size = 29, normalized size = 1. \[{1\ln \left ({1 \left ({\frac{a}{2}}+bx \right ){\frac{1}{\sqrt{b}}}}+\sqrt{b{x}^{2}+ax} \right ){\frac{1}{\sqrt{b}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/((a/x^2+b/x)*x^3)^(1/2),x)

[Out]

ln((1/2*a+b*x)/b^(1/2)+(b*x^2+a*x)^(1/2))/b^(1/2)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(x^3*(b/x + a/x^2)),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.271477, size = 1, normalized size = 0.04 \[ \left [\frac{\log \left ({\left (2 \, b x + a\right )} \sqrt{b} + 2 \, \sqrt{b x^{2} + a x} b\right )}{\sqrt{b}}, \frac{2 \, \arctan \left (\frac{\sqrt{b x^{2} + a x} \sqrt{-b}}{b x}\right )}{\sqrt{-b}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(x^3*(b/x + a/x^2)),x, algorithm="fricas")

[Out]

[log((2*b*x + a)*sqrt(b) + 2*sqrt(b*x^2 + a*x)*b)/sqrt(b), 2*arctan(sqrt(b*x^2 +
 a*x)*sqrt(-b)/(b*x))/sqrt(-b)]

_______________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((a/x**2+b/x)*x**3)**(1/2),x)

[Out]

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

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.272813, size = 47, normalized size = 1.68 \[ -\frac{{\rm ln}\left ({\left | -2 \,{\left (\sqrt{b} x - \sqrt{b x^{2} + a x}\right )} \sqrt{b} - a \right |}\right )}{\sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(x^3*(b/x + a/x^2)),x, algorithm="giac")

[Out]

-ln(abs(-2*(sqrt(b)*x - sqrt(b*x^2 + a*x))*sqrt(b) - a))/sqrt(b)