Optimal. Leaf size=200 \[ \frac {\left (-9 b+8 a^2 x\right ) \sqrt {-b x+a^2 x^2} \sqrt {x \left (a x+\sqrt {-b x+a^2 x^2}\right )}}{12 a b x}+\sqrt {x \left (a x+\sqrt {-b x+a^2 x^2}\right )} \left (\frac {19 b-8 a^2 x}{12 b}+\frac {3 \sqrt {b} \sqrt {-a x+\sqrt {-b x+a^2 x^2}} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {-a x+\sqrt {-b x+a^2 x^2}}}{\sqrt {b}}\right )}{4 \sqrt {2} a^{3/2} x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 2.07, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {\sqrt {-b x+a^2 x^2}}{\sqrt {a x^2+x \sqrt {-b x+a^2 x^2}}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sqrt {-b x+a^2 x^2}}{\sqrt {a x^2+x \sqrt {-b x+a^2 x^2}}} \, dx &=\frac {\sqrt {-b x+a^2 x^2} \int \frac {\sqrt {x} \sqrt {-b+a^2 x}}{\sqrt {a x^2+x \sqrt {-b x+a^2 x^2}}} \, dx}{\sqrt {x} \sqrt {-b+a^2 x}}\\ &=\frac {\left (2 \sqrt {-b x+a^2 x^2}\right ) \text {Subst}\left (\int \frac {x^2 \sqrt {-b+a^2 x^2}}{\sqrt {a x^4+x^2 \sqrt {-b x^2+a^2 x^4}}} \, dx,x,\sqrt {x}\right )}{\sqrt {x} \sqrt {-b+a^2 x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 3.99, size = 213, normalized size = 1.06 \begin {gather*} \frac {\sqrt {x \left (a x+\sqrt {x \left (-b+a^2 x\right )}\right )} \left (-2 \sqrt {a} x \left (-9 b^2+a b \left (17 a x-19 \sqrt {x \left (-b+a^2 x\right )}\right )+8 a^3 x \left (-a x+\sqrt {x \left (-b+a^2 x\right )}\right )\right )+9 \sqrt {2} b^{3/2} \sqrt {x \left (-b+a^2 x\right )} \sqrt {-a x+\sqrt {x \left (-b+a^2 x\right )}} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {-a x+\sqrt {x \left (-b+a^2 x\right )}}}{\sqrt {b}}\right )\right )}{24 a^{3/2} b x \sqrt {x \left (-b+a^2 x\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {a^{2} x^{2}-b x}}{\sqrt {a \,x^{2}+x \sqrt {a^{2} x^{2}-b x}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 323, normalized size = 1.62 \begin {gather*} \left [\frac {9 \, \sqrt {2} \sqrt {a} b^{2} x \log \left (-\frac {4 \, a^{2} x^{2} + 4 \, \sqrt {a^{2} x^{2} - b x} a x - b x - 2 \, {\left (\sqrt {2} a^{\frac {3}{2}} x + \sqrt {2} \sqrt {a^{2} x^{2} - b x} \sqrt {a}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{x}\right ) - 4 \, {\left (8 \, a^{4} x^{2} - 19 \, a^{2} b x - {\left (8 \, a^{3} x - 9 \, a b\right )} \sqrt {a^{2} x^{2} - b x}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{48 \, a^{2} b x}, \frac {9 \, \sqrt {2} \sqrt {-a} b^{2} x \arctan \left (\frac {\sqrt {2} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x} \sqrt {-a}}{2 \, a x}\right ) - 2 \, {\left (8 \, a^{4} x^{2} - 19 \, a^{2} b x - {\left (8 \, a^{3} x - 9 \, a b\right )} \sqrt {a^{2} x^{2} - b x}\right )} \sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}{24 \, a^{2} b x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x \left (a^{2} x - b\right )}}{\sqrt {x \left (a x + \sqrt {a^{2} x^{2} - b x}\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\sqrt {a^2\,x^2-b\,x}}{\sqrt {a\,x^2+x\,\sqrt {a^2\,x^2-b\,x}}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________