Math Core

Lesson 4.6 · Multiple Integrals

Cylindrical and spherical coordinates

Polar coordinates made disks and circular regions easy in the plane. In space, the same idea gives two new coordinate systems. Cylindrical coordinates suit solids with an axis of symmetry, like cylinders, cones and paraboloids. Spherical coordinates suit solids built from spheres and cones centered at the origin.

Cylindrical coordinates

Cylindrical coordinates are polar coordinates in the xyxy-plane with zz left alone. A point is written (r,θ,z)(r, \theta, z), where

x=rcos⁡θ,y=rsin⁡θ,z=z,r2=x2+y2.x = r\cos\theta, \qquad y = r\sin\theta, \qquad z = z, \qquad r^2 = x^2 + y^2.

Simple equations describe common surfaces. r=2r = 2 is a cylinder of radius 22 around the zz-axis, θ=π4\theta = \frac{\pi}{4} is a vertical half-plane, and z=r2z = r^2 is the paraboloid z=x2+y2z = x^2 + y^2.

To find the volume element, take a small polar area element r dr dθr\,dr\,d\theta and give it height dzdz.

Triple integrals in cylindrical coordinates

If EE is the solid u1(r,θ)≤z≤u2(r,θ)u_1(r, \theta) \le z \le u_2(r, \theta) over a polar region DD, then

∭Ef dV=∬D∫u1u2f(rcos⁡θ, rsin⁡θ, z) r dz dr dθ.\iiint_E f\,dV = \iint_D \int_{u_1}^{u_2} f(r\cos\theta,\ r\sin\theta,\ z)\,r\,dz\,dr\,d\theta.

The volume element is dV=r dz dr dθdV = r\,dz\,dr\,d\theta.

Worked example: An integral over a solid cylinder

Evaluate ∭E(x2+y2)dV\displaystyle\iiint_E \left(x^2 + y^2\right)dV, where EE is the solid cylinder x2+y2≤1x^2 + y^2 \le 1, 0≤z≤20 \le z \le 2.

Solution. In cylindrical coordinates, EE is 0≤θ≤2π0 \le \theta \le 2\pi, 0≤r≤10 \le r \le 1, 0≤z≤20 \le z \le 2, and x2+y2=r2x^2 + y^2 = r^2:

∫02π∫01∫02r2⋅r dz dr dθ=2π⋅14⋅2=π.\int_0^{2\pi} \int_0^1 \int_0^2 r^2 \cdot r\,dz\,dr\,d\theta = 2\pi \cdot \frac{1}{4} \cdot 2 = \pi.
A vertical slice through the solid of the next example: between the bowl z = r² and the dome z = 8 − r². They meet where r = 2.Open in grapher →

Worked example: Between two paraboloids

Find the volume of the solid between the paraboloids z=x2+y2z = x^2 + y^2 and z=8−x2−y2z = 8 - x^2 - y^2.

Solution. In cylindrical coordinates the surfaces are z=r2z = r^2 (below) and z=8−r2z = 8 - r^2 (above). They meet where r2=8−r2r^2 = 8 - r^2, so r=2r = 2. The shadow is the disk r≤2r \le 2:

V=∫02π∫02∫r28−r2r dz dr dθ=2π∫02(8r−2r3)dr=2π[4r2−r42]02=2π(16−8)=16π.V = \int_0^{2\pi} \int_0^2 \int_{r^2}^{8 - r^2} r\,dz\,dr\,d\theta = 2\pi\int_0^2 \left(8r - 2r^3\right)dr = 2\pi\left[4r^2 - \frac{r^4}{2}\right]_0^2 = 2\pi(16 - 8) = 16\pi.

Spherical coordinates

A point in spherical coordinates is (ρ,θ,ϕ)(\rho, \theta, \phi):

  • ρ≥0\rho \ge 0 is the distance from the origin, so ρ2=x2+y2+z2\rho^2 = x^2 + y^2 + z^2.
  • θ\theta is the same angle as in cylindrical coordinates.
  • ϕ\phi is the angle down from the positive zz-axis, with 0≤ϕ≤π0 \le \phi \le \pi.

The distance from the zz-axis is r=ρsin⁡ϕr = \rho\sin\phi, and the height is z=ρcos⁡ϕz = \rho\cos\phi. Combining with polar coordinates,

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.

In these coordinates, ρ=a\rho = a is a sphere of radius aa, ϕ=π2\phi = \frac{\pi}{2} is the xyxy-plane, and ϕ=c\phi = c (for 0<c<π20 < c < \frac{\pi}{2}) is a cone opening upward.

A small spherical "box" has sides dρd\rho (outward), ρ dϕ\rho\,d\phi (along a meridian) and ρsin⁡ϕ dθ\rho\sin\phi\,d\theta (along a circle of radius ρsin⁡ϕ\rho\sin\phi). Multiplying gives the volume element.

Triple integrals in spherical coordinates

∭Ef dV=∭f(ρsin⁡ϕcos⁡θ, ρsin⁡ϕsin⁡θ, ρcos⁡ϕ) ρ2sin⁡ϕ dρ dϕ dθ.\iiint_E f\,dV = \iiint f(\rho\sin\phi\cos\theta,\ \rho\sin\phi\sin\theta,\ \rho\cos\phi)\,\rho^2\sin\phi\,d\rho\,d\phi\,d\theta.

The volume element is dV=ρ2sin⁡ϕ dρ dϕ dθdV = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta.

Common mistake

Don't forget the extra factors. In cylindrical coordinates dV=r dz dr dθdV = r\,dz\,dr\,d\theta, not dz dr dθdz\,dr\,d\theta. In spherical coordinates dV=ρ2sin⁡ϕ dρ dϕ dθdV = \rho^2\sin\phi\,d\rho\,d\phi\,d\theta. Also, ϕ\phi runs only from 00 to π\pi, not to 2π2\pi: it is θ\theta that goes all the way around.

Worked example: Volume of a ball

Find the volume of the ball x2+y2+z2≤a2x^2 + y^2 + z^2 \le a^2.

Solution. The ball is 0≤ρ≤a0 \le \rho \le a, 0≤ϕ≤π0 \le \phi \le \pi, 0≤θ≤2π0 \le \theta \le 2\pi. The limits are constants, so the integral splits:

V=∫02π∫0π∫0aρ2sin⁡ϕ dρ dϕ dθ=2π⋅[−cos⁡ϕ]0π⋅a33=2π⋅2⋅a33=43πa3.V = \int_0^{2\pi} \int_0^{\pi} \int_0^a \rho^2\sin\phi\,d\rho\,d\phi\,d\theta = 2\pi \cdot \Big[-\cos\phi\Big]_0^{\pi} \cdot \frac{a^3}{3} = 2\pi \cdot 2 \cdot \frac{a^3}{3} = \frac{4}{3}\pi a^3.

Worked example: An ice cream cone

Find the volume of the solid that lies above the cone z=x2+y2z = \sqrt{x^2 + y^2} and inside the sphere x2+y2+z2=4x^2 + y^2 + z^2 = 4.

Solution. On the cone, z=rz = r, so ρcos⁡ϕ=ρsin⁡ϕ\rho\cos\phi = \rho\sin\phi, which means tan⁡ϕ=1\tan\phi = 1 and ϕ=π4\phi = \frac{\pi}{4}. Above the cone means closer to the zz-axis, so 0≤ϕ≤π40 \le \phi \le \frac{\pi}{4}. The sphere is ρ=2\rho = 2:

V=∫02π∫0π/4∫02ρ2sin⁡ϕ dρ dϕ dθ=2π(1−22)83=8π3(2−2)≈4.91.V = \int_0^{2\pi} \int_0^{\pi/4} \int_0^2 \rho^2\sin\phi\,d\rho\,d\phi\,d\theta = 2\pi\left(1 - \frac{\sqrt{2}}{2}\right)\frac{8}{3} = \frac{8\pi}{3}\left(2 - \sqrt{2}\right) \approx 4.91.

Tip

Choose coordinates by the shape and the integrand. Expressions like x2+y2x^2 + y^2 and circular shadows suggest cylindrical. Expressions like x2+y2+z2x^2 + y^2 + z^2, spheres, and cones through the origin suggest spherical.

Practice

Practice 1

Convert the cylindrical point (r,θ,z)=(2,π3,5)(r, \theta, z) = \left(2, \frac{\pi}{3}, 5\right) to rectangular coordinates (x,y,z)(x, y, z).

Enter a point like (2, -3)

Practice 2

Convert the rectangular point (1,1,2)\left(1, 1, \sqrt{2}\right) to spherical coordinates (ρ,θ,ϕ)(\rho, \theta, \phi).

Enter a point like (2, -3)

Practice 3

Which equation describes the cone z=3(x2+y2)z = \sqrt{3\left(x^2 + y^2\right)} in spherical coordinates?

Practice 4

Find the volume of the solid under the paraboloid z=4−x2−y2z = 4 - x^2 - y^2 and above the xyxy-plane.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Evaluate ∭Ez dV\displaystyle\iiint_E z\,dV, where EE is the solid cylinder x2+y2≤4x^2 + y^2 \le 4, 0≤z≤30 \le z \le 3.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Evaluate ∭B(x2+y2+z2)dV\displaystyle\iiint_B \left(x^2 + y^2 + z^2\right)dV, where BB is the ball of radius 22 centered at the origin.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Evaluate ∭Be(x2+y2+z2)3/2 dV\displaystyle\iiint_B e^{\left(x^2 + y^2 + z^2\right)^{3/2}}\,dV, where BB is the unit ball.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 8

Find the volume of the solid above the cone z=3(x2+y2)z = \sqrt{3\left(x^2 + y^2\right)} and inside the unit sphere x2+y2+z2=1x^2 + y^2 + z^2 = 1.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.