AP Calculus BC
Integral of x e^-x: Parts and Three Minus Signs
The integral of x times e to the negative x is minus the quantity x plus one, times e to the negative x, plus C. Integration by parts with u equal to x is what does it, and the three minus signs that appear along the way are where nearly every wrong answer comes from.
Parts with u = x
The polynomial factor is the one that gets simpler when differentiated, so it becomes . Take and , which gives and . The minus sign in is the first of the three.
The leftover integral is itself , which is the third minus sign. Factoring out of both terms gives the form worth remembering.
The improper integral underneath
This integrand is the reason shows up so often. The antiderivative is bounded at infinity because shrinks faster than grows, so the limit exists.
Why the limit is zero
As x grows, (x+1)e^(-x) is a linear function fighting an exponential decay, and the exponential always wins. That single fact is what makes the area under x e^(-x) from 0 to infinity finite, and it equals exactly 1.
The mistakes students make
The structure of this problem is rarely the issue. The signs are.
- Using instead of . That produces , which is : the correct shape with every sign reversed.
- Losing the minus sign inside the second integral and answering . Differentiating that gives , not the integrand.
- Choosing and , which leaves , a harder integral than the original.
Every answer on this page is machine checked
An automated test differentiates the antiderivative above and confirms it returns the integrand. A wrong sign or a missing factor fails the build, so it cannot reach you.
Frequently asked questions
What is the integral of x e^-x?
It is . Differentiating that product returns , which is the fastest way to confirm the signs.
Why is u = x and not u = e^-x?
Because differentiates down to and clears the polynomial factor in one step. Taking raises the power of instead and makes the remaining integral worse.
What is the integral of x e^-x from 0 to infinity?
It is . The antiderivative tends to as and equals at .