Optimal. Leaf size=15 \[ x \tan ^{-1}(x)-\frac{1}{2} \log \left (x^2+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0038938, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 2, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 1., Rules used = {4846, 260} \[ x \tan ^{-1}(x)-\frac{1}{2} \log \left (x^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4846
Rule 260
Rubi steps
\begin{align*} \int \tan ^{-1}(x) \, dx &=x \tan ^{-1}(x)-\int \frac{x}{1+x^2} \, dx\\ &=x \tan ^{-1}(x)-\frac{1}{2} \log \left (1+x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0016189, size = 15, normalized size = 1. \[ x \tan ^{-1}(x)-\frac{1}{2} \log \left (x^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.001, size = 14, normalized size = 0.9 \begin{align*} x\arctan \left ( x \right ) -{\frac{\ln \left ({x}^{2}+1 \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.936874, size = 18, normalized size = 1.2 \begin{align*} x \arctan \left (x\right ) - \frac{1}{2} \, \log \left (x^{2} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.0195, size = 43, normalized size = 2.87 \begin{align*} x \arctan \left (x\right ) - \frac{1}{2} \, \log \left (x^{2} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.184029, size = 12, normalized size = 0.8 \begin{align*} x \operatorname{atan}{\left (x \right )} - \frac{\log{\left (x^{2} + 1 \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.04172, size = 18, normalized size = 1.2 \begin{align*} x \arctan \left (x\right ) - \frac{1}{2} \, \log \left (x^{2} + 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]