Cylindrical and Spherical
Coordinates
Representation and
Conversions
Representing 3D points in
Cylindrical Coordinates.
r
Recall polar representations in the plane
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
Representing 3D points in
Cylindrical Coordinates.
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,).
r
Representing 3D points in
Cylindrical Coordinates.
r
(r,,z)
Converting between rectangular
and Cylindrical Coordinates
r
r
(r,,z)
cos( )
sin( )
x r
y r
z z





Rectangular to Cylindrical
2 2 2
tan( )
r x y
y
x
z z
 



Cylindrical to rectangularNo real surprises here!
Representing 3D points in Spherical
Coordinates
Spherical Coordinates are the 3D
analog of polar representations in
the plane.
We divide 3-dimensional space into
1. a set of concentric spheres centered at
the origin.
2. rays emanating outward from the origin
Representing 3D points in Spherical
Coordinates
(x,y,z)
We start with a point (x,y,z) given
in rectangular coordinates.
Then, measuring its distance 
from the origin, we locate it on a
sphere of radius  centered at the
origin.
Next, we have to find a way to
describe its location on the sphere.

Representing 3D points in Spherical
Coordinates
We use a method similar to the
method used to measure latitude
and longitude on the surface of the
Earth.
We find the great circle that goes
through the “north pole,” the “south
pole,” and the point.
Representing 3D points in Spherical
Coordinates

We measure the latitude or polar
angle starting at the “north pole” in
the plane given by the great circle.
This angle is called . The range
of this angle is
Note:
all angles are measured in
radians, as always.
0 .  
Representing 3D points in Spherical
Coordinates
We use a method similar to the
method used to measure latitude
and longitude on the surface of the
Earth.
Next, we draw a horizontal circle
on the sphere that passes through
the point.
Representing 3D points in Spherical
Coordinates
And “drop it down” onto the xy-
plane.
Representing 3D points in Spherical
Coordinates
We measure the latitude or azimuthal
angle on the latitude circle, starting at
the positive x-axis and rotating toward
the positive y-axis.
The range of the angle is
Angle is called .
0 2 .  
Note that this is the same angle as the  in cylindrical coordinates!
Finally, a Point in Spherical
Coordinates!
( , ,)
Our designated point on the
sphere is indicated by the three
spherical coordinates ( ,  , ) ---
(radial distance, azimuthal angle,
polar angle).
Please note that this notation is not
at all standard and varies from
author to author and discipline to
discipline. (In particular, physicists
often use  to refer to the
azimuthal angle and  refer to the
polar angle.)

Converting Between Rectangular
and Spherical Coordinates

(x,y,z)
z

r
First note that if r is the usual cylindrical
coordinate for (x,y,z)
we have a right triangle with
•acute angle ,
•hypotenuse , and
•legs r and z.
It follows that
sin( ) cos( ) tan( )
r z r
z
  
 
  
What happens if
 is not acute?
Converting Between Rectangular
and Spherical Coordinates

(x,y,z)
z

r
cos( ) sin( )cos( )
sin( ) sin( )sin( )
cos( )
x r
y r
z
   
   
 
 
 

Spherical to rectangular
Converting from Spherical to
Rectangular Coordinates

(x,y,z)
z

r
Rectangular to Spherical
2 2 2
2 2
2 2 2
tan( )
tan( )
cos( )
x y z
y
x
x yr
z z
z z
x y z





  


 
 
 
Cylindrical and Spherical
Coordinates
Integration
Integration Elements:
Rectangular Coordinates
We know that in a Riemann Sum approximation for a
triple integral, a summand
This computes the function value at some point in the little
“sub-cube” and multiplies it by the volume of the little
cube of length , width , and height .
* * *
( , , ) .i i i i i if x y z x y z  
* * *
function value volume of the small
at a sampling point cube
( , , ) .i i i i i if x y z x y z  
1 4 2 4 3 14 2 43
ix iy iz
Integration Elements:
Cylindrical Coordinates
What happens when we consider small changes
in the cylindrical coordinates r, , and z?
, , andr z  
We no longer get a
cube, and (similarly to
the 2D case with polar
coordinates) this affects
integration.
Integration Elements:
Cylindrical Coordinates
What happens when we consider small changes
in the cylindrical coordinates r, , and z?
, , andr z  
Start with our previous
picture of cylindrical
coordinates:
r
r
Integration Elements:
Cylindrical Coordinates
What happens when we consider small changes
in the cylindrical coordinates r, , and z?
, , andr z  
Start with our previous
picture of cylindrical
coordinates:
Expand the radius by a
small amount:
r
r
r+r
r
Integration Elements:
Cylindrical Coordinates
r+r
r
This leaves us with a thin cylindrical shell of inner radius r
and outer radius r+ r.
r
r+r
Integration Elements:
Cylindrical Coordinates
Now we consider the angle .
We want to increase it by a small amount .



Integration Elements:
Cylindrical Coordinates

This give us a “wedge.”
Combining this with the cylindrical shell created by the
change in r, we get
Integration Elements:
Cylindrical Coordinates
This give us a “wedge.”
Intersecting this wedge with the cylindrical shell created by
the change in r, we get
Integration Elements:
Cylindrical Coordinates
Finally , we look at a small vertical change  z .
Integration in Cylindrical Coordinates.
dA r dr d 
We need to find the volume of this little solid.
As in polar coordinates, we have the area of a horizontal
cross section is. . .
Integration in Cylindrical Coordinates.
dV r dr d dz 
We need to find the volume of this little solid.
Since the volume is just the base times the height. . .
So . . .
( , , )
S
f r z r dr d dz 

Cylindrical and spherical coordinates

  • 1.
  • 2.
    Representing 3D pointsin Cylindrical Coordinates. r Recall polar representations in the plane
  • 3.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 4.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 5.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 6.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 7.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 8.
    Representing 3D pointsin Cylindrical Coordinates. r Cylindrical coordinates just adds a z-coordinate to the polar coordinates (r,).
  • 9.
    r Representing 3D pointsin Cylindrical Coordinates. r (r,,z)
  • 10.
    Converting between rectangular andCylindrical Coordinates r r (r,,z) cos( ) sin( ) x r y r z z      Rectangular to Cylindrical 2 2 2 tan( ) r x y y x z z      Cylindrical to rectangularNo real surprises here!
  • 11.
    Representing 3D pointsin Spherical Coordinates Spherical Coordinates are the 3D analog of polar representations in the plane. We divide 3-dimensional space into 1. a set of concentric spheres centered at the origin. 2. rays emanating outward from the origin
  • 12.
    Representing 3D pointsin Spherical Coordinates (x,y,z) We start with a point (x,y,z) given in rectangular coordinates. Then, measuring its distance  from the origin, we locate it on a sphere of radius  centered at the origin. Next, we have to find a way to describe its location on the sphere. 
  • 13.
    Representing 3D pointsin Spherical Coordinates We use a method similar to the method used to measure latitude and longitude on the surface of the Earth. We find the great circle that goes through the “north pole,” the “south pole,” and the point.
  • 14.
    Representing 3D pointsin Spherical Coordinates  We measure the latitude or polar angle starting at the “north pole” in the plane given by the great circle. This angle is called . The range of this angle is Note: all angles are measured in radians, as always. 0 .  
  • 15.
    Representing 3D pointsin Spherical Coordinates We use a method similar to the method used to measure latitude and longitude on the surface of the Earth. Next, we draw a horizontal circle on the sphere that passes through the point.
  • 16.
    Representing 3D pointsin Spherical Coordinates And “drop it down” onto the xy- plane.
  • 17.
    Representing 3D pointsin Spherical Coordinates We measure the latitude or azimuthal angle on the latitude circle, starting at the positive x-axis and rotating toward the positive y-axis. The range of the angle is Angle is called . 0 2 .   Note that this is the same angle as the  in cylindrical coordinates!
  • 18.
    Finally, a Pointin Spherical Coordinates! ( , ,) Our designated point on the sphere is indicated by the three spherical coordinates ( ,  , ) --- (radial distance, azimuthal angle, polar angle). Please note that this notation is not at all standard and varies from author to author and discipline to discipline. (In particular, physicists often use  to refer to the azimuthal angle and  refer to the polar angle.) 
  • 19.
    Converting Between Rectangular andSpherical Coordinates  (x,y,z) z  r First note that if r is the usual cylindrical coordinate for (x,y,z) we have a right triangle with •acute angle , •hypotenuse , and •legs r and z. It follows that sin( ) cos( ) tan( ) r z r z         What happens if  is not acute?
  • 20.
    Converting Between Rectangular andSpherical Coordinates  (x,y,z) z  r cos( ) sin( )cos( ) sin( ) sin( )sin( ) cos( ) x r y r z                Spherical to rectangular
  • 21.
    Converting from Sphericalto Rectangular Coordinates  (x,y,z) z  r Rectangular to Spherical 2 2 2 2 2 2 2 2 tan( ) tan( ) cos( ) x y z y x x yr z z z z x y z                
  • 22.
  • 23.
    Integration Elements: Rectangular Coordinates Weknow that in a Riemann Sum approximation for a triple integral, a summand This computes the function value at some point in the little “sub-cube” and multiplies it by the volume of the little cube of length , width , and height . * * * ( , , ) .i i i i i if x y z x y z   * * * function value volume of the small at a sampling point cube ( , , ) .i i i i i if x y z x y z   1 4 2 4 3 14 2 43 ix iy iz
  • 24.
    Integration Elements: Cylindrical Coordinates Whathappens when we consider small changes in the cylindrical coordinates r, , and z? , , andr z   We no longer get a cube, and (similarly to the 2D case with polar coordinates) this affects integration.
  • 25.
    Integration Elements: Cylindrical Coordinates Whathappens when we consider small changes in the cylindrical coordinates r, , and z? , , andr z   Start with our previous picture of cylindrical coordinates: r r
  • 26.
    Integration Elements: Cylindrical Coordinates Whathappens when we consider small changes in the cylindrical coordinates r, , and z? , , andr z   Start with our previous picture of cylindrical coordinates: Expand the radius by a small amount: r r r+r r
  • 27.
    Integration Elements: Cylindrical Coordinates r+r r Thisleaves us with a thin cylindrical shell of inner radius r and outer radius r+ r. r r+r
  • 28.
    Integration Elements: Cylindrical Coordinates Nowwe consider the angle . We want to increase it by a small amount .   
  • 29.
    Integration Elements: Cylindrical Coordinates  Thisgive us a “wedge.” Combining this with the cylindrical shell created by the change in r, we get
  • 30.
    Integration Elements: Cylindrical Coordinates Thisgive us a “wedge.” Intersecting this wedge with the cylindrical shell created by the change in r, we get
  • 31.
    Integration Elements: Cylindrical Coordinates Finally, we look at a small vertical change  z .
  • 32.
    Integration in CylindricalCoordinates. dA r dr d  We need to find the volume of this little solid. As in polar coordinates, we have the area of a horizontal cross section is. . .
  • 33.
    Integration in CylindricalCoordinates. dV r dr d dz  We need to find the volume of this little solid. Since the volume is just the base times the height. . . So . . . ( , , ) S f r z r dr d dz 