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 = 1.84009, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 57, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053 \[ \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[x*(-(a*x) + b*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 = 26.3129, 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((x*(-a*x+(a/b**2+a**2*x**2/b**2)**(1/2)*b))**(1/2)/x/(a/b**2+a**2*x**2/b**2)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.320454, 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[x*(-(a*x) + b*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.035, size = 0, normalized size = 0. \[ \int{\frac{1}{x}\sqrt{x \left ( -ax+b\sqrt{{\frac{a}{{b}^{2}}}+{\frac{{a}^{2}{x}^{2}}{{b}^{2}}}} \right ) }{\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((x*(-a*x+b*(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{-{\left (a x - \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} b\right )} 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 - 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 - 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(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((x*(-a*x+(a/b**2+a**2*x**2/b**2)**(1/2)*b))**(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{-{\left (a x - \sqrt{\frac{a^{2} x^{2}}{b^{2}} + \frac{a}{b^{2}}} b\right )} 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 - 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]