Optimal. Leaf size=18 \[ e+x \left (x-e^x (81+2 (5+x))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 3, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {2196, 2194, 2176} \begin {gather*} -2 e^x x^2+x^2-91 e^x x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2194
Rule 2196
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=x^2+\int e^x \left (-91-95 x-2 x^2\right ) \, dx\\ &=x^2+\int \left (-91 e^x-95 e^x x-2 e^x x^2\right ) \, dx\\ &=x^2-2 \int e^x x^2 \, dx-91 \int e^x \, dx-95 \int e^x x \, dx\\ &=-91 e^x-95 e^x x+x^2-2 e^x x^2+4 \int e^x x \, dx+95 \int e^x \, dx\\ &=4 e^x-91 e^x x+x^2-2 e^x x^2-4 \int e^x \, dx\\ &=-91 e^x x+x^2-2 e^x x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 18, normalized size = 1.00 \begin {gather*} x^2-e^x \left (91 x+2 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 17, normalized size = 0.94 \begin {gather*} x^{2} - {\left (2 \, x^{2} + 91 \, x\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.26, size = 17, normalized size = 0.94 \begin {gather*} x^{2} - {\left (2 \, x^{2} + 91 \, x\right )} e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 17, normalized size = 0.94
method | result | size |
default | \(-91 \,{\mathrm e}^{x} x -2 \,{\mathrm e}^{x} x^{2}+x^{2}\) | \(17\) |
norman | \(-91 \,{\mathrm e}^{x} x -2 \,{\mathrm e}^{x} x^{2}+x^{2}\) | \(17\) |
risch | \(\left (-2 x^{2}-91 x \right ) {\mathrm e}^{x}+x^{2}\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.38, size = 27, normalized size = 1.50 \begin {gather*} x^{2} - 2 \, {\left (x^{2} - 2 \, x + 2\right )} e^{x} - 95 \, {\left (x - 1\right )} e^{x} - 91 \, e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 16, normalized size = 0.89 \begin {gather*} x^2-91\,x\,{\mathrm {e}}^x-2\,x^2\,{\mathrm {e}}^x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.08, size = 15, normalized size = 0.83 \begin {gather*} x^{2} + \left (- 2 x^{2} - 91 x\right ) e^{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________