Optimal. Leaf size=46 \[ -24 e^{-x}-24 e^{-x} x-12 e^{-x} x^2-4 e^{-x} x^3-e^{-x} x^4 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2207, 2225}
\begin {gather*} -e^{-x} x^4-4 e^{-x} x^3-12 e^{-x} x^2-24 e^{-x} x-24 e^{-x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2225
Rubi steps
\begin {align*} \int e^{-x} x^4 \, dx &=-e^{-x} x^4+4 \int e^{-x} x^3 \, dx\\ &=-4 e^{-x} x^3-e^{-x} x^4+12 \int e^{-x} x^2 \, dx\\ &=-12 e^{-x} x^2-4 e^{-x} x^3-e^{-x} x^4+24 \int e^{-x} x \, dx\\ &=-24 e^{-x} x-12 e^{-x} x^2-4 e^{-x} x^3-e^{-x} x^4+24 \int e^{-x} \, dx\\ &=-24 e^{-x}-24 e^{-x} x-12 e^{-x} x^2-4 e^{-x} x^3-e^{-x} x^4\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 26, normalized size = 0.57 \begin {gather*} e^{-x} \left (-24-24 x-12 x^2-4 x^3-x^4\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 42, normalized size = 0.91
method | result | size |
gosper | \(-\left (x^{4}+4 x^{3}+12 x^{2}+24 x +24\right ) {\mathrm e}^{-x}\) | \(25\) |
norman | \(\left (-x^{4}-4 x^{3}-12 x^{2}-24 x -24\right ) {\mathrm e}^{-x}\) | \(26\) |
risch | \(\left (-x^{4}-4 x^{3}-12 x^{2}-24 x -24\right ) {\mathrm e}^{-x}\) | \(26\) |
meijerg | \(24-\frac {\left (5 x^{4}+20 x^{3}+60 x^{2}+120 x +120\right ) {\mathrm e}^{-x}}{5}\) | \(29\) |
default | \(-24 \,{\mathrm e}^{-x}-24 x \,{\mathrm e}^{-x}-12 x^{2} {\mathrm e}^{-x}-4 x^{3} {\mathrm e}^{-x}-x^{4} {\mathrm e}^{-x}\) | \(42\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 1.77, size = 24, normalized size = 0.52 \begin {gather*} -{\left (x^{4} + 4 \, x^{3} + 12 \, x^{2} + 24 \, x + 24\right )} e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.54, size = 24, normalized size = 0.52 \begin {gather*} -{\left (x^{4} + 4 \, x^{3} + 12 \, x^{2} + 24 \, x + 24\right )} e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 22, normalized size = 0.48 \begin {gather*} \left (- x^{4} - 4 x^{3} - 12 x^{2} - 24 x - 24\right ) e^{- x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.77, size = 24, normalized size = 0.52 \begin {gather*} -{\left (x^{4} + 4 \, x^{3} + 12 \, x^{2} + 24 \, x + 24\right )} e^{\left (-x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 24, normalized size = 0.52 \begin {gather*} -{\mathrm {e}}^{-x}\,\left (x^4+4\,x^3+12\,x^2+24\,x+24\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________