Wed Sep 23, 2026 Lecture (L12) Stewart Sect. 2.5 The Chain Rule
Overview
Barsamian's Math Videos teaches Stewart Section 2.5 by identifying inner and outer functions and applying the chain rule, then extends the method to three nested layers. Examples show how to differentiate powers, square roots, and trigonometric compositions, use derivatives to find tangent slopes and horizontal tangencies, and evaluate a composition's derivative from a table.
Key takeaways
- For a two-layer composition outer(inner(x)), evaluate the outer derivative at the unchanged inner function, then multiply by the inner derivative.
- For f(x) = (x³ − 12x + 17)⁵, the chain rule produces 5(x³ − 12x + 17)⁴(3x² − 12); retaining parentheses prevents losing terms in the inner derivative.
- The derivative of √(x³ − 12x + 49) is (3x² − 12)/(2√(x³ − 12x + 49)), giving a tangent slope of −6/7 at x = 0.
- To find horizontal tangencies, set the derivative to zero and require both a zero numerator and a nonzero denominator; the square-root example has horizontal tangencies at x = ±2.
- For f(θ) = tan²(cos θ), differentiating all three layers gives −2 tan(cos θ) sec²(cos θ) sin θ.
- For h(x) = g(f(x)), h′(1) depends on g′ evaluated at f(1), not at 1; the table values g′(2) = 5 and f′(1) = 6 yield h′(1) = 30.
Chapters
- A composition such as f(g(x)) has an inner function, g(x), and an outer function, f; those roles matter more than the letters used.
- The chain rule differentiates outer(inner(x)) as outer′(inner(x)) multiplied by inner′(x).
- Barsamian emphasizes learning the unit circle and using consistent inner/outer terminology.
- For f(x) = (x³ − 12x + 17)⁵, the inner function is x³ − 12x + 17 and its derivative is 3x² − 12.
- Treat the outer function as an empty-input fifth power; its derivative is 5(parenthesis)⁴.
- The derivative is 5(x³ − 12x + 17)⁴(3x² − 12); parentheses ensure the entire inner derivative is multiplied.
- For √(x³ − 12x + 49), rewrite the outer square root as a power of 1/2 to differentiate it as an empty function.
- The derivative is (3x² − 12) / (2√(x³ − 12x + 49)).
- The tangent slope at x = 0 is f′(0) = −12 / 14 = −6/7.
- Simplify factored expressions by canceling common factors before multiplying.
- A horizontal tangent has slope zero, so solve f′(x) = 0 rather than evaluating the derivative at a specified x-value.
- For the square-root example, setting the numerator 3x² − 12 equal to zero gives candidate values x = 2 and x = −2.
- A fraction equals zero only when its numerator is zero and its denominator is nonzero; checking both candidates confirms both are valid.
- For f(θ) = tan²(cos θ), identify the layers as outer squaring, middle tangent, and inner cosine.
- Differentiate each layer: the outer derivative is 2(parenthesis), the middle derivative is sec²(parenthesis), and the inner derivative is −sin θ.
- Multiplying the layer derivatives gives −2 tan(cos θ) sec²(cos θ) sin θ.
- The expression can also be rewritten using sine and cosine, but simplification is optional when it does not improve clarity.
- For h(x) = g(f(x)), the chain rule gives h′(x) = g′(f(x))f′(x).
- At x = 1, use f(1) = 2, f′(1) = 6, and g′(2) = 5 from the table.
- Therefore h′(1) = g′(2)f′(1) = 5 × 6 = 30; the main challenge is matching each table value to the correct input.
Transcript excerpt
0:01 lecture 12 and we're I'm discussing the chain rule. So the chain rule is used for taking the derivatives of nested functions. By that I mean functions of the form outer outer
0:58 parentheses inner parenthesis x. So you uh there's a fancy name for this in math. We call this a composition of functions. If you all would please put phones away. I I don't want to see any phones out and um if you're not doing course stuff on your laptop, please put your laptop away. Um, so the book will say f of g of x. That's very common to just use. It's like the only two letters I can think of are f and g. But the thing is the the role played by these functions is is is extremely important. And what you do with them is extremely important depending on not whether they're called
1:45 f and g because those names can change. the what what is important is is the function playing the the role of the inner function or the outer function. So I think it's very useful and very important to to learn how to use this terminology of of the inner function and the outer function because again um the names can change. So here's the chain rule. Uh, I'm going to put the chain rule over here. Again, learn the unit circle and all of its
2:32 all the coordinates of the points where those rays intersect the circle. The chain rule says if you have one of those things, a nested function outer parentheses inner parenthesis x and you park in front of it the derivative symbol. So we're finding the derivative of a [snorts] nested function. You do this outer prime parentheses inner and then times inner prime of x.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Barsamian's Math Videos.