Optimal. Leaf size=26 \[ \frac {2 \sqrt {a x^3-b x}}{b-a x^2} \]
________________________________________________________________________________________
Rubi [A] time = 0.15, antiderivative size = 17, normalized size of antiderivative = 0.65, number of steps used = 2, number of rules used = 2, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.061, Rules used = {2056, 449} \begin {gather*} -\frac {2 x}{\sqrt {a x^3-b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 449
Rule 2056
Rubi steps
\begin {align*} \int \frac {b+a x^2}{\left (-b+a x^2\right ) \sqrt {-b x+a x^3}} \, dx &=\frac {\left (\sqrt {x} \sqrt {-b+a x^2}\right ) \int \frac {b+a x^2}{\sqrt {x} \left (-b+a x^2\right )^{3/2}} \, dx}{\sqrt {-b x+a x^3}}\\ &=-\frac {2 x}{\sqrt {-b x+a x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 17, normalized size = 0.65 \begin {gather*} -\frac {2 x}{\sqrt {a x^3-b x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.17, size = 26, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {-b x+a x^3}}{b-a x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.47, size = 25, normalized size = 0.96 \begin {gather*} -\frac {2 \, \sqrt {a x^{3} - b x}}{a x^{2} - b} \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 {a x^{2} + b}{\sqrt {a x^{3} - b x} {\left (a x^{2} - b\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.12, size = 16, normalized size = 0.62
method | result | size |
gosper | \(-\frac {2 x}{\sqrt {a \,x^{3}-b x}}\) | \(16\) |
elliptic | \(-\frac {2 x}{\sqrt {\left (x^{2}-\frac {b}{a}\right ) a x}}\) | \(19\) |
trager | \(-\frac {2 \sqrt {a \,x^{3}-b x}}{a \,x^{2}-b}\) | \(26\) |
default | \(\frac {\sqrt {a b}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}\, \sqrt {-\frac {x a}{\sqrt {a b}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}, \frac {\sqrt {2}}{2}\right )}{a \sqrt {a \,x^{3}-b x}}+2 b \left (-\frac {x}{b \sqrt {\left (x^{2}-\frac {b}{a}\right ) a x}}-\frac {\sqrt {a b}\, \sqrt {\frac {\left (x +\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}\, \sqrt {-\frac {x a}{\sqrt {a b}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {a b}}{a}\right ) a}{\sqrt {a b}}}, \frac {\sqrt {2}}{2}\right )}{2 b a \sqrt {a \,x^{3}-b x}}\right )\) | \(231\) |
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 {a x^{2} + b}{\sqrt {a x^{3} - b x} {\left (a x^{2} - b\right )}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.24, size = 24, normalized size = 0.92 \begin {gather*} \frac {2\,\sqrt {a\,x^3-b\,x}}{b-a\,x^2} \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 {a x^{2} + b}{\sqrt {x \left (a x^{2} - b\right )} \left (a x^{2} - b\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________