Lessons › math · taught by Ada
Integration by parts: choosing u and dv
Learn how integration by parts works, why the formula is a reversed product rule, and how to choose u and dv wisely.
Learn this with Ada, freeA voiced lesson with a live whiteboard, quizzes and a tutor you can call, at tutelage.appWhat product integrals ask
When you see a product, integration by parts can help untangle it. Think of it like splitting one messy mix into two easier pieces.
The goal is to move from one hard product to a simpler integral.
Big idea: reverse product rule
This formula is really the product rule turned backward. We choose one piece to differentiate, and one piece to integrate.
Then we rebuild the integral as uv minus a new integral. That new one should be easier than the original.
The whole strategy is choice. Good choices make the problem smaller, not bigger.
Predict the best u and dv
In ∫ x e^x dx, which choice is best for parts?
- u = x, dv = e^x dx
- u = e^x, dv = x dx
- u = x e^x, dv = dx
Show answer
u = x, dv = e^x dx: Nice. x gets simpler when you differentiate it, and e^x stays easy to integrate.
Worked example: ∫ x e^x dx
Let’s do one example slowly: integral of x e to the x dx.
Choose u equals x and dv equals e to the x dx. That makes du simple and v easy.
Now apply the formula. Multiply first, then subtract the new integral.
The leftover integral is just e to the x. So the answer is x e to the x minus e to the x plus C.
Quick check: subtract the new integral
After choosing u = x and dv = e^x dx, what comes next?
- x e^x - ∫ e^x dx
- ∫ x e^x dx = x + e^x
- ∫ x e^x dx = e^x - ∫ x dx
Show answer
x e^x - ∫ e^x dx: Yes. First make uv, then subtract the new integral.
Why the formula works
Why does this work? Because differentiation of a product gives two terms. Integration by parts just rearranges that idea.
One term becomes uv, and the other term is moved to the other side with a minus sign.
Choose the easier du
The best u is usually the thing that gets simpler when differentiated. The best dv is the thing you can integrate quickly.
A good choice of u makes the next integral easier. A bad choice makes it uglier.
That is why x is often a good u, and e^x, sin x, or cos x are often good dv.
The method is not magic. It is a smart trade.
Watch out: wrong choice grows
Watch out for choosing the hardest thing as u. Then du may become messier, and the problem can grow.
A quick test helps: after you differentiate u, does it look simpler? If not, pick again.
Your turn: pick the best setup
For ∫ x cos x dx, which setup is best?
- u = x, dv = cos x dx
- u = cos x, dv = x dx
- u = x cos x, dv = dx
Show answer
u = x, dv = cos x dx: Correct. x gets simpler, and cos x is easy to integrate.
Recap: the 4-step checklist
Here is the checklist: pick u and dv, find du and v, use uv minus integral of v du, then simplify.
If the new integral is easier, you chose well. If not, try a different u.