Integration by Parts
BasisPrerequisites
Many integrals you encounter involve a product of two functions — for instance , , or . Substitution does not help with these, because there is no chain-rule structure to exploit. Integration by parts is the corresponding technique for products: it turns the integral of one factor times the derivative of another into a boundary term plus a (hopefully simpler) integral. The formula is nothing more than the product rule read backwards and integrated.
Derivation from the product rule
Let and be differentiable functions on whose derivatives and are continuous. The product rule gives
Rearrange to isolate the term :
Integrate both sides over and apply the Newton–Leibniz formula to the right-hand side:
This is the integration-by-parts formula for definite integrals.
Indefinite form and differential notation
For indefinite integrals, drop the limits. Writing and , the formula becomes
This differential notation is the most concise form and is the one you will use in practice. The strategy is to split the integrand into a part you call (to be differentiated) and a part you call (to be integrated). After choosing the split, you compute and find by integrating ; then plug into the formula.
Choosing and : the LIATE heuristic
The choice of which factor to call determines whether the resulting integral is simpler or harder than what you started with. A useful informal guide is the LIATE order:
- Logarithms (e.g. , )
- Inverse trigonometric functions (e.g. , )
- Algebraic functions (polynomials, powers)
- Trigonometric functions (e.g. , )
- Exponentials (e.g. , )
You should prefer to assign to whichever function appears earlier in this list, and to whichever appears later. The rationale is that differentiating a logarithm or inverse trig function simplifies it dramatically (turning into ), while integrating an exponential or trigonometric function does not increase complexity. This heuristic is not a theorem — you should always verify that the resulting integral is actually simpler — but it gives the right answer in the vast majority of standard cases.
Worked examples
Example 1:
By LIATE, (algebraic) comes before (exponential), so set
Then and . Applying :
You can verify by differentiating: .
Example 2:
There is only one factor here, but you can still use integration by parts by writing . Set
Then and . Applying the formula:
This is the key trick for integrals involving logarithms: assign so that differentiation eliminates the logarithm entirely.
Example 3: — repeated application
When the algebraic factor has degree greater than , you apply integration by parts repeatedly. Set , , so and :
The remaining integral is exactly Example 1, so
Example 4: — the self-referential trick
Neither nor becomes simpler when differentiated or integrated, so repeated application of parts seems to cycle forever. This circularity is actually the solution. Set
so and :
Apply parts again to , with and , so :
Substituting (2) into (1):
The original integral appears on both sides. Denote it and solve:
The key rule is to make the same choice of which factor is at each step; switching choices at the second step would undo the first.
Reduction formula for
The repeated-application pattern in Example 3 generalizes to an arbitrary power . Set and :
Writing , this is the reduction formula
Together with the base case , this recurrence computes for any non-negative integer . Applying it for :
which matches the direct calculation in Example 3.
Summary
- Integration by parts is the product rule integrated: , or in definite form .
- The formula is derived by rearranging the product rule and applying the Newton–Leibniz formula.
- The LIATE heuristic (Logarithms, Inverse trig, Algebraic, Trigonometric, Exponential) guides the choice of : prefer whichever factor appears earlier in this list.
- Logarithms and inverse trig functions are always chosen as so that differentiation eliminates them.
- When the algebraic factor has degree , repeated application yields a reduction formula .
- When two non-simplifying factors are present (e.g. and ), applying parts twice with a consistent choice of produces an equation in the original integral that you can solve algebraically.