What is U-Substitution?

U-substitution reverses the Chain Rule. When an integrand contains a function and (essentially) its derivative, substitute u for the inner function. The integral transforms into a simpler one in terms of u.

When to Use It

Look for: a composite function where the derivative of the inner function also appears (possibly with a constant factor). Triggers: ∫f(g(x))·g'(x)dx → let u=g(x), du=g'(x)dx → ∫f(u)du.

Step-by-Step Process

Examples

∫2x(x²+1)⁵ dx: Let u=x²+1, du=2x dx. Integral becomes ∫u⁵ du = u⁶/6+C = (x²+1)⁶/6+C.

∫cos(3x)dx: Let u=3x, du=3dx, so dx=du/3. Integral: (1/3)∫cos(u)du = sin(u)/3+C = sin(3x)/3+C.

∫x·e^(x²)dx: Let u=x², du=2x dx. Integral: (1/2)∫eᵘ du = eᵘ/2+C = e^(x²)/2+C.

U-Substitution for Definite Integrals

Two approaches: (1) change the bounds to u-values, or (2) back-substitute and use original bounds. Approach 1 is cleaner: if u=g(x), when x=a: u=g(a), when x=b: u=g(b). The new integral: ∫g(a)^g(b) f(u)du.

The Method

U-substitution is integration's Chain Rule reversal. When you see a composite function and its inner derivative nearby, let u = inner function, du = derivative·dx, and the integral simplifies to ∫f(u)du.

Why U-Substitution Works

The Chain Rule says d/dx[F(g(x))] = F'(g(x))·g'(x). Reading this backwards: ∫F'(g(x))·g'(x)dx = F(g(x)) + C. U-substitution is the formal mechanism for recognising and applying this reversal. By letting u = g(x) and du = g'(x)dx, the integral ∫F'(g(x))·g'(x)dx becomes ∫F'(u)du = F(u) + C = F(g(x)) + C.

The substitution is not just a notational trick — it genuinely transforms the variable of integration. When you write "let u = x² + 1", you are changing the integration variable from x to u. The du = 2x dx step ensures the transformation is mathematically valid (it is the change-of-variables formula for integrals).

Spotting the Pattern

The tell-tale sign of a u-substitution candidate: a function composed with another function, and the inner function's derivative (or a constant multiple of it) appears elsewhere in the integrand. Look for these patterns:

When the Coefficient Is Off

Often the derivative of your chosen u appears in the integrand but with the wrong constant factor. Fix this by compensating algebraically. Example: ∫x·(x²+1)³ dx. Let u = x²+1, du = 2x dx. But the integrand has x dx, not 2x dx. Solution: x dx = du/2. The integral becomes ∫u³·(du/2) = (1/2)∫u³ du = u⁴/8 + C = (x²+1)⁴/8 + C. Multiplying and dividing by the missing constant is always valid and almost always the right fix.

Five Fully Worked Examples

Examples Building pattern recognition
∫cos(3x)dxu = 3x, du = 3dx → dx = du/3. Integral: (1/3)∫cos(u)du = sin(u)/3 + C = sin(3x)/3 + C.
∫x·e^(x²)dxu = x², du = 2x dx → x dx = du/2. Integral: (1/2)∫eᵘdu = eᵘ/2 + C = e^(x²)/2 + C.
∫tan(x)dxWrite as ∫sin(x)/cos(x)dx. u = cos(x), du = −sin(x)dx. Integral: −∫du/u = −ln|u| + C = −ln|cos x| + C = ln|sec x| + C.
∫(ln x)/x dxu = ln x, du = (1/x)dx. Integral: ∫u du = u²/2 + C = (ln x)²/2 + C.
∫₀¹ 2x(x²+1)⁴dxu = x²+1, du = 2xdx. New bounds: x=0→u=1, x=1→u=2. Integral: ∫₁² u⁴du = [u⁵/5]₁² = 32/5 − 1/5 = 31/5.

U-Substitution for Definite Integrals — Changing Bounds

When applying u-substitution to a definite integral, you have two valid approaches. Approach 1 (preferred): Change the bounds to u-values immediately. If u = g(x), the new bounds are u = g(a) and u = g(b). Evaluate the integral entirely in u — no back-substitution needed. Approach 2: Complete the substitution, find the antiderivative in x (by back-substituting), then apply the original bounds. Both give the same answer. Approach 1 is faster for definite integrals because it avoids back-substitution.

When U-Substitution Fails

U-substitution fails when the integrand's remaining terms cannot be expressed purely in terms of u and du. Example: ∫x²·e^x dx. Letting u = x gives du = dx, but leaves ∫u²·eᵘ du — not simpler. Letting u = eˣ gives du = eˣ dx, but the x² has nothing to absorb the eˣ. This integral requires Integration by Parts, not u-substitution. The diagnostic: if after substituting you still have x in the integrand (not expressible in terms of u), u-substitution will not work — try a different technique.

Frequently Asked Questions
How do I choose u?
A good u is usually the inner function of a composition, or an expression whose derivative appears nearby. Common patterns: u = ax+b (linear), u = xⁿ+c (polynomial inside something), u = eˣ or u = ln x when the derivative of the surroundings matches.
What if the derivative doesn't appear exactly?
If the constant factor is off (e.g., ∫3x(x²+1)⁵ dx but need 2x for du=2xdx), you can adjust: factor out the discrepancy. (1/2)·(2/3)... However, if the variable power doesn't match (e.g., ∫x²·e^(x³)dx — here du=3x²dx so the x² factor works perfectly), that's fine.
Integration Rules
Integration Rules
Integration by Parts
Integration By Parts
References & Further Reading
  • Stewart, J. (2015). Calculus, §5.5. Cengage.
  • Apostol, T. (1967). Calculus, Vol. 1, §5.7. Wiley.
  • Larson, R. & Edwards, B. (2013). Calculus, §4.5. Cengage.
AM
Dr. Aisha Malik, PhD Mathematics
Senior Lecturer in Applied Mathematics · 12 years teaching calculus at university level

Dr. Malik holds a PhD in Applied Mathematics from the University of Edinburgh and has taught calculus to over 4,000 students at both undergraduate and postgraduate level. Her research focuses on numerical methods for differential equations. She has reviewed this article for mathematical accuracy and pedagogical clarity.

Technically reviewed by: Prof. James Chen, Stanford Mathematics Department