Optimal. Leaf size=31 \[ -\frac{\sqrt{b-\frac{a}{x^2}}}{2 x \sqrt{a-b x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0344175, antiderivative size = 31, normalized size of antiderivative = 1., 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} \[ -\frac{\sqrt{b-\frac{a}{x^2}}}{2 x \sqrt{a-b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 515
Rule 23
Rule 30
Rubi steps
\begin{align*} \int \frac{\sqrt{b-\frac{a}{x^2}}}{x^2 \sqrt{a-b x^2}} \, dx &=\frac{\left (\sqrt{b-\frac{a}{x^2}} x\right ) \int \frac{\sqrt{-a+b x^2}}{x^3 \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^3} \, dx}{\sqrt{a-b x^2}}\\ &=-\frac{\sqrt{b-\frac{a}{x^2}}}{2 x \sqrt{a-b x^2}}\\ \end{align*}
Mathematica [A] time = 0.0071627, size = 31, normalized size = 1. \[ -\frac{\sqrt{b-\frac{a}{x^2}}}{2 x \sqrt{a-b x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 31, normalized size = 1. \begin{align*} -{\frac{1}{2\,x}\sqrt{-{\frac{-b{x}^{2}+a}{{x}^{2}}}}{\frac{1}{\sqrt{-b{x}^{2}+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.16725, size = 7, normalized size = 0.23 \begin{align*} \frac{i}{2 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.47842, size = 93, normalized size = 3. \begin{align*} -\frac{\sqrt{-b x^{2} + a}{\left (x^{2} - 1\right )} \sqrt{\frac{b x^{2} - a}{x^{2}}}}{2 \,{\left (b x^{3} - a x\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{- \frac{a}{x^{2}} + b}}{x^{2} \sqrt{a - b x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.07772, size = 27, normalized size = 0.87 \begin{align*} -\frac{\mathrm{sgn}\left (b x^{2} - a\right ) \mathrm{sgn}\left (x\right )}{2 \, i x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]