Optimal. Leaf size=41 \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{\frac{a+b x}{c+d x}}}{\sqrt{b}}\right )}{\sqrt{b} \sqrt{d}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.066614, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.12, Rules used = {1961, 12, 208} \[ \frac{2 \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{\frac{a+b x}{c+d x}}}{\sqrt{b}}\right )}{\sqrt{b} \sqrt{d}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1961
Rule 12
Rule 208
Rubi steps
\begin{align*} \int \frac{\sqrt{\frac{a+b x}{c+d x}}}{a+b x} \, dx &=(2 (b c-a d)) \operatorname{Subst}\left (\int \frac{1}{(b c-a d) \left (b-d x^2\right )} \, dx,x,\sqrt{\frac{a+b x}{c+d x}}\right )\\ &=2 \operatorname{Subst}\left (\int \frac{1}{b-d x^2} \, dx,x,\sqrt{\frac{a+b x}{c+d x}}\right )\\ &=\frac{2 \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{\frac{a+b x}{c+d x}}}{\sqrt{b}}\right )}{\sqrt{b} \sqrt{d}}\\ \end{align*}
Mathematica [B] time = 0.0733484, size = 97, normalized size = 2.37 \[ \frac{2 \sqrt{b c-a d} \sqrt{\frac{a+b x}{c+d x}} \sqrt{\frac{b (c+d x)}{b c-a d}} \sinh ^{-1}\left (\frac{\sqrt{d} \sqrt{a+b x}}{\sqrt{b c-a d}}\right )}{b \sqrt{d} \sqrt{a+b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.02, size = 80, normalized size = 2. \begin{align*}{(dx+c)\ln \left ({\frac{1}{2} \left ( 2\,bdx+2\,\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }\sqrt{bd}+ad+bc \right ){\frac{1}{\sqrt{bd}}}} \right ) \sqrt{{\frac{bx+a}{dx+c}}}{\frac{1}{\sqrt{ \left ( bx+a \right ) \left ( dx+c \right ) }}}{\frac{1}{\sqrt{bd}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.72651, size = 251, normalized size = 6.12 \begin{align*} \left [\frac{\sqrt{b d} \log \left (2 \, b d x + b c + a d + 2 \, \sqrt{b d}{\left (d x + c\right )} \sqrt{\frac{b x + a}{d x + c}}\right )}{b d}, -\frac{2 \, \sqrt{-b d} \arctan \left (\frac{\sqrt{-b d}{\left (d x + c\right )} \sqrt{\frac{b x + a}{d x + c}}}{b d x + a d}\right )}{b d}\right ] \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 [B] time = 1.25758, size = 100, normalized size = 2.44 \begin{align*} -\frac{\sqrt{b d} \log \left ({\left | -2 \,{\left (\sqrt{b d} x - \sqrt{b d x^{2} + b c x + a d x + a c}\right )} b d - \sqrt{b d} b c - \sqrt{b d} a d \right |}\right ) \mathrm{sgn}\left (d x + c\right )}{b d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]