Optimal. Leaf size=23 \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{\sqrt{a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0071878, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {63, 208} \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{\sqrt{a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 63
Rule 208
Rubi steps
\begin{align*} \int \frac{1}{x \sqrt{a+b x}} \, dx &=\frac{2 \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b x}\right )}{b}\\ &=-\frac{2 \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{\sqrt{a}}\\ \end{align*}
Mathematica [A] time = 0.0048364, size = 23, normalized size = 1. \[ -\frac{2 \tanh ^{-1}\left (\frac{\sqrt{a+b x}}{\sqrt{a}}\right )}{\sqrt{a}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 18, normalized size = 0.8 \begin{align*} -2\,{\frac{1}{\sqrt{a}}{\it Artanh} \left ({\frac{\sqrt{bx+a}}{\sqrt{a}}} \right ) } \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.52874, size = 142, normalized size = 6.17 \begin{align*} \left [\frac{\log \left (\frac{b x - 2 \, \sqrt{b x + a} \sqrt{a} + 2 \, a}{x}\right )}{\sqrt{a}}, \frac{2 \, \sqrt{-a} \arctan \left (\frac{\sqrt{b x + a} \sqrt{-a}}{a}\right )}{a}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 1.02018, size = 24, normalized size = 1.04 \begin{align*} - \frac{2 \operatorname{asinh}{\left (\frac{\sqrt{a}}{\sqrt{b} \sqrt{x}} \right )}}{\sqrt{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.15868, size = 28, normalized size = 1.22 \begin{align*} \frac{2 \, \arctan \left (\frac{\sqrt{b x + a}}{\sqrt{-a}}\right )}{\sqrt{-a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]