Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
The chain rule tells us how to differentiate when and themselves depend on other variables. Each path from down to the final variable gives one product term, and we add all the paths (a tree diagram helps).
Case 1: one parameter
If and , , then
With three variables , add a third term .
Case 2: two parameters
If with and , then
General pattern: one term for every middle variable.
Method
- Draw the tree: on top, middle variables (), then final variables ( or )
- Write one product per path and add them
- For a value at a point, first find the values of at that point, then substitute
Worked example (Case 1)
with , . Find at .
At : , , so .
Worked example (related rates)
A cone has . The radius grows at cm/s and the height falls at cm/s. At , :
So the volume is decreasing at cm/s.
Worked example (Case 2)
, , :
Implicit differentiation
If is defined implicitly by , differentiate with the chain rule (using , ) to get . So, provided ,
Example: gives
The chain rule is also the key step in proving the directional derivative formula.