When the two variables x,y of a function W(x,y) are themselves both functions of a single parameter t, the composite W(x(t),y(t)) depends ultimately only on t, and its ordinary derivative dtdW can be found without first eliminating x,y in favour of t.
Theorem 8.2 (Function of Function / Chain Rule, one parameter). If W(x,y) has partial derivatives ∂x∂W,∂y∂W, and x=x(t),y=y(t) are both differentiable, then W is a differentiable function of t and
dtdW=∂x∂Wdtdx+∂y∂Wdtdy.
The tree diagram is the standard memory aid: W branches to x and y (via ∂W/∂x, ∂W/∂y), and each of x,y branches down to t (via dx/dt, dy/dt); multiply along each branch and add over the two paths.
Theorem 8.3 (Chain Rule, two parameters). If W(x,y) has partial derivatives, and x=x(s,t),y=y(s,t) both have partial derivatives with respect to s and t, then
∂s∂W=∂x∂W∂s∂x+∂y∂W∂s∂y,∂t∂W=∂x∂W∂t∂x+∂y∂W∂t∂y.
This is the tool that converts a function between coordinate systems — e.g. Cartesian (x,y) to polar (r,θ) via x=rcosθ,y=rsinθ — without re-deriving from scratch, and it generalizes to any number of intermediate and parameter variables (three-variable W(x,y,z) with x,y,z each functions of s,t, and so on). …