U-Derivative from the Jacobian
We now have a clean computational workflow for directional derivatives. Given and a point : (1) compute all partial derivatives at , assembling them into the Jacobian row vector ; (2) for any unit direction , compute (matrix-vector product).
The matrix-vector product interpretation is powerful: the Jacobian row vector "dot products" with any direction to give the directional derivative. This is exactly the action of a linear functional on a vector.
For a vector-valued function , the directional derivative in direction is — a vector of directional derivatives, one for each component.
Formal View
Interactive Visualization
Matrix-Vector Multiplication
Why This Matters
Framing directional derivatives as matrix-vector products connects analysis to linear algebra.
- Automatic differentiation: Jacobian-vector products (JVPs) and vector-Jacobian products (VJPs) are the two modes of AD
- Adjoint methods in PDE-constrained optimization use Jacobian transposes
- Sensitivity analysis: how does the output change when inputs change in a specific direction?
Quiz
For with Jacobian at , what is for ?
Common Mistakes
- Computing (wrong order) instead of — matrix multiplication order matters.
- For scalar functions, confusing the gradient column vector with the Jacobian row vector in the dot product.