CoordinateSystemReview PDF
CoordinateSystemReview PDF
CoordinateSystemReview PDF
d x2 + d y2 + d z2
(1)
(2)
d r 2 + r 2 d 2 + d z 2
d v = d r r d d z
and
(3)
(4)
dL =
and
d r 2 + r 2 d 2 + r 2 sin 2 d 2
d v = dr r d r sin d
(5)
(6)
(7)
(8)
(9)
(10)
direction cosines
(11)
(12)
(13)
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
z
= cos 1
= tan 1
r0
x + y2 + z2
2
y
x
(14)
(0 )
(15)
(16)
(17)
(18)
Az = Ar cos A sin
(19)
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 :
r x = sin cos = cos
r y = sin sin = cos
r z = cos = cos
(20)
(21)
(22)
These and other dot product combinations are listed in the following table:
Spherical
Cylindrical
Rectangular
Rectangular
Cylindrical
Spherical
cos
sin
sin cos
cos cos
sin
sin
cos
sin sin
cos sin
cos
cos
sin
cos
sin
sin
cos
sin
cos
cos
sin
sin cos
sin sin
cos
sin
cos
cos cos
cos sin
sin
cos
sin
sin
cos
Note that the unit vectors r in the cylindrical and spherical systems are not the same.
For example,
Spherical
r x = sin cos
r y = sin sin
r z = cos
Cylindrical
r x = cos
r y = sin
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.
The fundamental parameters of the rectangular, cylindrical, and spherical coordinate
systems are summarized in the following table:
Coordinate
system
Rectangular
Cylindrical
Range
x
y
z
to +
to +
to +
0 to
0 to 2
to +
0 to
0 to
0 to 2
z
r
Spherical
Unit
vectors
x or i
y or j
z or k
Coordinates
Length
elements
dx
dy
dz
dr
r d
dz
dr
r d
r sin d
Coordinate
surfaces
Plane
x=constant
Plane
y=constant
Plane
z=constant
Cylinder r=constant
=constant
Plane
Plane
z=constant
Sphere
Cone
Plane
r=constant
=constant
=constant
The following two tables give the unit vector dot products in rectangular coordinates for
both rectangular-cylindrical and rectangular-spherical coordinates.
x
x
y
y
x2 + y 2
y
x2 + y2
x
x2 + y 2
x2 + y2
x
x2 + y2
y
y
x2 + y 2 + z 2
xz
x2 + y 2 + z 2
yz
x2 + y 2 x2 + y 2 + z 2
x +y
2
x2 + y 2 + z 2
x2 + y 2 x2 + y 2 + z 2
z
z
x2 + y 2 + z 2
0
x + y2
x2 + y 2
x + y2 + z2
2
Rectangular to cylindrical
Ar = Ax
A = Ax
x
x2 + y 2
y
+ Ay
x2 + y 2
+ Ay
Cylindrical to rectangular
Ax = Ar cos A sin
x2 + y2
x
Ay = Ar sin A cos
x2 + y 2
Az = Az
Az = Az
Rectangular to spherical
x
Ar = Ax
+ Ay
x2 + y 2 + z 2
A = Ax
y
x2 + y 2 + z 2
+ Az
xz
+ Ay
x2 + y 2 x2 + y 2 + z 2
y
x
+ Ay
A = Ax
x2 + y 2
x2 + y 2
x2 + y 2 + z 2
yz
x2 + y 2 x2 + y 2 + z 2
Spherical to rectangular
Az
x2 + y 2
x2 + y 2 + z 2
And here are expressions for the gradient, divergence, and curl in all three coordinate
systems:
Rectangular coordinates
f
f
f
+ y
+ z
x
y
z
A A A
A = x + y + z
x
y
z
f = x
x
Az Ay Ax Az Ay Ax
+ y
=
A = x
+ z
x x
z z
y x
y
Ax
y
Ay
z
Az
Cylindrical coordinates
1 f
f
f
+
+ z
r
z
r
1
1 A Az
A =
rAr +
+
r r
r
z
f = r
1
r
1 Az A
Ar
1
Ar Az
+
=
A = r
+ z rA
r
r r
z
r
z
r
Ar
r
rA
1
r
z
Az
Spherical coordinates
1 f
f 1 f
+
+
r
r
r sin
1 A
1
1
( A sin ) +
A = 2 r 2 Ar +
r r
r sin
r sin
1
A
1 1 Ar
1
A
( A sin ) +
A = r
rA + rA r
r sin
r sin r
r r
f = r