Professional Documents
Culture Documents
Coordinate Systems
Coordinate Systems
x
Fig. Rectangular coordinate system 3
Cylindrical Coordinate System
⇒In Cylindrical coordinate system, the (𝜌𝜌, ∅, 𝑧𝑧) coordinates are used.
⇒𝜌𝜌 =radius of the cylinder (0 ≤ 𝜌𝜌 < ∞)
⇒∅ =azimuth angle (0 ≤ ∅ ≤ 2𝜋𝜋)
⇒𝑧𝑧 =same as in Cartesian coordinates
(−∞ < 𝑧𝑧 < ∞)
⇒Any point 𝑃𝑃 with Cylindrical coordinates
(𝐴𝐴1 , 𝐴𝐴2 , 𝐴𝐴3 ) can be represented as
� 3 𝑧𝑧,̂ where 𝜌𝜌,
𝑂𝑂𝑂𝑂=𝐴𝐴1 𝜌𝜌� + 𝐴𝐴2 ∅+𝐴𝐴 � 𝑧𝑧̂ are
� ∅,
unit vectors in ρ, ∅, 𝑧𝑧 coordinates, respectively.
Cylindrical to Cartesian:
𝐴𝐴𝑥𝑥 𝑐𝑐𝑜𝑜𝑜𝑜∅ −𝑠𝑠𝑠𝑠𝑠𝑠∅ 0 𝐴𝐴𝜌𝜌
𝐴𝐴𝑦𝑦 = 𝑠𝑠𝑠𝑠𝑠𝑠∅ 𝑐𝑐𝑐𝑐𝑐𝑐∅ 0 𝐴𝐴∅
𝐴𝐴𝑧𝑧 0 0 1 𝐴𝐴𝑧𝑧
𝐴𝐴⃗ = 𝐴𝐴𝑥𝑥 𝑥𝑥+𝐴𝐴 � 𝑧𝑧 𝑧𝑧̂ (convert ∅ in to x,y,z in the expression of 𝐴𝐴𝑥𝑥 and 𝐴𝐴𝑦𝑦 )
� 𝑦𝑦 𝑦𝑦+𝐴𝐴
8
Cylindrical Coordinate System (cont.)
𝑥𝑥 2
Example: Transform 𝐴𝐴⃗ = 𝑦𝑦𝑥𝑥� + 𝑥𝑥𝑦𝑦� + 𝑧𝑧̂ to cylindrical coordinates.
𝑥𝑥 2 +𝑦𝑦 2
9
Cylindrical Coordinate System (cont.)
Solution:
Since 𝑥𝑥 = 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌, 𝑦𝑦 = 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌 and 𝜌𝜌 = 𝑥𝑥 2 + 𝑦𝑦 2
(𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌)2
𝐴𝐴⃗ = 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝑥𝑥� + 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝑦𝑦� + 𝑧𝑧̂
𝜌𝜌
Using 𝑥𝑥� = 𝑐𝑐𝑐𝑐𝑐𝑐∅𝜌𝜌� − 𝑠𝑠𝑠𝑠𝑠𝑠∅∅�
�
𝑦𝑦� = 𝑠𝑠𝑠𝑠𝑠𝑠∅𝜌𝜌� + 𝑐𝑐𝑐𝑐𝑐𝑐𝑐∅
𝑧𝑧̂ = 𝑧𝑧̂
(𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌)2
� + 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌(𝑠𝑠𝑠𝑠𝑠𝑠∅𝜌𝜌� + 𝑐𝑐𝑐𝑐𝑐𝑐𝑐∅)
𝐴𝐴⃗ = 𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌(𝑐𝑐𝑐𝑐𝑐𝑐∅𝜌𝜌� − 𝑠𝑠𝑠𝑠𝑠𝑠∅∅) � + 𝑧𝑧̂
𝜌𝜌
� + 𝜌𝜌𝑐𝑐𝑐𝑐𝑐𝑐 2 ∅𝑧𝑧̂
𝐴𝐴⃗ = 2𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝜌𝑐𝑐𝑐𝑐𝑐𝑐∅𝜌𝜌� + 𝜌𝜌(𝑐𝑐𝑐𝑐𝑐𝑐 2 ∅ − 𝑠𝑠𝑠𝑠𝑠𝑠2 ∅)∅
10
Spherical Coordinate System
⇒In Spherical coordinate system, the
(r, 𝜃𝜃, ∅) coordinates are used.
⇒𝑟𝑟 =radius of the sphere (0 ≤ 𝑟𝑟 < ∞)
⇒𝜃𝜃 = elivation angle (0 ≤ 𝜃𝜃 ≤ 𝜋𝜋)
⇒∅ =azimuth angle (0 ≤ ∅ < 2𝜋𝜋)
⇒Any point 𝑃𝑃 with Spherical coordinates
(𝐴𝐴1 , 𝐴𝐴2 , 𝐴𝐴3 ) can be represented as
� where 𝑟𝑟,̂ 𝜃𝜃,
̂ 3 ∅,
𝑂𝑂𝑂𝑂=𝐴𝐴1 𝑟𝑟̂ + 𝐴𝐴2 𝜃𝜃+𝐴𝐴 ̂ ∅� are
unit vectors in r, 𝜃𝜃, ∅ coordinates,
respectively.
Fig. Spherical coordinate system [1]
11
Spherical Coordinate System (cont.)
Dot product
� ∅
̂ 𝜃𝜃̂ = ∅.
⇒𝑟𝑟.̂ 𝑟𝑟̂ = 𝜃𝜃. �=1
⇒𝑟𝑟.̂ 𝜃𝜃̂ = 𝜃𝜃.
̂ ∅� = ∅.
� 𝑟𝑟̂ = 0
Cross product
�
⇒𝑟𝑟̂ × 𝜃𝜃̂ = ∅
� = 𝑟𝑟̂
⇒𝜃𝜃̂ × ∅
� × 𝑟𝑟̂ = 𝜃𝜃̂
⇒∅
Cartesian to Spherical:
�
𝑥𝑥� = 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅𝑟𝑟̂ + 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐∅𝜃𝜃� − 𝑠𝑠𝑠𝑠𝑠𝑠𝑠∅
�
𝑦𝑦� = 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝑠𝑠𝑠𝑠𝑠𝑠∅𝑟𝑟̂ + 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑠𝑠𝑠𝑠𝑠𝑠∅𝜃𝜃� + 𝑐𝑐𝑐𝑐𝑐𝑐∅∅
𝑧𝑧̂ = 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃 𝑟𝑟̂ − 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝜃𝜃�
Spherical to Cartesian:
𝑟𝑟̂ = 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅𝑥𝑥� + 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝑠𝑠𝑠𝑠𝑠𝑠∅𝑦𝑦+cos𝜃𝜃
� 𝑧𝑧̂
𝜃𝜃� = 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅𝑥𝑥� + 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃𝑠𝑠𝑠𝑠𝑠𝑠∅𝑦𝑦−sin𝜃𝜃
� 𝑧𝑧̂
� = −𝑠𝑠𝑠𝑠𝑠𝑠∅𝑥𝑥� + 𝑐𝑐𝑐𝑐𝑐𝑐∅𝑦𝑦�
∅ Fig. Spherical coordinate system [1]
14
Spherical Coordinate System (cont.)
From previous equations-
Cartesian to Spherical:
𝐴𝐴𝑟𝑟 𝑠𝑠𝑖𝑖𝑖𝑖𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅ 𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠∅ 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝐴𝐴𝑥𝑥
𝐴𝐴𝜃𝜃 = 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃∅ 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑠𝑠𝑖𝑖𝑖𝑖∅ −𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝐴𝐴𝑦𝑦
𝐴𝐴∅ −𝑠𝑠𝑠𝑠𝑠𝑠∅ 𝑐𝑐𝑐𝑐𝑐𝑐∅ 0 𝐴𝐴𝑧𝑧
𝐴𝐴⃗ = 𝐴𝐴𝑟𝑟 𝑟𝑟+𝐴𝐴 � ∅∅
̂ 𝜃𝜃 𝜃𝜃+𝐴𝐴 �
Spherical to Cartesian:
𝐴𝐴𝑥𝑥 𝑠𝑠𝑖𝑖𝑖𝑖𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅ 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃𝑐𝑐𝑐𝑐𝑐𝑐∅ −𝑠𝑠𝑠𝑠𝑠𝑠𝑠 𝐴𝐴𝑟𝑟
𝐴𝐴𝑦𝑦 = 𝑠𝑠𝑠𝑠𝑠𝑠𝜃𝜃𝑠𝑠𝑠𝑠𝑠𝑠∅ 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑠𝑠𝑠𝑠𝑠𝑠∅ 𝑐𝑐𝑐𝑐𝑐𝑐𝑐 𝐴𝐴𝜃𝜃
𝐴𝐴𝑧𝑧 𝑐𝑐𝑐𝑐𝑐𝑐𝑐𝑐 −𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 0 𝐴𝐴∅
𝐴𝐴⃗ = 𝐴𝐴𝑥𝑥 𝑥𝑥+𝐴𝐴 � 𝑧𝑧 𝑧𝑧̂ (convert 𝜃𝜃and ∅ in to x,y,z in the expression of 𝐴𝐴𝑥𝑥 , 𝐴𝐴𝑦𝑦 and 𝐴𝐴𝑧𝑧 )
� 𝑦𝑦 𝑦𝑦+𝐴𝐴
15
Spherical Coordinate System (cont.)
Example-
The position of a point 𝑃𝑃 in Spherical coordinates is (8, 1200 , 3300 ).
Specify its location in (a) in Cartesian coordinates, (b) in Cylindrical
coordinates.
16
Spherical Coordinate System (cont.)
Solution-
(a) From the relations 𝑥𝑥 = 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃, 𝑦𝑦 = 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃, 𝑧𝑧 = 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟
𝑥𝑥 = 8𝑠𝑠𝑠𝑠𝑠𝑠120𝑐𝑐𝑐𝑐𝑐𝑐330=6
𝑦𝑦 = 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃𝜃 = 8𝑠𝑠𝑠𝑠𝑠𝑠120𝑠𝑠𝑠𝑠𝑠𝑠330 = −2 3,
𝑧𝑧 = 𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟𝑟 = 8𝑐𝑐𝑐𝑐𝑐𝑐120 = −4
Hence the point in Cartesian coordinates is P(6, −2 3, -4).
−1 𝑦𝑦
(b) From the relations 𝜌𝜌 = 𝑥𝑥 + 𝑦𝑦 , ∅ = 𝑡𝑡𝑡𝑡𝑡𝑡
2 2 , 𝑧𝑧 = 𝑧𝑧
𝑥𝑥
𝜌𝜌 = 62 + (−2 3)2 = 4 3
−1 −2 3
∅= 𝑡𝑡𝑡𝑡𝑡𝑡
6
=3300
𝑧𝑧 =-4
Hence the point in cylindrical coordinates is P(4 3, 3300 , -4).
17
Distance between two points
• The distance (𝑑𝑑) between the two pints with position vectors 𝑟𝑟2 and
𝑟𝑟1 is given by:
𝑑𝑑 = 𝑟𝑟2 − 𝑟𝑟1
⇒𝑑𝑑 = 𝑥𝑥2 − 𝑥𝑥1 2 + 𝑦𝑦2 − 𝑦𝑦1 2 + 𝑧𝑧2 − 𝑧𝑧1 2 (in Cartesian)
⇒𝑑𝑑 = 𝜌𝜌22 + 𝜌𝜌12 − 2𝜌𝜌1 𝜌𝜌2 𝑐𝑐𝑐𝑐𝑐𝑐 ∅2 − ∅1 + 𝑧𝑧2 − 𝑧𝑧1 2 (in Cylindrical)
⇒𝑑𝑑 = 𝑟𝑟22 + 𝑟𝑟12 − 2𝑟𝑟1 𝑟𝑟2 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃2 𝑐𝑐𝑐𝑐𝑐𝑐𝜃𝜃1 − 2𝑟𝑟1 𝑟𝑟2 𝑠𝑠𝑖𝑖𝑖𝑖𝜃𝜃2 𝑠𝑠𝑖𝑖𝑖𝑖𝜃𝜃1 𝑐𝑐𝑐𝑐𝑐𝑐 ∅2 − ∅1
(in Spherical)
18
Constant-Coordinate Surfaces
• In various coordinate systems,
the surfaces can be generated by
keeping one variable constant.
22