Tutorials › Calculus III › Deriving the Spherical Volume Element

Spherical Triple Integrals · Tutorial 652 of 999

Deriving the Spherical Volume Element

Learn why a spherical-coordinate volume element contains the factor \(\rho^2\sin\phi\), and how to derive and use it correctly.

Intermediate 10 min read

What You'll Learn

  • Write the spherical coordinate map using the course convention for \(\rho\), \(\phi\), and \(\theta\).
  • Compute the Jacobian determinant from the three coordinate partial derivatives.
  • Explain geometrically why radial, polar, and azimuthal changes have different length scales.
  • Distinguish the signed Jacobian from the nonnegative volume factor.
  • Use the spherical volume element to calculate the volume of a coordinate patch.

Why a Spherical Volume Element Needs a Scale Factor

A small change in Cartesian coordinates produces a small rectangular box whose volume is the product of its side lengths. Spherical coordinates describe position using a radius and two angles, but small changes in those parameters do not all correspond to equal physical distances. In particular, changing the azimuthal angle near the axis sweeps out a shorter arc than the same angular change near the equator.

The purpose of the spherical Jacobian is to account for these changing scales. It converts a small box in the parameters \(\rho,\phi,\theta\) into the corresponding physical volume in three-dimensional space.

Central result: With \(\rho\) the distance from the origin, \(\phi\) the angle measured down from the positive \(z\)-axis, and \(\theta\) the azimuthal angle in the \(xy\)-plane, the spherical volume element is \(dV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta\).

The Spherical Coordinate Map

Under this convention, the Cartesian coordinates of a point are given by the map \(\mathbf{r}(\rho,\phi,\theta)\):

$$ \mathbf{r}(\rho,\phi,\theta) = \bigl(\rho\sin\phi\cos\theta,\; \rho\sin\phi\sin\theta,\; \rho\cos\phi\bigr). $$

Here \(\rho\geq 0\), \(0\leq\phi\leq\pi\), and \(0\leq\theta<2\pi\) cover ordinary points in space. The parameterization is not one-to-one on its boundaries: all values of the angles at \(\rho=0\) describe the origin, and the azimuthal angle is redundant on the \(z\)-axis. These special points and boundaries do not change the volume factor on the regular part of the coordinate map.

The Jacobian matrix records how each Cartesian coordinate changes as each spherical parameter changes. Its columns are the partial derivative vectors \(\mathbf{r}_\rho\), \(\mathbf{r}_\phi\), and \(\mathbf{r}_\theta\), in that order.

$$ D\mathbf{r} = \begin{pmatrix} \sin\phi\cos\theta & \rho\cos\phi\cos\theta & -\rho\sin\phi\sin\theta\\ \sin\phi\sin\theta & \rho\cos\phi\sin\theta & \rho\sin\phi\cos\theta\\ \cos\phi & -\rho\sin\phi & 0 \end{pmatrix}. $$

Deriving the Jacobian Determinant

The change-of-variables theorem says that a differentiable coordinate map scales small volumes by the absolute value of its Jacobian determinant. For this map, that determinant can be derived cleanly using a scalar triple product: the determinant of the matrix with columns \(\mathbf{r}_\rho,\mathbf{r}_\phi,\mathbf{r}_\theta\) is \(\mathbf{r}_\rho\cdot(\mathbf{r}_\phi\times\mathbf{r}_\theta)\).

1
Find the parameter-direction vectors.
Differentiating the coordinate map gives \(\mathbf{r}_\rho=(\sin\phi\cos\theta,\sin\phi\sin\theta,\cos\phi)\), \(\mathbf{r}_\phi=(\rho\cos\phi\cos\theta,\rho\cos\phi\sin\theta,-\rho\sin\phi)\), and \(\mathbf{r}_\theta=(-\rho\sin\phi\sin\theta,\rho\sin\phi\cos\theta,0)\).
2
Compute the cross product.
Using the component formula for a cross product, \(\mathbf{r}_\phi\times\mathbf{r}_\theta=(\rho^2\sin^2\phi\cos\theta,\rho^2\sin^2\phi\sin\theta,\rho^2\cos\phi\sin\phi)\).
3
Take the scalar product.
Dot this cross product with \(\mathbf{r}_\rho\). The result is \(\rho^2\sin^3\phi\cos^2\theta+\rho^2\sin^3\phi\sin^2\theta+\rho^2\cos^2\phi\sin\phi\).
4
Simplify.
Factor out \(\rho^2\sin\phi\), then use \(\sin^2\theta+\cos^2\theta=1\) and \(\sin^2\phi+\cos^2\phi=1\). The result is \(\det(D\mathbf{r})=\rho^2\sin\phi\).

In more detail, the final simplification is

$$ \begin{aligned} \det(D\mathbf{r}) &=\rho^2\sin\phi\bigl(\sin^2\phi\cos^2\theta +\sin^2\phi\sin^2\theta+\cos^2\phi\bigr)\\ &=\rho^2\sin\phi\bigl(\sin^2\phi+\cos^2\phi\bigr)\\ &=\rho^2\sin\phi. \end{aligned} $$

Because \(\rho\geq0\) and \(\sin\phi\geq0\) on the stated angular range, this determinant is nonnegative. More generally, volume scales by the absolute value of the determinant, not by its sign. Thus the spherical volume element is

$$ dV=\left|\det(D\mathbf{r})\right|\,d\rho\,d\phi\,d\theta =\rho^2\sin\phi\,d\rho\,d\phi\,d\theta. $$
Change-of-variables rule: For a region described by a one-to-one differentiable coordinate map on its interior, an integral of a function \(f\) over the corresponding Cartesian region becomes an integral of \(f(\mathbf{r}(\rho,\phi,\theta))\,|\det(D\mathbf{r})|\) over the parameter region. If a parameterization overlaps, the region must be arranged to avoid counting the same points more than once. Coordinate boundaries where the map is singular do not supply an additional volume factor.

Geometric Meaning of the Three Factors

The determinant calculation is exact, but the result also has a direct geometric explanation. A small radial change \(d\rho\) has length \(d\rho\). At fixed \(\rho\), a small change \(d\phi\) travels along a meridian, a circle of radius \(\rho\), and therefore has length approximately \(\rho\,d\phi\). At fixed \(\rho\) and \(\phi\), a change \(d\theta\) travels around a horizontal circle of radius \(\rho\sin\phi\), so its length is approximately \(\rho\sin\phi\,d\theta\).

These three directions are mutually perpendicular. Multiplying their small lengths gives the leading-order volume:

$$ d\rho\;(\rho\,d\phi)\;(\rho\sin\phi\,d\theta) =\rho^2\sin\phi\,d\rho\,d\phi\,d\theta. $$

This argument explains the two powers of \(\rho\): each angular direction contributes one factor of distance from the origin. The sine factor appears because an azimuthal arc shrinks as the point approaches the \(z\)-axis. At \(\phi=0\) or \(\phi=\pi\), the azimuthal circle has zero radius, consistent with the vanishing determinant there.

Worked Examples

Worked Example: Evaluate the Jacobian on the Equatorial Plane

Evaluate the determinant at \(\rho=2\), \(\phi=\pi/2\), and \(\theta=0\). Substituting into the three partial derivative vectors gives

$$ \mathbf{r}_\rho=(1,0,0),\qquad \mathbf{r}_\phi=(0,0,-2),\qquad \mathbf{r}_\theta=(0,2,0). $$

Place these vectors in the Jacobian matrix as columns. Its determinant is

$$ \det(D\mathbf{r}) = \det\begin{pmatrix} 1&0&0\\ 0&0&2\\ 0&-2&0 \end{pmatrix} =1\bigl(0\cdot0-2(-2)\bigr)=4. $$

The general formula gives \(\rho^2\sin\phi=2^2\sin(\pi/2)=4\), agreeing with the direct determinant. The volume scaling factor at this point is therefore \(4\).

Worked Example: Check the Determinant at a General Angular Position

Take \(\rho=2\), \(\phi=\pi/3\), and \(\theta=\pi/4\). The derivative vectors are

$$ \mathbf{r}_\rho=\left(\frac{\sqrt6}{4},\frac{\sqrt6}{4},\frac12\right),\quad \mathbf{r}_\phi=\left(\frac{\sqrt2}{2},\frac{\sqrt2}{2},-\sqrt3\right),\quad \mathbf{r}_\theta=\left(-\frac{\sqrt6}{2},\frac{\sqrt6}{2},0\right). $$

The cross product of the last two vectors is

$$ \mathbf{r}_\phi\times\mathbf{r}_\theta =\left(\frac{3\sqrt2}{2},\frac{3\sqrt2}{2},\sqrt3\right). $$

Taking the dot product with \(\mathbf{r}_\rho\) gives

$$ \begin{aligned} \det(D\mathbf{r}) &=\frac{\sqrt6}{4}\frac{3\sqrt2}{2} +\frac{\sqrt6}{4}\frac{3\sqrt2}{2} +\frac12\sqrt3\\ &=\frac{3\sqrt3}{4}+\frac{3\sqrt3}{4}+\frac{\sqrt3}{2} =2\sqrt3. \end{aligned} $$

Substitution into the formula gives \(2^2\sin(\pi/3)=4(\sqrt3/2)=2\sqrt3\), the same result. This check confirms the angular dependence as well as the radial scaling.

Worked Example: Find the Volume of a Spherical-Coordinate Patch

Consider the parameter ranges \(1\leq\rho\leq2\), \(\pi/3\leq\phi\leq\pi/2\), and \(0\leq\theta\leq\pi/2\). The volume of their image is the integral of the Jacobian over this parameter box:

$$ \begin{aligned} V &=\int_0^{\pi/2}\int_{\pi/3}^{\pi/2}\int_1^2 \rho^2\sin\phi\,d\rho\,d\phi\,d\theta\\ &=\left(\int_1^2\rho^2\,d\rho\right) \left(\int_{\pi/3}^{\pi/2}\sin\phi\,d\phi\right) \left(\int_0^{\pi/2}d\theta\right). \end{aligned} $$

Evaluate each factor. The radial factor is \(\left[\rho^3/3\right]_1^2=8/3-1/3=7/3\). The polar factor is \([-\cos\phi]_{\pi/3}^{\pi/2}=0-(-1/2)=1/2\). The azimuthal factor is \([\theta]_0^{\pi/2}=\pi/2\). Therefore

$$ V=\frac73\cdot\frac12\cdot\frac{\pi}{2} =\frac{7\pi}{12}. $$

As a check on the integrations, the derivatives of the antiderivatives are \(\frac{d}{d\rho}(\rho^3/3)=\rho^2\), \(\frac{d}{d\phi}(-\cos\phi)=\sin\phi\), and \(\frac{d}{d\theta}\theta=1\). Each factor used in the calculation therefore integrates back to the corresponding part of the volume element.

Common Mistakes and Their Corrections

A frequent error is to omit \(\sin\phi\) and use \(\rho^2\,d\rho\,d\phi\,d\theta\). That would treat a fixed change in \(\theta\) as the same physical distance at every polar angle. For example, at \(\rho=2\) and \(\phi=\pi/6\), the incorrect factor is \(2^2=4\), whereas the correct factor is \(2^2\sin(\pi/6)=2\). The azimuthal arc has radius \(\rho\sin\phi=1\) at this point, not \(\rho=2\), which explains the difference.

Another error is to keep a negative determinant as a negative volume. A determinant can change sign if the order of parameters or columns is reversed, but volume cannot be negative. The change-of-variables factor is always \(|\det(D\mathbf{r})|\). With the stated parameter order and angular convention the determinant is nonnegative, but the absolute value expresses the general rule.

Using the Element Correctly

When transforming a triple integral, the Jacobian multiplies the transformed integrand. If \(f\) is the function being integrated, the transformed integrand is \(f(\rho\sin\phi\cos\theta,\rho\sin\phi\sin\theta,\rho\cos\phi)\rho^2\sin\phi\). The factor is not part of the function \(f\); it enters because the coordinate map changes volume.

Keep the coordinate convention in view. If a course uses a different meaning for the polar and azimuthal angles, the coordinate map and corresponding determinant must be derived for that convention. For the convention used here, the radial factor is \(\rho^2\), the angular factor is \(\sin\phi\), and their product is the spherical volume scale.

Takeaway: The Jacobian determinant of the spherical map is \(\rho^2\sin\phi\). Its radial powers account for the growth of angular distances with \(\rho\), while \(\sin\phi\) accounts for the shrinking azimuthal circles near the \(z\)-axis. Use its absolute value as the volume multiplier.

Check Your Understanding

Use the coordinate map and reasoning in this tutorial to answer the following questions.

  1. What are the three Cartesian components of \(\mathbf{r}_\phi\), and what are the three components of \(\mathbf{r}_\theta\)?
  2. At \(\rho=3\) and \(\phi=\pi/6\), what is the spherical volume scaling factor?
  3. Why does the determinant vanish on the positive \(z\)-axis?
  4. Which physical distance accounts for the factor \(\sin\phi\) in the volume element?
  5. If reversing the parameter order makes a Jacobian determinant negative, what factor should be used to transform volume?