Optimal. Leaf size=29 \[ -\frac{2 \sqrt{b-\frac{a}{x}}}{3 x \sqrt{a-b x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0330215, antiderivative size = 29, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.115, Rules used = {515, 23, 30} \[ -\frac{2 \sqrt{b-\frac{a}{x}}}{3 x \sqrt{a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 515
Rule 23
Rule 30
Rubi steps
\begin{align*} \int \frac{\sqrt{b-\frac{a}{x}}}{x^2 \sqrt{a-b x}} \, dx &=\frac{\left (\sqrt{b-\frac{a}{x}} \sqrt{x}\right ) \int \frac{\sqrt{-a+b x}}{x^{5/2} \sqrt{a-b x}} \, dx}{\sqrt{-a+b x}}\\ &=\frac{\left (\sqrt{b-\frac{a}{x}} \sqrt{x}\right ) \int \frac{1}{x^{5/2}} \, dx}{\sqrt{a-b x}}\\ &=-\frac{2 \sqrt{b-\frac{a}{x}}}{3 x \sqrt{a-b x}}\\ \end{align*}
Mathematica [A] time = 0.0107928, size = 29, normalized size = 1. \[ -\frac{2 \sqrt{b-\frac{a}{x}}}{3 x \sqrt{a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 27, normalized size = 0.9 \begin{align*} -{\frac{2}{3\,x}\sqrt{-{\frac{-bx+a}{x}}}{\frac{1}{\sqrt{-bx+a}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [C] time = 1.61323, size = 7, normalized size = 0.24 \begin{align*} \frac{2 i}{3 \, x^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.40859, size = 70, normalized size = 2.41 \begin{align*} \frac{2 \, \sqrt{-b x + a} \sqrt{\frac{b x - a}{x}}}{3 \,{\left (b x^{2} - 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} + b}}{x^{2} \sqrt{a - b x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.14102, size = 81, normalized size = 2.79 \begin{align*} \frac{2 \,{\left (\frac{b^{5}}{{\left ({\left (b x - a\right )} b + a b\right )} \sqrt{-{\left (b x - a\right )} b - a b}} - \frac{b^{4}}{\sqrt{-a b} a}\right )}{\left | b \right |} \mathrm{sgn}\left (x\right )}{3 \, b^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]