Optimal. Leaf size=25 \[ \frac {2 x \sqrt {b-\frac {a}{x}}}{\sqrt {a-b x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {435, 23, 30} \[ \frac {2 x \sqrt {b-\frac {a}{x}}}{\sqrt {a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 23
Rule 30
Rule 435
Rubi steps
\begin {align*} \int \frac {\sqrt {b-\frac {a}{x}}}{\sqrt {a-b x}} \, dx &=\frac {\left (\sqrt {b-\frac {a}{x}} \sqrt {x}\right ) \int \frac {\sqrt {-a+b x}}{\sqrt {x} \sqrt {a-b x}} \, dx}{\sqrt {-a+b x}}\\ &=\frac {\left (\sqrt {b-\frac {a}{x}} \sqrt {x}\right ) \int \frac {1}{\sqrt {x}} \, dx}{\sqrt {a-b x}}\\ &=\frac {2 \sqrt {b-\frac {a}{x}} x}{\sqrt {a-b x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 25, normalized size = 1.00 \[ \frac {2 x \sqrt {b-\frac {a}{x}}}{\sqrt {a-b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 33, normalized size = 1.32 \[ -\frac {2 \, \sqrt {-b x + a} x \sqrt {\frac {b x - a}{x}}}{b x - a} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.40, size = 51, normalized size = 2.04 \[ \frac {2 \, {\left (\sqrt {-{\left (b x - a\right )} b - a b} - \sqrt {-a b}\right )} {\left | b \right |} \mathrm {sgn}\relax (x)}{b^{2}} + \frac {2 \, \sqrt {-a b} {\left | b \right |} \mathrm {sgn}\relax (x)}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 25, normalized size = 1.00 \[ \frac {2 \sqrt {-\frac {-b x +a}{x}}\, x}{\sqrt {-b x +a}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [C] time = 0.67, size = 5, normalized size = 0.20 \[ -2 i \, \sqrt {x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.04, size = 21, normalized size = 0.84 \[ \frac {2\,x\,\sqrt {b-\frac {a}{x}}}{\sqrt {a-b\,x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {- \frac {a}{x} + b}}{\sqrt {a - b x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________