← Return to lessonClass materials · 3.1b
The Chain Rule with Tables and Graphs
Lecture transcript
0:00You know the chain rule with formulas. Now the formulas are gone. Just a big table of numbers, or a jagged graph made of line segments. And the question says: h of x equals f of g of x. Find h prime of two. Be honest. When you see that two, your gut wants to look up f prime of two, right? Two in, two out. So here's today's question. For h prime of two, do we need f prime of two? Hold that thought.
0:34By the end, you'll know which cell is a value and which is a slope, where f prime gets read, and the one line of letters that protects your points. Let's go get that five. Think of a composite like a relay race. Quick reminder of the chain rule: h prime of x is f prime of g of x, times g prime of x. The outside's derivative, at the inside. Now plug in two. Where does the two go first?
1:05It runs into g first, and out comes a number, g of two. That's the baton. g hands it to f prime, so f prime only sees what g hands it: g of two, whatever number that is. So h prime of two is f prime of g of two, times g prime of two. Find g of two first, then read f prime at that number. For example, if g of two is five, you read f prime of five.
1:35Not f prime of two. That number, g of two, has a name: the inside value. f prime is always read at the inside value. And in a relay, the lineup matters. f of g of x and g of f of x are usually different functions. For f of g, f is outside. So it's f prime at g of x, times g prime of x. For g of f, now g is outside.
2:06So it's g prime at f of x, times f prime of x. Same letters, different lineup. So read from the left: the letter written first, on the far left, is the outside function. Even if the letters are p and q. And the same letter twice, f of f of x? Same rule. The inside is f of x. So f prime at f of x, times f prime of x. For example, if f of two is three, the derivative at two is f prime of three, times f prime of two.
2:42Not f prime of two, squared. Before a real table, two pairs of look-alikes. f of x squared... and f of x, all squared. They look almost the same. They are not. In f of x squared, the x squared is tucked inside. That's the inside. So f prime of x squared, times two x. In f of x, all squared, now the square is the outside, and f of x is the inside.
3:14The square comes down: two times f of x, the inside left as it is. Then times the inside's derivative, f prime of x. Same story with a three. In f of three x, the three x is trapped inside. So f prime of three x, times three. But three f of x has no inside at all. The three is just a constant multiple out front. Three f prime of x. The three lands in a different place.
3:46They look like twins, but they're not even related. So when two things look alike, ask one question: what's on the inside? That one question sorts them all. One habit before the first table. Say you want h prime of one. Write the letters first: h prime of one equals f prime of g of one, times g prime of one. Two empty boxes. Then fill them from the table, one number at a time, inside first.
4:19This line has a name: the structure line. Why so strict? On the 2023 AP exam, on a composite from a table, the structure and the table values were scored separately. And on the 2026 exam, the answer point went only to students who earned the structure point. A number all by itself couldn't even get the answer point. So it's letters first, numbers second. Let's try it on a real table.
4:50Example one. f and g are differentiable, with values in the table. h is f of g of x: find h prime of one. k is g of f of x: find k prime of two. And write the tangent line to h at x equals one. Part a. The plan: write the structure first, then read the inside value first. h prime of one is f prime of g of one, times g prime of one.
5:22That line already protects your point. Inside first. Go to x equals one, down to the g row: g of one is three. Pass the baton: put three in for g of one. Now it's f prime of three, times g prime of one. From the table: f prime of three is seven, g prime of one is five. Seven times five... thirty-five. Wait. Look at what you just dodged in part a.
5:54Without the structure line, this feels so natural, right? One in, one out. h prime of one equals... f prime of one, times g prime of one. Negative two times five... negative ten. So write this down: f prime is evaluated at the inside value, g of one, which is three. Not at one. So h prime of one is f prime of three, times five... thirty-five.
6:25Part b flips the order: k is g of f of x. Try its structure before I do. Now g is the outside. k prime of two is g prime of f of two... times f prime of two. Inside first again. x equals two, down to the f row: f of two is three. So g prime of three, times f prime of two. From the table: g prime of three is two, f prime of two is six.
6:57Two times six... twelve. This time g is on the outside, so g prime comes first. The order matters. Part c wants a tangent line, and you already have its slope. Part c. A tangent line needs two things: a point and a slope. The point first. No derivatives here, just plain values. h of one is f of g of one... g of one is three, so it's f of three, which is two.
7:30The slope is h prime of one, thirty-five, from part a. The point is one, two, and the slope is thirty-five. So the tangent line: y equals two, plus thirty-five times x minus one. Tables are done. What if they give you a graph instead? Example two. f is made of two line segments, as shown. g of x is x squared, and h is f of g of x.
8:00Find h prime of two... and h prime of zero. Part a. The plan: the chain rule. h prime of x is f prime of g of x, times g prime of x... and g prime of x is two x. Now, how a graph talks. A value, like f of a, is a height. A derivative, f prime of a, is a slope. For a line segment, just its slope. The structure: h prime of two is f prime of g of two, times g prime of two.
8:36Inside first. g of two is two squared... four. At x equals four, the height is three. But we need a slope, not a height. We're on the right segment: it rises one for every one, so f prime of four is one. And g prime of two is two times two, four. So h prime of two is f prime of four, times g prime of two. One times four... four. Part b looks just like it, so find its inside value before I do.
9:12Part b. Same structure, new inside value. h prime of zero is f prime of g of zero, times g prime of zero. Inside first: g of zero is zero. At x equals zero, we're on the left segment: it falls two for every one, so f prime of zero is negative two. So the answer is negative two, right? Wait. Don't forget the tail of the chain rule: times g prime of zero.
9:42g prime of zero is two times zero... zero. So g is perfectly flat at zero. So h prime of zero is negative two, times zero... zero. The flat inside wins. Zero is the mute button: a flat inside makes the whole product zero, no matter how steep the outside is. Example three, multiple choice, with the same table. q of x is x times g of x squared.
10:14What is q prime of two? The plan: zoom out. It's a product, x times g of x squared. And inside the second factor, g of x squared, a chain. Product first, so the product rule: u prime v, plus u v prime. The first factor is x, and its derivative is one: one times g of x squared. Plus x times the derivative of g of x squared, which is g prime of x squared, times two x.
10:47Don't drop that two x. The numbers are yours now: plug in two, and check the table. The plan: plug in x equals two. Then x squared is four, and two x is four, too. So q prime of two is g of four, plus two times g prime of four, times four. From the table, at x equals four: g of four is two, and g prime of four is one half. Two, plus two times one half times four... two plus four. Six.
11:23So the answer is C. Back to today's question. For h prime of two, do we need f prime of two? No. Only if g of two happens to be two. Because h prime of two is f prime of g of two, times g prime of two. f prime is read at the inside value: g hands it the baton. So with any table or graph: one, write the structure line, in letters.
11:54Two, find the inside value before you hunt for a slope, and check which letter is outside. Three, if it's a product, the product rule first, then the chain inside. More tables and graphs wait in your workbook. Stuck on one? Ask me in the comments. Next up, three point two: what if you can't even solve for y? See you there.