Optimal. Leaf size=32 \[ -\frac {1}{4} e^{-2 x}-\frac {1}{2} e^{-2 x} x-\frac {1}{2} e^{-2 x} x^2 \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {2207, 2225}
\begin {gather*} -\frac {1}{2} e^{-2 x} x^2-\frac {1}{2} e^{-2 x} x-\frac {e^{-2 x}}{4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2207
Rule 2225
Rubi steps
\begin {align*} \int e^{-2 x} x^2 \, dx &=-\frac {1}{2} e^{-2 x} x^2+\int e^{-2 x} x \, dx\\ &=-\frac {1}{2} e^{-2 x} x-\frac {1}{2} e^{-2 x} x^2+\frac {1}{2} \int e^{-2 x} \, dx\\ &=-\frac {1}{4} e^{-2 x}-\frac {1}{2} e^{-2 x} x-\frac {1}{2} e^{-2 x} x^2\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 19, normalized size = 0.59 \begin {gather*} -\frac {1}{4} e^{-2 x} \left (1+2 x+2 x^2\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.01, size = 30, normalized size = 0.94
method | result | size |
risch | \(\left (-\frac {1}{2} x^{2}-\frac {1}{2} x -\frac {1}{4}\right ) {\mathrm e}^{-2 x}\) | \(16\) |
norman | \(\left (-\frac {1}{2} x^{2}-\frac {1}{2} x -\frac {1}{4}\right ) {\mathrm e}^{-2 x}\) | \(18\) |
gosper | \(-\frac {\left (2 x^{2}+2 x +1\right ) {\mathrm e}^{-2 x}}{4}\) | \(19\) |
meijerg | \(\frac {1}{4}-\frac {\left (12 x^{2}+12 x +6\right ) {\mathrm e}^{-2 x}}{24}\) | \(19\) |
derivativedivides | \(-\frac {{\mathrm e}^{-2 x}}{4}-\frac {x \,{\mathrm e}^{-2 x}}{2}-\frac {x^{2} {\mathrm e}^{-2 x}}{2}\) | \(30\) |
default | \(-\frac {{\mathrm e}^{-2 x}}{4}-\frac {x \,{\mathrm e}^{-2 x}}{2}-\frac {x^{2} {\mathrm e}^{-2 x}}{2}\) | \(30\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 2.49, size = 16, normalized size = 0.50 \begin {gather*} -\frac {1}{4} \, {\left (2 \, x^{2} + 2 \, x + 1\right )} e^{\left (-2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.78, size = 16, normalized size = 0.50 \begin {gather*} -\frac {1}{4} \, {\left (2 \, x^{2} + 2 \, x + 1\right )} e^{\left (-2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.02, size = 17, normalized size = 0.53 \begin {gather*} \frac {\left (- 2 x^{2} - 2 x - 1\right ) e^{- 2 x}}{4} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 16, normalized size = 0.50 \begin {gather*} -\frac {1}{4} \, {\left (2 \, x^{2} + 2 \, x + 1\right )} e^{\left (-2 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 16, normalized size = 0.50 \begin {gather*} -\frac {{\mathrm {e}}^{-2\,x}\,\left (4\,x^2+4\,x+2\right )}{8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________