Reading history

U-Substitution: Integration by Substitution

5 min read 1 views

Learn u-substitution, the chain rule in reverse: how to choose u, a five-step method, fixing missing constants and changing limits in definite integrals.

U-substitution is the chain rule run backwards, and it is the most used integration technique of all. Look for a function inside another function, with the inside’s derivative close by. Then a change of letter makes a hard integral easy. You will learn how to pick u, a five-step method, how to fix a missing number, and how to change the limits of a definite integral.

In this lesson you will learn

  • Why substitution is the chain rule in reverse
  • How to choose u: look for an inside function whose derivative is also present
  • The five-step u-substitution method
  • How to fix a missing constant factor
  • How to change the limits in a definite integral

You should know the chain rule, the basic integration rules and the Fundamental Theorem of Calculus. The mathematics track also has a shorter introduction to substitution.

The Chain Rule Backwards

The chain rule says d/dx F(g(x)) = F′(g(x)) · g′(x). Read backwards, that is an integration rule:

∫ f(g(x)) · g′(x) dx = F(g(x)) + C

Let u = g(x). Then du = g′(x) dx, and the integral becomes
∫ f(u) du = F(u) + C

So look for a function inside a function, with the inside’s derivative next to it.

The Five-Step Method

  1. Choose u, usually the “inside” expression.
  2. Find du = u′ dx.
  3. Rewrite the whole integral in terms of u and du. No x may remain.
  4. Integrate with respect to u.
  5. Substitute back u = g(x).
Example 1:  ∫ 2x (x² + 1)⁵ dx
u = x² + 1,  du = 2x dx
∫ u⁵ du = u⁶/6 + C = (x² + 1)⁶/6 + C

Example 2:  ∫ cos x · e^(sin x) dx
u = sin x,  du = cos x dx
∫ eᵘ du = eᵘ + C = e^(sin x) + C

Example 3:  ∫ (ln x)/x dx
u = ln x,  du = (1/x) dx
∫ u du = u²/2 + C = (ln x)²/2 + C
∫ 2x (x² + 1)⁵ dxin terms of xu = x² + 1du = 2x dx∫ u⁵ dusimple power ruleu⁶/6 + C(x² + 1)⁶/6 + Cback in xchooserewriteintegratesubstitute backThe factor 2x dx is exactly du, so the whole integrand turns into u.

Fixing a Missing Constant

Often du matches the integrand except for a constant number. Constants can be moved freely, so just adjust.

∫ x √(3x² + 4) dx
u = 3x² + 4,  du = 6x dx,  so x dx = du/6
∫ √u · du/6 = (1/6) · (2/3) u^(3/2) = (1/9)(3x² + 4)^(3/2) + C

Constants yes, variables no

You can fix a missing number, but not a missing x. For ∫ (x² + 1)⁵ dx, u = x² + 1 needs a factor of 2x that is not there, and you cannot divide by 2x to create it. That integral needs expanding instead.

Useful Patterns

∫ g′(x)/g(x) dx = ln|g(x)| + C       (u = g(x))

∫ tan x dx = ∫ sin x / cos x dx       u = cos x, du = −sin x dx
           = −ln|cos x| + C = ln|sec x| + C

∫ 2x/(x² + 5) dx = ln(x² + 5) + C

Whenever the top of a fraction is (a multiple of) the derivative of the bottom, the answer is a logarithm.

Definite Integrals: Change the Limits

With a definite integral, convert the x-limits into u-limits. Then you never need to substitute back.

∫₀¹ 2x (x² + 1)³ dx
u = x² + 1:   x = 0 → u = 1,   x = 1 → u = 2
= ∫₁² u³ du = [u⁴/4]₁² = 4 − 1/4 = 15/4

A common error is to change the variable but keep the old limits. The limits must always belong to the variable you are integrating with.

How to Choose u

If you see…Try u =
(something)ⁿ with its derivative nearbythe something
√(something)the something under the root
e^(something)the exponent
sin/cos of somethingthe angle
a fraction whose top is the bottom’s derivativethe bottom
ln x together with 1/xln x

Common Mistakes

  1. Leaving some x in the integral after substituting.
  2. Forgetting du, so the constant factor is lost.
  3. Keeping the old limits in a definite integral.
  4. Forgetting to substitute back in an indefinite integral.
  5. Dividing by a variable to force du to match.

Practice Exercises

Exercise 1. Find ∫ 3x² cos(x³) dx.

Show answer

u = x³: sin(x³) + C.

Exercise 2. Find ∫ x e^(−x²) dx.

Show answer

u = −x², du = −2x dx: −½ e^(−x²) + C.

Exercise 3. Evaluate ∫₀^(π/2) sin x cos²x dx.

Show answer

u = cos x, du = −sin x dx, limits 1 → 0: ∫₁⁰ −u² du = ∫₀¹ u² du = 1/3.

Frequently Asked Questions

When should I use u-substitution?

Use it when the integrand contains a function inside another function and the derivative of the inside function also appears as a factor, possibly up to a constant. Typical signs are a bracket raised to a power, a square root, an exponential or a trig function of an expression.

Do I have to change the limits in a definite integral?

Either change the limits to u-values and finish in u, or substitute back to x and use the original limits. Changing the limits is usually quicker. What you must never do is mix them: u in the integrand with the old x limits.

Summary

  • Substitution reverses the chain rule: ∫ f(g(x)) g′(x) dx = ∫ f(u) du.
  • Choose u as the inside function whose derivative is present.
  • Missing constants can be fixed; missing variables cannot.
  • ∫ g′/g dx = ln|g| + C.
  • For definite integrals, change the limits to u-values.

Next: Integration by Parts.

Lessons are also marked complete when you click Next.

Leave a Reply

Your email address will not be published. Required fields are marked *