12.38 min read
U-Derivative and the LLA
The local linear approximation gives us a powerful formula for directional derivatives. If is differentiable at , then near we have .
Substituting into the definition: .
In terms of the gradient: . This is the fundamental formula connecting the Jacobian, the gradient, and directional derivatives.
Formal View
Theorem 12.2 — Directional Derivative from Jacobian
If is differentiable at , then for any unit vector :
This shows that once you know the gradient, you know all directional derivatives. The gradient encodes all first-order information about .
Why This Matters
This formula reduces computing directional derivatives to computing the gradient once and taking dot products.
- Efficient computation: compute once, then get any directional derivative for free
- Understanding why gradient descent works: the gradient direction maximizes
- Basis for Lagrange multiplier methods and constrained optimization
Quiz
Question 1
If and , what is ?
Question 2
If has all partial derivatives at , then the directional derivative formula holds.
Common Mistakes
- Applying the formula without verifying differentiability.
- Confusing (scalar) with (matrix/row vector).
- Forgetting to normalize before applying the formula.