11.912 min read
The Jacobian Matrix
For a scalar function , the derivative at a point is a row vector of partial derivatives. The Jacobian matrix generalizes this to vector-valued functions .
If , then the Jacobian is the matrix whose entry is :
Row of the Jacobian is the gradient of component . Column of the Jacobian is the vector of partial derivatives with respect to — how each output changes when input changes.
Formal View
Definition 11.10 — Jacobian Matrix
Let with component functions . The Jacobian matrix of at is
where each row is the gradient (transposed) of one output component.
Also written , , or .
Theorem 11.3 — LLA via Jacobian
If is differentiable at , then
with error . The Jacobian is the unique matrix satisfying this approximation.
Interactive Visualization
Matrix-Vector Multiplication
Why This Matters
The Jacobian is the fundamental object of multivariable calculus — it encodes all first-order information about a vector-valued map.
- Neural network backpropagation computes Jacobians to propagate gradients through layers
- Robotics: Jacobians relate joint velocities to end-effector velocities
- The determinant of the Jacobian (Jacobian determinant) gives volume scaling factors in change-of-variables for integrals
Quiz
Question 1
For , what is the shape of the Jacobian matrix ?
Question 2
The entry of is:
Common Mistakes
- Transposing the Jacobian — rows correspond to output components, columns to input variables.
- Confusing the Jacobian (matrix) with the gradient (vector) — the gradient is the Jacobian only for scalar-valued functions, and it is a column vector, not a row vector.
- Computing entries as instead of — the first index is the output, the second is the input.