Integration by Parts: 15 Worked Examples
Integration by parts handles products that substitution can't. Here are 15 examples organized by difficulty, from basic to challenging.
The Formula
The LIATE Rule
Choose u from this list (first = highest priority):
- Logarithmic: ln(x), log(x)
- Inverse trig: arcsin(x), arctan(x)
- Algebraic: x, x², polynomials
- Trigonometric: sin(x), cos(x)
- Exponential: eˣ, 2ˣ
Basic Examples
Solution: u = x, dv = eˣ dx → du = dx, v = eˣ
Solution: u = x, dv = cos(x) dx → du = dx, v = sin(x)
Solution: u = ln(x), dv = dx → du = (1/x) dx, v = x
Medium Examples
Solution: Apply by parts twice!
First: u = x², dv = eˣ dx → x²eˣ - 2∫xeˣ dx
Second: Apply Example 1 result
Solution: Apply twice with u = x² first, then u = 2x
Solution: u = arctan(x), dv = dx
Cyclic Examples (Bounce-Back)
Solution: The integral reappears! Let I = ∫eˣsin(x)dx
- First: u = sin(x), dv = eˣ dx → I = eˣsin(x) - ∫eˣcos(x)dx
- Second: u = cos(x), dv = eˣ dx → I = eˣsin(x) - [eˣcos(x) + ∫eˣsin(x)dx]
- I = eˣsin(x) - eˣcos(x) - I
- 2I = eˣ(sin(x) - cos(x))
Solution: Similar cyclic approach
Definite Integral Examples
Solution: u = x, dv = e^(2x) dx → v = e^(2x)/2
Tabular Method (DI Method)
For repeated integration by parts with polynomial × exponential/trig:
Steps:
- Make two columns: D (derivatives) and I (integrals)
- Put polynomial in D column, other function in I column
- Differentiate D column until you get 0
- Integrate I column the same number of times
- Multiply diagonally with alternating signs (+, -, +, -...)
Tabular Method:
D: x³ → 3x² → 6x → 6 → 0
I: eˣ → eˣ → eˣ → eˣ → eˣ
More Examples
Key Tips
- ✅ Use LIATE to choose u (logarithms beat exponentials)
- ✅ If your integral comes back, solve algebraically!
- ✅ Consider tabular method for polynomials
- ✅ Sometimes you need to apply by parts multiple times
- ❌ Don't forget to integrate dv correctly