Multivariable Calculus, Interactive EditionXYZ Homework Edition

⇩ Download ▾

2.3 Cylindrical and Spherical Coordinates

Rectangular coordinates measure three straight distances. Cylindrical coordinates (r,θ,z)(r, \theta, z) keep the vertical axis but describe the horizontal plane by polar coordinates; spherical coordinates (ρ,ϕ,θ)(\rho, \phi, \theta) go further and measure one distance and two angles: ρ\rho is distance from the origin, ϕ\phi is the angle down from the positive zz-axis, and θ\theta is the azimuth around that axis, the same angle cylindrical coordinates use. The conversion to rectangular is

x = ρ sin ϕ cos θ , y = ρ sin ϕ sin θ , z = ρ cos ϕ . x = \rho \sin\phi \cos\theta, \qquad y = \rho \sin\phi \sin\theta, \qquad z = \rho \cos\phi.

The character of a coordinate system lives in its coordinate surfaces: the sets you get by freezing one coordinate and letting the other two roam. For rectangular coordinates all three families are flat planes. For spherical coordinates they are far more interesting, and the figure below shows all three at once.

Three intersecting wireframe surfaces: a transparent sphere of radius 2.5 centered at the origin, an upward-opening 45-degree cone with its tip at the origin, and a vertical half-plane with a pink mesh rising from the z-axis at 60 degrees from the x-axis. A small bright curved patch on the sphere, edged by a yellow mesh, marks the outer face of a spherical box. A slider named f, starting at pi over 4, sets the cone's angle down from the z-axis; raising it to pi over 2 flattens the cone into the horizontal plane. A slider named c, starting at pi over 6, slides the patch's angle interval down toward the equator; the patch grows as it moves down, although its angular widths stay the same.Explore in 3D (opens in a new tab)

Three intersecting wireframe surfaces: a transparent sphere of radius 2.5 centered at the origin, an upward-opening 45-degree cone with its tip at the origin, and a vertical half-plane with a pink mesh rising from the z-axis at 60 degrees from the x-axis. A small bright curved patch on the sphere, edged by a yellow mesh, marks the outer face of a spherical box. A slider named f, starting at pi over 4, sets the cone's angle down from the z-axis; raising it to pi over 2 flattens the cone into the horizontal plane. A slider named c, starting at pi over 6, slides the patch's angle interval down toward the equator; the patch grows as it moves down, although its angular widths stay the same.

Three intersecting coordinate surfaces: the sphere ρ=2.5\rho = 2.5, the cone ϕ=π/4\phi = \pi/4, and the half-plane θ=π/3\theta = \pi/3, drawn with a pink mesh. A fourth object, the bright patch edged in yellow on the sphere, is one face of a spherical box. The slider ff sets the cone's angle ϕ\phi and the slider cc sets where the patch's ϕ\phi-interval starts, both in radians.

Explore

  1. Match each surface to its frozen coordinate by its shape alone. How does the shape give each one away? Why is the θ\theta surface only half a plane?
  2. Among the mesh lines on the sphere are horizontal circles and pole-to-pole arcs (the slanted lines only split each cell into triangles). On each circle or arc, one of the other two coordinates is constant. Which family is constant ϕ\phi, and which is constant θ\theta?
  3. Predict what happens to the cone as ϕ\phi grows from π/4\pi/4 toward π/2\pi/2, then test it: the cone's components are sinf·ucosv\sin f \cdot u\cos v, sinf·usinv\sin f \cdot u\sin v and cosf·u\cos f \cdot u, so drag the slider ff from π/4≈0.785\pi/4 \approx 0.785 up to π/2≈1.571\pi/2 \approx 1.571. What surface does the cone flatten into at exactly ϕ=π/2\phi = \pi/2?
  4. Find the bright patch: the outer face of the spherical box 1.5≤ρ≤2.51.5 \le \rho \le 2.5, π/6≤ϕ≤π/3\pi/6 \le \phi \le \pi/3, π/6≤θ≤π/3\pi/6 \le \theta \le \pi/3. Orbit close and examine its four edges. Are any of them straight?
  5. Drag the slider cc from π/6≈0.524\pi/6 \approx 0.524 up to π/3≈1.047\pi/3 \approx 1.047. That slides the patch's ϕ\phi-interval c≤ϕ≤c+π/6c \le \phi \le c + \pi/6 down toward the equator, keeping its width the same. The face grows. The angular intervals did not change — so what did?

The box with almost no flat sides

A "box" in any coordinate system is a region where each coordinate runs between two constants, so its faces are patches of coordinate surfaces. In spherical coordinates that means: two sphere patches (inner and outer), two cone patches, and two half-plane patches. Only the half-plane faces are flat. Of the twelve edges, only the four radial ones are straight segments — all the others are arcs of circles. The spherical box is a bite taken out of an orange: curved skin, curved core, flat cuts only where the knife followed a meridian.

The exploration's last step is the one to remember. A face with the same spread of angles is small near the pole and large near the equator, because the meridians crowd together as sinϕ\sin\phi shrinks. A patch at radius ρ\rho spanning Δϕ\Delta\phi by Δθ\Delta\theta has area approximately ρ2sinϕΔϕΔθ\rho^2 \sin\phi \,\Delta\phi\, \Delta\theta — and that sinϕ\sin\phi is exactly the factor in the spherical volume element dV=ρ2sinϕdρdϕdθdV = \rho^2 \sin\phi \, d\rho\, d\phi\, d\theta used for triple integrals in spherical coordinates. Its two-dimensional cousin, the polar rr in dA=rdrdθdA = r\,dr\,d\theta, is the one you will count cell by cell in the final chapter. You have now seen the reason before ever meeting the formula.

p2·sin(f)p^{2} \cdot \sin\left(f\right)
The Jacobian determinant of the spherical map ✓ Computed · mojocas 0.1.0 ✓ Agrees with the text The Jacobian determinant of the spherical map, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.

The volume factor you just watched crowd the meridians, computed from the spherical conversion formulas themselves: a 3×33 \times 3 determinant of partial derivatives, collapsed by the computer algebra system to exactly ρ2sinϕ\rho^2 \sin\phi. (pp, ff, tt stand for ρ\rho, ϕ\phi, θ\theta.) The orange-bite picture and the algebra agree — and now that agreement is checked on every rebuild.

An original work of XYZ Homework, built around interactive XYZ 3D figures. Aligned to OpenStax Calculus Volume 3 (Strang & Herman), © OpenStax (Rice University), licensed CC BY-NC-SA 4.0; no OpenStax content is reproduced, and this work is not affiliated with or endorsed by OpenStax or Rice University. License: CC-BY-NC-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or any other accessibility standard. Every page is built against an automated accessibility gate, and our target for the published editions is WCAG 2.2 Level AA. If something is unusable, please tell us.