Optimal. Leaf size=31 \[ \sqrt{x^2+1} \tan ^{-1}\left (\sqrt{x^2+1}\right )-\frac{1}{2} \log \left (x^2+2\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0380929, antiderivative size = 31, normalized size of antiderivative = 1., 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 = {261, 5207, 260} \[ \sqrt{x^2+1} \tan ^{-1}\left (\sqrt{x^2+1}\right )-\frac{1}{2} \log \left (x^2+2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 261
Rule 5207
Rule 260
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.0272257, size = 31, normalized size = 1. \[ \sqrt{x^2+1} \tan ^{-1}\left (\sqrt{x^2+1}\right )-\frac{1}{2} \log \left (x^2+2\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 26, normalized size = 0.8 \begin{align*} -{\frac{\ln \left ({x}^{2}+2 \right ) }{2}}+\arctan \left ( \sqrt{{x}^{2}+1} \right ) \sqrt{{x}^{2}+1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.942101, size = 34, normalized size = 1.1 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (\sqrt{x^{2} + 1}\right ) - \frac{1}{2} \, \log \left (x^{2} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.52711, size = 76, normalized size = 2.45 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (\sqrt{x^{2} + 1}\right ) - \frac{1}{2} \, \log \left (x^{2} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 3.32846, size = 26, normalized size = 0.84 \begin{align*} \sqrt{x^{2} + 1} \operatorname{atan}{\left (\sqrt{x^{2} + 1} \right )} - \frac{\log{\left (x^{2} + 2 \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.07154, size = 34, normalized size = 1.1 \begin{align*} \sqrt{x^{2} + 1} \arctan \left (\sqrt{x^{2} + 1}\right ) - \frac{1}{2} \, \log \left (x^{2} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]