Intuition The ONE core idea
A composite function is a machine feeding its output into another machine ; when you nudge the input a little, the first machine stretches your nudge, then the second machine stretches it again, so the total stretch is the two stretches multiplied together . Everything in the chain rule — the symbols, the limits, the proof — exists only to make that "stretch times stretch" statement exact.
Before you can read the parent note Chain Rule — Proof & Composite Function Derivatives , you need to own every symbol it throws at you. This page builds them one at a time, from absolutely nothing, in an order where each new idea leans only on the ones before it.
f
A function is a rule that takes ONE number in and gives back exactly ONE number out. We write f ( x ) , read "f of x ", meaning "feed the number x into machine f and read what comes out."
The picture that makes this concrete: a box with an arrow going in (labelled x ) and an arrow coming out (labelled f ( x ) ).
Intuition Why the topic needs this
The chain rule is about two of these boxes wired together. If you don't picture f as a machine, "f ( g ( x )) " is just meaningless ink. Hold the box picture and the whole page stays visual.
The letters f , g , h are just names for three different machines. There is nothing special about the letters — we could call them Machine-1, Machine-2, Machine-3. By habit:
g = the inner machine (runs first),
f = the outer machine (runs second),
h = the whole thing viewed as one combined machine.
Definition Composite function
f ( g ( x )) means: put x into g first, take whatever g spits out, and feed THAT into f . The output of the first machine becomes the input of the second.
Read the figure left to right: x enters g , out comes a middle number, that middle number enters f , out comes the final answer. The middle number is so important it gets its own name in the next section.
Common mistake Order matters —
f ( g ( x )) = g ( f ( x ))
Why people slip: both look symmetric on the page.
Why it's wrong: wiring is directional. Put socks on then shoes (g then f ) — reversing gives shoes-then-socks, a different (silly) result.
Fix: always trace the arrow: inner machine g runs first , always.
Worked example Spotting the two machines
In h ( x ) = ( 3 x 2 + 1 ) 5 : the inside is g ( x ) = 3 x 2 + 1 (compute it first), the outside is f ( u ) = u 5 (raise that result to the 5th). If you can name inner and outer, you can chain-rule it.
Definition The substitution
u = g ( x )
==u == is just a nickname for the output of the inner machine: u = g ( x ) . Instead of writing g ( x ) over and over, we write u , so the outer machine reads cleanly as f ( u ) .
In the figure above, u is the number travelling along the middle arrow. It is not a new mystery — it is literally g ( x ) wearing a shorter name. The parent note writes "with u = g ( x ) and y = f ( u ) "; now you know y is just the final output and u is the middle value.
Intuition Why bother renaming?
The Leibniz form d x d y = d u d y ⋅ d x d u only looks like fraction-cancelling because we gave the middle value the name u . The nickname is what lets us split the journey x → y into two clean legs: x → u and u → y .
Δ x (delta-x)
The symbol Δ (Greek capital "delta") means "a small change in" . So Δ x means "a tiny nudge added to x ." The new input is x + Δ x .
Picture a point sitting at x on a number line; Δ x is a short arrow pushing it a little to the right (or left, if Δ x is negative).
Two more deltas follow the same rule:
Δ u = g ( x + Δ x ) − g ( x ) — how much the middle number moved because of the nudge,
Δ y = f ( u + Δ u ) − f ( u ) — how much the final output moved.
Intuition Why the topic needs deltas
The chain rule's whole story is "a nudge in x causes a nudge in u causes a nudge in y ." The three deltas are exactly those three nudges. Watching how they relate is watching the chain rule happen.
Δ u can be zero even when Δ x isn't
This is the subtlety the parent's rigorous proof exists to handle. If g is flat over a patch, nudging x moves u by nothing — Δ u = 0 — so you cannot divide by it. Keep this fact in your pocket; the proof's "error function" is the fix.
Definition Difference quotient
Δ x Δ y is "how much the output changed, divided by how much the input changed." It is the average steepness of the machine over that little step — rise over run.
Look at the figure: pick two points on the curve, one at x and one at x + Δ x . Draw the straight line joining them (the secant ). Its slope is exactly Δ x Δ y — go along by Δ x , go up by Δ y .
Intuition Why "over a step" and not "at a point"?
We can only ever measure change between two points . To talk about steepness at a single instant we shrink the step to nothing — that shrinking is the limit, next.
Δ x → 0 lim ( something ) asks: as the nudge Δ x gets closer and closer to 0 , what single value does "something" settle down to? We never set Δ x = 0 (that would give 0 0 ); we watch where it's heading .
Picture the secant line from the previous figure. Slide the second point toward the first: Δ x shrinks, the secant pivots, and it settles onto one special line — the tangent , the line grazing the curve at that single point. The limit is that settling-down.
Intuition Why we need a limit at all
Steepness "at a point" is genuinely undefined until we sneak up on it. The limit is the tool that answers "what would the average steepness be if the step were infinitely small?" — a question no algebra alone can answer.
The derivative f ′ ( x ) (read "f -prime of x ") is the difference quotient after the limit has shrunk the step to nothing:
f ′ ( x ) = lim Δ x → 0 Δ x f ( x + Δ x ) − f ( x ) .
It is the slope of the tangent line — the machine's instantaneous stretch factor at input x .
The little tick mark ′ ("prime") just means "the derivative of." So g ′ ( x ) is the inner machine's stretch factor, and f ′ ( u ) is the outer machine's stretch factor at the middle value u — note carefully, evaluated at u , not at x .
Intuition "Stretch factor" is the key word for the chain rule
If f ′ ( u ) = 3 , then near that input f stretches every tiny nudge to 3 times its size. The chain rule says: total stretch = outer stretch × inner stretch = f ′ ( u ) ⋅ g ′ ( x ) . Everything above was built so this one sentence makes sense. See Derivative — limit definition for the full construction.
f ′ ( g ( x )) means "evaluate f ′ AT g ( x ) "
Slip: reading f ′ ( g ( x )) as "differentiate g ." No — first find the formula f ′ , then plug the number g ( x ) into it. In example sin ( x 2 ) : f ′ ( u ) = cos u , so f ′ ( g ( x )) = cos ( x 2 ) , not cos ( x ) or cos ( 2 x ) .
Translation table:
d u d y = f ′ ( u ) = outer stretch factor,
d x d u = g ′ ( x ) = inner stretch factor,
d x d y = h ′ ( x ) = total stretch factor.
Function as a machine f of x
Difference quotient delta y over delta x
Limit as delta x goes to 0
Derivative f prime x as a stretch factor
Two notations prime and Leibniz
Chain rule total stretch = outer times inner
Everything flows downhill into the chain rule at the bottom. If any upstream box feels shaky, revisit its section above.
Cover the right side and answer aloud — if you can, you're ready for the parent note.
What does f ( x ) mean in one sentence? A machine named f that takes the number x and returns exactly one output.
What does f ( g ( x )) mean, and which machine runs first? Feed x into g first, then feed that result into f ; the inner machine g runs first.
What is u in the chain-rule setup? A nickname for the middle value, u = g ( x ) — the output of the inner machine.
What does Δ x mean? A tiny change (nudge) added to the input x .
Why can Δ u be 0 while Δ x = 0 ? If g is flat over a patch, nudging x moves the middle value by nothing.
What does the difference quotient Δ x Δ y measure? The average steepness (slope of the secant) over the little step.
What does lim Δ x → 0 ask? What single value the expression settles toward as the nudge shrinks to nothing (without ever setting it to 0 ).
What is the derivative f ′ ( x ) in plain words? The exact steepness at a point — the machine's instantaneous stretch factor.
In f ′ ( g ( x )) , what do you plug into f ′ ? The number g ( x ) — evaluate the derivative formula f ′ AT the middle value, don't differentiate g .
Is d x d y literally a fraction? No — it's one symbol meaning "derivative of y with respect to x "; the cancelling look is only a mnemonic.
State the chain rule in both notations. h ′ ( x ) = f ′ ( g ( x )) g ′ ( x ) and d x d y = d u d y ⋅ d x d u .