Watch on Instagram

Math Bytes · Calculus · Episode 19 · Integration techniques

u-substitution

u-substitution runs the chain rule backward. When an integral holds an inside function and that inside's derivative as a factor, rename the inside u, rewrite with du, integrate, then put x back in. For example, ∫ 2x(x² + 1)³ dx = (x² + 1)⁴/4 + C.

Posted · About a 1 minute watch, 2 minute read · Take the quiz

Spot the pattern

Look at ∫ 2x(x² + 1)³ dx. It looks messy, but there's a pattern inside:

  • The inside is x² + 1.
  • Its derivative, 2x, is sitting right outside, as a factor.

That's the chain rule's fingerprint. The chain rule makes derivatives that look like f′(g(x)) · g′(x), so an integral of that shape can be undone.

Rename the inside u

Let u = x² + 1. Then du = 2x dx. Swap both in:

∫ 2x(x² + 1)³ dx = ∫ u³ du

Integrate, then put x back in

That's just the power rule backward:

∫ u³ du = u⁴/4 + C

Now replace u with x² + 1:

∫ 2x(x² + 1)³ dx = (x² + 1)⁴/4 + C

Check it with the chain rule: the derivative of (x² + 1)⁴/4 is 4(x² + 1)³ · 2x / 4 = 2x(x² + 1)³. ✓

Try it yourself

  1. Find ∫ 3x²(x³ + 5)² dx. (Hint: let u = x³ + 5.)
  2. Find ∫ 2x(x² + 4)⁵ dx.

(Answers: 1. du = 3x² dx, so it's ∫ u² du = u³/3 + C = (x³ + 5)³/3 + C. 2. u = x² + 4, du = 2x dx, so it's u⁶/6 + C = (x² + 4)⁶/6 + C.)

Good to know

  • In general: ∫ f(g(x)) g′(x) dx = ∫ f(u) du with u = g(x).
  • The + C is the constant of an indefinite integral. The last lesson's definite integrals didn't need it, because it cancels when you subtract.
  • If the derivative of the inside is off by a constant factor (say x instead of 2x), you can still substitute by adjusting for that constant.
  • For a definite integral, either change the bounds to u-values or put x back in before plugging in the bounds.

Answer to the comment question

What's the integral from 0 to 2 of 2x(x² + 1) dx? 12. Let u = x² + 1, so du = 2x dx. When x = 0, u = 1; when x = 2, u = 5. So the integral is ∫₁⁵ u du = u²/2 from 1 to 5 = (25 − 1)/2 = 12. Check by expanding: ∫₀² (2x³ + 2x) dx = [x⁴/2 + x²]₀² = 8 + 4 = 12.

Test your knowledge

Quick quiz: u-substitution

4 multiple-choice questions. Pick one answer for each, then check how you did.

1u-substitution reverses which rule?
2In ∫ 2x(x² + 1)³ dx, what is the best choice for u?
3If u = x² + 1, what is du?
4What is ∫ 2x(x² + 1)³ dx?

Sources

Video transcript

How do you run the chain rule backward?

Look at the integral of 2x times (x² + 1)³. It looks messy, but there's a pattern inside.

The inside is x² + 1. Its derivative, 2x, is sitting right outside. That's the chain rule's fingerprint.

So rename the inside u. Then du = 2x dx, and it becomes the integral of u³ du.

That's just the power rule backward: u⁴ over 4, plus C.

Put x back in: (x² + 1)⁴ over 4, plus C. That's u-substitution.

Your turn. What's the integral from 0 to 2 of 2x times (x² + 1)? Comment your answer below!

That's your byte.

More from Calculus

All Calculus lessons