Optimal. Leaf size=26 \[ 2+x+x \left (-x+\frac {2}{\frac {1}{3} (-1-x)+x}\right ) \log (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 21, normalized size of antiderivative = 0.81, number of steps used = 14, number of rules used = 7, integrand size = 46, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.152, Rules used = {27, 6742, 43, 2357, 2304, 2314, 31} \begin {gather*} x^2 (-\log (x))+x-\frac {6 x \log (x)}{1-2 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 31
Rule 43
Rule 2304
Rule 2314
Rule 2357
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-5+7 x+8 x^2-4 x^3+\left (-6-2 x+8 x^2-8 x^3\right ) \log (x)}{(-1+2 x)^2} \, dx\\ &=\int \left (-\frac {5}{(-1+2 x)^2}+\frac {7 x}{(-1+2 x)^2}+\frac {8 x^2}{(-1+2 x)^2}-\frac {4 x^3}{(-1+2 x)^2}-\frac {2 \left (3+x-4 x^2+4 x^3\right ) \log (x)}{(-1+2 x)^2}\right ) \, dx\\ &=-\frac {5}{2 (1-2 x)}-2 \int \frac {\left (3+x-4 x^2+4 x^3\right ) \log (x)}{(-1+2 x)^2} \, dx-4 \int \frac {x^3}{(-1+2 x)^2} \, dx+7 \int \frac {x}{(-1+2 x)^2} \, dx+8 \int \frac {x^2}{(-1+2 x)^2} \, dx\\ &=-\frac {5}{2 (1-2 x)}-2 \int \left (x \log (x)+\frac {3 \log (x)}{(-1+2 x)^2}\right ) \, dx-4 \int \left (\frac {1}{4}+\frac {x}{4}+\frac {1}{8 (-1+2 x)^2}+\frac {3}{8 (-1+2 x)}\right ) \, dx+7 \int \left (\frac {1}{2 (-1+2 x)^2}+\frac {1}{2 (-1+2 x)}\right ) \, dx+8 \int \left (\frac {1}{4}+\frac {1}{4 (-1+2 x)^2}+\frac {1}{2 (-1+2 x)}\right ) \, dx\\ &=x-\frac {x^2}{2}+3 \log (1-2 x)-2 \int x \log (x) \, dx-6 \int \frac {\log (x)}{(-1+2 x)^2} \, dx\\ &=x+3 \log (1-2 x)-\frac {6 x \log (x)}{1-2 x}-x^2 \log (x)-6 \int \frac {1}{-1+2 x} \, dx\\ &=x-\frac {6 x \log (x)}{1-2 x}-x^2 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 19, normalized size = 0.73 \begin {gather*} x+x \left (-x+\frac {6}{-1+2 x}\right ) \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.64, size = 35, normalized size = 1.35 \begin {gather*} \frac {2 \, x^{2} - {\left (2 \, x^{3} - x^{2} - 6 \, x\right )} \log \relax (x) - x}{2 \, x - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.29, size = 23, normalized size = 0.88 \begin {gather*} -{\left (x^{2} - \frac {3}{2 \, x - 1}\right )} \log \relax (x) + x + 3 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.10, size = 22, normalized size = 0.85
method | result | size |
default | \(x -x^{2} \ln \relax (x )+\frac {6 \ln \relax (x ) x}{2 x -1}\) | \(22\) |
risch | \(-\frac {\left (2 x^{3}-x^{2}-3\right ) \ln \relax (x )}{2 x -1}+x +3 \ln \relax (x )\) | \(30\) |
norman | \(\frac {x^{2} \ln \relax (x )-x +2 x^{2}+6 x \ln \relax (x )-2 x^{3} \ln \relax (x )}{2 x -1}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.49, size = 24, normalized size = 0.92 \begin {gather*} -x^{2} \log \relax (x) + x + \frac {3 \, \log \relax (x)}{2 \, x - 1} + 3 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.31, size = 24, normalized size = 0.92 \begin {gather*} x+3\,\ln \relax (x)-x^2\,\ln \relax (x)+\frac {3\,\ln \relax (x)}{2\,x-1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.18, size = 24, normalized size = 0.92 \begin {gather*} x + 3 \log {\relax (x )} + \frac {\left (- 2 x^{3} + x^{2} + 3\right ) \log {\relax (x )}}{2 x - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________