Optimal. Leaf size=18 \[ 3 x \left (-e^x+e^3 x+x \log (x)\right ) \]
________________________________________________________________________________________
Rubi [B] time = 0.02, antiderivative size = 42, normalized size of antiderivative = 2.33, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {6, 2176, 2194, 2304} \begin {gather*} \frac {3}{2} \left (1+2 e^3\right ) x^2-\frac {3 x^2}{2}+3 x^2 \log (x)+3 e^x-3 e^x (x+1) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6
Rule 2176
Rule 2194
Rule 2304
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (e^x (-3-3 x)+\left (3+6 e^3\right ) x+6 x \log (x)\right ) \, dx\\ &=\frac {3}{2} \left (1+2 e^3\right ) x^2+6 \int x \log (x) \, dx+\int e^x (-3-3 x) \, dx\\ &=-\frac {3 x^2}{2}+\frac {3}{2} \left (1+2 e^3\right ) x^2-3 e^x (1+x)+3 x^2 \log (x)+3 \int e^x \, dx\\ &=3 e^x-\frac {3 x^2}{2}+\frac {3}{2} \left (1+2 e^3\right ) x^2-3 e^x (1+x)+3 x^2 \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 22, normalized size = 1.22 \begin {gather*} -3 e^x x+3 e^3 x^2+3 x^2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 20, normalized size = 1.11 \begin {gather*} 3 \, x^{2} e^{3} + 3 \, x^{2} \log \relax (x) - 3 \, x e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 20, normalized size = 1.11 \begin {gather*} 3 \, x^{2} e^{3} + 3 \, x^{2} \log \relax (x) - 3 \, x e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 21, normalized size = 1.17
method | result | size |
default | \(-3 \,{\mathrm e}^{x} x +3 x^{2} {\mathrm e}^{3}+3 x^{2} \ln \relax (x )\) | \(21\) |
norman | \(-3 \,{\mathrm e}^{x} x +3 x^{2} {\mathrm e}^{3}+3 x^{2} \ln \relax (x )\) | \(21\) |
risch | \(-3 \,{\mathrm e}^{x} x +3 x^{2} {\mathrm e}^{3}+3 x^{2} \ln \relax (x )\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 20, normalized size = 1.11 \begin {gather*} 3 \, x^{2} e^{3} + 3 \, x^{2} \log \relax (x) - 3 \, x e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.39, size = 16, normalized size = 0.89 \begin {gather*} 3\,x\,\left (x\,{\mathrm {e}}^3-{\mathrm {e}}^x+x\,\ln \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.29, size = 22, normalized size = 1.22 \begin {gather*} 3 x^{2} \log {\relax (x )} + 3 x^{2} e^{3} - 3 x e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________