EEE 201 Engineering Mathematics Assoc - Prof. Dr. Ertuğrul AKSOY Cartesian and Cylindrical Coordinate Systems
EEE 201 Engineering Mathematics Assoc - Prof. Dr. Ertuğrul AKSOY Cartesian and Cylindrical Coordinate Systems
A surface in R3
The three
coordinate planes
x = 0 (yz-plane),
y = 0 (xz-plane),
and z = 0 (xy-plane)
The planes x = a,
y = b, and z = c
EXAMPLE 2: 3-D COORDINATE SYSTEMS
Describe and sketch the surface in R3 represented by the
equation y = x
The equation represents the set of all points in R3 whose x-
and y-coordinates are equal, that is,
{(x, x, z) | xR, zR}.
This is a vertical plane that intersects the xy-plane in the
line y = x, z = 0.
EXAMPLE 2: 3-D COORDINATE SYSTEMS
The portion of this plane that lies in
the first octant is sketched here.
DISTANCE FORMULA IN THREE
DIMENSIONS
The familiar formula for the distance between two points in
a plane is easily extended to the following 3-D formula.
The distance |P1P2| between the points P1(x1,y1, z1) and
P2(x2, y2, z2) is:
1 2 ( x2 x1 ) ( y2 y1 ) ( z2 z1 )
2 2 2
PP
3-D COORDINATE SYSTEMS
To see why this formula is true, we construct a rectangular
box as shown, where:
P1 and P2 are
opposite vertices.
|P1P2|2 =
|P1B|2 + |BP2|2
|P1B|2 =
|P1A|2 + |AB|2
3-D COORDINATE SYSTEMS
Combining those equations, we get:
1 2 ( x2 x1 ) ( y2 y1 ) ( z2 z1 )
2 2 2
PP
EXAMPLE 3: 3-D COORDINATE SYSTEMS
The distance from the point P(2, –1, 7) to the point Q(1, –3,
5) is:
PQ (1 2) (3 1) (5 7)
2 2 2
1 4 4
3
EXAMPLE 4: 3-D COORDINATE SYSTEMS
Find an equation of a sphere with radius r and center C(h, k, l).
By definition, a sphere is the set of all points P(x, y ,z) whose
distance from C is r.
Thus, P is on the sphere if and only if |PC| = r
x2 + y2 + z2 = r2
EXAMPLE 5: 3-D COORDINATE SYSTEMS
Show that x2 + y2 + z2 + 4x – 6y + 2z + 6 = 0
is the equation of a sphere. Also, find its center and radius.
We can rewrite the equation in the form of an equation of a
sphere if we complete squares:
(x2 + 4x + 4) + (y2 – 6y + 9) + (z2 + 2z + 1)
= –6 + 4 + 9 + 1
(x + 2)2 + (y – 3)2 + (z + 1)2 = 8
Comparing this equation with the standard form, we see
that it is the equation of a sphere with center (–2, 3, –1)
and radius 8 2 2
EXAMPLE 6: 3-D COORDINATE SYSTEMS
What region in R3 is represented by the following
inequalities?
1 ≤ x2 + y2 + z2 ≤ 4 and z≤0
The inequalities 1 ≤ x2 + y2 + z2 ≤ 4 can be rewritten as:
1 x2 y 2 z 2 2
So, they represent the points (x, y, z) whose distance
from the origin is at least 1 and at most 2.
However, we are also given that z ≤ 0.
So, the points lie on or below the xy-plane
EXAMPLE 6: 3-D COORDINATE SYSTEMS
Thus, the given inequalities represent the region that lies:
r f
Representing 3D points in Cylindrical
Coordinates
r f
Representing 3D points in Cylindrical
Coordinates
(r,f,z)
r f
r f
Unit Vectors in Cylindrical Coordinates
ෝ𝝓
𝒂
ෝ𝝆
𝒂
𝑷𝟐 (𝝆, 𝝓𝟐 , 𝒛)
𝝓𝟐 y
𝝓𝟏
ෝ𝝓
𝒂
ෝ𝝆
𝒂 ෝ𝒛
𝒂
𝑷𝟏 (𝝆, 𝝓𝟏 , 𝒛) z
x
CYLINDRICAL COORDINATES
A vector A in cylindrical coordinates can be written as
x r cos(f )
y r sin(f )
zz
r 2 x2 y2
y
tan(f )
x
zz
Transformation Between Unit Vectors
From (ax, ay, az) to (ar, af, az)
ax ar cos(f ) af cos( f ) a y ar sin(f ) af sin( f )
2 2
ax ar cos(f ) af sin(f ) a y ar sin(f ) af cos(f )
Transformation Between Unit Vectors
From (ar , af , az) to (ax , ay , az)
If we multiply ax and ay by cos(f) and sin(f), respectively
and add the up, we obtain
ax cos(f ) ar cos 2 (f ) af sin(f )cos(f ) and a y sin(f ) ar sin 2 (f ) af cos(f )sin(f )
ar cos 2 (f ) sin 2 (f ) ax cos(f ) a y sin(f ) ar ax cos(f ) a y sin(f )
ax sin(f ) ar cos(f )sin(f ) af sin 2 (f ) and a y cos(f ) ar sin(f )cos(f ) af cos 2 (f )
af cos 2 (f ) sin 2 (f ) ax sin(f ) a y cos(f ) ar ax sin(f ) a y cos(f )
Transformation Between Unit Vectors
From (ar , af , az) to (ax , ay , az)
(Alternative Proof)
y
ax ar cos(f )
f r af
ar a y cos( f ) sin(f )
2
ay
af ax cos( f ) sin(f )
2
x
-af ax ar af a y cos(f )
Transformation Between Unit Vectors
From (ar , af , az) to (ax , ay , az):(Alternative Proof)
The unit vector ar may be defined in terms of ax and ay as:
ar c1ax c2 a y
If we take the dot product of both sides by ax
ar ax c1 ax ax c2 a y ax c1 cos(f )
1 0
Finally
ar c1ax c2 ay ax cos(f ) ay sin(f )
Transformation Between Unit Vectors
From (ar , af , az) to (ax , ay , az):(Alternative Proof)
We repeat the previous produce for af:
af c3ax c4 a y
af ax c3 ax ax c4 a y ax c3 sin(f )
1 0
af a y c3 ax a y c4 a y a y c4 cos(f )
0 1
Finally, substituting
into we obtain
Transformation in Matrix
from (Ax , Ay , Az) to (Ar , Af , Az) or vice versa
Transformation in Matrix
from (Ax , Ay , Az) to (Ar , Af , Az) or vice versa in terms
of dot product
Ar ar ax ar a y ar az Ax
A a a af a y
af az Ay
f f x
Az az ax az a y az az Az
Example 1
Transform the vector, A yax xay zaz into cylindrical coordinates:
Ar cos f sin f 0 y y cos f x sin f
A sin f cos f 0 x y sin f x cos f
f
Az 0 0 1 z z
Ar r sin f cos f r cos f sin f 0
A r sin 2 f r cos 2 f r
f
Az z z
A r af zaz
Example 2