Optimal. Leaf size=26 \[ -\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b x^2}} \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {515, 23, 30} \begin {gather*} -\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 23
Rule 30
Rule 515
Rubi steps
\begin {align*} \int \frac {\sqrt {b-\frac {a}{x^2}}}{x \sqrt {a-b x^2}} \, dx &=\frac {\left (\sqrt {b-\frac {a}{x^2}} x\right ) \int \frac {\sqrt {-a+b x^2}}{x^2 \sqrt {a-b x^2}} \, dx}{\sqrt {-a+b x^2}}\\ &=\frac {\left (\sqrt {b-\frac {a}{x^2}} x\right ) \int \frac {1}{x^2} \, dx}{\sqrt {a-b x^2}}\\ &=-\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 26, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.27, size = 26, normalized size = 1.00 \begin {gather*} -\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.56, size = 41, normalized size = 1.58 \begin {gather*} -\frac {\sqrt {-b x^{2} + a} {\left (x - 1\right )} \sqrt {\frac {b x^{2} - a}{x^{2}}}}{b x^{2} - a} \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 {b - \frac {a}{x^{2}}}}{\sqrt {-b x^{2} + a} x}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 28, normalized size = 1.08 \begin {gather*} -\frac {\sqrt {-\frac {-b \,x^{2}+a}{x^{2}}}}{\sqrt {-b \,x^{2}+a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 1.11, size = 7, normalized size = 0.27 \begin {gather*} \frac {i}{\sqrt {x^{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.34, size = 22, normalized size = 0.85 \begin {gather*} -\frac {\sqrt {b-\frac {a}{x^2}}}{\sqrt {a-b\,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 {\sqrt {- \frac {a}{x^{2}} + b}}{x \sqrt {a - b x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________