14.510 min read
Justification via LLA
The chain rule follows naturally from the local linear approximation. Near , . Now apply to both sides: near , .
With :
This shows that the LLA of at has Jacobian . The rigorous proof requires bounding the error from composing the two approximations, which is .
Formal View
Theorem 14.3 (Chain Rule) — Chain Rule via LLA
If is differentiable at and is differentiable at , then is differentiable at and
Proof sketch: write with , then apply the LLA for to bound the composite error.
Why This Matters
The LLA derivation makes the chain rule intuitive: compose two linear approximations to get a linear approximation of the composition.
- Forward-mode autodiff: propagate the LLA of inner function through the LLA of outer function
- Perturbation analysis: how does a small change in propagate through then ?
- Physics: how does a small change in coordinates propagate through a physical model?
Quiz
Question 1
In the LLA derivation of the chain rule, the Jacobian of is evaluated at which point?
Question 2
The chain rule says: composing two differentiable functions gives a differentiable function.
Common Mistakes
- Forgetting that the error from composing two LLAs must be separately bounded to complete the proof.
- Thinking the LLA derivation is just a heuristic — with careful error bounds, it becomes a rigorous proof.
- Not checking the domain condition: must be differentiable at , not at .