This learning article is currently available in English. It is not published as a translated page.
Integration methods
Integration by Parts: Choosing u and dv
Integration by parts reverses the product rule. It is useful when one factor simplifies under differentiation and the other is easy to integrate.

Direct answer
Choose dv so it can be integrated and u so differentiation makes the remaining integral simpler.
When to use integration by parts
Choose the method from the top-level mathematical structure before manipulating symbols. Conditions are part of the task, not optional notes.
Ask first 1
Which structure controls the method?
What to do
Use parts for a product with a simplifying derivative factor and an integrable companion factor.
Ask first 2
Which condition can change the answer?
What to do
Choose dv so it can be integrated and u so differentiation makes the remaining integral simpler.
Ask first 3
How should the result be checked?
What to do
Differentiate the completed expression and confirm product terms cancel correctly.
Rearrange the product rule
Start from d(uv)=u dv+v du.
Integrate both sides over the same interval or as antiderivatives.
Move ∫v du to obtain ∫u dv=uv−∫v du.
If the new integral is harder, reconsider the choice or try substitution.
Worked examples
Choose u=x and dv=exp(x)dx.
Choose u=x and dv=cos(x)dx.
Treat ln(x) as ln(x)·1 for x>0.
Common mistakes
- • Losing the subtraction sign.
- • Choosing a hard dv.
- • Stopping before evaluating the remaining integral.
- • Using parts when substitution is simpler.
Error clinic: locate the first invalid step
Incorrect attempt
Why it fails
The remaining term must be subtracted.
Correction
Incorrect attempt
Why it fails
Differentiation gives ln(x)+1.
Correction
Practice the same idea with a changed structure
Name the rule and its conditions before revealing the reference answer. Explain every sign and factor.
Check before solving
Choose u=x and dv=cos(x)dx.
Reveal the reference answer
Reference answer
Check before solving
Treat ln(x) as ln(x)·1 for x>0.
Reveal the reference answer
Reference answer
Try the worked examples in the calculator
Each link opens the matching calculator with the expression, variable and required conditions already filled in.
Open the calculator without a preset: 积分Frequently asked questions
What should be u?+
Prefer a factor that becomes simpler when differentiated.
Can parts be repeated?+
Yes. Polynomial times exponential or trigonometric expressions often need repeated steps.
How do I verify the sign?+
Differentiate uv−∫vdu and confirm the integrand returns.
Conclusion
Choose u and dv to simplify the remaining integral, retain the minus sign, and verify by differentiation.
Compare usage plans