Skip to content

Jacobian Matrix

Definition

Suppose E⊆RnE\subseteq \mathbb{R}^n, and x0\boldsymbol{x}_0 is an interior point of EE. For a function f ⁣:E→Rk\boldsymbol{f}\colon E\to\mathbb{R}^k that each of its partial derivatives exists at x=x0\boldsymbol{x}=\boldsymbol{x}_0, the following k×nk\times n matrix

Jf(x0)=(∂f1∂x1(x0)⋯∂f1∂xn(x0)⋮⋱⋮∂fk∂x1(x0)⋯∂fk∂xn(x0))=(∇f1(x0)⊤⋮∇fk(x0)⊤)=(∂f∂x1(x0), ⋯ , ∂f∂xn(x0))\begin{aligned} \boldsymbol{\mathrm{J}}\boldsymbol{f}(\boldsymbol{x}_0)&=\begin{pmatrix} \frac{\partial f_1}{\partial x_1}(\boldsymbol{x}_0) & \cdots & \frac{\partial f_1}{\partial x_n}(\boldsymbol{x}_0)\\[8pt] \vdots & \ddots & \vdots\\[4pt] \frac{\partial f_k}{\partial x_1}(\boldsymbol{x}_0) & \cdots & \frac{\partial f_k}{\partial x_n}(\boldsymbol{x}_0) \end{pmatrix}\\[10pt] &=\begin{pmatrix} \boldsymbol{\nabla} f_1 (\boldsymbol{x}_0)^{\top}\\ \vdots\\ \boldsymbol{\nabla} f_k (\boldsymbol{x}_0)^{\top} \end{pmatrix}\\[10pt] &=\left(\frac{\partial \boldsymbol{f}}{\partial x_1}(\boldsymbol{x}_0),\,\cdots,\,\frac{\partial \boldsymbol{f}}{\partial x_n}(\boldsymbol{x}_0)\right) \end{aligned}

is called the derivative matrix or the Jacobian matrix.

Each row is the Gradient of one scalar component fif_i. When the function is totally differentiable, multiplying this matrix by an increment gives the Linear Map that approximates the output change; the existence of partial derivatives alone does not guarantee that approximation.


Interpretation

The Jacobian matrix stacks all the partial derivatives of a vector-valued function, showing how each output changes with each input: the entry in row ii and column jj is ∂fi/∂xj\partial f_i/\partial x_j. When f\boldsymbol{f} is totally differentiable, it is the matrix of the linear map that best approximates f\boldsymbol{f} near x0\boldsymbol{x}_0.

A small square at x0 on a grid is mapped by f onto a small parallelogram at f(x0) on a curved grid; the sides of the parallelogram are the Jacobian matrix applied to the unit vectors.

The small square at x0\boldsymbol{x}_0 with sides along e1\boldsymbol{e}_1 and e2\boldsymbol{e}_2 is sent to the small parallelogram at f(x0)\boldsymbol{f}(\boldsymbol{x}_0) spanned by Jf(x0)e1\boldsymbol{\mathrm{J}}\boldsymbol{f}(\boldsymbol{x}_0)\boldsymbol{e}_1 and Jf(x0)e2\boldsymbol{\mathrm{J}}\boldsymbol{f}(\boldsymbol{x}_0)\boldsymbol{e}_2, the two columns of the matrix, in line with f(x0+h)≈f(x0)+Jf(x0)h\boldsymbol{f}(\boldsymbol{x}_0+\boldsymbol{h})\approx\boldsymbol{f}(\boldsymbol{x}_0)+\boldsymbol{\mathrm{J}}\boldsymbol{f}(\boldsymbol{x}_0)\boldsymbol{h}. The curved grid on the right shows that this is only a first-order picture.

Row ii is the transposed gradient of the component fif_i: how one output responds to all inputs. Column jj is ∂f/∂xj\partial\boldsymbol{f}/\partial x_j: how all outputs respond to one input. The matrix is k×nk\times n, outputs by inputs, so for k=1k=1 it is the row vector ∇f(x0)⊤\boldsymbol{\nabla} f(\boldsymbol{x}_0)^{\top}, and for n=k=1n=k=1 it is the 1×11\times1 matrix f′(x0)f'(x_0).

For a totally differentiable f\boldsymbol{f} with n=kn=k, the absolute value of the determinant of the Jacobian is the factor by which f\boldsymbol{f} scales small areas or volumes near x0\boldsymbol{x}_0, as ∣det⁡A∣|\det\boldsymbol{A}| does for the linear map h↦Ah\boldsymbol{h}\mapsto\boldsymbol{A}\boldsymbol{h}. This factor appears in the transformation of densities of random vectors.

A common slip is to treat the Jacobian as the derivative whenever it exists. All partial derivatives can exist while f\boldsymbol{f} is not totally differentiable, and then the approximation above can fail. In Math IV, Jacobians return in the multivariable chain rule, where the matrices of composed functions are multiplied.


Key Results

  • The total derivative of a differentiable function is represented by the Jacobian matrix: the Jacobian is the matrix of this linear map with respect to the standard bases.
  • The existence of the Jacobian matrix does not necessarily imply the total differentiability of the function.

Examples

  • Let f(x,y)=(x2,xy)\boldsymbol{f}(x,y) = (x^2, xy). Then ∂f∂x=(2x,y)\dfrac{\partial \boldsymbol{f}}{\partial x} = (2x, y), ∂f∂y=(0,x)\dfrac{\partial \boldsymbol{f}}{\partial y} = (0, x), so
Jf(x,y)=(2x0yx).\boldsymbol{\mathrm{J}}\boldsymbol{f}(x,y) = \begin{pmatrix} 2x & 0 \\ y & x \end{pmatrix}.

Prerequisites

Sources

Aliases: Jacobian, derivative matrix, Jacobi matrix Symbols: nabla gradient, partial, real numbers, subset

Last updated: 20 October 2026 03:02