General Chain Rule Formula and Notation
You'll learn how to express the multivariable chain rule in its most general form using summation notation and the Jacobian matrix framework.
The Big Picture
When a multivariable function depends on intermediate variables that themselves depend on other variables, the chain rule tells us how to compute derivatives with respect to the final independent variables. The general formula unifies all the special cases you've seen (paths, implicit differentiation, change of variables) into one systematic notation.
The General Formula
If z = f(u₁, u₂, ..., uₘ) and each uᵢ = uᵢ(t₁, t₂, ..., tₙ), then:
This says: to find how z changes with respect to any independent variable tⱼ, sum over all intermediate variables, multiplying the rate of change of f with respect to each uᵢ by the rate of change of uᵢ with respect to tⱼ.
Jacobian Matrix Perspective
We can organize this as a matrix product. The derivative of z with respect to t = (t₁, ..., tₙ) is:
where J is the Jacobian matrix with entries ∂uᵢ/∂tⱼ. This compactly captures all partial derivatives at once.
Why This Matters
This notation reveals the structure: tree diagrams become matrix multiplications. Every path from z to tⱼ through intermediate variables contributes one term to the sum. It's like tracking all possible routes through a network—each route's contribution multiplies the rates along that path.
Key Takeaway: The general chain rule expresses ∂z/∂tⱼ as a sum over all intermediate variables, or equivalently as a Jacobian matrix product, unifying all multivariable differentiation patterns into one formula.