Optimal. Leaf size=200 \[ \frac {\sqrt {a^2 x^2-b x} \sqrt {x \left (\sqrt {a^2 x^2-b x}+a x\right )} \left (8 a^2 x-9 b\right )}{12 a b x}+\sqrt {x \left (\sqrt {a^2 x^2-b x}+a x\right )} \left (\frac {19 b-8 a^2 x}{12 b}+\frac {3 \sqrt {b} \sqrt {\sqrt {a^2 x^2-b x}-a x} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {a} \sqrt {\sqrt {a^2 x^2-b x}-a x}}{\sqrt {b}}\right )}{4 \sqrt {2} a^{3/2} x}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 3.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 ) \operatorname {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 [C] time = 1.81, size = 205, normalized size = 1.02 \begin {gather*} \frac {b \sqrt {x \left (a^2 x-b\right )} \left (\sqrt {x \left (a^2 x-b\right )}+a x\right )^2 \left (4 \, _2F_1\left (-\frac {3}{2},1;-\frac {1}{2};1-\frac {b}{2 a \left (a x+\sqrt {x \left (a^2 x-b\right )}\right )}\right )-\, _2F_1\left (-\frac {3}{2},2;-\frac {1}{2};1-\frac {b}{2 a \left (a x+\sqrt {x \left (a^2 x-b\right )}\right )}\right )-4\right )}{3 \sqrt {x \left (\sqrt {x \left (a^2 x-b\right )}+a x\right )} \left (a \left (\sqrt {x \left (a^2 x-b\right )}+a x\right )-b\right ) \left (2 a \left (\sqrt {x \left (a^2 x-b\right )}+a x\right )-b\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 5.40, size = 200, normalized size = 1.00 \begin {gather*} \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}} \tan ^{-1}\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 ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.51, 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]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a^{2} x^{2} - b x}}{\sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.05, 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*} \int \frac {\sqrt {a^{2} x^{2} - b x}}{\sqrt {a x^{2} + \sqrt {a^{2} x^{2} - b x} x}}\,{d x} \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]
________________________________________________________________________________________
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]
________________________________________________________________________________________