The Total Derivative as a Jacobian
Learning objectives
- Define the Jacobian matrix of
- Compute Jacobians by collecting partial derivatives
- Interpret the Jacobian as the best linear approximation
- Predict how Jacobian determinants govern volume scaling and local invertibility
The single most important object in multivariable calculus is the Jacobian matrix. In one variable, the derivative is the slope of the tangent line, the best linear approximation to at . In many variables, the derivative is a matrix: the Jacobian . Every theorem you learn for the rest of this chapter, the chain rule, the Inverse Function Theorem, the Implicit Function Theorem, the change-of-variables formula, is a statement about Jacobians. Get comfortable with this one object and the rest of multivariable analysis falls into place.
The definition
For with coordinate functions , the Jacobian matrix at a point is the matrix of partial derivatives:
Df(\mathbf{a})=\begin{pmatrix}\dfrac{\partial f_1}{\partial x_1}&\cdots&\dfrac{\partial f_1}{\partial x_n}\\\vdots&\ddots&\vdots\\\dfrac{\partial f_m}{\partial x_1}&\cdots&\dfrac{\partial f_m}{\partial x_n}\end{pmatrix}
Read row-by-row: the -th row is the gradient of the -th coordinate function. Read column-by-column: the -th column tells you how all the output coordinates change when moves.
Why the matrix IS the derivative
The defining property of is the same approximation property the one-variable derivative had: for small , where the error is . The Jacobian is the unique linear map (matrix) that makes this approximation work to first order. Everything else flows from this: the chain rule becomes matrix multiplication, ; the IFT and IMT become statements about when this matrix is invertible.
Three special cases
- Scalar field (): The Jacobian is a row vector, the gradient .
- Parametric curve (): The Jacobian is a column vector, the tangent vector .
- Square Jacobian (): The determinant measures local volume scaling and tells you whether the map is locally invertible.
The matrix-multiplier above lets you set a matrix and watch it deform the unit square. That is exactly what the Jacobian does at every point: it gives you the local linear deformation of an infinitesimal patch. The determinant you see in the widget is the local area-scaling factor, positive means orientation-preserving, negative means reflected, zero means the map collapses dimensions (and is locally non-invertible).
- Machine learning, backpropagation: Training a neural network is repeated chain-rule application across stacked layers. Each layer has a Jacobian ; the full network's Jacobian is the product . Backprop computes this product in reverse order, which is more efficient when the output dimension is small.
- Robotics, inverse kinematics: The Jacobian of the forward-kinematics map relates joint-velocity to end-effector velocity: . Solving for joint motion to achieve a desired end-effector trajectory requires inverting , the inverse-kinematics problem in one equation.
- Continuous optimization, Newton's method: The multivariable Newton update is \mathbf{x}_{k+1}=\mathbf{x}_k-[Df(\mathbf{x}_k)]^{-1}f(\mathbf{x}_k). The Jacobian inverse is the search direction. When is well-conditioned, convergence is quadratic; when it is near-singular, you get the famous "Newton breaks" behaviour.
- Computer graphics, texture mapping: The Jacobian determinant of a UV-mapping tells you the local area-scaling between texture space and surface space. Graphics engines use it to adjust mipmap selection and avoid aliasing on stretched textures.
Pause and think: Polar coordinates send to . The Jacobian determinant is . What does it mean geometrically that the determinant is rather than ? (Hint: an infinitesimal rectangle in polar space corresponds to an infinitesimal patch of area in the plane, bigger patches farther from the origin.)
Try it
- Predict first: what is the Jacobian of ? (This is the squaring map on complex numbers; its Jacobian determinant is .) Find where the map fails to be locally invertible.
- Compute the Jacobian of the spherical-coordinate map . Confirm that its determinant is , the factor in spherical-coordinate integrals.
- Predict: if and , what shape is the chain-rule Jacobian ? Dimensions: . (It must match rows and columns.)
- Use the matrix-multiplier widget above with the matrix \begin{pmatrix}1&1\\0&1\end{pmatrix}. Notice: determinant is 1 (area preserved) but the unit square gets sheared into a parallelogram. The Jacobian captures both effects.
- Trap: the Jacobian determinant being zero at a point does NOT always mean the map fails to be invertible, it just means the IFT cannot guarantee invertibility. Try : but is globally invertible.
A trap to watch for
The existence of all partial derivatives at a point does NOT imply that is differentiable there. A function can have and at the origin yet fail to have a tangent plane. The sufficient condition is that the partials are continuous in a neighbourhood (i.e. is ), in that case the Jacobian exists and gives the correct linear approximation. Always check continuity of partials, not just existence, before invoking the Jacobian as "the derivative."
What you now know
You can compute Jacobians for any vector-valued function and read off geometric information from their entries and determinants. The next two sections use this matrix to state the two cornerstone theorems of multivariable analysis: the Inverse Function Theorem (when can we invert ?) and the Implicit Function Theorem (when does define as a function of ?).
Mark section complete →
References
- Garrity, T. (2002). All the Mathematics You Missed. Cambridge UP, ch. 3.
- Spivak, M. (1965). Calculus on Manifolds. W. A. Benjamin, ch. 2.
- Munkres, J. R. (1991). Analysis on Manifolds. Westview Press, ch. 2.
- Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.). McGraw-Hill, ch. 9.
- Apostol, T. M. (1974). Mathematical Analysis (2nd ed.). Addison-Wesley, ch. 12.