Topic 8
The Multivariable Chain Rule
Draw a tree from the outside function down to the final variables. A derivative is a sum over every path to that variable. Each path gives the product of the derivatives along it: . Always evaluate the partials of at the inner point .
4 kinds of question. Open the one you are stuck on.
1Find dw/dt using the multivariable chain rule
e.g. “Let with and depending on . Find ”
Find dw/dt using the multivariable chain rule
e.g. “Let with and depending on . Find ”- 1Draw the tree: on top, at the bottom
. If also appears directly in , add a branch .
- 2Write one term per path from to
Each term is a product: a partial of times the ordinary derivative of the inner function. A direct branch contributes .
- 3Compute each piece
- 4Substitute the point and the numbers
Evaluate and at the inner point .
Remember: Every path, multiply along it, add them up.
See it in a problem3 worked examples
Let with , . Find at .
- 1Draw the tree: on top, at the bottom
; no direct .
- 2Write one term per path from to
.
- 3Compute each piece
, , , .
- 4Substitute the point and the numbers
At , : , . So .
Let with , . At the point , and . Find at .
- 1Draw the tree: on top, at the bottom
.
- 2Write one term per path from to
.
- 3Compute each piece
, at .
- 4Substitute the point and the numbers
At the point is , exactly where the data is given: .
Let with , . Find , and its value at .
- 1Draw the tree: on top, at the bottom
, , and a direct branch .
- 2Write one term per path from to
.
- 3Compute each piece
, , , , .
- 4Substitute the point and the numbers
; at : .
, which is at
Common mistakes3
- Confusing with : holds and fixed, lets them move with .
- Evaluating at the wrong point: at it is .
- Writing for a one-variable : it is .
2Find partial derivatives of a composite function with the chain rule
e.g. “Use the chain rule to evaluate and ”
Find partial derivatives of a composite function with the chain rule
e.g. “Use the chain rule to evaluate and ”- 1Draw the tree: , then , then
- 2For , add one product per path to
Each product is (partial of the outer function) × (partial of the inner function in ). Repeat for .
- 3Compute the inner partials and the inner point
At , find and first: that is where , are evaluated.
- 4Substitute and simplify
Remember: One sum per variable at the bottom of the tree.
See it in a problem3 worked examples
Let with , . Find and at .
- 1Draw the tree: , then , then
; each of .
- 2For , add one product per path to
, .
- 3Compute the inner partials and the inner point
, , , . At : , , so , .
- 4Substitute and simplify
, .
,
Let , where , , , and . Find .
- 1Draw the tree: , then , then
; each of .
- 2For , add one product per path to
and are the partials of in its first and second slots: , .
- 3Compute the inner partials and the inner point
Inner point: , so , . Inner partials: , , , .
- 4Substitute and simplify
, .
Let . Find and in terms of the partials of .
- 1Draw the tree: , then , then
(first slot , second slot ) .
- 2For , add one product per path to
, and the same with .
- 3Compute the inner partials and the inner point
: and . : and .
- 4Substitute and simplify
, , with at .
,
Common mistakes3
- Evaluating at instead of at .
- Missing a path: if depends on both and , it appears in both sums.
- Writing when depends on both and : it is .
3Show a composite function satisfies an equation for any f
e.g. “Suppose that , where is differentiable. Show that …”
Show a composite function satisfies an equation for any f
e.g. “Suppose that , where is differentiable. Show that …”- 1Name the inside: ,
- 2Find each partial the equation needs with the chain rule
, (or ) stay as symbols; only the inner derivatives become formulas.
- 3Substitute into the equation and collect like terms
- 4Show both sides match, or match coefficients
Remember: f stays a symbol; only the insides get differentiated.
See it in a problem4 worked examples
Let for a differentiable . Show that .
- 1Name the inside: ,
, so .
- 2Find each partial the equation needs with the chain rule
, .
- 3Substitute into the equation and collect like terms
.
- 4Show both sides match, or match coefficients
for every . ✓
Let . Show that .
- 1Name the inside: ,
, .
- 2Find each partial the equation needs with the chain rule
, , .
- 3Substitute into the equation and collect like terms
.
- 4Show both sides match, or match coefficients
Everything cancels: . ✓
for every differentiable
Let . Show that .
- 1Name the inside: ,
, so .
- 2Find each partial the equation needs with the chain rule
Product rule: ; .
- 3Substitute into the equation and collect like terms
.
- 4Show both sides match, or match coefficients
. ✓
Let with , . Find with .
- 1Name the inside: ,
, .
- 2Find each partial the equation needs with the chain rule
, .
- 3Substitute into the equation and collect like terms
(the cancel).
- 4Show both sides match, or match coefficients
Match: .
Common mistakes3
- Giving a formula. is , so stays a symbol.
- Using one name for two functions: (a function of ) is not .
- Forgetting the product rule when is multiplied by something: has two terms.
4Find second derivatives with the chain rule
e.g. “Find all second order derivatives of ”
Find second derivatives with the chain rule
e.g. “Find all second order derivatives of ”- 1Find the first derivative with the chain rule
- 2Differentiate again, using the product rule where needed
Each term looks like (inner derivative) × . If the inner derivative is not constant, the product rule gives two terms.
- 3Chain again on each and
.
- 4Collect terms, using
Remember: f_x is a composite too: chain it again.
See it in a problem3 worked examples
Let . Find in terms of the partials of .
- 1Find the first derivative with the chain rule
.
- 2Differentiate again, using the product rule where needed
The inner derivatives and are constants, so no product-rule terms: .
- 3Chain again on each and
, .
- 4Collect terms, using
.
, all at
Let with , . At : , , , , . Find at .
- 1Find the first derivative with the chain rule
.
- 2Differentiate again, using the product rule where needed
.
- 3Chain again on each and
, .
- 4Collect terms, using
At , : .
Let for twice differentiable , . Show that .
- 1Find the first derivative with the chain rule
, .
- 2Differentiate again, using the product rule where needed
The inner derivatives and are constants: no product-rule terms.
- 3Chain again on each and
, .
- 4Collect terms, using
. ✓
Common mistakes3
- Treating as a constant on the second pass. It depends on through and , so it needs the chain rule.
- Dropping the product-rule term when the inner derivative is not constant (like ).
- Evaluating at the wrong point: is taken at .
Need the formulas? Must memorize · Flashcards
