Integration by Parts
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn integration by parts, the technique for integrating products of functions. It’s the product rule in reverse.
The Concept
Section titled “The Concept”When you see an integral like x times e to the x, or x times sin(x), or ln(x), u-substitution won’t help because there’s no chain rule pattern. Instead, you use integration by parts.
The formula comes from reversing the product rule:
You split the integrand into two pieces: u (which you’ll differentiate) and dv (which you’ll integrate). The goal is to make the new integral on the right simpler than the original.
How to choose u and dv
Section titled “How to choose u and dv”Use the LIATE priority for choosing u (pick the first one that appears):
- Logarithmic (ln x, log x)
- Inverse trig (arctan, arcsin)
- Algebraic (polynomials like x, x², x³)
- Trigonometric (sin, cos, tan)
- Exponential (e to the x, 2 to the x)
Whatever you pick for u, everything else becomes dv. The idea: u should get simpler when you differentiate it, and dv should be something you can integrate.
When to use it
Section titled “When to use it”If you see a product of two different types of functions (polynomial times exponential, polynomial times trig, logarithm times anything), integration by parts is probably the move. If the integral has a chain rule pattern, try u-substitution first.
Tabular method (repeated integration by parts)
Section titled “Tabular method (repeated integration by parts)”When u is a polynomial and dv is an exponential or trig function, you’ll need to apply integration by parts multiple times. The tabular method speeds this up:
- List successive derivatives of u in one column (until you hit 0)
- List successive integrals of dv in another column
- Multiply diagonally with alternating signs: +, -, +, -, …
- Add them all up
This avoids writing out the formula over and over for integrals like x³ times e to the x.
Worked Example
Section titled “Worked Example”Example 1: x times e to the x
Evaluate:
Pick u = x (algebraic, gets simpler) and dv = e to the x dx (easy to integrate).
Apply the formula:
Factor:
Example 2: x² times e to the x (repeated)
Evaluate:
First pass: u = x², dv = e to the x dx.
The remaining integral still needs integration by parts (we just did this one in Example 1):
Putting it together:
Example 3: x times sin(x)
Evaluate:
Pick u = x, dv = sin(x) dx.
Real-World Application
Section titled “Real-World Application”Integration by parts shows up whenever you need to integrate a product of different function types:
- In physics, calculating the work done by a force that depends on position and time simultaneously
- In probability, finding expected values where you integrate x times a probability density function
- In signal processing, computing Fourier coefficients requires integrating products of functions with sines and cosines
- In game development, smooth animation curves often involve polynomial-exponential blends that need this technique
Any time you see “x times something” in an integral, integration by parts is likely your tool.