Optimal. Leaf size=24 \[ \frac {1}{3} (-2+x) x^2 \log \left (x^2\right ) (3+i \pi +\log (\log (3))) \]
________________________________________________________________________________________
Rubi [B] time = 0.09, antiderivative size = 121, normalized size of antiderivative = 5.04, number of steps used = 7, number of rules used = 3, integrand size = 65, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.046, Rules used = {12, 2356, 2304} \begin {gather*} \frac {2 x^3}{3}-\frac {2}{9} x^3 (3+i \pi +\log (\log (3)))+\frac {2}{9} x^3 (\log (\log (3))+i \pi )-2 x^2-\frac {2}{3} x^2 (3+i \pi +\log (\log (3))) \log \left (x^2\right )+\frac {2}{3} x^2 (3+i \pi +\log (\log (3)))-\frac {2}{3} x^2 (\log (\log (3))+i \pi )+\frac {1}{3} x^3 (3+i \pi +\log (\log (3))) \log \left (x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 2304
Rule 2356
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{3} \int \left (-12 x+6 x^2+\left (-4 x+2 x^2\right ) (i \pi +\log (\log (3)))+\log \left (x^2\right ) \left (-12 x+9 x^2+\left (-4 x+3 x^2\right ) (i \pi +\log (\log (3)))\right )\right ) \, dx\\ &=-2 x^2+\frac {2 x^3}{3}+\frac {1}{3} \int \log \left (x^2\right ) \left (-12 x+9 x^2+\left (-4 x+3 x^2\right ) (i \pi +\log (\log (3)))\right ) \, dx+\frac {1}{3} (i \pi +\log (\log (3))) \int \left (-4 x+2 x^2\right ) \, dx\\ &=-2 x^2+\frac {2 x^3}{3}-\frac {2}{3} x^2 (i \pi +\log (\log (3)))+\frac {2}{9} x^3 (i \pi +\log (\log (3)))+\frac {1}{3} \int \left (3 x^2 \log \left (x^2\right ) (3+i \pi +\log (\log (3)))-4 i x \log \left (x^2\right ) (\pi -i (3+\log (\log (3))))\right ) \, dx\\ &=-2 x^2+\frac {2 x^3}{3}-\frac {2}{3} x^2 (i \pi +\log (\log (3)))+\frac {2}{9} x^3 (i \pi +\log (\log (3)))+(3+i \pi +\log (\log (3))) \int x^2 \log \left (x^2\right ) \, dx-\frac {1}{3} (4 (3+i \pi +\log (\log (3)))) \int x \log \left (x^2\right ) \, dx\\ &=-2 x^2+\frac {2 x^3}{3}-\frac {2}{3} x^2 (i \pi +\log (\log (3)))+\frac {2}{9} x^3 (i \pi +\log (\log (3)))+\frac {2}{3} x^2 (3+i \pi +\log (\log (3)))-\frac {2}{9} x^3 (3+i \pi +\log (\log (3)))-\frac {2}{3} x^2 \log \left (x^2\right ) (3+i \pi +\log (\log (3)))+\frac {1}{3} x^3 \log \left (x^2\right ) (3+i \pi +\log (\log (3)))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 32, normalized size = 1.33 \begin {gather*} \frac {1}{3} \left (-2 x^2 \log \left (x^2\right )+x^3 \log \left (x^2\right )\right ) (3+i \pi +\log (\log (3))) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.71, size = 32, normalized size = 1.33 \begin {gather*} \frac {1}{3} \, {\left (3 \, x^{3} - 6 \, x^{2} + {\left (x^{3} - 2 \, x^{2}\right )} \log \left (-\log \relax (3)\right )\right )} \log \left (x^{2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.36, size = 69, normalized size = 2.88 \begin {gather*} -\frac {2}{9} \, x^{3} \log \left (-\log \relax (3)\right ) + \frac {2}{3} \, x^{2} \log \left (-\log \relax (3)\right ) + \frac {1}{3} \, {\left (3 \, x^{3} - 6 \, x^{2} + {\left (x^{3} - 2 \, x^{2}\right )} \log \left (-\log \relax (3)\right )\right )} \log \left (x^{2}\right ) + \frac {2}{9} \, {\left (x^{3} - 3 \, x^{2}\right )} \log \left (-\log \relax (3)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.08, size = 40, normalized size = 1.67
method | result | size |
norman | \(\left (-\frac {2 i \pi }{3}-\frac {2 \ln \left (\ln \relax (3)\right )}{3}-2\right ) x^{2} \ln \left (x^{2}\right )+\left (\frac {i \pi }{3}+\frac {\ln \left (\ln \relax (3)\right )}{3}+1\right ) x^{3} \ln \left (x^{2}\right )\) | \(40\) |
risch | \(\frac {i \pi \,x^{3} \ln \left (x^{2}\right )}{3}-\frac {2 i x^{2} \ln \left (x^{2}\right ) \pi }{3}+\frac {\ln \left (\ln \relax (3)\right ) x^{3} \ln \left (x^{2}\right )}{3}-\frac {2 x^{2} \ln \left (x^{2}\right ) \ln \left (\ln \relax (3)\right )}{3}+x^{3} \ln \left (x^{2}\right )-2 x^{2} \ln \left (x^{2}\right )\) | \(65\) |
default | \(-\frac {2 i x^{2} \ln \left (x^{2}\right ) \pi }{3}+\frac {2 i \pi \,x^{2}}{3}+\frac {i \pi \,x^{3} \ln \left (x^{2}\right )}{3}-\frac {2 i \pi \,x^{3}}{9}-2 x^{2} \ln \left (x^{2}\right )+x^{3} \ln \left (x^{2}\right )-\frac {2 x^{2} \ln \left (x^{2}\right ) \ln \left (\ln \relax (3)\right )}{3}+\frac {2 x^{2} \ln \left (\ln \relax (3)\right )}{3}+\frac {\ln \left (\ln \relax (3)\right ) x^{3} \ln \left (x^{2}\right )}{3}-\frac {2 x^{3} \ln \left (\ln \relax (3)\right )}{9}+\frac {2 \ln \left (-\ln \relax (3)\right ) x^{3}}{9}-\frac {2 \ln \left (-\ln \relax (3)\right ) x^{2}}{3}\) | \(115\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.50, size = 83, normalized size = 3.46 \begin {gather*} -\frac {2}{9} \, x^{3} {\left (\log \left (-\log \relax (3)\right ) + 3\right )} + \frac {2}{3} \, x^{3} + \frac {2}{3} \, x^{2} {\left (\log \left (-\log \relax (3)\right ) + 3\right )} - 2 \, x^{2} + \frac {1}{3} \, {\left (3 \, x^{3} - 6 \, x^{2} + {\left (x^{3} - 2 \, x^{2}\right )} \log \left (-\log \relax (3)\right )\right )} \log \left (x^{2}\right ) + \frac {2}{9} \, {\left (x^{3} - 3 \, x^{2}\right )} \log \left (-\log \relax (3)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.13, size = 21, normalized size = 0.88 \begin {gather*} \frac {x^2\,\ln \left (x^2\right )\,\left (x-2\right )\,\left (\ln \left (\ln \relax (3)\right )+3+\pi \,1{}\mathrm {i}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.24, size = 53, normalized size = 2.21 \begin {gather*} \left (\frac {x^{3} \log {\left (\log {\relax (3 )} \right )}}{3} + x^{3} + \frac {i \pi x^{3}}{3} - 2 x^{2} - \frac {2 x^{2} \log {\left (\log {\relax (3 )} \right )}}{3} - \frac {2 i \pi x^{2}}{3}\right ) \log {\left (x^{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________