Triple Integrals in Cylindrical and Spherical Coordinates
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn how to swap out Cartesian coordinates for cylindrical or spherical coordinates when setting up triple integrals. The payoff is huge: integrals that would be nightmarish in become clean and manageable when you pick the coordinate system that matches the shape of your region.
The Concept
Section titled “The Concept”Why Change Coordinates?
Section titled “Why Change Coordinates?”In the last lesson, every triple integral used Cartesian coordinates with . That works fine for boxes and regions with flat sides. But try integrating over a sphere or a cylinder in Cartesian and you’ll quickly run into ugly square roots and complicated limits.
The fix is the same idea from Lesson 10 (polar coordinates for double integrals), just extended to 3D. If the region has circular symmetry, use coordinates that speak that language.
Cylindrical Coordinates
Section titled “Cylindrical Coordinates”Cylindrical coordinates are polar coordinates in the -plane plus a regular -axis. Every point in 3D is described by three numbers:
- r is the distance from the z-axis (same as polar r)
- theta is the angle in the -plane measured from the positive x-axis
- z is the same old height
The conversion formulas are
The volume element picks up an extra factor of (just like polar area had ):
That out front is the Jacobian of the coordinate transformation. It accounts for the fact that a small change in sweeps out more area when is large than when is small.
Use cylindrical coordinates when the region has rotational symmetry around the -axis: cylinders, cones, paraboloids, anything where shows up naturally.
Spherical Coordinates
Section titled “Spherical Coordinates”Spherical coordinates describe a point by its distance from the origin and two angles:
- (rho) is the distance from the origin to the point
- (phi) is the angle down from the positive z-axis (0 at the north pole, at the south pole)
- theta is the same azimuthal angle as in cylindrical (angle in the -plane)
The symbol is the Greek letter rho. The symbol is the Greek letter phi. Think of as “how far from the center” and as “how far down from the top.”
The conversion formulas are
The volume element in spherical coordinates is
That factor is the Jacobian. It accounts for the fact that volume elements get bigger as you move farther from the origin (the part) and are largest at the equator where sin phi = 1 (the sin phi part).
Use spherical coordinates when the region involves or is bounded by spheres, cones, or other surfaces centered at the origin.
Quick Reference: When to Use What
Section titled “Quick Reference: When to Use What”- Cartesian (): boxes, rectangular regions, flat boundaries
- Cylindrical (): cylinders, cones, regions symmetric about the -axis
- Spherical (): spheres, balls, regions defined by distance from the origin
Worked Examples
Section titled “Worked Examples”Example 1: Volume of a cylinder using cylindrical coordinates
Find the volume of the solid cylinder where and
This is a cylinder of radius 2 and height 5 centered on the z-axis. In cylindrical coordinates, the boundary becomes simply r = 2. The limits are:
- r from 0 to 2
- theta from 0 to (full revolution)
- z from 0 to 5
Innermost integral, over z, treating r and theta as constants
Middle integral, over r
Outermost integral, over theta
The volume is cubic units. Sanity check: the formula for a cylinder gives and it matches.
In Cartesian, this same integral would require limits like from to , from to , and you’d be wrestling with square roots the whole time. Cylindrical coordinates made it trivial.
Example 2: Volume of the unit ball using spherical coordinates
Find the volume of the unit ball where
The unit ball is the set of all points within distance 1 of the origin. In spherical coordinates, the boundary becomes simply rho = 1. Recall that rho is the distance from the origin, phi is the angle down from the north pole, and theta is the angle around the z-axis. The limits are:
- rho from 0 to 1 (distance from origin to the surface)
- phi from 0 to (top of the sphere to the bottom)
- theta from 0 to (full revolution around the z-axis)
The integrand factors nicely because the limits are all constants. We can split this into three separate integrals:
Each piece:
Multiply them together:
The volume is cubic units. That’s the classic sphere volume formula with r = 1. Spherical coordinates turned this into three easy one-variable integrals.
Example 3: Mass of a ball with varying density
Find the total mass of a ball of radius 2 whose density at any point equals the distance from the center. So the density function in spherical coordinates is simply f = rho (since rho already measures distance from the origin).
The limits cover the full ball of radius 2. Again, rho is distance from the origin, phi is the angle down from the north pole, and theta sweeps around the z-axis:
- rho from 0 to 2
- phi from 0 to
- theta from 0 to
The density rho times the volume element gives as the integrand. Again it separates:
Total mass is 16 pi. Notice how the density being a function of rho alone made this clean. If the density depended on x and y separately, Cartesian coordinates would have been a mess, but spherical coordinates kept everything factored.
Real-World Application
Section titled “Real-World Application”Cylindrical and spherical coordinates show up everywhere in science and engineering:
- Physics uses spherical coordinates for gravitational and electric fields, which radiate outward from a point. Computing the total gravitational potential energy of a star requires integrating density over a sphere.
- Engineering uses cylindrical coordinates for heat flow through pipes, pressure distribution in cylindrical tanks, and stress analysis in shafts and axles.
- Game development uses spherical coordinates for explosion damage falloff (damage decreases with distance from the blast center), 3D sound attenuation, and rendering spherical particle effects.
- Medical imaging uses these coordinates when analyzing CT scans of roughly cylindrical body parts (limbs) or spherical structures (the skull, eyeballs).
Retrying will remove your ✅ checkmark until you pass again.