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.
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
- Find
∫ 3x²(x³ + 5)² dx. (Hint: letu = x³ + 5.) - 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) duwithu = g(x). - The
+ Cis 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
xinstead of2x), you can still substitute by adjusting for that constant. - For a definite integral, either change the bounds to
u-values or putxback 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.
Sources
- OpenStax, "Calculus Volume 1, 5.5 Substitution": u-substitution reverses the chain rule; choosing u and du
- College Board, "AP Calculus AB and BC Course and Exam Description": Unit 6, Integration and Accumulation of Change (integrating using substitution)
- OpenStax, "Calculus Volume 1, 3.6 The Chain Rule": the rule being reversed
- MIT OpenCourseWare, "18.01 Single Variable Calculus (Fall 2006)": lecture notes on integration by substitution
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
- Calculus EP16What an integral is
- Calculus EP17Riemann sums
- Calculus EP21What a differential equation is
- Calculus EP22Slope fields