§ 01Derivation — The Chain Rule in Reverse
Every integration technique is a differentiation rule run backwards. U-substitution is the reverse chain rule, and it handles the largest class of non-trivial integrals you will encounter.
Recall the chain rule: if F is an antiderivative of f, then d/dx[F(g(x))] = f(g(x))·g′(x). Integrating both sides:
If we let u = g(x), then du = g′(x) dx, and the integral becomes ∫f(u) du, a standard integral in u.
§ 02How to Spot and Apply U-Substitution
Substitution works when the integrand contains a composite function f(g(x)) and the derivative g′(x) is also present (possibly as a scalar multiple).
The 5-Step U-Substitution Method
- Identify u. Choose u = g(x) to be the "inner function": typically the expression inside a power, root, exponential, or trig function.
- Compute du. Differentiate: du = g′(x) dx. Solve for dx if needed: dx = du/g′(x).
- Substitute. Replace every occurrence of g(x) with u and g′(x) dx with du. The integral should now be entirely in u with no x remaining.
- Integrate in u. Evaluate ∫f(u) du using standard antiderivatives.
- Back-substitute. Replace u with g(x) to express the answer in terms of x. Add +C.
When a Constant Factor Is Missing
The derivative g′(x) might be present up to a constant multiple. We can always adjust by multiplying and dividing by the missing constant.
∫x sin(x²) dx = ½∫sin(u) du = −½cos(u) + C = −½cos(x²) + C
§ 03Worked Examples — Indefinite Integrals
- u = x²+1, du = 2x dx. (The factor 2x is present exactly.)
- ∫(x²+1)⁵·2x dx = ∫u⁵ du = u⁶/6 + C.
- Back-sub: (x²+1)⁶/6 + C.
- u = 3x, du = 3 dx, so dx = du/3.
- ∫cos(u)·(du/3) = (1/3)sin(u) + C.
- Back-sub: (1/3)sin(3x) + C.
- u = x², du = 2x dx, so x dx = du/2.
- ∫e^u · du/2 = (1/2)eᵘ + C.
- Back-sub: (1/2)e^(x²) + C.
- u = cos x, du = −sin x dx, so sin x dx = −du.
- ∫(1/u)·(−du) = −ln|u| + C.
- Back-sub: −ln|cos x| + C = ln|sec x| + C.
- u = x³+4, du = 3x² dx, so x² dx = du/3.
- ∫√u · (du/3) = (1/3)·(⅔)u^(3/2) + C = (2/9)u^(3/2) + C.
- Back-sub: (2/9)(x³+4)^(3/2) + C.
- u = 1+eˣ, du = eˣ dx.
- ∫(1/u) du = ln|u| + C.
- Back-sub: ln(1+eˣ) + C.
- u = sin x, du = cos x dx. (cos x is present as the outer factor.)
- ∫u³ du = u⁴/4 + C.
- Back-sub: sin⁴x / 4 + C.
- u = ln x, du = (1/x) dx.
- ∫(1/u) du = ln|u| + C.
- Back-sub: ln|ln x| + C.
- u = 1−x², du = −2x dx, so x dx = −du/2.
- ∫(1/√u)·(−du/2) = −½∫u^(−½) du = −½·2√u = −√u + C.
- Back-sub: −√(1−x²) + C.
§ 04Substitution in Definite Integrals
For definite integrals, you have two approaches: (1) change the limits of integration to match u, or (2) back-substitute and use original limits. Method (1) is neater.
When x = a, u = g(a). When x = b, u = g(b). You never need to back-substitute.
- u = x²+1, du = 2x dx.
- Limits: x=0 → u=1; x=1 → u=2.
- ∫₁² u⁵ du = [u⁶/6]₁² = 64/6 − 1/6 = 63/6 = 21/2.
- From Example 4, antiderivative is −ln|cos x|.
- [−ln|cos x|]₀^(π/4) = −ln(1/√2) − (−ln 1) = −ln(1/√2) = ½ln 2.
- u = x², du = 2x dx, so x dx = du/2.
- Limits: x=0 → u=0; x=2 → u=4.
- ∫₀⁴ eᵘ · (du/2) = ½[eᵘ]₀⁴ = ½(e⁴−1).
§ 05Quick Reference — Common Substitutions
| Integrand Pattern | Choose u = | du = | Result Form |
|---|---|---|---|
| ∫[g(x)]ⁿ g′(x) dx | g(x) | g′(x) dx | uⁿ⁺¹/(n+1) + C |
| ∫eᵍ⁽ˣ⁾ g′(x) dx | g(x) | g′(x) dx | eᵘ + C |
| ∫g′(x)/g(x) dx | g(x) | g′(x) dx | ln|u| + C |
| ∫sin(g(x))g′(x) dx | g(x) | g′(x) dx | −cos u + C |
| ∫cos(g(x))g′(x) dx | g(x) | g′(x) dx | sin u + C |
| ∫sin x / cos x dx | cos x | −sin x dx | −ln|u| + C |
| ∫f′(x)/(1+[f(x)]²) dx | f(x) | f′(x) dx | arctan u + C |
Common Mistakes
§ 06Test Yourself — 10-Question Quiz
For ∫2x(x²+1)⁵ dx, the best substitution is u = ?
u = x²+1 because its derivative 2x is present. This turns the integral into ∫u⁵ du, which is straightforward.
Evaluate ∫cos(5x) dx. The answer has the form (1/k)sin(5x) + C. What is k?
- u = 5x, du = 5dx, dx = du/5.
- ∫cos(u)(du/5) = (1/5)sin u + C = (1/5)sin(5x) + C. So k = 5.
What is ∫tan x dx?
Write tan x = sin x/cos x. Let u = cos x, du = −sin x dx. ∫(1/u)(−du) = −ln|u| + C = −ln|cos x| + C = ln|sec x| + C.
Evaluate ∫₀¹ 2x(x²+1)⁵ dx. Enter your answer.
- u=x²+1. New limits: u(0)=1, u(1)=2.
- ∫₁² u⁵ du = [u⁶/6]₁² = 64/6−1/6 = 63/6 = 10.5.
For ∫x e^(x²) dx, after substituting u = x², the integral becomes:
u = x², du = 2x dx, so x dx = du/2. The integral becomes ∫eᵘ (du/2) = ½∫eᵘ du.
What is ∫sin³x cos x dx?
u = sin x, du = cos x dx. ∫u³ du = u⁴/4 + C = sin⁴x/4 + C.
Evaluate ∫eˣ/(1+eˣ) dx. The answer is ln(?) + C.
u = 1+eˣ, du = eˣ dx. ∫(1/u) du = ln|u| + C = ln(1+eˣ) + C (no absolute value needed since 1+eˣ > 0).
Evaluate ∫₀² xe^(x²) dx. Enter your answer to 2 decimal places.
- u=x², du=2xdx. Limits: 0→0, 2→4.
- ½∫₀⁴ eᵘ du = ½[eᵘ]₀⁴ = ½(e⁴−1) ≈ ½(54.598−1) ≈ 26.80.
What is ∫1/(x ln x) dx?
u = ln x, du = (1/x) dx. ∫(1/u) du = ln|u| + C = ln|ln x| + C.
For a definite integral with substitution, when should you change the limits of integration?
When you introduce u = g(x) in a definite integral, always convert the limits: lower limit becomes g(a) and upper limit becomes g(b). This way you never need to back-substitute. Option (c) is the alternative method and also works, but converting limits is cleaner.
Quiz complete!