Jacobian

The Jacobian generalizes the derivative of a scalar function to a vector-valued function. 2 objects carry the name.

  • The Jacobian matrix
    The matrix of first partial derivatives of a vector-valued function.
  • The Jacobian determinant
    The determinant of the Jacobian matrix of a transformation.

Jacobian Matrix

For f:Rn→Rmf : \mathbb{R}^n \to \mathbb{R}^m with coordinate functions f1,f2,…,fmf_1, f_2, \ldots, f_m, the Jacobian matrix Jpf(x)\mathbf{J}_p f(\mathbf{x}) is the m×nm \times n matrix of first partial derivatives

Jpf(x)=(∂f1∂x1∂f1∂x2⋯∂f1∂xn∂f2∂x1∂f2∂x2⋯∂f2∂xn⋮⋮⋱⋮∂fm∂x1∂fm∂x2⋯∂fm∂xn)\mathbf{J}_p f(\mathbf{x}) = \begin{pmatrix} \frac{\partial f_1}{\partial x_1} & \frac{\partial f_1}{\partial x_2} & \cdots & \frac{\partial f_1}{\partial x_n} \\ \frac{\partial f_2}{\partial x_1} & \frac{\partial f_2}{\partial x_2} & \cdots & \frac{\partial f_2}{\partial x_n} \\ \vdots & \vdots & \ddots & \vdots \\ \frac{\partial f_m}{\partial x_1} & \frac{\partial f_m}{\partial x_2} & \cdots & \frac{\partial f_m}{\partial x_n} \end{pmatrix}

Row ii of Jpf(x)\mathbf{J}_p f(\mathbf{x}) is the gradient of fif_i.

Jacobian Determinant

For a transformation TT, the Jacobian determinant is the determinant of the Jacobian matrix of TT.

For TT from the uvuv-plane to the xyxy-plane, x=x(u,v)x = x(u,v), y=y(u,v)y = y(u,v):

J(u,v)=∂(x,y)∂(u,v)=∣∂x∂u∂x∂v∂y∂u∂y∂v∣=∂x∂u∂y∂v−∂x∂v∂y∂uJ(u,v) = \frac{\partial(x,y)}{\partial(u,v)} = \begin{vmatrix} \frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\[6pt] \frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} \end{vmatrix} = \frac{\partial x}{\partial u}\frac{\partial y}{\partial v} - \frac{\partial x}{\partial v}\frac{\partial y}{\partial u}

For TT from uvwuvw-space to xyzxyz-space, x=x(u,v,w)x = x(u,v,w), y=y(u,v,w)y = y(u,v,w), z=z(u,v,w)z = z(u,v,w):

J(u,v,w)=∂(x,y,z)∂(u,v,w)=∣∂x∂u∂x∂v∂x∂w∂y∂u∂y∂v∂y∂w∂z∂u∂z∂v∂z∂w∣J(u,v,w) = \frac{\partial(x,y,z)}{\partial(u,v,w)} = \begin{vmatrix} \frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} & \frac{\partial x}{\partial w} \\[6pt] \frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} & \frac{\partial y}{\partial w} \\[6pt] \frac{\partial z}{\partial u} & \frac{\partial z}{\partial v} & \frac{\partial z}{\partial w} \end{vmatrix}

Examples:

  • ∂(x,y)∂(r,θ)=r\dfrac{\partial(x,y)}{\partial(r,\theta)} = r, for polar coordinates x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta
  • ∂(x,y,z)∂(ρ,ϕ,θ)=ρ2sin⁡ϕ\dfrac{\partial(x,y,z)}{\partial(\rho,\phi,\theta)} = \rho^2\sin\phi, for spherical coordinates

First-Order Approximation

The Jacobian matrix gives the first-order approximation of ff around x0\mathbf{x}_0. See Approximation.

f(x)≈f(x0)+Jpf(x0) (x−x0)f(\mathbf{x}) \approx f(\mathbf{x}_0) + \mathbf{J}_p f(\mathbf{x}_0)\,(\mathbf{x} - \mathbf{x}_0)

For scalar ff, the gradient form is

f(x)≈f(x0)+∇f(x0)T(x−x0)f(\mathbf{x}) \approx f(\mathbf{x}_0) + \nabla f(\mathbf{x}_0)^T(\mathbf{x} - \mathbf{x}_0)

Worked Examples

Example 1

Find the Jacobian matrix of the system

f1(x)=3x1−cos⁡(x2x3)−12f2(x)=x12−81(x2+0.1)2+sin⁡x3+1.06f3(x)=e−x1x2+20x3+10π−33\begin{aligned} f_1(\mathbf{x}) &= 3x_1 - \cos(x_2 x_3) - \tfrac{1}{2} \\ f_2(\mathbf{x}) &= x_1^2 - 81(x_2 + 0.1)^2 + \sin x_3 + 1.06 \\ f_3(\mathbf{x}) &= e^{-x_1 x_2} + 20x_3 + \tfrac{10\pi - 3}{3} \end{aligned}
Solution Reveal Hide

The partial derivatives give

J(x)=(3x3sin⁡(x2x3)x2sin⁡(x2x3)2x1−162(x2+0.1)cos⁡x3−x2e−x1x2−x1e−x1x220)J(\mathbf{x}) = \begin{pmatrix} 3 & x_3 \sin(x_2 x_3) & x_2 \sin(x_2 x_3) \\ 2x_1 & -162(x_2 + 0.1) & \cos x_3 \\ -x_2 e^{-x_1 x_2} & -x_1 e^{-x_1 x_2} & 20 \end{pmatrix}

Example 2

Find the Jacobian matrix of f1=x12+x22f_1 = x_1^2 + x_2^2 and f2=x1x2f_2 = x_1 x_2, then evaluate it at x=(1,2)T\mathbf{x} = (1, 2)^T.

Solution Reveal Hide
J(x)=(2x12x2x2x1)J(\mathbf{x}) = \begin{pmatrix} 2x_1 & 2x_2 \\ x_2 & x_1 \end{pmatrix}J(1,2)=(2421)J(1, 2) = \begin{pmatrix} 2 & 4 \\ 2 & 1 \end{pmatrix}
Written by October 21, 2026 1 min read
Was this helpful?