jacobian of spherical coordinates

Jacobian of Spherical Coordinates: Formula, Derivation, and Examples

By David Garcia
AD

The Jacobian of spherical coordinates is the mathematical key that explains why the volume element becomes ρ² sin φ dρ dφ dθ instead of simply dρ dφ dθ. When you switch from Cartesian coordinates (x, y, z) to spherical coordinates (ρ, φ, θ), you are not just renaming points. You are bending, stretching, and rotating the coordinate grid, and the Jacobian determinant measures exactly how much an infinitesimal volume changes under that transformation. This single factor appears throughout multivariable calculus, physics, and engineering, from evaluating triple integrals over spheres to solving the Schrödinger equation for the hydrogen atom.

Many students first encounter the spherical volume element as a formula to memorize. A more durable approach is to derive it from the Jacobian matrix of the coordinate mapping. Once you see how the partial derivatives combine, the mysterious ρ² sin φ becomes a natural consequence of geometry rather than an arbitrary rule. The sections below break down the transformation, compute the determinant step by step, and explore where this Jacobian matters in practical problems.

Understanding the Spherical Coordinate Transformation

Spherical coordinates describe a point in three-dimensional space using a radial distance and two angles. With the common physics convention, ρ is the distance from the origin, φ is the polar angle measured from the positive z-axis, and θ is the azimuthal angle measured in the xy-plane from the positive x-axis. The conversion equations are x = ρ sin φ cos θ, y = ρ sin φ sin θ, and z = ρ cos φ. Here ρ is nonnegative, φ ranges from 0 to π, and θ ranges from 0 to 2π.

AD
Overview of Jacobian IK
Overview of Jacobian IK
the poster for the upcoming movie, the jacobiann is shown in blue and purple
the poster for the upcoming movie, the jacobiann is shown in blue and purple
(20+) Facebook
(20+) Facebook

The transformation maps a rectangular box in (ρ, φ, θ) space into a curved wedge in Cartesian space. A small change dρ moves radially outward, a small change dφ swings the point toward or away from the z-axis, and a small change dθ rotates the point around the z-axis. Because these coordinate directions are not mutually perpendicular in the same way as x, y, and z, the volume of the resulting wedge is not simply the product dρ dφ dθ. The Jacobian determinant corrects for this distortion.

Defining the Coordinates and Mapping

It is essential to fix a convention before computing any derivatives. In the physics convention used here, φ is the polar angle from the positive z-axis, so φ = 0 points straight up and φ = π points straight down. Some mathematics texts reverse the roles of φ and θ, using θ for the polar angle and φ for the azimuthal angle. The final Jacobian has the same geometric meaning, but the names attached to the angles change. Always check the definitions in your textbook or application before substituting values.

the diagram shows how to use spherical coordinatess for an object with different shapes and sizes
the diagram shows how to use spherical coordinatess for an object with different shapes and sizes
an old black and white drawing with some diagrams on it
an old black and white drawing with some diagrams on it
a sphere with two intersecting lines on it
a sphere with two intersecting lines on it

As a concrete example, consider the Cartesian point (1, 1, 1). Its spherical coordinates are ρ = √3, φ = arccos(1/√3) ≈ 54.7°, and θ = π/4 or 45°. The mapping is not one-to-one at the origin, where ρ = 0 and the angles are undefined, and it is also not one-to-one on the z-axis, where φ = 0 or φ = π and θ loses its meaning. These exceptional sets are called coordinate singularities, and they are the places where the Jacobian determinant vanishes.

The Jacobian Matrix Explained

The Jacobian matrix for the spherical coordinate transformation collects all first partial derivatives of x, y, and z with respect to ρ, φ, and θ. Its rows correspond to the output variables x, y, z, and its columns correspond to the input variables ρ, φ, θ. The entries are: ∂x/∂ρ = sin φ cos θ, ∂x/∂φ = ρ cos φ cos θ, ∂x/∂θ = -ρ sin φ sin θ; ∂y/∂ρ = sin φ sin θ, ∂y/∂φ = ρ cos φ sin θ, ∂y/∂θ = ρ sin φ cos θ; and ∂z/∂ρ = cos φ, ∂z/∂φ = -ρ sin φ, ∂z/∂θ = 0. This matrix captures how an infinitesimal change in each spherical coordinate affects the Cartesian position.

AD

The determinant of this matrix is the local volume scale factor. If the determinant is positive, the transformation preserves orientation locally; if it is negative, orientation is reversed. For spherical coordinates with φ in (0, π), the determinant simplifies to ρ² sin φ, which is nonnegative. At the poles and at the origin, sin φ or ρ becomes zero, confirming that the coordinate system collapses there and cannot be inverted locally.

an old map with numbers and lines on it
an old map with numbers and lines on it
MTH 3050 :11.7 Cylindrical and Spherical Coordinates | 2026 Verified Answers - Baruch College, CUNY
MTH 3050 :11.7 Cylindrical and Spherical Coordinates | 2026 Verified Answers - Baruch College, CUNY
a drawing with many circles and numbers on the top, as well as an arrow in the middle
a drawing with many circles and numbers on the top, as well as an arrow in the middle
15.8: Triple Integrals in Spherical Coordinates
15.8: Triple Integrals in Spherical Coordinates
an old map with lines in the middle and circles around it, all on top of each other
an old map with lines in the middle and circles around it, all on top of each other
an intricately designed wooden box is shown
an intricately designed wooden box is shown

Deriving the Jacobian Determinant

To derive the determinant, arrange the partial derivatives into a 3×3 matrix. The first row contains the x-derivatives, the second row contains the y-derivatives, and the third row contains the z-derivatives. Expanding this determinant by cofactors or using the cross product of two rows leads to a sum of trigonometric terms. Most of the terms cancel or combine through the Pythagorean identity sin²φ + cos²φ = 1 and sin²θ + cos²θ = 1.

The final result is elegantly simple: the Jacobian determinant of spherical coordinates is ρ² sin φ. This expression tells you that volume elements grow quadratically with distance from the origin and shrink as the point approaches the z-axis. Near the origin, the factor ρ² makes small radial changes contribute very little volume. Near the poles, the factor sin φ makes angular changes in θ contribute very little volume because all θ values converge to the same point.

AD

Step-by-Step Calculation

Start with the full Jacobian matrix. Its first column is (sin φ cos θ, sin φ sin θ, cos φ), its second column is (ρ cos φ cos θ, ρ cos φ sin θ, -ρ sin φ), and its third column is (-ρ sin φ sin θ, ρ sin φ cos θ, 0). Expanding along the third column is efficient because one entry is zero. The two nonzero terms involve 2×2 minors that contain factors of ρ sin φ. After simplifying the minors, the determinant becomes ρ² sin³φ cos²θ + ρ² sin φ cos²φ cos²θ + ρ² sin φ sin²θ.

Image from page 36 of
Image from page 36 of
15.8: Triple Integrals in Spherical Coordinates
15.8: Triple Integrals in Spherical Coordinates
an old book with lines that have been drawn on it and two circles in the middle
an old book with lines that have been drawn on it and two circles in the middle
LJS 490 - [Astronomical compendium]
LJS 490 - [Astronomical compendium]

Factor out ρ² sin φ from the expression. The remaining bracket is sin²φ cos²θ + cos²φ cos²θ + sin²θ. Group the first two terms as (sin²φ + cos²φ) cos²θ, which equals cos²θ. Then cos²θ + sin²θ equals 1. Multiplying back by ρ² sin φ gives the final determinant ρ² sin φ. This derivation shows that the volume element in spherical coordinates is dV = ρ² sin φ dρ dφ dθ.

Why the Absolute Value Matters

In the change-of-variables formula for multiple integrals, the volume element uses the absolute value of the Jacobian determinant. The determinant itself is a signed quantity that can be negative if the transformation reverses orientation. For standard spherical coordinates with φ between 0 and π, sin φ is nonnegative and ρ² is nonnegative, so the determinant is already nonnegative. However, if you choose a different angle convention or integrate over a region where the orientation flips, the absolute value ensures that volume remains positive.

AD

At the origin and along the z-axis, the determinant equals zero. This does not mean the coordinate system is useless there; it means the mapping is not locally one-to-one at those points. In integrals, these sets have zero volume, so they do not affect the value of a triple integral. The absolute value and the singularity behavior are both important when setting up rigorous proofs or handling numerical integration near the poles.

Applications and Intuition in Calculus

The Jacobian of spherical coordinates is most famous for its role in triple integrals. Whenever a region has spherical symmetry, such as a ball, a spherical shell, an ice-cream cone, or an atom’s electron cloud, spherical coordinates can turn a complicated Cartesian integral into a separable product of one-dimensional integrals. The factor ρ² sin φ is not optional; leaving it out produces incorrect volumes and wrong physical predictions. For example, the volume of a ball of radius R is found by integrating ρ² sin φ over ρ from 0 to R, φ from 0 to π, and θ from 0 to 2π, yielding 4πR³/3.

The same Jacobian appears in physics and engineering. In classical mechanics, it is used to compute moments of inertia for spheres and cones. In electromagnetism, it simplifies integrals over spherical charge distributions. In quantum mechanics, the Laplacian in spherical coordinates and the probability density for the hydrogen atom both depend on the volume element ρ² sin φ. The Jacobian is therefore more than a calculus trick; it is a bridge between coordinate systems that makes physical symmetry computationally accessible.

Triple Integrals and Volume Elements

When converting a triple integral from Cartesian to spherical coordinates, replace dx dy dz with ρ² sin φ dρ dφ dθ. The integrand must also be rewritten in terms of ρ, φ, and θ. For instance, x² + y² + z² becomes ρ², and x² + y² becomes ρ² sin²φ. The limits of integration then describe the region in spherical terms. This process is especially powerful for integrating functions that depend only on distance from the origin, because the angular integrals often separate and produce simple factors like 2π or 4π.

A classic example is integrating a function over a sphere of radius R. The ρ integral runs from 0 to R, the φ integral from 0 to π, and the θ integral from 0 to 2π. The θ integral contributes 2π, the φ integral contributes 2, and the ρ integral of ρ² contributes R³/3. Multiplying these gives 4πR³/3, the familiar volume of a sphere. If you forget the Jacobian factor, the same setup would give R³/3 times 2π times 2, which is not volume at all. This contrast highlights why the Jacobian is indispensable.

Common Pitfalls and Conventions

One of the most common mistakes is mixing up the polar angle and azimuthal angle. If your textbook uses θ for the polar angle and φ for the azimuthal angle, the conversion equations and the Jacobian will look different, even though the geometric result is equivalent. Another frequent error is using ρ instead of ρ², or forgetting the sin φ factor entirely. These mistakes usually come from memorizing the volume element without understanding how it arises from the determinant.

It is also important to remember that spherical coordinates are not the only curvilinear system with a Jacobian. Cylindrical coordinates have their own Jacobian r, and general curvilinear coordinates require the determinant of the full transformation matrix. Mastering the spherical case builds intuition for all change-of-variables problems. When in doubt, write the Jacobian matrix explicitly, compute the determinant, and check the result against the known volume element.

Equipped with the derivation and intuition behind the Jacobian, you can approach spherical integrals with confidence rather than relying on memorized formulas. Try revisiting a problem you once solved in Cartesian coordinates—such as finding the mass of a spherical object with variable density—and reformulate it in spherical coordinates. The determinant ρ² sin φ will quickly become a familiar and reliable tool, opening the door to cleaner solutions and deeper geometric insight.

AD