Optimal. Leaf size=12 \[ e^x x^2 (-15+4 x) \]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 17, normalized size of antiderivative = 1.42, number of steps used = 12, number of rules used = 4, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {1594, 2196, 2176, 2194} \begin {gather*} 4 e^x x^3-15 e^x x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1594
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int e^x x \left (-30-3 x+4 x^2\right ) \, dx\\ &=\int \left (-30 e^x x-3 e^x x^2+4 e^x x^3\right ) \, dx\\ &=-\left (3 \int e^x x^2 \, dx\right )+4 \int e^x x^3 \, dx-30 \int e^x x \, dx\\ &=-30 e^x x-3 e^x x^2+4 e^x x^3+6 \int e^x x \, dx-12 \int e^x x^2 \, dx+30 \int e^x \, dx\\ &=30 e^x-24 e^x x-15 e^x x^2+4 e^x x^3-6 \int e^x \, dx+24 \int e^x x \, dx\\ &=24 e^x-15 e^x x^2+4 e^x x^3-24 \int e^x \, dx\\ &=-15 e^x x^2+4 e^x x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 12, normalized size = 1.00 \begin {gather*} e^x x^2 (-15+4 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 14, normalized size = 1.17 \begin {gather*} {\left (4 \, x^{3} - 15 \, x^{2}\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 14, normalized size = 1.17 \begin {gather*} {\left (4 \, x^{3} - 15 \, x^{2}\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 12, normalized size = 1.00
method | result | size |
gosper | \(x^{2} \left (4 x -15\right ) {\mathrm e}^{x}\) | \(12\) |
risch | \(\left (4 x^{3}-15 x^{2}\right ) {\mathrm e}^{x}\) | \(15\) |
default | \(-15 \,{\mathrm e}^{x} x^{2}+4 \,{\mathrm e}^{x} x^{3}\) | \(16\) |
norman | \(-15 \,{\mathrm e}^{x} x^{2}+4 \,{\mathrm e}^{x} x^{3}\) | \(16\) |
meijerg | \(-\left (-4 x^{3}+12 x^{2}-24 x +24\right ) {\mathrm e}^{x}-\left (3 x^{2}-6 x +6\right ) {\mathrm e}^{x}+15 \left (-2 x +2\right ) {\mathrm e}^{x}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.40, size = 37, normalized size = 3.08 \begin {gather*} 4 \, {\left (x^{3} - 3 \, x^{2} + 6 \, x - 6\right )} e^{x} - 3 \, {\left (x^{2} - 2 \, x + 2\right )} e^{x} - 30 \, {\left (x - 1\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.03, size = 11, normalized size = 0.92 \begin {gather*} x^2\,{\mathrm {e}}^x\,\left (4\,x-15\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 12, normalized size = 1.00 \begin {gather*} \left (4 x^{3} - 15 x^{2}\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________