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 whose partial derivatives all exist 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.

An input square of side h and its affine approximation at f(x0); the output sides are h times the Jacobian columns, against the curved image grid.

The square has sides he1h\boldsymbol{e}_1 and he2h\boldsymbol{e}_2. Its image is approximated by the parallelogram with sides h Jf(x0)e1h\,\mathrm{J}\boldsymbol{f}(\boldsymbol{x}_0)\boldsymbol{e}_1 and h Jf(x0)e2h\,\mathrm{J}\boldsymbol{f}(\boldsymbol{x}_0)\boldsymbol{e}_2. The figure uses f(u,v)=(1.3u+0.25v+0.08v2, v+0.3u+0.1u2)\boldsymbol{f}(u,v)=(1.3u+0.25v+0.08v^2,\,v+0.3u+0.1u^2), x0=(0.5,0.5)\boldsymbol{x}_0=(0.5,0.5) and h=0.6h=0.6. Thus f(x0)=(0.795,0.675)\boldsymbol{f}(\boldsymbol{x}_0)=(0.795,0.675) and the Jacobian columns are (1.3,0.4)⊤(1.3,0.4)^{\top} and (0.33,1)⊤(0.33,1)^{\top}. The filled output is the affine approximation, not the exact image under the nonlinear map; the curved grid shows the distinction.

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: 27 October 2026 11:52