01 / 21

Jacobian
Determinants

Master how the Jacobian matrix and its determinant enable coordinate transformations and measure how mappings stretch or compress regions.

Multivariable Calculus

What Is a Jacobian?

When you have a transformation that maps one set of variables to another, such as \( (x, y) \to (u, v) \), the Jacobian matrix collects all the first-order partial derivatives of the output variables with respect to the input variables.

The Jacobian determinant \( \det(J) \) tells us the local scaling factor: how much area (or volume) is stretched or compressed by the transformation at each point.

Why the Jacobian Matters

Change of Variables
When switching coordinate systems in integrals, the Jacobian determinant provides the correct scaling factor for \(dA\) or \(dV\).
Area/Volume Distortion
The absolute value \( |\det(J)| \) measures how a tiny region's area changes under the mapping: stretched, compressed, or preserved.
Invertibility Test
If \(\det(J) \neq 0\) at a point, the transformation is locally invertible there by the Inverse Function Theorem.

Visual Intuition: Grid Mapping

(x, y) space
\(dA\)
F (u, v) space
\(dA'\)
\( dA' \approx |\det(J)| \cdot dA \)

The Core Formula

This is the determinant of a \( 2 \times 2 \) matrix. For a \(3 \times 3\) transformation \( (x,y,z) \to (u,v,w) \), you compute the full \(3 \times 3\) determinant using cofactor expansion or the rule of Sarrus.

Polar Coordinates: The Origin of \(r\, dr\, d\theta\)

The classic example: converting from Cartesian \( (x, y) \) to polar \( (r, \theta) \) where \( x = r\cos\theta \) and \( y = r\sin\theta \).

\( J = \)
\(\frac{\partial x}{\partial r} = \cos\theta\) \(\frac{\partial x}{\partial \theta} = -r\sin\theta\) \(\frac{\partial y}{\partial r} = \sin\theta\) \(\frac{\partial y}{\partial \theta} = r\cos\theta\)
\( \det(J) = r \)

Jacobian Matrix vs. Jacobian Determinant

Jacobian Matrix Jacobian Determinant
What is it? A matrix of all first-order partial derivatives A single scalar: the determinant of that matrix
Symbol \( J \) or \( D\mathbf{F} \) \( \det(J) \) or \( \frac{\partial(u,v)}{\partial(x,y)} \)
Output An \(n \times n\) matrix A real number (can be positive, negative, or zero)
Geometric meaning Full local linear approximation of the map Local area (or volume) scaling factor
Use in integrals Not used directly Multiply by \( |\det(J)| \) when changing variables

What the Sign Tells You

\( \det(J) > 0 \)
The transformation preserves orientation. A counterclockwise loop in input space stays counterclockwise in output space.
\( \det(J) < 0 \)
The transformation reverses orientation. A counterclockwise loop becomes clockwise. Think of it as a reflection.
\( \det(J) = 0 \)
The transformation collapses dimension. A 2D region gets squashed to a line or point: the map is not locally invertible there.

How to Compute a Jacobian

1
Identify the transformation. Write out \(u = u(x,y)\) and \(v = v(x,y)\) explicitly.
2
Compute all four partial derivatives: \( \frac{\partial u}{\partial x} \), \( \frac{\partial u}{\partial y} \), \( \frac{\partial v}{\partial x} \), \( \frac{\partial v}{\partial y} \).
3
Arrange them into the Jacobian matrix with \( u \)-partials in the first row and \( v \)-partials in the second row.
4
Take the determinant: \( \det(J) = \frac{\partial u}{\partial x}\cdot\frac{\partial v}{\partial y} - \frac{\partial u}{\partial y}\cdot\frac{\partial v}{\partial x} \).
5
For integrals, take the absolute value \( |\det(J)| \) and substitute into the integral.

Example 1: Linear Transformation

Let \(u = 2x + 3y\) and \(v = x - y\). Find \(\det(J)\).

1
Partial derivatives: \( \frac{\partial u}{\partial x} = 2 \), \( \frac{\partial u}{\partial y} = 3 \), \( \frac{\partial v}{\partial x} = 1 \), \( \frac{\partial v}{\partial y} = -1 \).
2
Jacobian matrix: \( J = \begin{pmatrix} 2 & 3 \\ 1 & -1 \end{pmatrix} \).
3
Determinant: \( \det(J) = (2)(-1) - (3)(1) = -2 - 3 = \) \( -5 \).

Example 2: Nonlinear Mapping

Let \(u = x^2 - y^2\) and \(v = 2xy\). Compute \(\det(J)\).

1
Partial derivatives: \( \frac{\partial u}{\partial x} = 2x \), \( \frac{\partial u}{\partial y} = -2y \), \( \frac{\partial v}{\partial x} = 2y \), \( \frac{\partial v}{\partial y} = 2x \).
2
Matrix: \( J = \begin{pmatrix} 2x & -2y \\ 2y & 2x \end{pmatrix} \).
3
Determinant: \( (2x)(2x) - (-2y)(2y) = 4x^2 + 4y^2 = \) \( 4(x^2 + y^2) \).

Example 3: Spherical Coordinates

For \(x = \rho\sin\phi\cos\theta\), \(y = \rho\sin\phi\sin\theta\), \(z = \rho\cos\phi\), the Jacobian is a \(3 \times 3\) matrix.

\( \rho^2 \)
Radial scaling: volume elements grow quadratically with distance from origin.
\( \sin\phi \)
Angular compression near the poles (\( \phi = 0 \) or \( \pi \)), maximum at the equator (\( \phi = \pi/2 \)).

Putting It All Together

Evaluate \(\displaystyle\iint_R (x^2 + y^2)\, dA\) over the disk \(x^2 + y^2 \leq 4\) using polar coordinates.

1
Substitution: \( x^2 + y^2 = r^2 \), and \( |\det(J)| = r \).
2
New limits: \( 0 \leq r \leq 2 \), \( 0 \leq \theta \leq 2\pi \).
3
Integral becomes: \( \displaystyle\int_0^{2\pi}\!\int_0^2 r^2 \cdot r\, dr\, d\theta = \int_0^{2\pi}\!\int_0^2 r^3\, dr\, d\theta \).
4
Evaluate: \( \displaystyle\int_0^2 r^3\, dr = \frac{r^4}{4}\Big|_0^2 = 4 \). Then \( \displaystyle\int_0^{2\pi} 4\, d\theta = \) \( 8\pi \).

The Inverse Jacobian

Sometimes we define a transformation as \((u,v) \to (x,y)\) instead of \((x,y) \to (u,v)\). The two Jacobians are related by a reciprocal:

This is extremely useful: compute whichever direction is easier, then take the reciprocal if you need the other one.

Common Mistakes to Avoid

✕ Forgetting the Absolute Value
In integrals, always use \( |\det(J)| \). The determinant can be negative (orientation reversal), but area is always positive.
✕ Wrong Partial Derivative Order
Rows correspond to output variables (\(u, v, \dots\)), columns to input variables (\(x, y, \dots\)). Swapping two rows or two columns will incorrectly negate the determinant.
✕ Using Forward When You Need Inverse
If given \(x = r\cos\theta\), you are defining \((r,\theta) \to (x,y)\). This gives \(\frac{\partial(x,y)}{\partial(r,\theta)}\), not \(\frac{\partial(r,\theta)}{\partial(x,y)}\).

Summary: Key Jacobians

Coordinate System Transformation \( |\det(J)| \) Volume Element
Polar (2D) \( x = r\cos\theta,\; y = r\sin\theta \) \( r \) \( r\, dr\, d\theta \)
Cylindrical (3D) \( x = r\cos\theta,\; y = r\sin\theta,\; z = z \) \( r \) \( r\, dr\, d\theta\, dz \)
Spherical (3D) \( x = \rho\sin\phi\cos\theta,\; \ldots \) \( \rho^2\sin\phi \) \( \rho^2\sin\phi\, d\rho\, d\phi\, d\theta \)

Question 1 of 5

For the transformation \(u = 3x + y\), \(v = x - 2y\), what is \(\det(J)\)?

Question 2 of 5

In the change of variables formula \(\iint_R f(x,y)\,dx\,dy = \iint_{R'} g(u,v)\,|\det(J)|\,du\,dv\), why do we use the absolute value of the determinant?

Question 3 of 5

For polar coordinates, the Jacobian determinant is \( r \). What does this tell us about area elements near the origin?

Question 4 of 5

If \(u = xy\) and \(v = x/y\), what is \(\det(J)\) at the point \((2, 1)\)?

Question 5 of 5

The Jacobian determinant for spherical coordinates is \( \rho^2\sin\phi \). At which value of \( \phi \) does the volume element vanish?