Cylindrical and Spherical Coordinates

Choose coordinates adapted to a solid and include the correct volume scaling.

Builds on Triple Integrals and Solid Bounds

The bigger question: How do shape and density determine a solid’s totals?

On this page

Extend polar geometry into space

Cylindrical coordinates use x=rcos⁡θx=r\cos\theta, y=rsin⁡θy=r\sin\theta, and unchanged zz, with dV=r dr dθ dzdV=r\,dr\,d\theta\,dz in a compatible order. They suit cylinders and rotation about the vertical axis.

Here spherical coordinates mean x=ρsin⁡ϕcos⁡θx=\rho\sin\phi\cos\theta, y=ρsin⁡ϕsin⁡θy=\rho\sin\phi\sin\theta, z=ρcos⁡ϕz=\rho\cos\phi, where ρ≥0\rho\ge0, 0≤ϕ≤π0\le\phi\le\pi is measured down from the positive zz-axis, and θ\theta is azimuth. Then dV=ρ2sin⁡ϕ dρ dϕ dθdV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta. Other books may exchange angle names; the definitions determine the factor.

Visual guide

VISUAL GUIDEA meridian shows the spherical angle convention
In a vertical meridian, ρ is distance from the origin and φ is measured down from the positive z axis. The horizontal distance is r = ρ sin φ and height is z = ρ cos φ. Rotation around the z axis supplies the azimuth θ.-0.3-0.30.60.61.51.52.42.43.33.3rzρrz
  • Horizontal and vertical components
  • Angle φ
In a vertical meridian, ρ is distance from the origin and φ is measured down from the positive z axis. The horizontal distance is r = ρ sin φ and height is z = ρ cos φ. Rotation around the z axis supplies the azimuth θ.

Worked example: a paraboloid cap

The solid 0≤z≤4−x2−y20\le z\le4-x^2-y^2 projects onto r≤2r\le2. Cylindrical volume is

∫02π∫02∫04−r2r dz dr dθ=8π.\int_0^{2\pi}\int_0^2\int_0^{4-r^2}r\,dz\,dr\,d\theta=8\pi.

The radial factor is from volume scaling, and the upper height is from the paraboloid. Neither can be omitted. Cartesian coordinates describe the same solid with less convenient disk bounds.

PAUSE & THINKA quick check, not a grade

Try it yourself.

Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.

In spherical coordinates with polar angle φ from +z, what is dV?

Hint 1 · Find a starting point

Both angular lengths depend on radius.

Hint 2 · Take the next step

The azimuthal circle has radius ρ sin φ.

Show the reasoning

Answer: ρ² sin φ dρ dφ dθ

The three local lengths multiply to ρ² sin φ dρ dφ dθ for this angle convention.

Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.

Worked example: a ball moment

For a ball of radius RR, integrate x2+y2+z2=ρ2x^2+y^2+z^2=\rho^2:

∫02π∫0π∫0Rρ4sin⁡ϕ dρ dϕ dθ=4πR55.\int_0^{2\pi}\int_0^\pi\int_0^R\rho^4\sin\phi\,d\rho\,d\phi\,d\theta=\frac{4\pi R^5}{5}.

The average squared radius is this result divided by volume 4πR3/34\pi R^3/3, giving 3R2/53R^2/5. Its units are squared length, as expected.

A cone from the origin often gives constant ϕ\phi bounds; a sphere centered at the origin gives constant ρ\rho bounds. A shifted sphere may not. Sketch coordinate surfaces and their intersections before choosing an order. The axes and poles have coordinate degeneracies but form zero-volume boundaries in these standard integrals.

Practice

  1. Write spherical bounds for the upper half of a ball of radius two.
  2. Find the volume of a cylinder r≤2r\le2, 0≤z≤30\le z\le3.
  3. In this convention, which angle equals π/2\pi/2 on the horizontal plane away from the origin?
Show worked solutions
  1. 0≤ρ≤20\le\rho\le2, 0≤ϕ≤π/20\le\phi\le\pi/2, 0≤θ≤2π0\le\theta\le2\pi.
  2. ∫02π∫02∫03rdzdrdθ=12π\int_0^{2\pi}\int_0^2\int_0^3r dzdrd\theta=12\pi.
  3. The polar angle ϕ\phi, because z=ρcos⁡ϕ=0z=\rho\cos\phi=0.

Further study

MIT OpenCourseWare: Multivariable Calculus provides a full university course with additional lectures and exercises.

MAKE IT YOURS

Pause before the next idea.

Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.

Optional marks, not a grade. Saved in this browser only. Open notebook →