Sunteți pe pagina 1din 33

Cylindrical and Spherical

Coordinates
Representation and
Conversions
Representing 3D points in
Cylindrical Coordinates.
u
r
Recall polar representations in the plane
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
Representing 3D points in
Cylindrical Coordinates.
u
r
Cylindrical coordinates just adds a z-coordinate to the
polar coordinates (r,u).
u
r
Representing 3D points in
Cylindrical Coordinates.
u
r
(r,u,z)
Converting between rectangular
and Cylindrical Coordinates
u
r
u
r
(r,u,z)
cos( )
sin( )
x r
y r
z z
u
u
=
=
=
Rectangular to Cylindrical
2 2 2
tan( )
r x y
y
x
z z
= +
=
=
u
Cylindrical to rectangular
No 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 . | t s s
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 u.
0 2 . u t s <
Note that this is the same angle as the u in cylindrical coordinates!
Finally, a Point in Spherical
Coordinates!
( ,u ,|)
Our designated point on the
sphere is indicated by the three
spherical coordinates ( , u , |) ---
(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 u 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
u | u
u | u
|
= =
= =
=
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 y r
z z
z z
x y z

u
|
|

= + +
=
+
= =
= =
+ +
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 i
f x y z x y z A A A
* * *
function value volume of the small
at a sampling point cube
( , , ) .
i i i i i i
f x y z x y z A A A
i
x A
i
y A
i
z A
Integration Elements:
Cylindrical Coordinates
What happens when we consider small changes


in the cylindrical coordinates r, u, and z?
, , and r z A Au A
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, u, and z?
, , and r z A Au A
Start with our previous
picture of cylindrical
coordinates:
u
r
u
r
Integration Elements:
Cylindrical Coordinates
What happens when we consider small changes


in the cylindrical coordinates r, u, and z?
, , and r z A Au A
Start with our previous
picture of cylindrical
coordinates:
Expand the radius by a
small amount:
r A
r
r+Ar
r
Integration Elements:
Cylindrical Coordinates
r+Ar
r
This leaves us with a thin cylindrical shell of inner radius r
and outer radius r+A r.
r
r+Ar
Integration Elements:
Cylindrical Coordinates
Now we consider the angle u.

We want to increase it by a small amount Au.
u
u
Au
Integration Elements:
Cylindrical Coordinates
u
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 A z .
Integration in Cylindrical Coordinates.
dA r dr d ~ u
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 ~ u
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 u u
}}}

S-ar putea să vă placă și