Optimal. Leaf size=19 \[ \frac{1}{4} \tanh ^{-1}(x)-\frac{x}{4 \left (x^2+1\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0125273, antiderivative size = 19, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {471, 206} \[ \frac{1}{4} \tanh ^{-1}(x)-\frac{x}{4 \left (x^2+1\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 471
Rule 206
Rubi steps
\begin{align*} \int \frac{x^2}{\left (1-x^2\right ) \left (1+x^2\right )^2} \, dx &=-\frac{x}{4 \left (1+x^2\right )}+\frac{1}{4} \int \frac{1}{1-x^2} \, dx\\ &=-\frac{x}{4 \left (1+x^2\right )}+\frac{1}{4} \tanh ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0112309, size = 27, normalized size = 1.42 \[ \frac{1}{8} \left (-\frac{2 x}{x^2+1}-\log (1-x)+\log (x+1)\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 24, normalized size = 1.3 \begin{align*} -{\frac{x}{4\,{x}^{2}+4}}-{\frac{\ln \left ( x-1 \right ) }{8}}+{\frac{\ln \left ( 1+x \right ) }{8}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.17111, size = 31, normalized size = 1.63 \begin{align*} -\frac{x}{4 \,{\left (x^{2} + 1\right )}} + \frac{1}{8} \, \log \left (x + 1\right ) - \frac{1}{8} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.43784, size = 90, normalized size = 4.74 \begin{align*} \frac{{\left (x^{2} + 1\right )} \log \left (x + 1\right ) -{\left (x^{2} + 1\right )} \log \left (x - 1\right ) - 2 \, x}{8 \,{\left (x^{2} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.109978, size = 20, normalized size = 1.05 \begin{align*} - \frac{x}{4 x^{2} + 4} - \frac{\log{\left (x - 1 \right )}}{8} + \frac{\log{\left (x + 1 \right )}}{8} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.12892, size = 41, normalized size = 2.16 \begin{align*} -\frac{1}{4 \,{\left (x + \frac{1}{x}\right )}} + \frac{1}{16} \, \log \left ({\left | x + \frac{1}{x} + 2 \right |}\right ) - \frac{1}{16} \, \log \left ({\left | x + \frac{1}{x} - 2 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]