The Jacobian Matrix

⚡ Key Takeaways

The Jacobian matrix of a differentiable map f:Rn→Rm\mathbf{f}:\mathbb{R}^n\to\mathbb{R}^m is the m×nm\times n matrix of all first-order partial derivatives. It is the best linear approximation of f\mathbf{f} near a point — the multivariable generalization of the derivative. When m=nm=n, its determinant (the Jacobian determinant) measures how the map scales volume locally and governs the change of variables in multiple integrals. Introduced systematically by Carl Gustav Jacob Jacobi in 1841.

💡 The Core Insight

Differentiation in one variable replaces a curve by its tangent line near a point. In several variables, the Jacobian matrix replaces a (possibly curved) map between spaces by a linear map — the tangent map. Everything hard about the nonlinear function is locally tamed into matrix algebra: composition becomes matrix multiplication, invertibility becomes nonzero determinant, and local volume distortion becomes ∣det⁡J∣|\det J|.

Formal Statement

DefinitionJacobian Matrix

Let f:Ω⊆Rn→Rm\mathbf f:\Omega\subseteq\mathbb R^n\to\mathbb R^m with component functions f=(f1,…,fm)\mathbf f=(f_1,\dots,f_m), and let a∈Ω\mathbf a\in\Omega be an interior point where all first partial derivatives exist. The Jacobian matrix of f\mathbf f at a\mathbf a is

1
Jf(a)=∂(f1,…,fm)∂(x1,…,xn)=(∂f1∂x1⋯∂f1∂xn⋮⋱⋮∂fm∂x1⋯∂fm∂xn)∣a.\quad J_{\mathbf f}(\mathbf a)=\frac{\partial(f_1,\dots,f_m)}{\partial(x_1,\dots,x_n)}=\begin{pmatrix}\dfrac{\partial f_1}{\partial x_1}&\cdots&\dfrac{\partial f_1}{\partial x_n}\\[1.2ex]\vdots&\ddots&\vdots\\[0.6ex]\dfrac{\partial f_m}{\partial x_1}&\cdots&\dfrac{\partial f_m}{\partial x_n}\end{pmatrix}\bigg|_{\mathbf a}.

Derivation hint: row ii is the gradient ∇fi\nabla f_i of the ii-th component; entry (i,j)(i,j) is ∂fi/∂xj\partial f_i/\partial x_j evaluated at a\mathbf a. Here fi:Ω→Rf_i:\Omega\to\mathbb R are scalar components, xjx_j are the input coordinates, Ω\Omega is an open domain, and a=(a1,…,an)\mathbf a=(a_1,\dots,a_n). The entry in row ii, column jj is (Jf)ij=∂fi/∂xj(J_{\mathbf f})_{ij}=\partial f_i/\partial x_j.

DefinitionJacobian Determinant

When m=nm=n, Jf(a)J_{\mathbf f}(\mathbf a) is square and its determinant is the Jacobian determinant:

2
det⁡Jf(a)=det⁡ ⁣[∂fi∂xj(a)]i,j=1n.\quad \det J_{\mathbf f}(\mathbf a)=\det\!\left[\frac{\partial f_i}{\partial x_j}(\mathbf a)\right]_{i,j=1}^{n}.

Derivation hint: ordinary determinant of the square matrix [1]; expand by cofactors or use the Leibniz permutation sum. It is often written ∂(f1,…,fn)∂(x1,…,xn)\dfrac{\partial(f_1,\dots,f_n)}{\partial(x_1,\dots,x_n)} and represents the signed local volume-scaling factor of f\mathbf f.

TheoremTotal Derivative and Differentiability

If f\mathbf f is differentiable at a\mathbf a, then there is a unique linear map Df(a):Rn→RmD\mathbf f(\mathbf a):\mathbb R^n\to\mathbb R^m such that

3
lim⁡h→0∥f(a+h)−f(a)−Df(a) h∥∥h∥=0,\quad \lim_{\mathbf h\to\mathbf 0}\frac{\|\mathbf f(\mathbf a+\mathbf h)-\mathbf f(\mathbf a)-D\mathbf f(\mathbf a)\,\mathbf h\|}{\|\mathbf h\|}=0,

Derivation hint: this is the definition of total differentiability — the remainder vanishes faster than first order in ∥h∥\|\mathbf h\|. and the matrix representing Df(a)D\mathbf f(\mathbf a) in the standard bases is exactly Jf(a)J_{\mathbf f}(\mathbf a). A sufficient condition: if all partials ∂fi/∂xj\partial f_i/\partial x_j exist and are continuous on a neighborhood of a\mathbf a (i.e. f∈C1\mathbf f\in C^1), then f\mathbf f is differentiable there.

TheoremMultivariable Chain Rule

If g:Rn→Rp\mathbf g:\mathbb R^n\to\mathbb R^p is differentiable at a\mathbf a and f:Rp→Rm\mathbf f:\mathbb R^p\to\mathbb R^m is differentiable at g(a)\mathbf g(\mathbf a), then f∘g\mathbf f\circ\mathbf g is differentiable at a\mathbf a and

4
Jf∘g(a)=Jf(g(a)) Jg(a).\quad J_{\mathbf f\circ\mathbf g}(\mathbf a)=J_{\mathbf f}\big(\mathbf g(\mathbf a)\big)\,J_{\mathbf g}(\mathbf a).

Derivation hint: composition of linear approximations corresponds to multiplication of their matrices; verify dimensions (m×p)(p×n)=(m×n)(m\times p)(p\times n)=(m\times n).

Why It Holds / Derivation

ProofThe Jacobian represents the total derivative

Step 1 — Linear approximation from differentiability. Suppose f\mathbf f is differentiable at a\mathbf a with linear map L=Df(a)L=D\mathbf f(\mathbf a), so equation [3] holds. We determine the matrix of LL.

Step 2 — Probe along coordinate directions. Take h=t ej\mathbf h=t\,\mathbf e_j, where ej\mathbf e_j is the jj-th standard basis vector and t→0t\to 0. Dividing the numerator of [3] component-wise and using L(tej)=tL(ej)L(t\mathbf e_j)=tL(\mathbf e_j):

5
lim⁡t→0fi(a+tej)−fi(a)−t (Lej)it=0.\quad \lim_{t\to0}\frac{f_i(\mathbf a+t\mathbf e_j)-f_i(\mathbf a)-t\,(L\mathbf e_j)_i}{t}=0.

Derivation hint: restrict [3] to the line a+tej\mathbf a+t\mathbf e_j; the ii-th component of the vanishing quotient must itself vanish.

Step 3 — Identify the entries. Rearranging [5] gives

6
(Lej)i=lim⁡t→0fi(a+tej)−fi(a)t=∂fi∂xj(a).\quad (L\mathbf e_j)_i=\lim_{t\to0}\frac{f_i(\mathbf a+t\mathbf e_j)-f_i(\mathbf a)}{t}=\frac{\partial f_i}{\partial x_j}(\mathbf a).

Derivation hint: the displayed limit is precisely the definition of the partial derivative of fif_i with respect to xjx_j.

Step 4 — Assemble the matrix. The jj-th column of LL is LejL\mathbf e_j, whose ii-th entry is ∂fi/∂xj\partial f_i/\partial x_j. Hence the matrix of LL is exactly Jf(a)J_{\mathbf f}(\mathbf a) from [1]. ■\blacksquare

Step 5 — Chain rule via composition. For [4], if u=g(a+h)−g(a)≈Jg(a)h\mathbf u=\mathbf g(\mathbf a+\mathbf h)-\mathbf g(\mathbf a)\approx J_{\mathbf g}(\mathbf a)\mathbf h, then

7
f(g(a+h))−f(g(a))≈Jf(g(a)) u≈Jf(g(a)) Jg(a) h.\quad \mathbf f(\mathbf g(\mathbf a+\mathbf h))-\mathbf f(\mathbf g(\mathbf a))\approx J_{\mathbf f}(\mathbf g(\mathbf a))\,\mathbf u\approx J_{\mathbf f}(\mathbf g(\mathbf a))\,J_{\mathbf g}(\mathbf a)\,\mathbf h.

Derivation hint: substitute the linear approximation of g\mathbf g into that of f\mathbf f; the error terms are controlled by the differentiability limits and vanish faster than ∥h∥\|\mathbf h\|.

∎
mathematician · Carl Gustav Jacob Jacobi | 1804–1851

A German mathematician at Königsberg and Berlin, Jacobi was a master of determinants and elliptic functions. In his 1841 memoir De determinantibus functionalibus he developed the theory of functional determinants — what we now call Jacobians — proving their multiplicative behavior under composition and their role in the transformation of multiple integrals and the dependence/independence of functions. His name also marks the Jacobi identity, Jacobian elliptic functions, and the Hamilton–Jacobi equation. The functional determinant was a key technical engine of 19th-century analysis and mechanics.

Building Intuition

🧠 Intuition

Picture the map f\mathbf f as deforming space. Near a point a\mathbf a, no matter how curved f\mathbf f is globally, it looks like a single linear transformation — a combination of stretching, rotating, shearing, and reflecting. That linear transformation is the Jacobian matrix.

  • A row ∇fi\nabla f_i tells you how output component fif_i responds to small moves in any input direction.
  • A column tells you the velocity of the output when you push input variable xjx_j alone.
  • The determinant measures how an infinitesimal box of unit volume around a\mathbf a gets resized: ∣det⁡J∣>1|\det J|>1 expands volume, <1<1 shrinks it, =0=0 collapses it onto a lower-dimensional set, and the sign flips when orientation reverses.

When m=n=1m=n=1, the Jacobian "matrix" is the 1×11\times1 matrix [f′(x)][f'(x)] and the determinant is just f′(x)f'(x) — the familiar derivative. The whole apparatus is the natural upgrade of f′f' to many dimensions.

Figure
Local action of a map and its Jacobian: a small grid square at a\mathbf a maps to a sheared parallelogram whose area is ∣det⁡J∣|\det J| times the original.
Domain (input) x₁ x₂ a area = 1 f (J = Df) Codomain (output) y₁ y₂ f(a) area = |det J| J·e₁ J·e₂

Worked Examples

ExamplePolar coordinates: Jacobian determinant

Given. The change of variables f(r,θ)=(x,y)\mathbf f(r,\theta)=(x,y) with

8
x=rcos⁡θ,y=rsin⁡θ.\quad x=r\cos\theta,\qquad y=r\sin\theta.

Derivation hint: standard polar-to-Cartesian transformation; treat r,θr,\theta as inputs.

Step 1 — Compute partials.

∂x∂r=cos⁡θ,∂x∂θ=−rsin⁡θ,∂y∂r=sin⁡θ,∂y∂θ=rcos⁡θ.\frac{\partial x}{\partial r}=\cos\theta,\quad \frac{\partial x}{\partial\theta}=-r\sin\theta,\quad \frac{\partial y}{\partial r}=\sin\theta,\quad \frac{\partial y}{\partial\theta}=r\cos\theta.

Step 2 — Form the Jacobian matrix.

9
J=(cos⁡θ−rsin⁡θsin⁡θrcos⁡θ).\quad J=\begin{pmatrix}\cos\theta&-r\sin\theta\\[0.4ex]\sin\theta&r\cos\theta\end{pmatrix}.

Derivation hint: place ∂(x,y)\partial(x,y) as rows over ∂(r,θ)\partial(r,\theta) as columns, per [1].

Step 3 — Determinant.

10
det⁡J=cos⁡θ(rcos⁡θ)−(−rsin⁡θ)sin⁡θ=r(cos⁡2θ+sin⁡2θ)=r.\quad \det J=\cos\theta(r\cos\theta)-(-r\sin\theta)\sin\theta=r(\cos^2\theta+\sin^2\theta)=r.

Derivation hint: 2×22\times2 determinant ad−bcad-bc, then apply the Pythagorean identity.

Answer. det⁡J=r\boxed{\det J = r} (dimensionless scaling factor per unit input area). Hence the area element transforms as dx dy=r dr dθdx\,dy = r\,dr\,d\theta. Evaluating at r=2,θ=π/4r=2,\theta=\pi/4: a tiny region near that point is magnified in area by a factor of 22.

ExampleLinearizing a nonlinear system at a fixed point

Given. The planar vector field

11
f(x,y)=( x−x3−xy,  2y−y2 ),\quad \mathbf f(x,y)=\big(\,x - x^3 - xy,\; 2y - y^2\,\big),

Derivation hint: a competition-type dynamical system; we want JJ at an equilibrium. with equilibrium (fixed point) at a=(0,0)\mathbf a=(0,0) since f(0,0)=(0,0)\mathbf f(0,0)=(0,0).

Step 1 — Partial derivatives. With f1=x−x3−xyf_1=x-x^3-xy, f2=2y−y2f_2=2y-y^2:

∂f1∂x=1−3x2−y,∂f1∂y=−x,∂f2∂x=0,∂f2∂y=2−2y.\frac{\partial f_1}{\partial x}=1-3x^2-y,\quad \frac{\partial f_1}{\partial y}=-x,\quad \frac{\partial f_2}{\partial x}=0,\quad \frac{\partial f_2}{\partial y}=2-2y.

Step 2 — Jacobian at the origin. Substitute x=0,y=0x=0,y=0:

12
Jf(0,0)=(1002).\quad J_{\mathbf f}(0,0)=\begin{pmatrix}1&0\\0&2\end{pmatrix}.

Derivation hint: evaluate each partial at (0,0)(0,0); the nonlinear terms drop out at the origin.

Step 3 — Stability read-off. Eigenvalues are λ1=1, λ2=2\lambda_1=1,\ \lambda_2=2, both positive.

Answer. Jf(0,0)=diag⁡(1,2), λ=1,2>0\boxed{J_{\mathbf f}(0,0)=\operatorname{diag}(1,2),\ \lambda=1,2>0} — the origin is an unstable node (a source) for the linearized flow. The determinant det⁡J=2≠0\det J=2\neq 0, so the linearization is nondegenerate and (by the Hartman–Grobman theorem) faithfully describes the local phase portrait.

Common Misconceptions

⚠️ Common mistake

Existence of all partial derivatives does NOT imply differentiability. The Jacobian matrix in [1] can be fully written down using only partials, yet the linear-approximation limit [3] may fail. Differentiability is the strictly stronger property. The safe sufficient condition is C1C^1 (continuous partials). Also beware:

  • The Jacobian determinant exists only for square maps (m=nm=n); the Jacobian matrix exists for any m,nm,n.
  • det⁡J=0\det J=0 at a point does not mean the map is non-invertible globally — it means the linearization is singular there (a critical point).
  • Order matters: rows index outputs, columns index inputs. Transposing scrambles the chain rule.
CounterexamplePartials exist but the map is not differentiable

Consider f:R2→Rf:\mathbb R^2\to\mathbb R,

13
f(x,y)={xyx2+y2(x,y)≠(0,0)0(x,y)=(0,0).\quad f(x,y)=\begin{cases}\dfrac{xy}{x^2+y^2}&(x,y)\neq(0,0)\\[1ex]0&(x,y)=(0,0).\end{cases}

Derivation hint: a classic homogeneous-degree-zero function; test continuity and differentiability separately. Both partials at the origin exist and equal 00 (since ff is identically 00 along each axis), so the "Jacobian" Jf(0,0)=(0  0)J_f(0,0)=(0\ \ 0) is defined. But along the line y=xy=x, f(x,x)=12f(x,x)=\tfrac12 for all x≠0x\neq0, so ff is not even continuous at the origin — hence not differentiable. The Jacobian matrix exists but fails to be the total derivative. This shows why C1C^1 (or direct verification of [3]) is required.

Connections

connection

The Jacobian sits at the crossroads of analysis and linear algebra:

  • It generalizes the Derivative of single-variable calculus to maps between Euclidean spaces.
  • Its rows are Gradient vectors; for a scalar field (m=1m=1) the Jacobian is the transposed gradient.
  • The determinant invokes Determinant theory; its eigenvalues connect to Eigenvalues and Eigenvectors for stability analysis.
  • It is the protagonist of the Inverse Function Theorem (nonzero Jacobian determinant ⇒ local invertibility) and the Implicit Function Theorem.
  • In integration it powers the Change of Variables Theorem via ∣det⁡J∣|\det J|.
  • Its matrix product structure is the multivariable Chain Rule.
  • For maps on manifolds it becomes the differential / pushforward in Differential Geometry.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1750 (Cramer). Determinants emerge from solving linear systems (Cramer's rule), seeding the algebra later applied to Jacobians.
- 1773–1812 (Lagrange, Cauchy). Functional determinants appear implicitly in coordinate-transformation formulas for integrals and in mechanics.
- 1815 (Cauchy). Establishes systematic determinant theory, including multiplicativity det⁡(AB)=det⁡Adet⁡B\det(AB)=\det A\det B — the key to the chain rule for Jacobians.
- 1833 (Jacobi, early work). Begins studying determinants of partial-derivative arrays in problems of variable transformation.
- 1841 (Jacobi). Publishes De determinantibus functionalibus, the foundational treatise defining functional determinants, their composition rule, and their use in detecting functional dependence and transforming integrals.
- 1870s–1900s. The terms "Jacobian matrix" and "Jacobian determinant" become standard in textbooks; the inverse and implicit function theorems are rigorously stated.
- 1930s–40s. Fréchet and the abstract calculus formalize the total derivative as a linear map, clarifying the Jacobian as its matrix representation in finite dimensions.
- 1960s onward. Differential topology (Milnor, Smale) and numerical analysis embed the Jacobian in manifold theory and computational algorithms (Newton–Raphson, automatic differentiation).

Subtleties & Limits

open-problem

Boundaries and frontiers around the Jacobian.

  • Critical sets and rank. Where det⁡J=0\det J=0 (the critical points), the map degenerates. Understanding the structure of images of critical sets is the subject of Sard's Theorem and singularity theory (Whitney, Thom) — fully classifying singularities of smooth maps remains a deep, active area.
  • Global vs local invertibility. A nonvanishing Jacobian determinant guarantees only local invertibility. The Jacobian Conjecture (Keller, 1939) asks whether a polynomial map Cn→Cn\mathbb C^n\to\mathbb C^n with constant nonzero Jacobian determinant is globally invertible with polynomial inverse — still unproven for n≥2n\ge 2.
  • Beyond finite dimensions. In infinite-dimensional spaces the matrix picture dissolves; one uses the Fréchet derivative, where no determinant exists and change-of-variables theory requires entirely different machinery (Gaussian measures, Cameron–Martin).
  • Numerical conditioning. Near-singular Jacobians make Newton's method and inverse-kinematics solvers ill-conditioned; robust handling of such degeneracies is an ongoing engineering concern.

See Also

Gradient · Hessian Matrix · Chain Rule · Determinant · Eigenvalues and Eigenvectors · Differential Geometry · Total Derivative