Optimal. Leaf size=82 \[ -\frac{2 a \log \left (a+b \sqrt{c+d x}\right )}{a^2-b^2 c}+\frac{2 b \sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right )}{a^2-b^2 c}+\frac{a \log (x)}{a^2-b^2 c} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.175363, antiderivative size = 82, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316 \[ -\frac{2 a \log \left (a+b \sqrt{c+d x}\right )}{a^2-b^2 c}+\frac{2 b \sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right )}{a^2-b^2 c}+\frac{a \log (x)}{a^2-b^2 c} \]
Antiderivative was successfully verified.
[In] Int[1/(x*(a + b*Sqrt[c + d*x])),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.1031, size = 73, normalized size = 0.89 \[ \frac{a \log{\left (- d x \right )}}{a^{2} - b^{2} c} - \frac{2 a \log{\left (a + b \sqrt{c + d x} \right )}}{a^{2} - b^{2} c} + \frac{2 b \sqrt{c} \operatorname{atanh}{\left (\frac{\sqrt{c + d x}}{\sqrt{c}} \right )}}{a^{2} - b^{2} c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x/(a+b*(d*x+c)**(1/2)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0583137, size = 61, normalized size = 0.74 \[ \frac{-2 a \log \left (a+b \sqrt{c+d x}\right )+a \log (d x)+2 b \sqrt{c} \tanh ^{-1}\left (\frac{\sqrt{c+d x}}{\sqrt{c}}\right )}{a^2-b^2 c} \]
Antiderivative was successfully verified.
[In] Integrate[1/(x*(a + b*Sqrt[c + d*x])),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.008, size = 77, normalized size = 0.9 \[{\frac{a\ln \left ( dx \right ) }{-{b}^{2}c+{a}^{2}}}+2\,{\frac{b\sqrt{c}}{-{b}^{2}c+{a}^{2}}{\it Artanh} \left ({\frac{\sqrt{dx+c}}{\sqrt{c}}} \right ) }-2\,{\frac{a\ln \left ( a+b\sqrt{dx+c} \right ) }{-{b}^{2}c+{a}^{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x/(a+b*(d*x+c)^(1/2)),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((sqrt(d*x + c)*b + a)*x),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.287991, size = 1, normalized size = 0.01 \[ \left [\frac{b \sqrt{c} \log \left (\frac{d x - 2 \, \sqrt{d x + c} \sqrt{c} + 2 \, c}{x}\right ) + 2 \, a \log \left (\sqrt{d x + c} b + a\right ) - a \log \left (x\right )}{b^{2} c - a^{2}}, -\frac{2 \, b \sqrt{-c} \arctan \left (\frac{\sqrt{d x + c}}{\sqrt{-c}}\right ) - 2 \, a \log \left (\sqrt{d x + c} b + a\right ) + a \log \left (x\right )}{b^{2} c - a^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((sqrt(d*x + c)*b + a)*x),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{x \left (a + b \sqrt{c + d x}\right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x/(a+b*(d*x+c)**(1/2)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.283629, size = 155, normalized size = 1.89 \[ \frac{2 \, a b{\rm ln}\left ({\left | \sqrt{d x + c} b + a \right |}\right )}{b^{3} c - a^{2} b} + \frac{2 \, b c \arctan \left (\frac{\sqrt{d x + c}}{\sqrt{-c}}\right )}{{\left (b^{2} c - a^{2}\right )} \sqrt{-c}} - \frac{a{\rm ln}\left (d x\right )}{b^{2} c - a^{2}} + \frac{a{\rm ln}\left (-c\right ) - 2 \, a{\rm ln}\left ({\left | a \right |}\right )}{b^{2} c - a^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((sqrt(d*x + c)*b + a)*x),x, algorithm="giac")
[Out]