Which table row do I use for the outer derivative in the chain rule?
Use the chain rule with tables and graphs: find the inside value first, then read the outside's slope there.
: for , do we need ? No: . So ; find first. If , read , not .
and : the leftmost letter is the outside.
Look-alikes: , , , . First find the inside.
A zero inside slope: with , . A zero inside slope makes the product .
Write first, then fill the boxes: the structure line can earn a point by itself.
The outside's slope at the inside value
Common mistake : .
Correction at , not at : .
Inside first: the baton, and the order
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?
It 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. Not 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. So 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.
Not f prime of two, squared.
Look-alikes: find the inside
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.
In f of x, all squared, now the square is the outside, and f of x is the inside. The 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.
They 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.
Structure first (and how AP scores it)
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.
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.
Example 1: a table
Example 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. That 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.
Common mistake: f′ at the wrong value
Wait. Look at what you just dodged in part a. Without 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. Part 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. Two 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. The 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.
Example 2: a graph
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. Find h prime of two... and h prime of zero.
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. Inside 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. Part 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.
g 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 3: multiple choice
Example three, multiple choice, with the same table. q of x is x times g of x squared. What 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. Don'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. So the answer is C.
Worked examples
Example 1
are differentiable; values are in the table. (a) Let . Find . (b) Let . Find . (c) Write an equation of the tangent line to the graph of at .
1
2
3
4
4
3
2
-1
-2
6
7
3
3
1
4
2
5
-1
2
Hint
The structure first, the inside value first.
Answer and solution
h(1) = f(g(1)) = f(3) = 2, so the tangent line is y = 2 + 35(x - 1).
Example 2
The graph of is made of two line segments. Let and . (a) Find . (b) Find .
Graph of f(x)Hint
Find the inside value first, then the slope of there.
The number of fish in a lake is , where is the water temperature in degrees Celsius. The water temperature is degrees Celsius on day ; values are in the table. Also and . Let .
(days)
5
10
15
20
0.8
1.2
Find . Indicate units of measure.
Explain the meaning of in context.
Is the number of fish increasing or decreasing on day ? Give a reason.
Hint
. Units: fish per degree times degrees per day.
Answer and solution
fish per day
on day , the number of fish in the lake is decreasing at a rate of fish per day
decreasing, because
(a) -40 fish per day. (b) On day 5, the number of fish in the lake is decreasing at 40 fish per day.
(c) N'(10) = F'(T(10)) T'(10) = F'(20)(1.2) = -96 < 0, so the number of fish is decreasing on day 10.
Common mistake Multiplying F'(15) by T(5) instead of T'(5); no units.