Optimal. Leaf size=19 \[ 5+x \left (x-x \left (x+x^4-\log (\log (x))\right )\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 21, normalized size of antiderivative = 1.11, number of steps used = 13, number of rules used = 5, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.156, Rules used = {6688, 14, 2309, 2178, 2522} \begin {gather*} -x^6-x^3+x^2+x^2 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2178
Rule 2309
Rule 2522
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int x \left (2-3 x-6 x^4+\frac {1}{\log (x)}+2 \log (\log (x))\right ) \, dx\\ &=\int \left (-\frac {x \left (-1-2 \log (x)+3 x \log (x)+6 x^4 \log (x)\right )}{\log (x)}+2 x \log (\log (x))\right ) \, dx\\ &=2 \int x \log (\log (x)) \, dx-\int \frac {x \left (-1-2 \log (x)+3 x \log (x)+6 x^4 \log (x)\right )}{\log (x)} \, dx\\ &=x^2 \log (\log (x))-\int x \left (-2+3 x+6 x^4-\frac {1}{\log (x)}\right ) \, dx-\int \frac {x}{\log (x)} \, dx\\ &=x^2 \log (\log (x))-\int \left (x \left (-2+3 x+6 x^4\right )-\frac {x}{\log (x)}\right ) \, dx-\operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )\\ &=-\text {Ei}(2 \log (x))+x^2 \log (\log (x))-\int x \left (-2+3 x+6 x^4\right ) \, dx+\int \frac {x}{\log (x)} \, dx\\ &=-\text {Ei}(2 \log (x))+x^2 \log (\log (x))-\int \left (-2 x+3 x^2+6 x^5\right ) \, dx+\operatorname {Subst}\left (\int \frac {e^{2 x}}{x} \, dx,x,\log (x)\right )\\ &=x^2-x^3-x^6+x^2 \log (\log (x))\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 21, normalized size = 1.11 \begin {gather*} x^2-x^3-x^6+x^2 \log (\log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.48, size = 21, normalized size = 1.11 \begin {gather*} -x^{6} - x^{3} + x^{2} \log \left (\log \relax (x)\right ) + x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 21, normalized size = 1.11 \begin {gather*} -x^{6} - x^{3} + x^{2} \log \left (\log \relax (x)\right ) + x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 22, normalized size = 1.16
method | result | size |
risch | \(-x^{6}-x^{3}+x^{2} \ln \left (\ln \relax (x )\right )+x^{2}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 21, normalized size = 1.11 \begin {gather*} -x^{6} - x^{3} + x^{2} \log \left (\log \relax (x)\right ) + x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.31, size = 21, normalized size = 1.11 \begin {gather*} x^2\,\ln \left (\ln \relax (x)\right )+x^2-x^3-x^6 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.30, size = 17, normalized size = 0.89 \begin {gather*} - x^{6} - x^{3} + x^{2} \log {\left (\log {\relax (x )} \right )} + x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________