Step by step
The question
Question: find the integral of x eˣ.
There are four choices.
First we solve it, the normal way.
Then we pick.
1 Choose u and dv
We will trade this integral for a new one with du in it.
So u should be the part that gets simpler when we take its derivative.
Choose u = x: its derivative is simpler, just a number.
dv is the rest: eˣ dx, which we can integrate.
2 Find du and v
du: the derivative of u, times dx.
v: the integral of dv.
e to the x stays e to the x.
3 Use the rule
The rule: the integral of u dv is u v, minus the integral of v du.
u times v, minus the integral of v times du.
4 The new integral
The new integral is easy: just a number times e to a power.
Careful!
It is u v minus the integral of v du.
Not plus!
Add C.
So the answer is x eˣ − eˣ + C.
5 Check
Let's check: take the derivative of our answer.
The product rule on each term: the first's slope times the second, plus the first times the second's slope.
The other terms cancel, and we get x eˣ: the question again.
Right!
6 Pick the choice
Our answer is xeˣ − eˣ + C.
That is choice D.
7 Why not the others
A is xeˣ + eˣ + C.
Wrong: the sign: minus ∫ v du.
That is the Careful mistake from before.
B is eˣ + C.
Wrong: that is ∫ eˣ dx only.
C is x²eˣ/2 + C.
Wrong: integrated x only: use parts.
Let's look back.
First: choose u and dv.
Then: find du and v.
Then: use the rule.
Then: the new integral.
Then: check.
Then: pick the choice.
Last: why not the others.