Maths WorkshopMaths problems with full solutions
Exercise 188Calculus › Single-variable calculus › Integration › Integration techniquesL1Added 31 Oct 2026

Integration by parts

#integrals#by parts

Statement

Compute ∫01x ex dx\displaystyle\int_0^1 x\,e^x\,dx.

Hint

Differentiate xx and integrate exe^x.

Show solutionHide solution

Solution

Take u=xu=x and v′=exv'=e^x, so u′=1u'=1 and v=exv=e^x. Then
∫01xex dx=[xex]01−∫01ex dx=e−(e−1)=1.\int_0^1xe^x\,dx=\Big[xe^x\Big]_0^1-\int_0^1e^x\,dx=e-(e-1)=1.