Optimal. Leaf size=31 \[ \sqrt {1+x^2} \tan ^{-1}\left (\sqrt {1+x^2}\right )-\frac {1}{2} \log \left (2+x^2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {267, 5315, 266}
\begin {gather*} \sqrt {x^2+1} \text {ArcTan}\left (\sqrt {x^2+1}\right )-\frac {1}{2} \log \left (x^2+2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 267
Rule 5315
Rubi steps
\begin {align*} \int \frac {x \tan ^{-1}\left (\sqrt {1+x^2}\right )}{\sqrt {1+x^2}} \, dx &=\sqrt {1+x^2} \tan ^{-1}\left (\sqrt {1+x^2}\right )-\int \frac {x}{2+x^2} \, dx\\ &=\sqrt {1+x^2} \tan ^{-1}\left (\sqrt {1+x^2}\right )-\frac {1}{2} \log \left (2+x^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 31, normalized size = 1.00 \begin {gather*} \sqrt {1+x^2} \tan ^{-1}\left (\sqrt {1+x^2}\right )-\frac {1}{2} \log \left (2+x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 26, normalized size = 0.84
method | result | size |
derivativedivides | \(-\frac {\ln \left (x^{2}+2\right )}{2}+\arctan \left (\sqrt {x^{2}+1}\right ) \sqrt {x^{2}+1}\) | \(26\) |
default | \(-\frac {\ln \left (x^{2}+2\right )}{2}+\arctan \left (\sqrt {x^{2}+1}\right ) \sqrt {x^{2}+1}\) | \(26\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.35, size = 25, normalized size = 0.81 \begin {gather*} \sqrt {x^{2} + 1} \arctan \left (\sqrt {x^{2} + 1}\right ) - \frac {1}{2} \, \log \left (x^{2} + 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.09, size = 25, normalized size = 0.81 \begin {gather*} \sqrt {x^{2} + 1} \arctan \left (\sqrt {x^{2} + 1}\right ) - \frac {1}{2} \, \log \left (x^{2} + 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.65, size = 26, normalized size = 0.84 \begin {gather*} \sqrt {x^{2} + 1} \operatorname {atan}{\left (\sqrt {x^{2} + 1} \right )} - \frac {\log {\left (x^{2} + 2 \right )}}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.07, size = 25, normalized size = 0.81 \begin {gather*} \sqrt {x^{2} + 1} \arctan \left (\sqrt {x^{2} + 1}\right ) - \frac {1}{2} \, \log \left (x^{2} + 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.57, size = 25, normalized size = 0.81 \begin {gather*} \mathrm {atan}\left (\sqrt {x^2+1}\right )\,\sqrt {x^2+1}-\frac {\ln \left (x^2+2\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________