Optimal. Leaf size=10 \[ x^2 \left (-29+e^x+x\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 16, normalized size of antiderivative = 1.60, number of steps used = 9, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1593, 2196, 2176, 2194} \begin {gather*} x^3+e^x x^2-29 x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 1593
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=-29 x^2+x^3+\int e^x \left (2 x+x^2\right ) \, dx\\ &=-29 x^2+x^3+\int e^x x (2+x) \, dx\\ &=-29 x^2+x^3+\int \left (2 e^x x+e^x x^2\right ) \, dx\\ &=-29 x^2+x^3+2 \int e^x x \, dx+\int e^x x^2 \, dx\\ &=2 e^x x-29 x^2+e^x x^2+x^3-2 \int e^x \, dx-2 \int e^x x \, dx\\ &=-2 e^x-29 x^2+e^x x^2+x^3+2 \int e^x \, dx\\ &=-29 x^2+e^x x^2+x^3\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 10, normalized size = 1.00 \begin {gather*} x^2 \left (-29+e^x+x\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.63, size = 15, normalized size = 1.50 \begin {gather*} x^{3} + x^{2} e^{x} - 29 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 15, normalized size = 1.50 \begin {gather*} x^{3} + x^{2} e^{x} - 29 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 16, normalized size = 1.60
method | result | size |
default | \({\mathrm e}^{x} x^{2}-29 x^{2}+x^{3}\) | \(16\) |
norman | \({\mathrm e}^{x} x^{2}-29 x^{2}+x^{3}\) | \(16\) |
risch | \({\mathrm e}^{x} x^{2}-29 x^{2}+x^{3}\) | \(16\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 15, normalized size = 1.50 \begin {gather*} x^{3} + x^{2} e^{x} - 29 \, x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 9, normalized size = 0.90 \begin {gather*} x^2\,\left (x+{\mathrm {e}}^x-29\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 14, normalized size = 1.40 \begin {gather*} x^{3} + x^{2} e^{x} - 29 x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________