Lect 2 Coordinate Systems
Lect 2 Coordinate Systems
Coordinate Systems
Prof. Dr. Saffet AYASUN
Introductor: Dr. Bülent Dağ
Coordinate Systems
Two dimensional coordinate systems
Cartesian Coordinate System
Polar Coordinate System
Three dimensionaal coordinate systems
Cartesian Coordinate System
Cylindirical Coordinate System
Spherical Coordinate System
TWO-DIMENSIONAL (2-D) COORDINATE
SYSTEMS: Cartesian Coordinates
To locate a point in a plane, two numbers are necessary.
We know that any point in the plane can be represented
as an ordered pair (a, b) of real numbers—where a is the
x-coordinate and b is the y-coordinate.
For this reason, a plane is called two-dimensional.
DISTANCE FORMULA IN THREE DIMENSIONS
d PP
1 2 ( x2 x1 ) ( y2 y1 )
2 2
POLAR COORDINATE SYSTEM
(r, )
Angles are measured
from the positive x axis.
.6
On your own, find polar form for the point (-2, 3).
3
tan
(-2, 3)
r2 = (-2)2 + 32 2
3
r2 = 4 + 9
tan 1
r2 = 13 2
r = 13
56.31o
However, the angle must be in the
second quadrant, so we add 180o to
the answer and get an angle of
123.70o.
The polar form is ( 13 , 123.70o)
3-D CARTESIAN COORDINATE SYSTEMS
The three lines are called the coordinate axes.
They are labeled:
x-axis
y-axis
z-axis
Usually, we think of:
The x- and y-axes as being horizontal
The z-axis as being vertical
COORDINATE PLANES
The three coordinate axes determine the three
coordinate planes.
r f
Rectangular to Cylindrical
r f
r 2 x2 y 2
y
tan(f )
x
zz
CYLINDRICAL COORDINATES
A vector A in cylindrical coordinates can be written as
x r cos(f )
y r sin(f )
zz
r 2 x2 y 2
y
tan(f )
x
zz
Transformation Between Unit Vectors
From (ar, af, az) to (ax, ay, az)
Transformation Between Unit Vectors
From (ax , ay , az) to (ar , af , 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 )
Relationship Between (Ax , Ay , Az) and (Ar , Af , Az)
Finally, substituting
into we obtain
Transformation in Matrix
from (Ax , Ay , Az) to (Ar , Af , Az) or vice versa
Alternative 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 xa y zaz into cylindrical coordinates:
A r af zaz
Example 2
(It will be solved on the board
z
r
P
Q
r y
O
x
Transformation Between Unit Vectors
From (ax , ay , az) to (ar , a , af)
ar ax sin cos f a y sin sin f az cos
a ax cos cos f a y cos sin f az sin
af ax sin f a y cos f
Transformation Between Unit Vectors
From (ar , a , af) to (ax , ay , az)
Ax ax ar ax a ax af Ar
A a a a y a
a y af A
y y r
Az az ar az a az af Af
Distance Between Two Points
Note that in point or vector transformation the point or
vector has not changed; it is only expressed differently.
Thus, for example, the magnitude of a vector will remain
the same after the transformation and this may serve as a
way of checking the result of the transformation
The distance between two points is usually necessary in
EM theory.
The distance between two points with position vectors rl
and r2 is generally given by:
Distance Between Two Points
The distance between two points with position vectors rl
and r2 is generally given by:
Example 1
Example 1
Example 1
Example 1
Example 2
CONSTANT-COORDINATE SURFACES
If a coordinate component is kept constant and the others vary, an infinite
plane is generated.
Cartesian
Cylindrical
Spherical
CONSTANT-COORDINATE SURFACES
A line is formed by the intersection of two surfaces. For example:
x2 + y2 + z2 = r2
EXAMPLE:
EXAMPLE:
EXAMPLE:
EXAMPLE:
Homework 1
Homework 2
Homework 3
Ans:
Homework #4
Ans:
Homework #5
Ans:
Homework #6
Ans:
Homework 7
Ans: