9. Triple Integrals

Cylindrical And Spherical Coordinates

Cylindrical and Spherical Coordinates

students, in triple integrals, the hardest part is often not the arithmetic — it is choosing a coordinate system that matches the shape of the region. 🌍 If a solid looks like a box, rectangular coordinates may be enough. But if it is shaped like a tube, a cone, a ball, or a dome, cylindrical or spherical coordinates can make the problem much simpler. In this lesson, you will learn how these systems work, why they matter, and how they connect to volumes and mass in triple integrals.

Why change coordinates?

In rectangular coordinates, a point is written as $\left(x,y,z\right)$. That works well for boxes and flat walls aligned with the axes. But many real-world objects are not box-shaped. Think of a pipe, a soda can, a tornado funnel, a planet, or a basketball. These shapes naturally involve circles, cylinders, and spheres. 🛢️⚽

Cylindrical and spherical coordinates are just different ways to describe the same points in space. The big idea is simple: instead of measuring by straight-line distances along the $x$, $y$, and $z$ axes, we measure using distances and angles that match the geometry of the region.

For triple integrals, this matters because the integral often becomes easier to set up when the region has symmetry. The goal is not to change the point itself, but to describe it in a smarter way.

Main objective summary

By the end of this lesson, students, you should be able to:

  • explain the meaning of cylindrical and spherical coordinates,
  • convert between these systems and rectangular coordinates,
  • choose the best coordinate system for a triple integral,
  • use the correct volume element in each system,
  • recognize how these coordinates help compute volume and mass.

Cylindrical coordinates: circles stacked along an axis

Cylindrical coordinates are built from polar coordinates in the $xy$-plane, plus a vertical coordinate. A point is written as $\left(r,\theta,z\right)$.

Here is what each part means:

  • $r$ is the distance from the point to the $z$-axis,
  • $\theta$ is the angle in the $xy$-plane measured from the positive $x$-axis,
  • $z$ is the same vertical height used in rectangular coordinates.

The conversion formulas are

$$x=r\cos\theta,\qquad y=r\sin\theta,\qquad z=z.$$

The reverse relationships are

$$r=\sqrt{x^2+y^2},\qquad \tan\theta=\frac{y}{x} \text{ when } x\neq 0.$$

A useful geometric picture is this: start with a point in the $xy$-plane. Its distance from the origin is $r$, and its direction is given by $\theta$. Then move up or down by $z$.

Example: locating a point

Suppose a point has cylindrical coordinates $\left(2,\frac{\pi}{3},5\right)$. Then

$$x=2\cos\left(\frac{\pi}{3}\right)=1,\qquad y=2\sin\left(\frac{\pi}{3}\right)=\sqrt{3},\qquad z=5.$$

So the rectangular coordinates are $\left(1,\sqrt{3},5\right)$.

This system is especially helpful for solids with circular symmetry. For example, a cylinder centered on the $z$-axis is described very simply by $r\leq a$, where $a$ is the radius. That is much easier than writing the same cylinder in rectangular coordinates using $x^2+y^2\leq a^2$.

Cylindrical coordinates in triple integrals

When using cylindrical coordinates, the volume element changes. In rectangular coordinates, a tiny volume is $dV=dx\,dy\,dz$. In cylindrical coordinates, the tiny volume is

$$dV=r\,dr\,d\theta\,dz.$$

The extra factor $r$ is important. It comes from the stretching of circular slices as you move farther from the $z$-axis. Imagine slicing a pizza 🍕: outer slices cover more area than slices near the center. The factor $r$ accounts for that geometry.

For example, the volume of a cylinder of radius $a$ and height $h$ can be written as

$$V=\int_0^h\int_0^{2\pi}\int_0^a r\,dr\,d\theta\,dz.$$

Evaluating gives

$$V=\int_0^h\int_0^{2\pi}\left[\frac{r^2}{2}\right]_0^a d\theta\,dz=\int_0^h\int_0^{2\pi}\frac{a^2}{2}\,d\theta\,dz=\pi a^2 h.$$

That matches the familiar geometry formula, which is a good check.

Spherical coordinates: measuring by distance from the origin

Spherical coordinates describe points by their distance from the origin and two angles. A point is written as $\left(\rho,\theta,\phi\right)$.

The meanings are:

  • $\rho$ is the distance from the origin to the point,
  • $\theta$ is the same angle used in cylindrical coordinates, measured in the $xy$-plane from the positive $x$-axis,
  • $\phi$ is the angle measured downward from the positive $z$-axis.

The conversion formulas are

$$x=\rho\sin\phi\cos\theta,\qquad y=\rho\sin\phi\sin\theta,\qquad z=\rho\cos\phi.$$

The inverse relationships are

$$\rho=\sqrt{x^2+y^2+z^2},\qquad \theta=\tan^{-1}\left(\frac{y}{x}\right),\qquad \phi=\cos^{-1}\left(\frac{z}{\rho}\right).$$

A very important geometric fact is that $\phi=0$ points straight up along the positive $z$-axis, while $\phi=\frac{\pi}{2}$ lies in the $xy$-plane. This makes spherical coordinates perfect for spheres, hemispheres, and cones. 🌐

Example: describing a sphere

A sphere of radius $a$ centered at the origin is simply

$$\rho=a.$$

That is much simpler than using the rectangular equation

$$x^2+y^2+z^2=a^2.$$

A solid ball of radius $a$ is described by

$$0\leq \rho\leq a.$$

A cone with vertex at the origin and axis along the positive $z$-axis can often be written as a constant value of $\phi$. For instance, the cone $z=\sqrt{x^2+y^2}$ corresponds to

$$\phi=\frac{\pi}{4}.$$

That is because in spherical coordinates, the ratio between height and radial distance from the $z$-axis becomes an angle condition.

Spherical coordinates in triple integrals

The volume element in spherical coordinates is

$$dV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta.$$

Again, the extra factor is crucial. It reflects how space expands as you move away from the origin and as the angle changes. Without this factor, the integral would not measure volume correctly.

For example, the volume of a ball of radius $a$ is

$$V=\int_0^{2\pi}\int_0^{\pi}\int_0^a \rho^2\sin\phi\,d\rho\,d\phi\,d\theta.$$

Compute it step by step:

$$\int_0^a \rho^2\,d\rho=\frac{a^3}{3},$$

$$\int_0^\pi \sin\phi\,d\phi=2,$$

so

$$V=\int_0^{2\pi}\frac{2a^3}{3}\,d\theta=\frac{4\pi a^3}{3}.$$

That is the standard volume formula for a sphere.

Choosing the best coordinate system

The best coordinate system depends on the shape of the region. students, a smart setup can save time and reduce mistakes. ✅

Use cylindrical coordinates when the region has:

  • symmetry around the $z$-axis,
  • circular cross sections in the $xy$-plane,
  • a cylinder-like shape.

Use spherical coordinates when the region has:

  • spherical symmetry,
  • boundaries involving $x^2+y^2+z^2$,
  • balls, hemispheres, or cones.

Here are some typical examples:

  • A cylinder of radius $3$ around the $z$-axis is easy in cylindrical coordinates: $0\leq r\leq 3$.
  • A sphere of radius $5$ centered at the origin is easy in spherical coordinates: $0\leq \rho\leq 5$.
  • The region between two spheres can often be written with bounds on $\rho$.
  • The region inside a cone and inside a sphere is often best handled in spherical coordinates.

Mass and density in these coordinates

Triple integrals are not only for volume. They also find mass when density varies through space. If density is $\delta(x,y,z)$, then mass is

$$m=\iiint_E \delta(x,y,z)\,dV.$$

In cylindrical coordinates, this becomes

$$m=\iiint_E \delta\left(r\cos\theta,r\sin\theta,z\right)r\,dr\,d\theta\,dz.$$

In spherical coordinates, it becomes

$$m=\iiint_E \delta\left(\rho\sin\phi\cos\theta,\rho\sin\phi\sin\theta,\rho\cos\phi\right)\rho^2\sin\phi\,d\rho\,d\phi\,d\theta.$$

For example, if a solid sphere has constant density $\delta_0$, then its mass is simply

$$m=\delta_0\cdot \frac{4\pi a^3}{3}.$$

If the density changes with distance from the origin, spherical coordinates often make the formula easier because $\rho$ is already built into the description.

Conclusion

Cylindrical and spherical coordinates are powerful tools for triple integrals because they match the shape of many important regions. Cylindrical coordinates use $\left(r,\theta,z\right)$ and are ideal for tubes, cylinders, and regions with circular symmetry around the $z$-axis. Spherical coordinates use $\left(\rho,\theta,\phi\right)$ and are ideal for spheres, balls, cones, and regions centered at the origin. 🌟

The most important skills are recognizing when to switch coordinates, converting between systems, and using the correct volume elements $r\,dr\,d\theta\,dz$ and $\rho^2\sin\phi\,d\rho\,d\phi\,d\theta$. Once students learns to match the coordinate system to the region, triple integrals become much easier to set up and compute.

Study Notes

  • Cylindrical coordinates are $\left(r,\theta,z\right)$.
  • In cylindrical coordinates, $x=r\cos\theta$, $y=r\sin\theta$, and $z=z$.
  • The cylindrical volume element is $dV=r\,dr\,d\theta\,dz$.
  • Cylindrical coordinates are best for regions with circular symmetry around the $z$-axis.
  • Spherical coordinates are $\left(\rho,\theta,\phi\right)$.
  • In spherical coordinates, $x=\rho\sin\phi\cos\theta$, $y=\rho\sin\phi\sin\theta$, and $z=\rho\cos\phi$.
  • The spherical volume element is $dV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta$.
  • Spherical coordinates are best for spheres, balls, and cones.
  • For a sphere of radius $a$, the equation is $\rho=a$.
  • For a cylinder of radius $a$ around the $z$-axis, the equation is $r=a$.
  • Triple integrals in these coordinates are often easier because the bounds fit the shape of the region.
  • Mass is found using $m=\iiint_E \delta\,dV$, where $\delta$ is density.
  • Choosing the right coordinate system is a key strategy in multivariable calculus.

Practice Quiz

5 questions to test your understanding

Cylindrical And Spherical Coordinates — Multivariable Calculus | A-Warded