Optimal. Leaf size=32 \[ -\frac{x}{4 \left (x^2+1\right )}-\frac{\cot ^{-1}(x)}{2 \left (x^2+1\right )}-\frac{1}{4} \tan ^{-1}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0261825, antiderivative size = 32, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.273, Rules used = {4931, 199, 203} \[ -\frac{x}{4 \left (x^2+1\right )}-\frac{\cot ^{-1}(x)}{2 \left (x^2+1\right )}-\frac{1}{4} \tan ^{-1}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4931
Rule 199
Rule 203
Rubi steps
\begin{align*} \int \frac{x \cot ^{-1}(x)}{\left (1+x^2\right )^2} \, dx &=-\frac{\cot ^{-1}(x)}{2 \left (1+x^2\right )}-\frac{1}{2} \int \frac{1}{\left (1+x^2\right )^2} \, dx\\ &=-\frac{x}{4 \left (1+x^2\right )}-\frac{\cot ^{-1}(x)}{2 \left (1+x^2\right )}-\frac{1}{4} \int \frac{1}{1+x^2} \, dx\\ &=-\frac{x}{4 \left (1+x^2\right )}-\frac{\cot ^{-1}(x)}{2 \left (1+x^2\right )}-\frac{1}{4} \tan ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0183403, size = 25, normalized size = 0.78 \[ -\frac{x^2 \tan ^{-1}(x)+x+\tan ^{-1}(x)+2 \cot ^{-1}(x)}{4 x^2+4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.026, size = 27, normalized size = 0.8 \begin{align*} -{\frac{x}{4\,{x}^{2}+4}}-{\frac{{\rm arccot} \left (x\right )}{2\,{x}^{2}+2}}-{\frac{\arctan \left ( x \right ) }{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.48701, size = 35, normalized size = 1.09 \begin{align*} -\frac{x}{4 \,{\left (x^{2} + 1\right )}} - \frac{\operatorname{arccot}\left (x\right )}{2 \,{\left (x^{2} + 1\right )}} - \frac{1}{4} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.14481, size = 55, normalized size = 1.72 \begin{align*} \frac{{\left (x^{2} - 1\right )} \operatorname{arccot}\left (x\right ) - x}{4 \,{\left (x^{2} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.70656, size = 31, normalized size = 0.97 \begin{align*} \frac{x^{2} \operatorname{acot}{\left (x \right )}}{4 x^{2} + 4} - \frac{x}{4 x^{2} + 4} - \frac{\operatorname{acot}{\left (x \right )}}{4 x^{2} + 4} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10231, size = 38, normalized size = 1.19 \begin{align*} -\frac{x}{4 \,{\left (x^{2} + 1\right )}} - \frac{\arctan \left (\frac{1}{x}\right )}{2 \,{\left (x^{2} + 1\right )}} - \frac{1}{4} \, \arctan \left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]