# Compute the integral. Integral from 0 to 1 of xe^x dx.

## Question:

Compute the integral.

{eq}\int_{0}^{1} xe^x \, \mathrm{d}x {/eq}

## Integration:

Integration can be done by integration by parts as it involves multiplication of two functions and integration by partial fraction can be used as it makes the integral simpler and easy to evaluate.

{eq}\int_{0}^{1}xe^{x}dx\\ =\left [xe^{x}-e^{x} \right ]_{0}^{1}\\ =1 {/eq}