Chain Rule for Independent Variables
You'll learn how to compute partial derivatives when your function depends on intermediate variables that themselves depend on multiple independent variables.
Core Idea in Plain English
Imagine you're tracking the temperature z on a metal plate, where temperature depends on position (x, y). But now suppose x and y themselves change as you vary two independent controls s and t — perhaps s controls time and t controls a heating element setting.
The Chain Rule for Independent Variables tells you how to find ∂z/∂s and ∂z/∂t by tracing through all the pathways by which s and t affect z.
The Formula
If z = f(x, y) where x = x(s, t) and y = y(s, t), then:
∂z/∂s = (∂z/∂x)(∂x/∂s) + (∂z/∂y)(∂y/∂s)
∂z/∂t = (∂z/∂x)(∂x/∂t) + (∂z/∂y)(∂y/∂t)
Each term represents one "pathway" through the dependency tree. Changing s affects z both through its effect on x and through its effect on y.
How to Apply It
- Identify the dependency chain:
zdepends onxandy, which depend onsandt - Compute the needed partial derivatives: Find
∂z/∂x,∂z/∂y,∂x/∂s,∂x/∂t,∂y/∂s,∂y/∂t - Combine using the formula: Add up the contributions from each pathway
Think of it like a river flowing through multiple channels — the total flow rate depends on contributions from every branch.
Key Takeaway: When intermediate variables depend on multiple independent variables, use the multivariable chain rule to sum the contributions from each pathway, multiplying partial derivatives along each branch of the dependency tree.