Jacobian of the Transformation: Formula and Examples
By Dr. Muhammad Amjad Khadim (PhD Mathematics) · Updated December 2026
Why does a double integral in polar coordinates need an extra r? Why does the volume element in spherical coordinates contain r² sin θ? Both answers come from the same object: the Jacobian of the transformation. The Jacobian measures how a change of variables stretches or squeezes area and volume. In this guide I define the Jacobian matrix and determinant, compute the Jacobian for polar, cylindrical and spherical coordinates, and work through change-of-variables integrals step by step.
The Jacobian matrix
Suppose F is a vector function with components F₁, …, Fₘ that each depend on variables x₁, …, xₙ. The Jacobian matrix collects every first partial derivative:
Example: F(x, y) = (x²y, 5x + sin y). Then
Each row is a gradient, so the Jacobian matrix is the natural generalisation of the derivative to vector functions. It gives the best linear approximation F(a + h) ≈ F(a) + J h, which is the multivariable version of the tangent line. It also links to other vector operations: the divergence of a vector field is the trace (sum of diagonal entries) of its Jacobian matrix.
The Jacobian determinant
When the number of input and output variables is the same, J is square and has a determinant. For a change of variables x = x(u, v), y = y(u, v):
Here x_u means ∂x/∂u. In three dimensions you take the 3 × 3 determinant of the matrix of partial derivatives of (x, y, z) with respect to (u, v, w).
What the determinant means
A tiny rectangle of area du dv in the uv-plane is mapped to a tiny parallelogram in the xy-plane. Its area is approximately |∂(x, y)/∂(u, v)| du dv. That is the whole reason the Jacobian appears in integrals:
- |J| > 1: the map stretches area.
- |J| < 1: the map shrinks area.
- J < 0: orientation is reversed, like a reflection. Use the absolute value.
- J = 0: area is crushed to zero; the map is not locally invertible there.
Example 1: a linear transformation
Let x = 2u + v and y = u − 3v. Then x_u = 2, x_v = 1, y_u = 1, y_v = −3, so
∂(x, y)/∂(u, v) = (2)(−3) − (1)(1) = −7, and |J| = 7.
Every region in the uv-plane becomes a region seven times larger in the xy-plane, with its orientation flipped. For linear maps the Jacobian is constant and equals the determinant of the coefficient matrix.
Jacobian for polar coordinates
With x = r cos θ and y = r sin θ:
- x_r = cos θ, x_θ = −r sin θ
- y_r = sin θ, y_θ = r cos θ
∂(x, y)/∂(r, θ) = cos θ · r cos θ − (−r sin θ) · sin θ = r cos²θ + r sin²θ = r.
Jacobians for common coordinate systems
| System | Transformation | Jacobian | Element |
|---|---|---|---|
| Polar | x = r cos θ, y = r sin θ | r | dA = r dr dθ |
| Cylindrical | x = ρ cos φ, y = ρ sin φ, z = z | ρ | dV = ρ dρ dφ dz |
| Spherical | x = r sin θ cos φ, y = r sin θ sin φ, z = r cos θ | r² sin θ | dV = r² sin θ dr dθ dφ |
| Linear map | x = au + bv, y = cu + dv | ad − bc | dA = |ad − bc| du dv |
Jacobian of spherical coordinates
For x = r sin θ cos φ, y = r sin θ sin φ, z = r cos θ (θ measured from the z-axis), expanding the 3 × 3 determinant of partial derivatives gives
The factor r² comes from the two angular directions both growing in length with r, and sin θ shrinks circles of latitude near the poles. The same scale factors produce the Laplacian in spherical coordinates.
Check with a sphere: the volume of a ball of radius a is ∫₀^{2π} ∫₀^{π} ∫₀^{a} r² sin θ dr dθ dφ = (a³/3)(2)(2π) = 4πa³/3. ✓
Example 2: change of variables in a double integral
Evaluate ∬R (x + y) dA, where R is the parallelogram bounded by x + y = 0, x + y = 2, x − y = 0 and x − y = 4.
Step 1: choose new variables that match the boundaries
Let u = x + y and v = x − y. Then R becomes the rectangle 0 ≤ u ≤ 2, 0 ≤ v ≤ 4.
Step 2: solve for x and y
x = (u + v)/2, y = (u − v)/2.
Step 3: compute the Jacobian
∂(x, y)/∂(u, v) = (1/2)(−1/2) − (1/2)(1/2) = −1/2, so |J| = 1/2.
Step 4: integrate
∬ (x + y) dA = ∫₀⁴ ∫₀² u · (1/2) du dv = (1/2) · 2 · 4 = 4.
Without the change of variables this would need splitting the region into pieces. The trick is always to pick u and v so that the boundaries become constant.
Example 3: the Gaussian integral
The famous result ∫−∞∞ e−x² dx = √π is proved with the polar Jacobian. Squaring the integral gives a double integral over the whole plane:
∬ e−(x² + y²) dA = ∫₀^{2π} ∫₀^∞ e−r² r dr dθ = 2π · (1/2) = π.
The extra r from the Jacobian is exactly what makes the inner integral easy. Taking the square root gives √π.
Jacobian of the inverse transformation
If you know u and v as functions of x and y, it may be easier to compute ∂(u, v)/∂(x, y) and use
In Example 2, u = x + y and v = x − y give ∂(u, v)/∂(x, y) = (1)(−1) − (1)(1) = −2, so ∂(x, y)/∂(u, v) = −1/2, matching Step 3.
Where the Jacobian is used
- Multiple integrals: polar, cylindrical and spherical coordinates, and custom substitutions.
- Vector calculus: parametrising surfaces for surface integrals and flux, and in Green's theorem and the divergence theorem.
- Probability: transforming joint densities of random variables.
- Robotics and engineering: relating joint speeds to the speed of a robot arm's tip.
- Numerical methods: Newton's method for systems uses the Jacobian matrix at every step.
Common mistakes
- Forgetting the Jacobian entirely, for example writing dx dy = dr dθ.
- Forgetting the absolute value, which can give a negative area.
- Using the wrong direction. The integral needs ∂(x, y)/∂(u, v), not ∂(u, v)/∂(x, y).
- Mixing angle conventions in spherical coordinates.
Frequently asked questions
What is the Jacobian of a transformation?
For a change of variables x = x(u, v), y = y(u, v), the Jacobian is the determinant ∂(x, y)/∂(u, v) = x_u y_v − x_v y_u. Its absolute value tells you how much a small area du dv is stretched, so dx dy = |∂(x, y)/∂(u, v)| du dv.
What is the Jacobian for polar coordinates?
For x = r cos θ and y = r sin θ, the Jacobian is r. That is why dA = r dr dθ in polar coordinates.
What is the Jacobian of spherical coordinates?
With r the radius, θ the polar angle and φ the azimuthal angle, the Jacobian is r² sin θ, so dV = r² sin θ dr dθ dφ. In the maths convention (ρ, φ polar, θ azimuth) it is written ρ² sin φ.
What is the difference between the Jacobian matrix and the Jacobian determinant?
The Jacobian matrix contains every first partial derivative ∂Fᵢ/∂xⱼ of a vector function. When the matrix is square, its determinant is the Jacobian determinant, which is the scale factor used in change of variables.
Why do we take the absolute value of the Jacobian?
Areas and volumes are positive. A negative Jacobian only means the transformation reverses orientation (like a mirror), so the absolute value is used in integrals.
What does a Jacobian of zero mean?
At a point where the Jacobian determinant is zero, the transformation squashes area to nothing and is not locally invertible there. For polar coordinates this happens at the origin, where r = 0.
How is the Jacobian of the inverse transformation related?
They are reciprocals: ∂(u, v)/∂(x, y) = 1 / (∂(x, y)/∂(u, v)). Sometimes it is easier to compute the Jacobian in one direction and invert it.
Summary
The Jacobian matrix holds all first partial derivatives of a vector function. Its determinant, the Jacobian of the transformation, is the local area or volume scale factor: r for polar, ρ for cylindrical and r² sin θ for spherical coordinates. Use its absolute value whenever you change variables in an integral, choose new variables that make the boundaries constant, and remember that the inverse map has the reciprocal Jacobian. For more practice, see Paul's Online Notes on change of variables.
Comments
Post a Comment