Optimal. Leaf size=10 \[ x+\log \left ((x-1)^2+1\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {371, 702, 260} \[ x+\log \left ((x-1)^2+1\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 260
Rule 371
Rule 702
Rubi steps
\begin {align*} \int \frac {x^2}{1+(-1+x)^2} \, dx &=\operatorname {Subst}\left (\int \frac {(1+x)^2}{1+x^2} \, dx,x,-1+x\right )\\ &=\operatorname {Subst}\left (\int \left (1+\frac {2 x}{1+x^2}\right ) \, dx,x,-1+x\right )\\ &=x+2 \operatorname {Subst}\left (\int \frac {x}{1+x^2} \, dx,x,-1+x\right )\\ &=x+\log \left (1+(-1+x)^2\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 11, normalized size = 1.10 \[ \log \left (x^2-2 x+2\right )+x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 11, normalized size = 1.10 \[ x + \log \left (x^{2} - 2 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.35, size = 11, normalized size = 1.10 \[ x + \log \left (x^{2} - 2 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 12, normalized size = 1.20 \[ x +\ln \left (x^{2}-2 x +2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.68, size = 11, normalized size = 1.10 \[ x + \log \left (x^{2} - 2 \, x + 2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 11, normalized size = 1.10 \[ x+\ln \left (x^2-2\,x+2\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 10, normalized size = 1.00 \[ x + \log {\left (x^{2} - 2 x + 2 \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________