Linear Functions and the Jacobian
For a linear function (where is an matrix), the Jacobian is simply itself — constant everywhere.
This makes intuitive sense: the local linear approximation to a linear function is the function itself. The LLA becomes , which is exact (zero error).
More generally, for an affine function , the Jacobian is again — the constant term disappears because differentiation kills constants. This reflects the fact that the derivative measures rate of change, and constants do not change.
Formal View
In particular, the Jacobian of the identity function is the identity matrix .
Interactive Visualization
Matrix-Vector Multiplication
Why This Matters
The fact that the Jacobian of a linear function is constant is why linear regression has a simple, closed-form solution.
- Linear regression gradient: — a linear function of
- Sensitivity analysis: for linear systems, the Jacobian gives exact (not approximate) sensitivities
- Change of coordinates: the Jacobian of a linear change of coordinates is the transformation matrix itself
Quiz
For (a linear functional), the Jacobian is:
Adding a constant vector to a function changes its Jacobian.
Common Mistakes
- Thinking the Jacobian of an affine function includes the constant offset — it does not.
- For scalar functions, confusing the Jacobian row vector with the gradient column vector.
- Forgetting that linear function LLAs have zero error (not just small error).