Optimal. Leaf size=46 \[ \frac{\sqrt{2} b \sin ^{-1}\left (\frac{a x-b \sqrt{\frac{a^2 x^2}{b^2}+\frac{a}{b^2}}}{\sqrt{a}}\right )}{\sqrt{a}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.973359, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 58, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.034 \[ \frac{\sqrt{2} b \sin ^{-1}\left (\frac{a x-b \sqrt{\frac{a^2 x^2}{b^2}+\frac{a}{b^2}}}{\sqrt{a}}\right )}{\sqrt{a}} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[-(a*x^2) + b*x*Sqrt[a/b^2 + (a^2*x^2)/b^2]]/(x*Sqrt[a/b^2 + (a^2*x^2)/b^2]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.5592, size = 42, normalized size = 0.91 \[ - \frac{\sqrt{2} b \operatorname{asin}{\left (\frac{- a x + b \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}}}{\sqrt{a}} \right )}}{\sqrt{a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-a*x**2+b*x*(a/b**2+a**2*x**2/b**2)**(1/2))**(1/2)/x/(a/b**2+a**2*x**2/b**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 1.12716, size = 213, normalized size = 4.63 \[ \frac{b^2 \sqrt{\frac{a \left (a x^2+1\right )}{b^2}} \sqrt{a x \left (a x-b \sqrt{\frac{a \left (a x^2+1\right )}{b^2}}\right )} \sqrt{x \left (b \sqrt{\frac{a \left (a x^2+1\right )}{b^2}}-a x\right )} \left (\log \left (1-\frac{\sqrt{a x \left (a x-b \sqrt{\frac{a \left (a x^2+1\right )}{b^2}}\right )}}{\sqrt{2} a x}\right )-\log \left (\frac{\sqrt{a x \left (a x-b \sqrt{\frac{a \left (a x^2+1\right )}{b^2}}\right )}}{\sqrt{2} a x}+1\right )\right )}{\sqrt{2} a^2 x \left (b x \sqrt{\frac{a \left (a x^2+1\right )}{b^2}}-a x^2-1\right )} \]
Antiderivative was successfully verified.
[In] Integrate[Sqrt[-(a*x^2) + b*x*Sqrt[a/b^2 + (a^2*x^2)/b^2]]/(x*Sqrt[a/b^2 + (a^2*x^2)/b^2]),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.048, size = 0, normalized size = 0. \[ \int{\frac{1}{x}\sqrt{-a{x}^{2}+bx\sqrt{{\frac{a}{{b}^{2}}}+{\frac{{a}^{2}{x}^{2}}{{b}^{2}}}}}{\frac{1}{\sqrt{{\frac{a}{{b}^{2}}}+{\frac{{a}^{2}{x}^{2}}{{b}^{2}}}}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-a*x^2+b*x*(a/b^2+a^2*x^2/b^2)^(1/2))^(1/2)/x/(a/b^2+a^2*x^2/b^2)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{-a x^{2} + \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} b x}}{\sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(-a*x^2 + sqrt(a^2*x^2/b^2 + a/b^2)*b*x)/(sqrt(a^2*x^2/b^2 + a/b^2)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(-a*x^2 + sqrt(a^2*x^2/b^2 + a/b^2)*b*x)/(sqrt(a^2*x^2/b^2 + a/b^2)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{- x \left (a x - b \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}}\right )}}{x \sqrt{\frac{a \left (a x^{2} + 1\right )}{b^{2}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-a*x**2+b*x*(a/b**2+a**2*x**2/b**2)**(1/2))**(1/2)/x/(a/b**2+a**2*x**2/b**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\sqrt{-a x^{2} + \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} b x}}{\sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(-a*x^2 + sqrt(a^2*x^2/b^2 + a/b^2)*b*x)/(sqrt(a^2*x^2/b^2 + a/b^2)*x),x, algorithm="giac")
[Out]