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 rising from the z-axis at 60 degrees from the x-axis. A fourth object, hidden at first, is a small curved mesh patch on the sphere marking one face of a spherical box.Explore in 3D (opens in a new tab)
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. A fourth object — one face of a spherical box — hides in the object list until you reveal it.

Explore

  1. Cover the labels and match each surface to its frozen coordinate. How does the shape alone give each one away? Why is the θ\theta surface only half a plane?
  2. The mesh lines on the sphere are the curves where the other two coordinates are constant. Which family — horizontal circles or pole-to-pole arcs — 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 edit the cone's components to test it (replace the constant sin(π/4)\sin(\pi/4) and cos(π/4)\cos(\pi/4) factors with sin\sin and cos\cos of your new angle). What surface does the cone flatten into at exactly ϕ=π/2\phi = \pi/2?
  4. Reveal the hidden 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. In the patch's domain fields, slide the ϕ\phi-interval 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 that will appear in the spherical volume element dV=ρ2sinϕdρdϕdθdV = \rho^2 \sin\phi \, d\rho\, d\phi\, d\theta when we integrate 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 ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.