Professional Documents
Culture Documents
Module 2 - Electromagnetics
Module 2 - Electromagnetics
𝑑𝑠2 = 𝑑𝜌𝑑𝑧
𝑑𝑠3 = 𝜌𝑑𝜙𝑑𝜌
Relationship of the cylindrical coordinate system with the cartesian coordinate system
𝑥 𝑦 𝑦
cos 𝜙 = sin 𝜙 = tan 𝜙 = 𝝆 = √𝒙𝟐 + 𝒚𝟐
𝜌 𝜌 𝑥
𝒚
𝒙 = 𝝆 𝐜𝐨𝐬 𝝓 𝒚 = 𝝆 𝐬𝐢𝐧 𝝓 𝝓 = 𝐭𝐚𝐧−𝟏 𝒛=𝒛
𝒙
Table 1
𝑥 = 𝜌 cos 𝜙
𝑦 = 𝜌 sin 𝜙
𝑧=𝑧
𝑦
tan 𝜙 = , +𝑥 axis CCW is the reference
𝑥
of 𝜙
𝜌 = √𝑥 2 + 𝑦 2
Table 1 Relationship of the cylindrical coordinate system with the cartesian coordinate system
Table 2
𝑎𝜌 𝑎𝜙 𝑎𝑧
𝑎𝑥 cos 𝜙 − sin 𝜙 0
𝑎𝑦 sin 𝜙 cos 𝜙 0
𝑎𝑧 0 0 1
Table 2 Dot product of unit vectors in cylindrical coordinate and cartesian coordinate system.
PROOF:
𝑎𝑥 ∙ 𝑎𝜌 = |𝑎𝑥 ||𝑎𝜌 | cos 𝜙, since the magnitude of a unit vector is one, then
𝒂𝒙 ∙ 𝒂𝝆 = 𝐜𝐨𝐬 𝝓
𝑎𝑦 ∙ 𝑎𝜌 = |𝑎𝑦 ||𝑎𝜌 | cos(90° − 𝜙), since the magnitude of a unit vector is one, then
𝑎𝑦 ∙ 𝑎𝜌 = cos 90° cos 𝜙 + sin 90° sin 𝜙, where cos 90° = 0, sin 90° = 1
𝒂𝒚 ∙ 𝒂𝝆 = 𝐬𝐢𝐧 𝝓
𝑎𝑦 ∙ 𝑎𝜙 = |𝑎𝑦 ||𝑎𝜌 | cos(90 + 𝜙), since the magnitude of a unit vector is one, then
TRANSFORMATION
Steps:
1. Change the variables (use Table 1)
2. Change of component (use Table 2)
⃗⃗ ∙ 𝑎𝜌 ,
Step 2. Solve 𝐵𝜌 = 𝐵 ⃗⃗ ∙ 𝑎𝜙 ,
𝐵𝜙 = 𝐵 ⃗⃗ ∙ 𝑎𝑧
𝐵𝑧 = 𝐵
⃗⃗ ∙ 𝑎𝜌 = (𝜌 sin 𝜙 𝑎𝑥 − 𝜌 cos 𝜙 𝑎𝑦 + 𝑧 𝑎𝑧 ) ∙ 𝑎𝜌
𝐵𝜌 = 𝐵 See Table 2 for the dot product
𝑩𝝆 = 𝟎
⃗⃗ ∙ 𝑎𝜙 = (𝜌 sin 𝜙 𝑎𝑥 − 𝜌 cos 𝜙 𝑎𝑦 + 𝑧 𝑎𝑧 ) ∙ 𝑎𝜙
𝐵𝜙 = 𝐵
𝑩𝝓 = −𝝆
⃗⃗ ∙ 𝑎𝑧 = (𝜌 sin 𝜙 𝑎𝑥 − 𝜌 cos 𝜙 𝑎𝑦 + 𝑧 𝑎𝑧 ) ∙ 𝑎𝑧
𝐵𝑧 = 𝐵
𝑩𝒛 = 𝒛
Step 3. Obtain the solved magnitudes from Step 2 and arrange into proper cylindrical coordinates
⃗⃗⃗ = −𝝆 𝒂𝝓 + 𝒛 𝒂𝒛
𝑩
𝑦
Therefore, 𝐵𝑥 = −𝜌 (− 𝜌) = 𝒚
𝑥
Therefore, 𝐵𝑥 = −𝜌 (𝜌) = −𝒙
⃗⃗⃗ = 𝒚 𝒂𝒙 − 𝒙 𝒂𝒚 + 𝒛 𝒂𝒛
Therefore, 𝑩
⃗⃗⃗⃗⃗⃗⃗⃗
|𝑅 2 2 2
𝐴𝑂 | = √(−2) + (−3) + (1) = √𝟏𝟒 = 𝟑. 𝟕𝟒 𝐮𝐧𝐢𝐭𝐬
For (b.)
From Table 1. 𝑥 = 𝜌 cos 𝜙, 𝑦 = 𝜌 sin 𝜙, and 𝑧 = 𝑧
𝑥 = 𝜌 cos 𝜙 = 4 cos(−50°) = 2.571
𝑦 = 𝜌 sin 𝜙 = 4 sin(−50°) = −3.064
𝑧=2
⃗⃗⃗⃗⃗⃗⃗⃗
|𝑅 2 2 2
𝐵𝑂 | = √(−2.571) + (3.064) + (−2) = 𝟒. 𝟒𝟕 𝐮𝐧𝐢𝐭𝐬
For (c.)
⃗⃗⃗⃗⃗⃗⃗⃗
|𝑅 2 2 2
𝐴𝐵 | = √(0.571) + (−6.064) + (3) = 𝟔. 𝟕𝟗 𝐮𝐧𝐢𝐭𝐬
EXAMPLE 4. Transform each of the following vectors to cylindrical at the point specified.
𝐴⃗ = 𝐴𝜌 𝑎𝜌 + 𝐴𝜙 𝑎𝜙 + 𝐴𝑧 𝑎𝑧
For (a.)
𝐴𝑧 = 5𝑎𝑥 ∙ 𝑎𝑧 = 5(0) = 𝟎
For (b.)
Since the coordinates are given in cartesian, we need to solve for the value of 𝜙 using,
𝑦
tan 𝜙 = 𝑥 ,
𝑦 4
𝜙 = tan−1 (𝑥 ) = tan−1 (3) = 53.13°
𝐴𝑧 = 5𝑎𝑥 ∙ 𝑎𝑧 = 5(0) = 𝟎
Therefore, 𝑨(𝒄𝒚𝒍𝒊𝒏𝒅𝒓𝒊𝒄𝒂𝒍) = 𝟑 𝒂𝝆 − 𝟒 𝒂𝝓
For (c.)
Solving again for the value of 𝜙
𝑦 3
𝜙 = tan−1 (𝑥 ) = tan−1 (2) = 56.31°
𝐴𝜌 = 4 cos(56.31°) − 2 sin(56.31°) = 𝟎. 𝟓𝟔
Therefore, ⃗𝑨⃗(𝒄𝒚𝒍𝒊𝒏𝒅𝒓𝒊𝒄𝒂𝒍) = 𝟎. 𝟓𝟔 𝒂𝝆 − 𝟒. 𝟒𝟒 𝒂𝝓 − 𝟒 𝒂𝒛
𝑥 = 𝑟 sin 𝜃 cos 𝜙 𝑟 = √𝑥 2 + 𝑦 2 + 𝑧 2
𝑧 = 𝑟 cos 𝜃 𝑦
𝜙 = tan−1 (𝑥 ), +𝑥 axis CCW is the reference of 𝜙
Table 3 Relationship of the spherical system with the cartesian coordinate system
The table shown below is used to solve the dot product of the unit vectors in spherical coordinate system and
cartesian coordinate system
𝑎𝑟 𝑎𝜃 𝑎𝜙
𝑎𝑥 sin 𝜃 cos 𝜙 cos 𝜃 cos 𝜙 −sin 𝜙
𝑎𝑦 sin 𝜃 sin 𝜙 cos 𝜃 sin 𝜙 cos 𝜙
𝑎𝑧 cos 𝜃 −sin 𝜃 0
Table 4 Dot product of the unit vectors in spherical system with the cartesian coordinate system
𝑥𝑧
EXAMPLE 5. Transform the vector 𝐺⃗ = 𝑦 𝑎𝑥 into spherical
𝐺⃗ (𝑠𝑝ℎ𝑒𝑟𝑖𝑐𝑎𝑙) = 𝐺𝑟 𝑎𝑟 + 𝐺𝜃 𝑎𝜃 + 𝐺𝜙 𝑎𝜙
𝐺𝑟 = 𝐺⃗ ∙ 𝑎𝑟 , 𝐺𝜃 = 𝐺⃗ ∙ 𝑎𝜃 , and 𝐺𝜙 = 𝐺⃗ ∙ 𝑎𝜙
SOLUTION.
For (a.)
⃗⃗⃗⃗⃗(𝒔𝒑𝒉𝒆𝒓𝒊𝒄𝒂𝒍)
𝒂𝑨 = −𝟎. 𝟐𝟏𝟐 𝒂𝒓 − 𝟎. 𝟒𝟓𝟒 𝒂𝜽 − 𝟎. 𝟖𝟔𝟔 𝒂𝝓
For (b.)
Solving for 𝜃, and 𝜙
𝑧 𝑦
From Table 3. 𝑟 = √𝑥 2 + 𝑦 2 + 𝑧 2 , 𝜃 = cos −1 (𝑟), and 𝜙 = tan−1 (𝑥 )
1
𝜃𝑖𝑛𝑖𝑡𝑖𝑎𝑙 = cos −1 ( ) = 74.49°, from −𝑧 axis at CW direction
√14
−1
𝜃𝑓𝑖𝑛𝑎𝑙 = cos−1 ( ) = 180° − 74.49° = 105.51°, from +𝑧
√14
axis at CCW direction
⃗⃗⃗(𝒔𝒑𝒉𝒆𝒓𝒊𝒄𝒂𝒍) = 𝟐. 𝟔𝟕 𝒂𝒓 − 𝟎. 𝟕𝟒𝟏𝟕 𝒂𝜽 − 𝟒. 𝟏𝟔 𝒂𝝓
Therefore, 𝑩
⃗⃗⃗⃗⃗⃗(𝒔𝒑𝒉𝒆𝒓𝒊𝒄𝒂𝒍)
𝒂𝑩 = 𝟎. 𝟓𝟑𝟒 𝒂𝒓 − 𝟎. 𝟏𝟒𝟖 𝒂𝜽 − 𝟎. 𝟖𝟑𝟐 𝒂𝝓
For (c.)
Solving for 𝜃, and 𝜙
𝑧 𝑦
From Table 3. 𝑟 = √𝑥 2 + 𝑦 2 + 𝑧 2 , 𝜃 = cos −1 (𝑟), and 𝜙 = tan−1 (𝑥 )
NOTE: Remember that 𝜃 should be from the reference +𝑧 axis at +CCW direction and 𝜙 from the reference +𝑥
axis at +CCW direction.
⃗⃗⃗⃗⃗(𝒔𝒑𝒉𝒆𝒓𝒊𝒄𝒂𝒍)
𝒂𝑽 = −𝟎. 𝟓𝟓𝟕 𝒂𝒓 − 𝟎. 𝟑𝟕𝟖 𝒂𝜽 + 𝟎. 𝟕𝟒𝟎 𝒂𝝓