Calculus Volume 3

# 2.7Cylindrical and Spherical Coordinates

Calculus Volume 32.7 Cylindrical and Spherical Coordinates

## Learning Objectives

• 2.7.1 Convert from cylindrical to rectangular coordinates.
• 2.7.2 Convert from rectangular to cylindrical coordinates.
• 2.7.3 Convert from spherical to rectangular coordinates.
• 2.7.4 Convert from rectangular to spherical coordinates.

The Cartesian coordinate system provides a straightforward way to describe the location of points in space. Some surfaces, however, can be difficult to model with equations based on the Cartesian system. This is a familiar problem; recall that in two dimensions, polar coordinates often provide a useful alternative system for describing the location of a point in the plane, particularly in cases involving circles. In this section, we look at two different ways of describing the location of points in space, both of them based on extensions of polar coordinates. As the name suggests, cylindrical coordinates are useful for dealing with problems involving cylinders, such as calculating the volume of a round water tank or the amount of oil flowing through a pipe. Similarly, spherical coordinates are useful for dealing with problems involving spheres, such as finding the volume of domed structures.

## Cylindrical Coordinates

When we expanded the traditional Cartesian coordinate system from two dimensions to three, we simply added a new axis to model the third dimension. Starting with polar coordinates, we can follow this same process to create a new three-dimensional coordinate system, called the cylindrical coordinate system. In this way, cylindrical coordinates provide a natural extension of polar coordinates to three dimensions.

## Definition

In the cylindrical coordinate system, a point in space (Figure 2.89) is represented by the ordered triple $(r,θ,z),(r,θ,z),$ where

• $(r,θ)(r,θ)$ are the polar coordinates of the point’s projection in the xy-plane
• $zz$ is the usual $z-coordinatez-coordinate$ in the Cartesian coordinate system
Figure 2.89 The right triangle lies in the xy-plane. The length of the hypotenuse is $rr$ and $θθ$ is the measure of the angle formed by the positive x-axis and the hypotenuse. The
z-coordinate describes the location of the point above or below the xy-plane.

In the xy-plane, the right triangle shown in Figure 2.89 provides the key to transformation between cylindrical and Cartesian, or rectangular, coordinates.

## Theorem2.15

### Conversion between Cylindrical and Cartesian Coordinates

The rectangular coordinates $(x,y,z)(x,y,z)$ and the cylindrical coordinates $(r,θ,z)(r,θ,z)$ of a point are related as follows:

$x=rcosθThese equations are used to convert fromy=rsinθcylindrical coordinates to rectangularz=zcoordinates.andr2=x2+y2These equations are used to convert fromtanθ=yxrectangular coordinates to cylindricalz=zcoordinates.x=rcosθThese equations are used to convert fromy=rsinθcylindrical coordinates to rectangularz=zcoordinates.andr2=x2+y2These equations are used to convert fromtanθ=yxrectangular coordinates to cylindricalz=zcoordinates.$

As when we discussed conversion from rectangular coordinates to polar coordinates in two dimensions, it should be noted that the equation $tanθ=yxtanθ=yx$ has an infinite number of solutions. However, if we restrict $θθ$ to values between $00$ and $2π,2π,$ then we can find a unique solution based on the quadrant of the xy-plane in which original point $(x,y,z)(x,y,z)$ is located. Note that if $x=0,x=0,$ then the value of $θθ$ is either $π2,3π2,π2,3π2,$ or $0,0,$ depending on the value of $y.y.$

Notice that these equations are derived from properties of right triangles. To make this easy to see, consider point $PP$ in the xy-plane with rectangular coordinates $(x,y,0)(x,y,0)$ and with cylindrical coordinates $(r,θ,0),(r,θ,0),$ as shown in the following figure.

Figure 2.90 The Pythagorean theorem provides equation $r2=x2+y2.r2=x2+y2.$ Right-triangle relationships tell us that $x=rcosθ,x=rcosθ,$ $y=rsinθ,y=rsinθ,$ and $tanθ=y/x.tanθ=y/x.$

Let’s consider the differences between rectangular and cylindrical coordinates by looking at the surfaces generated when each of the coordinates is held constant. If $cc$ is a constant, then in rectangular coordinates, surfaces of the form $x=c,x=c,$ $y=c,y=c,$ or $z=cz=c$ are all planes. Planes of these forms are parallel to the yz-plane, the xz-plane, and the xy-plane, respectively. When we convert to cylindrical coordinates, the z-coordinate does not change. Therefore, in cylindrical coordinates, surfaces of the form $z=cz=c$ are planes parallel to the xy-plane. Now, let’s think about surfaces of the form $r=c.r=c.$ The points on these surfaces are at a fixed distance from the z-axis. In other words, these surfaces are vertical circular cylinders. Last, what about $θ=c?θ=c?$ The points on a surface of the form $θ=cθ=c$ are at a fixed angle from the x-axis, which gives us a half-plane that starts at the z-axis (Figure 2.91 and Figure 2.92).

Figure 2.91 In rectangular coordinates, (a) surfaces of the form $x=cx=c$ are planes parallel to the yz-plane, (b) surfaces of the form $y=cy=c$ are planes parallel to the xz-plane, and (c) surfaces of the form $z=cz=c$ are planes parallel to the xy-plane.
Figure 2.92 In cylindrical coordinates, (a) surfaces of the form $r=cr=c$ are vertical cylinders of radius $c,c,$ (b) surfaces of the form $θ=cθ=c$ are half-planes at angle $cc$ from the x-axis, and (c) surfaces of the form $z=cz=c$ are planes parallel to the xy-plane.

## Example 2.60

### Converting from Cylindrical to Rectangular Coordinates

Plot the point with cylindrical coordinates $(4,2π3,−2)(4,2π3,−2)$ and express its location in rectangular coordinates.

## Checkpoint2.55

Point $RR$ has cylindrical coordinates $(5,π6,4)(5,π6,4)$. Plot $RR$ and describe its location in space using rectangular, or Cartesian, coordinates.

If this process seems familiar, it is with good reason. This is exactly the same process that we followed in Introduction to Parametric Equations and Polar Coordinates to convert from polar coordinates to two-dimensional rectangular coordinates.

## Example 2.61

### Converting from Rectangular to Cylindrical Coordinates

Convert the rectangular coordinates $(1,−3,5)(1,−3,5)$ to cylindrical coordinates.

## Checkpoint2.56

Convert point $(−8,8,−7)(−8,8,−7)$ from Cartesian coordinates to cylindrical coordinates.

The use of cylindrical coordinates is common in fields such as physics. Physicists studying electrical charges and the capacitors used to store these charges have discovered that these systems sometimes have a cylindrical symmetry. These systems have complicated modeling equations in the Cartesian coordinate system, which make them difficult to describe and analyze. The equations can often be expressed in more simple terms using cylindrical coordinates. For example, the cylinder described by equation $x2+y2=25x2+y2=25$ in the Cartesian system can be represented by cylindrical equation $r=5.r=5.$

## Example 2.62

### Identifying Surfaces in the Cylindrical Coordinate System

Describe the surfaces with the given cylindrical equations.

1. $θ=π4θ=π4$
2. $r2+z2=9r2+z2=9$
3. $z=rz=r$

## Checkpoint2.57

Describe the surface with cylindrical equation $r=6.r=6.$

## Spherical Coordinates

In the Cartesian coordinate system, the location of a point in space is described using an ordered triple in which each coordinate represents a distance. In the cylindrical coordinate system, location of a point in space is described using two distances $(randz)(randz)$ and an angle measure $(θ).(θ).$ In the spherical coordinate system, we again use an ordered triple to describe the location of a point in space. In this case, the triple describes one distance and two angles. Spherical coordinates make it simple to describe a sphere, just as cylindrical coordinates make it easy to describe a cylinder. Grid lines for spherical coordinates are based on angle measures, like those for polar coordinates.

## Definition

In the spherical coordinate system, a point $PP$ in space (Figure 2.97) is represented by the ordered triple $(ρ,θ,φ)(ρ,θ,φ)$ where

• $ρρ$ (the Greek letter rho) is the distance between $PP$ and the origin $(ρ≠0);(ρ≠0);$
• $θθ$ is the same angle used to describe the location in cylindrical coordinates;
• $φφ$ (the Greek letter phi) is the angle formed by the positive z-axis and line segment $OP—,OP—,$ where $OO$ is the origin and $0≤φ≤π.0≤φ≤π.$
Figure 2.97 The relationship among spherical, rectangular, and cylindrical coordinates.

By convention, the origin is represented as $(0,0,0)(0,0,0)$ in spherical coordinates.

## Theorem2.16

### Converting among Spherical, Cylindrical, and Rectangular Coordinates

Rectangular coordinates $(x,y,z)(x,y,z)$ and spherical coordinates $(ρ,θ,φ)(ρ,θ,φ)$ of a point are related as follows:

$x=ρsinφcosθThese equations are used to convert fromy=ρsinφsinθspherical coordinates to rectangularz=ρcosφcoordinates.andρ2=x2+y2+z2These equations are used to convert fromtanθ=yxrectangular coordinates to sphericalφ=arccos(zx2+y2+z2).coordinates.x=ρsinφcosθThese equations are used to convert fromy=ρsinφsinθspherical coordinates to rectangularz=ρcosφcoordinates.andρ2=x2+y2+z2These equations are used to convert fromtanθ=yxrectangular coordinates to sphericalφ=arccos(zx2+y2+z2).coordinates.$

If a point has cylindrical coordinates $(r,θ,z),(r,θ,z),$ then these equations define the relationship between cylindrical and spherical coordinates.

$r=ρsinφThese equations are used to convert fromθ=θspherical coordinates to cylindricalz=ρcosφcoordinates.andρ=r2+z2These equations are used to convert fromθ=θcylindrical coordinates to sphericalφ=arccos(zr2+z2)coordinates.r=ρsinφThese equations are used to convert fromθ=θspherical coordinates to cylindricalz=ρcosφcoordinates.andρ=r2+z2These equations are used to convert fromθ=θcylindrical coordinates to sphericalφ=arccos(zr2+z2)coordinates.$

The formulas to convert from spherical coordinates to rectangular coordinates may seem complex, but they are straightforward applications of trigonometry. Looking at Figure 2.98, it is easy to see that $r=ρsinφ.r=ρsinφ.$ Then, looking at the triangle in the xy-plane with $rr$ as its hypotenuse, we have $x=rcosθ=ρsinφcosθ.x=rcosθ=ρsinφcosθ.$ The derivation of the formula for $yy$ is similar. Figure 2.96 also shows that $ρ2=r2+z2=x2+y2+z2ρ2=r2+z2=x2+y2+z2$ and $z=ρcosφ.z=ρcosφ.$ Solving this last equation for $φφ$ and then substituting $ρ=r2+z2ρ=r2+z2$ (from the first equation) yields $φ=arccos(zr2+z2).φ=arccos(zr2+z2).$ Also, note that, as before, we must be careful when using the formula $tanθ=yxtanθ=yx$ to choose the correct value of $θ.θ.$

Figure 2.98 The equations that convert from one system to another are derived from right-triangle relationships.

As we did with cylindrical coordinates, let’s consider the surfaces that are generated when each of the coordinates is held constant. Let $cc$ be a constant, and consider surfaces of the form $ρ=c.ρ=c.$ Points on these surfaces are at a fixed distance from the origin and form a sphere. The coordinate $θθ$ in the spherical coordinate system is the same as in the cylindrical coordinate system, so surfaces of the form $θ=cθ=c$ are half-planes, as before. Last, consider surfaces of the form $φ=c.φ=c.$ The points on these surfaces are at a fixed angle from the z-axis and form a half-cone (Figure 2.99).

Figure 2.99 In spherical coordinates, surfaces of the form $ρ=cρ=c$ are spheres of radius $ρρ$ (a), surfaces of the form $θ=cθ=c$ are half-planes at an angle $θθ$ from the x-axis (b), and surfaces of the form $ϕ=cϕ=c$ are half-cones at an angle $ϕϕ$ from the z-axis (c).

## Example 2.63

### Converting from Spherical Coordinates

Plot the point with spherical coordinates $(8,π3,π6)(8,π3,π6)$ and express its location in both rectangular and cylindrical coordinates.

## Checkpoint2.58

Plot the point with spherical coordinates $(2,−5π6,π6)(2,−5π6,π6)$ and describe its location in both rectangular and cylindrical coordinates.

## Example 2.64

### Converting from Rectangular Coordinates

Convert the rectangular coordinates $(−1,1,6)(−1,1,6)$ to both spherical and cylindrical coordinates.

## Example 2.65

### Identifying Surfaces in the Spherical Coordinate System

Describe the surfaces with the given spherical equations.

1. $θ=π3θ=π3$
2. $φ=5π6φ=5π6$
3. $ρ=6ρ=6$
4. $ρ=sinθsinφρ=sinθsinφ$

## Checkpoint2.59

Describe the surfaces defined by the following equations.

1. $ρ=13ρ=13$
2. $θ=2π3θ=2π3$
3. $φ=π4φ=π4$

Spherical coordinates are useful in analyzing systems that have some degree of symmetry about a point, such as the volume of the space inside a domed stadium or wind speeds in a planet’s atmosphere. A sphere that has Cartesian equation $x2+y2+z2=c2x2+y2+z2=c2$ has the simple equation $ρ=cρ=c$ in spherical coordinates.

In geography, latitude and longitude are used to describe locations on Earth’s surface, as shown in Figure 2.104. Although the shape of Earth is not a perfect sphere, we use spherical coordinates to communicate the locations of points on Earth. Let’s assume Earth has the shape of a sphere with radius $40004000$ mi. We express angle measures in degrees rather than radians because latitude and longitude are measured in degrees.

Figure 2.104 In the latitude–longitude system, angles describe the location of a point on Earth relative to the equator and the prime meridian.

Let the center of Earth be the center of the sphere, with the ray from the center through the North Pole representing the positive z-axis. The prime meridian represents the trace of the surface as it intersects the xz-plane. The equator is the trace of the sphere intersecting the xy-plane.

## Example 2.66

### Converting Latitude and Longitude to Spherical Coordinates

The latitude of Columbus, Ohio, is $40°40°$ N and the longitude is $83°83°$ W, which means that Columbus is $40°40°$ north of the equator. Imagine a ray from the center of Earth through Columbus and a ray from the center of Earth through the equator directly south of Columbus. The measure of the angle formed by the rays is $40°.40°.$ In the same way, measuring from the prime meridian, Columbus lies $83°83°$ to the west. Express the location of Columbus in spherical coordinates.

## Checkpoint2.60

Sydney, Australia is at $34°S34°S$ and $151°E.151°E.$ Express Sydney’s location in spherical coordinates.

Cylindrical and spherical coordinates give us the flexibility to select a coordinate system appropriate to the problem at hand. A thoughtful choice of coordinate system can make a problem much easier to solve, whereas a poor choice can lead to unnecessarily complex calculations. In the following example, we examine several different problems and discuss how to select the best coordinate system for each one.

## Example 2.67

### Choosing the Best Coordinate System

In each of the following situations, we determine which coordinate system is most appropriate and describe how we would orient the coordinate axes. There could be more than one right answer for how the axes should be oriented, but we select an orientation that makes sense in the context of the problem. Note: There is not enough information to set up or solve these problems; we simply select the coordinate system (Figure 2.105).

1. Find the center of gravity of a bowling ball.
2. Determine the velocity of a submarine subjected to an ocean current.
3. Calculate the pressure in a conical water tank.
4. Find the volume of oil flowing through a pipeline.
5. Determine the amount of leather required to make a football.
Figure 2.105 (credit: (a) modification of work by scl hua, Wikimedia, (b) modification of work by DVIDSHUB, Flickr, (c) modification of work by Michael Malak, Wikimedia, (d) modification of work by Sean Mack, Wikimedia, (e) modification of work by Elvert Barnes, Flickr)

## Checkpoint2.61

Which coordinate system is most appropriate for creating a star map, as viewed from Earth (see the following figure)?

How should we orient the coordinate axes?

## Section 2.7 Exercises

Use the following figure as an aid in identifying the relationship between the rectangular, cylindrical, and spherical coordinate systems.

For the following exercises, the cylindrical coordinates $(r,θ,z)(r,θ,z)$ of a point are given. Find the rectangular coordinates $(x,y,z)(x,y,z)$ of the point.

363.

$( 4 , π 6 , 3 ) ( 4 , π 6 , 3 )$

364.

$( 3 , π 3 , 5 ) ( 3 , π 3 , 5 )$

365.

$( 4 , 7 π 6 , 3 ) ( 4 , 7 π 6 , 3 )$

366.

$( 2 , π , −4 ) ( 2 , π , −4 )$

For the following exercises, the rectangular coordinates $(x,y,z)(x,y,z)$ of a point are given. Find the cylindrical coordinates $(r,θ,z)(r,θ,z)$ of the point.

367.

$( 1 , 3 , 2 ) ( 1 , 3 , 2 )$

368.

$( 1 , 1 , 5 ) ( 1 , 1 , 5 )$

369.

$( 3 , −3 , 7 ) ( 3 , −3 , 7 )$

370.

$( −2 2 , 2 2 , 4 ) ( −2 2 , 2 2 , 4 )$

For the following exercises, the equation of a surface in cylindrical coordinates is given.

Find the equation of the surface in rectangular coordinates. Identify and graph the surface.

371.

[T] $r=4r=4$

372.

[T] $z=r2cos2θz=r2cos2θ$

373.

[T] $r2cos(2θ)+z2+1=0r2cos(2θ)+z2+1=0$

374.

[T] $r=3sinθr=3sinθ$

375.

[T] $r=2cosθr=2cosθ$

376.

[T] $r2+z2=5r2+z2=5$

377.

[T] $r=2secθr=2secθ$

378.

[T] $r=3cscθr=3cscθ$

For the following exercises, the equation of a surface in rectangular coordinates is given. Find the equation of the surface in cylindrical coordinates.

379.

$z = 3 z = 3$

380.

$x = 6 x = 6$

381.

$x 2 + y 2 + z 2 = 9 x 2 + y 2 + z 2 = 9$

382.

$y = 2 x 2 y = 2 x 2$

383.

$x 2 + y 2 − 16 x = 0 x 2 + y 2 − 16 x = 0$

384.

$x 2 + y 2 − 3 x 2 + y 2 + 2 = 0 x 2 + y 2 − 3 x 2 + y 2 + 2 = 0$

For the following exercises, the spherical coordinates $(ρ,θ,φ)(ρ,θ,φ)$ of a point are given. Find the rectangular coordinates $(x,y,z)(x,y,z)$ of the point.

385.

$( 3 , 0 , π ) ( 3 , 0 , π )$

386.

$( 1 , π 6 , π 6 ) ( 1 , π 6 , π 6 )$

387.

$( 12 , − π 4 , π 4 ) ( 12 , − π 4 , π 4 )$

388.

$( 3 , π 4 , π 6 ) ( 3 , π 4 , π 6 )$

For the following exercises, the rectangular coordinates $(x,y,z)(x,y,z)$ of a point are given. Find the spherical coordinates $(ρ,θ,φ)(ρ,θ,φ)$ of the point. Express the measure of the angles in degrees rounded to the nearest integer.

389.

$( 4 , 0 , 0 ) ( 4 , 0 , 0 )$

390.

$( −1 , 2 , 1 ) ( −1 , 2 , 1 )$

391.

$( 0 , 3 , 0 ) ( 0 , 3 , 0 )$

392.

$( −2 , 2 3 , 4 ) ( −2 , 2 3 , 4 )$

For the following exercises, the equation of a surface in spherical coordinates is given. Find the equation of the surface in rectangular coordinates. Identify and graph the surface.

393.

[T] $ρ=3ρ=3$

394.

[T] $φ=π3φ=π3$

395.

[T] $ρ=2cosφρ=2cosφ$

396.

[T] $ρ=4cscφρ=4cscφ$

397.

[T] $φ=π2φ=π2$

398.

[T] $ρ=6cscφsecθρ=6cscφsecθ$

For the following exercises, the equation of a surface in rectangular coordinates is given. Find the equation of the surface in spherical coordinates. Identify the surface.

399.

$x2+y2−3z2=0,x2+y2−3z2=0,$ $z≠0z≠0$

400.

$x 2 + y 2 + z 2 − 4 z = 0 x 2 + y 2 + z 2 − 4 z = 0$

401.

$z = 6 z = 6$

402.

$x 2 + y 2 = 9 x 2 + y 2 = 9$

For the following exercises, the cylindrical coordinates of a point are given. Find its associated spherical coordinates, with the measure of the angle $φφ$ in radians rounded to four decimal places.

403.

[T] $(1,π4,3)(1,π4,3)$

404.

[T] $(5,π,12)(5,π,12)$

405.

$( 3 , π 2 , 3 ) ( 3 , π 2 , 3 )$

406.

$( 3 , − π 6 , 3 ) ( 3 , − π 6 , 3 )$

For the following exercises, the spherical coordinates of a point are given. Find its associated cylindrical coordinates.

407.

$( 2 , − π 4 , π 2 ) ( 2 , − π 4 , π 2 )$

408.

$( 4 , π 4 , π 6 ) ( 4 , π 4 , π 6 )$

409.

$( 8 , π 3 , π 2 ) ( 8 , π 3 , π 2 )$

410.

$( 9 , − π 6 , π 3 ) ( 9 , − π 6 , π 3 )$

For the following exercises, find the most suitable system of coordinates to describe the solids.

411.

The solid situated in the first octant with a vertex at the origin and enclosed by a cube of edge length $a,a,$ where $a>0a>0$

412.

A spherical shell determined by the region between two concentric spheres centered at the origin, of radii of $aa$ and $b,b,$ respectively, where $b>a>0b>a>0$

413.

A solid inside sphere $x2+y2+z2=9x2+y2+z2=9$ and outside cylinder $(x−32)2+y2=94(x−32)2+y2=94$

414.

A cylindrical shell of height $1010$ determined by the region between two cylinders with the same center, parallel rulings, and radii of $22$ and $5,5,$ respectively

415.

[T] Use a CAS to graph the region between elliptic paraboloid $z=x2+y2z=x2+y2$ and cone $x2+y2−z2=0.x2+y2−z2=0.$ Then describe the region in cylindrical coordinates.

416.

[T] Use a CAS to graph in spherical coordinates the “ice cream-cone region” situated above the xy-plane between sphere $x2+y2+z2=4x2+y2+z2=4$ and elliptical cone $x2+y2−z2=0.x2+y2−z2=0.$

417.

Washington, DC, is located at $39°39°$ N and $77°77°$ W (see the following figure). Assume the radius of Earth is $40004000$ mi. Express the location of Washington, DC, in spherical coordinates.

418.

San Francisco is located at $37.78°N37.78°N$ and $122.42°W.122.42°W.$ Assume the radius of Earth is $40004000$ mi. Express the location of San Francisco in spherical coordinates.

419.

Find the latitude and longitude of Rio de Janeiro if its spherical coordinates are $(4000,−43.17°,102.91°).(4000,−43.17°,102.91°).$

420.

Find the latitude and longitude of Berlin if its spherical coordinates are $(4000,13.38°,37.48°).(4000,13.38°,37.48°).$

421.

[T] Consider the torus of equation $(x2+y2+z2+R2−r2)2=4R2(x2+y2),(x2+y2+z2+R2−r2)2=4R2(x2+y2),$ where $R≥r>0.R≥r>0.$

1. Write the equation of the torus in spherical coordinates.
2. If $R=r,R=r,$ the surface is called a horn torus. Show that the equation of a horn torus in spherical coordinates is $ρ=2Rsinφ.ρ=2Rsinφ.$
3. Use a CAS to graph the horn torus with $R=r=2R=r=2$ in spherical coordinates.
422.

[T] The “bumpy sphere” with an equation in spherical coordinates is $ρ=a+bcos(mθ)sin(nφ),ρ=a+bcos(mθ)sin(nφ),$ with $θ∈[0,2π]θ∈[0,2π]$ and $φ∈[0,π],φ∈[0,π],$ where $aa$ and $bb$ are positive numbers and $mm$ and $nn$ are positive integers, may be used in applied mathematics to model tumor growth.

1. Show that the “bumpy sphere” is contained inside a sphere of equation $ρ=a+b.ρ=a+b.$ Find the values of $θθ$ and $φφ$ at which the two surfaces intersect.
2. Use a CAS to graph the surface for $a=14,a=14,$ $b=2,b=2,$ $m=4,m=4,$ and $n=6n=6$ along with sphere $ρ=a+b.ρ=a+b.$
3. Find the equation of the intersection curve of the surface at b. with the cone $φ=π12.φ=π12.$ Graph the intersection curve in the plane of intersection.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.