Review of Coordinate Systems:, Z), and Spherical (R
Review of Coordinate Systems:, Z), and Spherical (R
Review of Coordinate Systems:, Z), and Spherical (R
dL = d x2 + d y2 + d z2 (1)
dv = dx dy dz (2)
dL = d r 2 + r 2 d 2 + d z 2 (3)
and d v = d r r d d z (4)
dL = d r 2 + r 2 d 2 + r 2 sin 2 d 2 (5)
As the converse of (8), (9), and (10), the spherical coordinate values ( r , , ) may be
expressed in terms of rectangular coordinate distances as follows:
r = x2 + y2 + z2 r0 (14)
z
= cos 1 (0 ) (15)
x + y2 + z2
2
y
= tan 1 (16)
x
Note that the direction cosines are simply the dot products of the spherical unit vector r
with the rectangular unit vectors x, y, and z :
These and other dot product combinations are listed in the following table:
x y z r z r
x 1 0 0 cos sin 0 sin cos cos cos sin
Rectangular
sin cos 0 0 1 0 0 0 1
z 0 0 1 0 0 1 cos sin 0
sin cos 0 0 1 0 0 0 1
Note that the unit vectors r in the cylindrical and spherical systems are not the same.
For example,
Spherical Cylindrical
r x = sin cos r x = cos
r y = sin sin r y = sin
r z = cos r z = 0
In addition to rectangular, cylindrical, and spherical coordinate systems, there are many
other systems such as the elliptical, spheroidal (both prolate and oblate), and paraboloidal
systems. Although the number of possible systems is infinite, all of them can be treated
in terms of a generalized curvilinear coordinate system.
r 0 to r dr Cylinder r=constant
Cylindrical 0 to 2 r d Plane =constant
z to + z dz Plane z=constant
r 0 to r dr Sphere r=constant
Spherical 0 to r d Cone =constant
0 to 2 r sin d Plane =constant
The following two tables give the unit vector dot products in rectangular coordinates for
both rectangular-cylindrical and rectangular-spherical coordinates.
x y z
x y
r 0
x2 + y 2 x2 + y2
y x
0
x2 + y 2 x2 + y2
z 0 0 1
x
Example: y = cos =
x2 + y2
x y z
r x y z
x2 + y 2 + z 2 x2 + y 2 + z 2 x2 + y 2 + z 2
xz yz x2 + y 2
x2 + y 2 x2 + y 2 + z 2 x2 + y 2 x2 + y 2 + z 2 x2 + y 2 + z 2
y x
0
x +y
2 2
x + y2
2
x
Example: x r = sin cos =
x + y2 + z2
2
x x
Ar = Ax + Ay Ax = Ar cos A sin
x2 + y 2 x2 + y2
y x
A = Ax + Ay Ay = Ar sin A cos
x2 + y 2 x2 + y 2
Az = Az Az = Az
Rectangular to spherical
x y z
Ar = Ax + Ay + Az
x2 + y 2 + z 2 x2 + y 2 + z 2 x2 + y 2 + z 2
xz yz x2 + y 2
A = Ax + Ay Az
x2 + y 2 x2 + y 2 + z 2 x2 + y 2 x2 + y 2 + z 2 x2 + y 2 + z 2
y x
A = Ax + Ay
x2 + y 2 x2 + y 2
Spherical to rectangular
Rectangular coordinates
f f f
f = x + y + z
x y z
A A A
A = x + y + z
x y z
x y z
Az Ay Ax Az Ay Ax
A = x + y + z =
y z z x x y x y z
Ax Ay Az
Cylindrical coordinates
f 1 f f
f = r + + z
r r z
1 1 A Az
A = rAr + +
r r r z
1 1
r z
r r
1 Az A Ar Az 1 Ar
A = r + + z rA =
r z z r r r r z
Ar rA Az
Spherical coordinates
f 1 f 1 f
f = r + +
r r r sin
1 1 1 A
A = 2 r 2 Ar + ( A sin ) +
r r r sin r sin
1 A 1 1 Ar 1 A
A = r ( A sin ) + rA + rA r
r sin r sin r r r