Maths WorkshopMaths problems with full solutions
Exercise 321Calculus › Single-variable calculus › Integration › Improper integralsL2Added 31 Oct 2026

An improper integral

#improper integrals#integration by parts

Statement

Show that ∫0+∞x e−x dx\displaystyle\int_0^{+\infty}x\,e^{-x}\,dx converges and compute its value.

Hint

Find an antiderivative by parts, then let the upper bound go to infinity.

Show solutionHide solution

Solution

An antiderivative of xe−xxe^{-x} is F(x)=−(x+1)e−xF(x)=-(x+1)e^{-x}, because
F′(x)=−e−x+(x+1)e−x=xe−x.F'(x)=-e^{-x}+(x+1)e^{-x}=xe^{-x}.

For A>0A>0,
∫0Axe−x dx=F(A)−F(0)=1−(A+1)e−A.\int_0^Axe^{-x}\,dx=F(A)-F(0)=1-(A+1)e^{-A}.

As A→+∞A\to+\infty, (A+1)e−A→0(A+1)e^{-A}\to0 (exponential beats polynomial). So the integral converges and equals 11.