Integration by parts reverses the product rule. It is useful when an integrand is a product and differentiating one factor makes the remaining integral simpler. The method trades one integral for another, so the choice of factors is the central decision.
Derive the formula from a familiar rule
The product rule says Integrating and rearranging gives
Choose to differentiate and dv to integrate. Then compute du and before substituting. The minus sign is part of the formula; losing it changes the antiderivative.
A common useful choice makes an algebraic or logarithmic factor that simplifies when differentiated, while dv has an easy antiderivative. This is a strategy, not a theorem that every problem must follow.
Example: polynomial times exponential
For choose and Then and so
The remaining integral is simpler because differentiation removed the factor . Differentiate the answer: the product rule gives confirming the cancellation.
For the same choice reduces the polynomial degree from 2 to 1, requiring another application. The result is Repeated integration by parts is a sequence of deliberate simplifications, not a new rule.
Example: a single logarithm hides a product
For with view the integrand as Choose and Then and giving
Choosing dv as would require the antiderivative you are trying to find. A good choice must make both the immediate integration and the remaining integral manageable.
Definite integrals keep their bounds
The definite form is For the boundary term is and the remaining integral is so the result is 1.
Do not apply bounds to only part of the product. If you first find an indefinite antiderivative, evaluate the entire expression at each endpoint and subtract. The arbitrary constant cancels.
Sometimes the original integral returns
Let Integrating by parts with gives Apply the method again to the remaining integral to obtain
Substituting yields so The returned integral is not failure; treat it as an unknown and solve algebraically. Consistent constants can be collected into the final
Choose a method by the derivative pattern
Substitution reverses a chain rule; integration by parts reverses a product rule. In the derivative of the exponent is present, so substitution is simpler. In no such inner derivative removes , making parts appropriate.
A definite integral can use endpoint information alone
Suppose and Integration by parts evaluates without a formula for : choose and so
The result is This is a common way integration by parts appears when information is supplied in a table or graph. The endpoint product uses values of , while the remaining integral uses accumulated area. Keeping those two types of information distinct is the key to the setup.
Try it yourself
Find and check by differentiation.
Answer: Set so The result is Differentiating gives
What to remember
Choose factors that make the new integral simpler, track the minus sign and boundary terms, and recognize when a returned integral can be solved for algebraically.