Optimal. Leaf size=6 \[ \sinh ^{-1}\left (\frac {x}{2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {221}
\begin {gather*} \sinh ^{-1}\left (\frac {x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {4+x^2}} \, dx &=\sinh ^{-1}\left (\frac {x}{2}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 12, normalized size = 2.00 \begin {gather*} \tanh ^{-1}\left (\frac {x}{\sqrt {4+x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 5, normalized size = 0.83
method | result | size |
default | \(\arcsinh \left (\frac {x}{2}\right )\) | \(5\) |
meijerg | \(\arcsinh \left (\frac {x}{2}\right )\) | \(5\) |
trager | \(\ln \left (x +\sqrt {x^{2}+4}\right )\) | \(11\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.49, size = 4, normalized size = 0.67 \begin {gather*} \operatorname {arsinh}\left (\frac {1}{2} \, x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 14 vs.
\(2 (4) = 8\).
time = 1.03, size = 14, normalized size = 2.33 \begin {gather*} -\log \left (-x + \sqrt {x^{2} + 4}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 3, normalized size = 0.50 \begin {gather*} \operatorname {asinh}{\left (\frac {x}{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 25 vs.
\(2 (4) = 8\).
time = 0.44, size = 25, normalized size = 4.17 \begin {gather*} \frac {1}{2} \, \sqrt {x^{2} + 4} x - 2 \, \log \left (-x + \sqrt {x^{2} + 4}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 4, normalized size = 0.67 \begin {gather*} \mathrm {asinh}\left (\frac {x}{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________