Optimal. Leaf size=23 \[ -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{\sqrt {a}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, 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 = {65, 214}
\begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {1}{x \sqrt {a+b x}} \, dx &=\frac {2 \text {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.02, size = 23, normalized size = 1.00 \begin {gather*} -\frac {2 \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 18, normalized size = 0.78
method | result | size |
derivativedivides | \(-\frac {2 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{\sqrt {a}}\) | \(18\) |
default | \(-\frac {2 \arctanh \left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{\sqrt {a}}\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 32, normalized size = 1.39 \begin {gather*} \frac {\log \left (\frac {\sqrt {b x + a} - \sqrt {a}}{\sqrt {b x + a} + \sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 56, normalized size = 2.43 \begin {gather*} \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 {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.58, size = 24, normalized size = 1.04 \begin {gather*} - \frac {2 \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt {x}} \right )}}{\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.81, size = 21, normalized size = 0.91 \begin {gather*} \frac {2 \, \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right )}{\sqrt {-a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.11, size = 17, normalized size = 0.74 \begin {gather*} -\frac {2\,\mathrm {atanh}\left (\frac {\sqrt {a+b\,x}}{\sqrt {a}}\right )}{\sqrt {a}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________