Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

15.6: Cylindrical and Spherical Coordinates

( \newcommand{\kernel}{\mathrm{null}\,}\)

We have seen that sometimes double integrals are simplified by doing them in polar coordinates; not surprisingly, triple integrals are sometimes simpler in cylindrical coordinates or spherical coordinates. To set up integrals in polar coordinates, we had to understand the shape and area of a typical small region into which the region of integration was divided. We need to do the same thing here, for three dimensional regions.

The cylindrical coordinate system is the simplest, since it is just the polar coordinate system plus a z coordinate. A typical small unit of volume is the shape shown below "fattened up'' in the z direction, so its volume is rΔrΔθΔz, or in the limit, rdrdθdz.

img1.png

A polar coordinates "grid".

Example 15.6.1

Find the volume under z=4r2 above the quarter circle inside x2+y2=4 in the first quadrant.

Solution

We could of course do this with a double integral, but we'll use a triple integral:

π/20204r20rdzdrdθ=π/20204r2rdrdθ=4π3.

Compare this to Example 15.2.1.

Example 15.6.2

An object occupies the space inside both the cylinder x2+y2=1 and the sphere x2+y2+z2=4, and has density x2 at (x,y,z). Find the total mass.

Solution

We set this up in cylindrical coordinates, recalling that x=rcosθ:

2π0104r24r2r3cos2(θ)dzdrdθ=2π01024r2r3cos2(θ)drdθ=2π0(128152253)cos2(θ)dθ=(128152253)π

Spherical coordinates are somewhat more difficult to understand. The small volume we want will be defined by Δρ, Δϕ, and Δθ, as pictured in Figure 15.6.1.

The small volume is nearly box shaped, with 4 flat sides and two sides formed from bits of concentric spheres. When Δρ, Δϕ, and Δθ are all very small, the volume of this little region will be nearly the volume we get by treating it as a box. One dimension of the box is simply Δρ, the change in distance from the origin. The other two dimensions are the lengths of small circular arcs, so they are rΔα for some suitable r and α, just as in the polar coordinates case.

alt

Figure 15.6.1: A small unit of volume for a spherical coordinates (AP)

The easiest of these to understand is the arc corresponding to a change in ϕ, which is nearly identical to the derivation for polar coordinates, as shown in the left graph in Figure 15.6.2. In that graph we are looking "face on'' at the side of the box we are interested in, so the small angle pictured is precisely Δϕ, the vertical axis really is the z axis, but the horizontal axis is not a real axis---it is just some line in the x-y plane. Because the other arc is governed by θ, we need to imagine looking straight down the z axis, so that the apparent angle we see is Δθ. In this view, the axes really are the x and y axes. In this graph, the apparent distance from the origin is not ρ but ρsinϕ, as indicated in the left graph.

alt

Figure 15.6.2: Setting up integration in spherical coordinates.

The upshot is that the volume of the little box is approximately Δρ(ρΔϕ)(ρsinϕΔθ)=ρ2sinϕΔρΔϕΔθ, or in the limit ρ2sinϕdρdϕdθ.

Example 15.6.3

Suppose the temperature at (x,y,z) is T=11+x2+y2+z2. Find the average temperature in the unit sphere centered at the origin.

Solution

In two dimensions we add up the temperature at "each'' point and divide by the area; here we add up the temperatures and divide by the volume, (4/3)π:

34π111x21x21x2y21x2y211+x2+y2+z2dzdydx

This looks quite messy; since everything in the problem is closely related to a sphere, we'll convert to spherical coordinates.

34π2π0π01011+ρ2ρ2sinϕdρdϕdθ=34π(4ππ2)=33π4.

Contributors


This page titled 15.6: Cylindrical and Spherical Coordinates is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by David Guichard via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?