Integration by parts rewrites ∫ u dv as uv − ∫ v du. Use it for a product of two unrelated functions, or for a lone ln x or inverse trig function. Choose u with LIATE — Logarithmic, Inverse trig, Algebraic, Trig, Exponential — taking whichever type appears first, because it gets simpler when differentiated.
The formula and the method
- Split the integrand into u and dv. Everything must go somewhere — dv always includes the dx.
- Differentiate u to get du.
- Integrate dv to get v. Skip the constant here; one + C at the end covers everything.
- Substitute into uv − ∫ v du.
- Solve the new integral. If it's harder than the one you started with, swap your choice of u and dv.
The goal of the swap is that ∫ v du is easier than the original. That only happens if u simplifies when differentiated — which is exactly what LIATE helps you predict.
Choosing u with LIATE
Rank the two factors by type, and let u be whichever comes first:
| Letter | Type | Examples | Why it makes a good u |
|---|---|---|---|
| L | Logarithmic | ln x, log2x | Derivative 1/x is far simpler |
| I | Inverse trig | arctan x, arcsin x | Derivatives become algebraic |
| A | Algebraic | x, x², 3x+1 | Each derivative drops a power |
| T | Trigonometric | sin x, cos x | Cycles, never simplifies |
| E | Exponential | ex, 2x | Easiest to integrate, so best as dv |
You may also see ILATE, common in Indian and UK textbooks, which swaps the first two letters. In practice it rarely matters: integrands containing both a log and an inverse trig function are unusual. Both are rules of thumb, not theorems.
When LIATE gets it wrong
LIATE assumes dv is easy to integrate. Sometimes it isn't:
LIATE says u = x³ (algebraic) and dv = ex²dx — but ex² has no elementary antiderivative, so you're stuck immediately. Instead, substitute first with w = x², dw = 2x dx:
The rule underneath LIATE is simply: dv must be something you can integrate. When the two conflict, that rule wins. Pairing parts with a u-substitution like this is a very common exam move.
Worked examples
1. Algebraic times exponential
A before E, so u = x, dv = exdx. Then du = dx and v = ex.
2. Log times algebraic
L before A, so u = ln x, dv = x dx. Then du = dx/x and v = x²/2.
Choosing u = x instead would require integrating ln x as dv — possible, but much harder. LIATE saves you from that.
3. A lone ln x — the hidden product
There's only one function, so treat it as ln x · 1. Let u = ln x and dv = dx, giving du = dx/x and v = x.
4. A lone inverse trig function
Same trick: u = arctan x, dv = dx, so du = dx/(1+x²) and v = x. The leftover integral needs a quick u-substitution:
5. A definite integral
Using Example 1's antiderivative and evaluating:
For definite integrals you can also evaluate the uv term at the limits directly: [uv]ab − ∫ab v du.
The tabular shortcut
When u is a polynomial that eventually differentiates to zero, applying the formula repeatedly gets tedious. The tabular method does the same work in a grid:
| Sign | Differentiate (D) | Integrate (I) |
|---|---|---|
| + | x² | sin x |
| − | 2x | −cos x |
| + | 2 | −sin x |
| 0 | cos x |
Multiply each D entry by the I entry one row below it, attaching the alternating sign, and stop when D reaches zero:
It only works cleanly when one factor differentiates to zero (a polynomial) and the other can be integrated repeatedly. It's the same calculation as applying the formula three times — just organised so the signs don't get lost.
Integrals that loop back
With an exponential times a sine or cosine, neither factor ever simplifies. Apply parts twice and the original integral reappears — which is exactly what lets you solve it.
- First pass (u = sin x, dv = exdx): I = exsin x − ∫ excos x dx
- Second pass (u = cos x, dv = exdx): ∫ excos x dx = excos x + I
- Substitute back: I = exsin x − excos x − I
- Solve algebraically for I: 2I = ex(sin x − cos x)
One rule makes this work: keep the same type of function as u on both passes. Switching u from trig to exponential on the second pass simply undoes the first one and returns 0 = 0.
Common mistakes
- Choosing u that gets harder. If ∫ v du looks worse than where you started, swap u and dv immediately rather than pushing on.
- Sign errors in the minus. The formula subtracts the whole integral. Put ∫ v du in brackets until it's evaluated.
- Switching u on the second pass of a loop. It cancels your first step — keep the same function type as u.
- Missing the "times 1" trick. Lone ln x, arcsin x, or arctan x look impossible until you set dv = dx.
- Picking dv you can't integrate. That's the real rule behind LIATE, and the reason it fails on integrals like ∫ x³ex²dx.
Check every answer by differentiating it — the product rule should hand you back the original integrand. More on that in how to check your math answers.
Practice problems
Try each on paper first. Tap to reveal the answer.
- ∫ x cos x dx
Show answer
x sin x + cos x + C — u = x
- ∫ x² ex dx
Show answer
ex(x² − 2x + 2) + C — tabular, u = x²
- ∫ x³ ln x dx
Show answer
(x4/4) ln x − x4/16 + C — u = ln x
- ∫ ex cos x dx
Show answer
ex(sin x + cos x)/2 + C — loops back after two passes
- ∫1e ln x dx
Show answer
1 — [x ln x − x] from 1 to e
Questions students ask
LIATE or ILATE — which is correct?
Both work for nearly every problem you'll meet. They differ only in the order of logarithmic and inverse trig functions, and integrands containing both are rare. Neither is a theorem; they're memory aids for "pick the u that simplifies."
How do I know when to use integration by parts instead of u-substitution?
Try u-substitution first: if some factor is the derivative of another part of the integrand, it's a u-sub. If you have a product of unrelated functions, or a lone log or inverse trig function, use parts. See when to use u-substitution for the full comparison.
Can you use integration by parts more than once?
Yes — polynomial factors often need repeated passes, which the tabular method speeds up, and exponential-times-trig integrals need exactly two passes before they loop back.
Why don't I add a constant when finding v?
Any constant you add to v cancels out in uv − ∫ v du. A single + C at the end of the final answer is enough.
Not sure which factor is u?
Scan the integral with Aheadia for the full working — every step checked by a math engine — and ask why a choice was made if it isn't obvious.
Download free on iOS