Optimal. Leaf size=23 \[ \log \left (-2+x-x \left (x^2-\log \left (2 x-x^2\right )\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 20, normalized size of antiderivative = 0.87, number of steps used = 2, number of rules used = 2, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {6741, 6684} \begin {gather*} \log \left (x^3-x-x \log ((2-x) x)+2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6741
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-4+3 x+6 x^2-3 x^3+(-2+x) \log \left (2 x-x^2\right )}{(2-x) \left (2-x+x^3-x \log (-((-2+x) x))\right )} \, dx\\ &=\log \left (2-x+x^3-x \log ((2-x) x)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.34, size = 19, normalized size = 0.83 \begin {gather*} \log \left (2-x+x^3-x \log (-((-2+x) x))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 30, normalized size = 1.30 \begin {gather*} \log \relax (x) + \log \left (-\frac {x^{3} - x \log \left (-x^{2} + 2 \, x\right ) - x + 2}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 21, normalized size = 0.91 \begin {gather*} \log \left (-x^{3} + x \log \left (-x^{2} + 2 \, x\right ) + x - 2\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 23, normalized size = 1.00
method | result | size |
norman | \(\ln \left (x^{3}-\ln \left (-x^{2}+2 x \right ) x -x +2\right )\) | \(23\) |
risch | \(\ln \relax (x )+\ln \left (\ln \left (-x^{2}+2 x \right )-\frac {x^{3}-x +2}{x}\right )\) | \(29\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 31, normalized size = 1.35 \begin {gather*} \log \relax (x) + \log \left (-\frac {x^{3} - x \log \relax (x) - x \log \left (-x + 2\right ) - x + 2}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.64, size = 26, normalized size = 1.13 \begin {gather*} \ln \left (\ln \left (2\,x-x^2\right )-\frac {2}{x}-x^2+1\right )+\ln \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.30, size = 20, normalized size = 0.87 \begin {gather*} \log {\relax (x )} + \log {\left (\log {\left (- x^{2} + 2 x \right )} + \frac {- x^{3} + x - 2}{x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________