Optimal. Leaf size=22 \[ 9 x^3 \left (5+x^2-\log \left ((1-2 x)^2\right )\right )^2 \]
________________________________________________________________________________________
Rubi [B] time = 0.60, antiderivative size = 197, normalized size of antiderivative = 8.95, number of steps used = 26, number of rules used = 14, integrand size = 97, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.144, Rules used = {6742, 1620, 2418, 2389, 2295, 2395, 43, 2390, 2301, 2398, 2411, 2334, 12, 14} \begin {gather*} 9 x^7+90 x^5-18 x^5 \log \left ((1-2 x)^2\right )+217 x^3+9 x^3 \log ^2\left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-15 x^2+9 x^2 \log \left ((1-2 x)^2\right )+21 x-(1-2 x)^3+\frac {27}{4} (1-2 x)^2+\frac {9}{2} \log ^2(1-2 x)+\frac {9}{8} \log ^2\left ((1-2 x)^2\right )-\frac {15}{2} \log (1-2 x)-\frac {9}{2} (1-2 x) \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (2 (1-2 x)^3-9 (1-2 x)^2+18 (1-2 x)-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 43
Rule 1620
Rule 2295
Rule 2301
Rule 2334
Rule 2389
Rule 2390
Rule 2395
Rule 2398
Rule 2411
Rule 2418
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {9 x^2 \left (-75+110 x-50 x^2+92 x^3-7 x^4+14 x^5\right )}{-1+2 x}-\frac {18 x^2 \left (-15+26 x-5 x^2+10 x^3\right ) \log \left ((1-2 x)^2\right )}{-1+2 x}+27 x^2 \log ^2\left ((1-2 x)^2\right )\right ) \, dx\\ &=9 \int \frac {x^2 \left (-75+110 x-50 x^2+92 x^3-7 x^4+14 x^5\right )}{-1+2 x} \, dx-18 \int \frac {x^2 \left (-15+26 x-5 x^2+10 x^3\right ) \log \left ((1-2 x)^2\right )}{-1+2 x} \, dx+27 \int x^2 \log ^2\left ((1-2 x)^2\right ) \, dx\\ &=9 x^3 \log ^2\left ((1-2 x)^2\right )+9 \int \left (-\frac {21}{4}-\frac {21 x}{2}+54 x^2-2 x^3+46 x^4+7 x^6-\frac {21}{4 (-1+2 x)}\right ) \, dx-18 \int \left (-\frac {1}{2} \log \left ((1-2 x)^2\right )-x \log \left ((1-2 x)^2\right )+13 x^2 \log \left ((1-2 x)^2\right )+5 x^4 \log \left ((1-2 x)^2\right )-\frac {\log \left ((1-2 x)^2\right )}{2 (-1+2 x)}\right ) \, dx+72 \int \frac {x^3 \log \left ((1-2 x)^2\right )}{1-2 x} \, dx\\ &=-\frac {189 x}{4}-\frac {189 x^2}{4}+162 x^3-\frac {9 x^4}{2}+\frac {414 x^5}{5}+9 x^7-\frac {189}{8} \log (1-2 x)+9 x^3 \log ^2\left ((1-2 x)^2\right )+9 \int \log \left ((1-2 x)^2\right ) \, dx+9 \int \frac {\log \left ((1-2 x)^2\right )}{-1+2 x} \, dx+18 \int x \log \left ((1-2 x)^2\right ) \, dx-36 \operatorname {Subst}\left (\int \frac {\left (\frac {1}{2}-\frac {x}{2}\right )^3 \log \left (x^2\right )}{x} \, dx,x,1-2 x\right )-90 \int x^4 \log \left ((1-2 x)^2\right ) \, dx-234 \int x^2 \log \left ((1-2 x)^2\right ) \, dx\\ &=-\frac {189 x}{4}-\frac {189 x^2}{4}+162 x^3-\frac {9 x^4}{2}+\frac {414 x^5}{5}+9 x^7-\frac {189}{8} \log (1-2 x)+9 x^2 \log \left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-18 x^5 \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (18 (1-2 x)-9 (1-2 x)^2+2 (1-2 x)^3-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right )+9 x^3 \log ^2\left ((1-2 x)^2\right )-\frac {9}{2} \operatorname {Subst}\left (\int \log \left (x^2\right ) \, dx,x,1-2 x\right )+\frac {9}{2} \operatorname {Subst}\left (\int \frac {\log \left (x^2\right )}{x} \, dx,x,1-2 x\right )+36 \int \frac {x^2}{1-2 x} \, dx-72 \int \frac {x^5}{1-2 x} \, dx+72 \operatorname {Subst}\left (\int \frac {x \left (-18+9 x-2 x^2\right )+6 \log (x)}{48 x} \, dx,x,1-2 x\right )-312 \int \frac {x^3}{1-2 x} \, dx\\ &=-\frac {261 x}{4}-\frac {189 x^2}{4}+162 x^3-\frac {9 x^4}{2}+\frac {414 x^5}{5}+9 x^7-\frac {189}{8} \log (1-2 x)-\frac {9}{2} (1-2 x) \log \left ((1-2 x)^2\right )+9 x^2 \log \left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-18 x^5 \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (18 (1-2 x)-9 (1-2 x)^2+2 (1-2 x)^3-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right )+\frac {9}{8} \log ^2\left ((1-2 x)^2\right )+9 x^3 \log ^2\left ((1-2 x)^2\right )+\frac {3}{2} \operatorname {Subst}\left (\int \frac {x \left (-18+9 x-2 x^2\right )+6 \log (x)}{x} \, dx,x,1-2 x\right )+36 \int \left (-\frac {1}{4}-\frac {x}{2}-\frac {1}{4 (-1+2 x)}\right ) \, dx-72 \int \left (-\frac {1}{32}-\frac {x}{16}-\frac {x^2}{8}-\frac {x^3}{4}-\frac {x^4}{2}-\frac {1}{32 (-1+2 x)}\right ) \, dx-312 \int \left (-\frac {1}{8}-\frac {x}{4}-\frac {x^2}{2}-\frac {1}{8 (-1+2 x)}\right ) \, dx\\ &=-33 x-15 x^2+217 x^3+90 x^5+9 x^7-\frac {15}{2} \log (1-2 x)-\frac {9}{2} (1-2 x) \log \left ((1-2 x)^2\right )+9 x^2 \log \left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-18 x^5 \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (18 (1-2 x)-9 (1-2 x)^2+2 (1-2 x)^3-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right )+\frac {9}{8} \log ^2\left ((1-2 x)^2\right )+9 x^3 \log ^2\left ((1-2 x)^2\right )+\frac {3}{2} \operatorname {Subst}\left (\int \left (-18+9 x-2 x^2+\frac {6 \log (x)}{x}\right ) \, dx,x,1-2 x\right )\\ &=\frac {27}{4} (1-2 x)^2-(1-2 x)^3+21 x-15 x^2+217 x^3+90 x^5+9 x^7-\frac {15}{2} \log (1-2 x)-\frac {9}{2} (1-2 x) \log \left ((1-2 x)^2\right )+9 x^2 \log \left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-18 x^5 \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (18 (1-2 x)-9 (1-2 x)^2+2 (1-2 x)^3-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right )+\frac {9}{8} \log ^2\left ((1-2 x)^2\right )+9 x^3 \log ^2\left ((1-2 x)^2\right )+9 \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,1-2 x\right )\\ &=\frac {27}{4} (1-2 x)^2-(1-2 x)^3+21 x-15 x^2+217 x^3+90 x^5+9 x^7-\frac {15}{2} \log (1-2 x)+\frac {9}{2} \log ^2(1-2 x)-\frac {9}{2} (1-2 x) \log \left ((1-2 x)^2\right )+9 x^2 \log \left ((1-2 x)^2\right )-78 x^3 \log \left ((1-2 x)^2\right )-18 x^5 \log \left ((1-2 x)^2\right )+\frac {3}{4} \left (18 (1-2 x)-9 (1-2 x)^2+2 (1-2 x)^3-6 \log (1-2 x)\right ) \log \left ((1-2 x)^2\right )+\frac {9}{8} \log ^2\left ((1-2 x)^2\right )+9 x^3 \log ^2\left ((1-2 x)^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] time = 0.18, size = 78, normalized size = 3.55 \begin {gather*} 9 \left (25 x^3+10 x^5+x^7+\frac {43}{24} \log (1-2 x)-\frac {43}{48} \log \left ((1-2 x)^2\right )-10 x^3 \log \left ((1-2 x)^2\right )-2 x^5 \log \left ((1-2 x)^2\right )+x^3 \log ^2\left ((1-2 x)^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.59, size = 56, normalized size = 2.55 \begin {gather*} 9 \, x^{7} + 90 \, x^{5} + 9 \, x^{3} \log \left (4 \, x^{2} - 4 \, x + 1\right )^{2} + 225 \, x^{3} - 18 \, {\left (x^{5} + 5 \, x^{3}\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.37, size = 56, normalized size = 2.55 \begin {gather*} 9 \, x^{7} + 90 \, x^{5} + 9 \, x^{3} \log \left (4 \, x^{2} - 4 \, x + 1\right )^{2} + 225 \, x^{3} - 18 \, {\left (x^{5} + 5 \, x^{3}\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.42, size = 58, normalized size = 2.64
method | result | size |
risch | \(9 x^{3} \ln \left (4 x^{2}-4 x +1\right )^{2}+\left (-18 x^{5}-90 x^{3}\right ) \ln \left (4 x^{2}-4 x +1\right )+9 x^{7}+90 x^{5}+225 x^{3}\) | \(58\) |
norman | \(225 x^{3}+90 x^{5}+9 x^{7}+9 x^{3} \ln \left (4 x^{2}-4 x +1\right )^{2}-18 x^{5} \ln \left (4 x^{2}-4 x +1\right )-90 \ln \left (4 x^{2}-4 x +1\right ) x^{3}\) | \(67\) |
default | \(9 x^{7}+90 x^{5}+225 x^{3}-\frac {9 \ln \left (4 x^{2}-4 x +1\right )^{2}}{8}-\frac {33 \ln \left (2 x -1\right )}{2}-18 x^{5} \ln \left (4 x^{2}-4 x +1\right )+\frac {9 \ln \left (2 x -1\right ) \ln \left (4 x^{2}-4 x +1\right )}{2}+9 x^{3} \ln \left (4 x^{2}-4 x +1\right )^{2}-90 \ln \left (4 x^{2}-4 x +1\right ) x^{3}+\frac {33 \ln \left (4 x^{2}-4 x +1\right )}{4}-\frac {9 \ln \left (2 x -1\right )^{2}}{2}\) | \(132\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.48, size = 314, normalized size = 14.27 \begin {gather*} 9 \, x^{7} + 90 \, x^{5} + 225 \, x^{3} + \frac {9}{8} \, {\left (8 \, x^{3} + 6 \, x^{2} + 6 \, x + 3 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right )^{2} - \frac {27}{8} \, {\left (2 \, x^{2} + 2 \, x + \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right )^{2} - \frac {3}{16} \, {\left (96 \, x^{5} + 60 \, x^{4} + 40 \, x^{3} + 30 \, x^{2} + 30 \, x + 15 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) + \frac {15}{16} \, {\left (12 \, x^{4} + 8 \, x^{3} + 6 \, x^{2} + 6 \, x + 3 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) - \frac {3}{4} \, {\left (16 \, x^{3} + 30 \, x^{2} + 9 \, \log \left (2 \, x - 1\right )^{2} + 66 \, x + 33 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) - \frac {39}{4} \, {\left (8 \, x^{3} + 6 \, x^{2} + 6 \, x + 3 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) + \frac {27}{4} \, {\left (2 \, x^{2} + \log \left (2 \, x - 1\right )^{2} + 6 \, x + 3 \, \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) + \frac {135}{4} \, {\left (2 \, x^{2} + 2 \, x + \log \left (2 \, x - 1\right )\right )} \log \left (4 \, x^{2} - 4 \, x + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.27, size = 25, normalized size = 1.14 \begin {gather*} 9\,x^3\,{\left (x^2-\ln \left (4\,x^2-4\,x+1\right )+5\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.18, size = 56, normalized size = 2.55 \begin {gather*} 9 x^{7} + 90 x^{5} + 9 x^{3} \log {\left (4 x^{2} - 4 x + 1 \right )}^{2} + 225 x^{3} + \left (- 18 x^{5} - 90 x^{3}\right ) \log {\left (4 x^{2} - 4 x + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________