Optimal. Leaf size=24 \[ \frac{2 \tan ^{-1}\left (\sqrt{\frac{a+b x}{c-b x}}\right )}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0600706, antiderivative size = 24, 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 = {1961, 12, 203} \[ \frac{2 \tan ^{-1}\left (\sqrt{\frac{a+b x}{c-b x}}\right )}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1961
Rule 12
Rule 203
Rubi steps
\begin{align*} \int \frac{\sqrt{\frac{a+b x}{c-b x}}}{a+b x} \, dx &=(2 b (a+c)) \operatorname{Subst}\left (\int \frac{1}{b^2 (a+c) \left (1+x^2\right )} \, dx,x,\sqrt{\frac{a+b x}{c-b x}}\right )\\ &=\frac{2 \operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sqrt{\frac{a+b x}{c-b x}}\right )}{b}\\ &=\frac{2 \tan ^{-1}\left (\sqrt{\frac{a+b x}{c-b x}}\right )}{b}\\ \end{align*}
Mathematica [B] time = 0.200211, size = 93, normalized size = 3.88 \[ \frac{2 b \sqrt{c-b x} \sqrt{\frac{a+b x}{c-b x}} \sin ^{-1}\left (\frac{b \sqrt{c-b x}}{\sqrt{-b} \sqrt{-b (a+c)}}\right )}{(-b)^{3/2} \sqrt{-b (a+c)} \sqrt{\frac{a+b x}{a+c}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.029, size = 85, normalized size = 3.5 \begin{align*} -{(bx-c)\arctan \left ({\frac{2\,bx+a-c}{2\,b}\sqrt{{b}^{2}}{\frac{1}{\sqrt{- \left ( bx+a \right ) \left ( bx-c \right ) }}}} \right ) \sqrt{-{\frac{bx+a}{bx-c}}}{\frac{1}{\sqrt{{b}^{2}}}}{\frac{1}{\sqrt{- \left ( bx+a \right ) \left ( bx-c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45854, size = 32, normalized size = 1.33 \begin{align*} \frac{2 \, \arctan \left (\sqrt{-\frac{b x + a}{b x - c}}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.71513, size = 54, normalized size = 2.25 \begin{align*} \frac{2 \, \arctan \left (\sqrt{-\frac{b x + a}{b x - c}}\right )}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.20831, size = 55, normalized size = 2.29 \begin{align*} -\frac{\arcsin \left (-\frac{2 \, b x + a - c}{a + c}\right ) \mathrm{sgn}\left (-a b - b c\right ) \mathrm{sgn}\left (b x - c\right )}{{\left | b \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]