Home » Blog » Evaluate the indefinite integral of xe-x

Evaluate the indefinite integral of xe-x

Compute the following indefinite integral,

    \[ \int xe^{-x} \, dx. \]


To evaluate this integral we use integration by parts, letting

    \begin{align*}  u &= x & du &= dx, \\ dv &= e^{-x} \, dx & v &= -e^{-x}. \end{align*}

Therefore,

    \begin{align*}  \int xe^{-x} \, dx &= -xe^{-x} + \int e^{-x} \, dx \\  &= -xe^{-x} - e^{-x} + C \\  &= -e^{-x} (x + 1) + C. \end{align*}

Point out an error, ask a question, offer an alternative solution (to use Latex type [latexpage] at the top of your comment):