1. Course: Electromagnetic Theory
paper code: EI 503
Course Coordinator: Arpan Deyasi
Department of Electronics and Communication Engineering
RCC Institute of Information Technology
Kolkata, India
Topics: Coordinate Transformation
18-09-2021 Arpan Deyasi, Electromagnetic Theory 1
Arpan Deyasi
Electromagnetic
Theory
2. Transformation based on type of variables:
Scalar Transformation
Vector Transformation
Transformation between coordinates
Cartesian to Cylindrical
Cartesian to Spherical
18-09-2021 Arpan Deyasi, Electromagnetic Theory 2
Arpan Deyasi
Electromagnetic
Theory
3. Four types of transformations
1. Cartesian to Cylindrical (scalar)
2. Cartesian to Cylindrical (vector)
3. Cartesian to Spherical (scalar)
4. Cartesian to Spherical (vector)
18-09-2021 Arpan Deyasi, Electromagnetic Theory 3
Arpan Deyasi
Electromagnetic
Theory
4. Cartesian ⇄ Cylindrical Transformation (Scalar)
X
Y
Z
P
ˆ
i
ĵ
k̂
̂
ˆ
ẑ
Point (P) at Cartesian
Coordinate (x, y, z)
Point (P) at Cylindrical
Coordinate (ρ, φ, z)
18-09-2021 Arpan Deyasi, Electromagnetic Theory 4
Arpan Deyasi
Electromagnetic
Theory
5. Cartesian ⇄ Cylindrical Transformation (Scalar)
Boundary conditions for cylindrical coordinates
0
0 2
z
−
18-09-2021 Arpan Deyasi, Electromagnetic Theory 5
Arpan Deyasi
Electromagnetic
Theory
6. Cartesian ⇄ Cylindrical Transformation (Scalar)
2 2
x y
= +
1
tan
y
x
−
=
z z
= z z
=
( )
cos
x
=
( )
sin
y
=
18-09-2021 Arpan Deyasi, Electromagnetic Theory 6
Arpan Deyasi
Electromagnetic
Theory
7. Cartesian ⇄ Cylindrical Transformation (Scalar)
Prob: For the point P (-2,6,3); determine the coordinate in cylindrical systems
2 2
4 36 6.32
x y
= + = + =
In cylindrical coordinate system
( )
1 1 1
6
tan tan tan 3 108.43
2
y
x
− − −
= = = − =
−
3
z =
Soln:
18-09-2021 Arpan Deyasi, Electromagnetic Theory 7
Arpan Deyasi
Electromagnetic
Theory
8. Cartesian ⇄ Cylindrical Transformation (Vector)
X
Y
Z R
ˆ
i
ĵ
k̂
̂
ˆ
ẑ
18-09-2021 Arpan Deyasi, Electromagnetic Theory 8
Arpan Deyasi
Electromagnetic
Theory
9. Cartesian ⇄ Cylindrical Transformation (Vector)
Relation between unit vectors
ˆ
ˆ ˆ
cos( ) sin( )
i
= −
ˆ
ˆ ˆ
sin( ) cos( )
j
= +
ˆ ˆ
k z
= ˆ
ẑ k
=
ˆ ˆ ˆ
sin( ) cos( )
i j
= − +
ˆ ˆ
ˆ cos( ) sin( )
i j
= +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 9
Arpan Deyasi
Electromagnetic
Theory
10. Cartesian → Cylindrical Transformation (Vector)
ˆ
ˆ ˆ
x y z
R R i R j R k
= + +
( ) ( )
ˆ ˆ
ˆ ˆ ˆ
cos( ) sin( ) sin( ) cos( )
x y z
R R R R z
= − + + +
ˆ
ˆ ˆ
cos( ) sin( ) sin( ) cos( )
x y x y z
R R R R R R z
= + + − + +
ˆ
ˆ ˆ
z
R R R R z
= + +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 10
Arpan Deyasi
Electromagnetic
Theory
11. Cartesian → Cylindrical Transformation (Vector)
cos( ) sin( ) 0
sin( ) cos( ) 0
0 0 1
x
y
z z
R R
R R
R R
= −
18-09-2021 Arpan Deyasi, Electromagnetic Theory 11
Arpan Deyasi
Electromagnetic
Theory
12. Cylindrical → Cartesian Transformation (Vector)
Inverse transformation gives
cos( ) sin( ) 0
sin( ) cos( ) 0
0 0 1
x
y
z z
R R
R R
R R
−
=
18-09-2021 Arpan Deyasi, Electromagnetic Theory 12
Arpan Deyasi
Electromagnetic
Theory
13. Cartesian → Cylindrical Transformation (Vector)
Prob:
Find the vector in cylindrical coordinate system
ˆ ˆ
( ) ( )
R y z i x z j
= + + +
Soln:
In cartesian coordinate system
x
R y z
= +
y
R x z
= +
0
z
R =
18-09-2021 Arpan Deyasi, Electromagnetic Theory 13
Arpan Deyasi
Electromagnetic
Theory
14. Cartesian → Cylindrical Transformation (Vector)
cos( ) sin( ) 0
sin( ) cos( ) 0
0 0 1 0
z
R y z
R x z
R
+
= − +
( )cos( ) ( )sin( )
R y z x z
= + + +
0
z
R =
( )sin( ) ( )cos( )
R y z x z
= − + + +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 14
Arpan Deyasi
Electromagnetic
Theory
15. Cartesian → Cylindrical Transformation (Vector)
( )
cos
x
= ( )
sin
y
=
Substitutions
( ) ( )
( sin )cos( ) ( cos )sin( )
R z z
= + + +
( ) ( )
( sin )sin( ) ( cos )cos( )
R z z
= − + + +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 15
Arpan Deyasi
Electromagnetic
Theory
19. In cylindrical coordinate system
Cartesian → Cylindrical Transformation (Vector)
12 56 ˆ
ˆ
40 40
R
= − + −
18-09-2021 Arpan Deyasi, Electromagnetic Theory 19
Arpan Deyasi
Electromagnetic
Theory
20. Cartesian ⇄ Spherical Transformation (Scalar)
X
Y
Z
P
ˆ
i
ĵ
k̂
r̂
ˆ
ˆ
Point (P) at Cartesian
Coordinate (x, y, z) Point (P) at Spherical
Coordinate (r, θ, φ)
18-09-2021 Arpan Deyasi, Electromagnetic Theory 20
Arpan Deyasi
Electromagnetic
Theory
21. Cartesian ⇄ Spherical Transformation (Scalar)
Boundary conditions for spherical coordinates
0 r
0
0 2
18-09-2021 Arpan Deyasi, Electromagnetic Theory 21
Arpan Deyasi
Electromagnetic
Theory
22. Cartesian ⇄ Spherical Transformation (Scalar)
2 2 2
r x y z
= + +
2 2
1
tan
x y
z
−
+
=
1
tan
y
x
−
=
( )
sin( )cos
x r
=
( )
sin( )sin
y r
=
cos( )
z r
=
18-09-2021 Arpan Deyasi, Electromagnetic Theory 22
Arpan Deyasi
Electromagnetic
Theory
23. Cartesian ⇄ Spherical Transformation (Scalar)
Prob: For the point P (-2,6,3); determine the coordinate in spherical systems
Soln: In spherical coordinate system
2 2 2 2 2 2
( 2) 6 3 7
r x y z
= + + = − + + =
2 2 2 2
1 1 ( 2) 6
tan tan 64.63
3
x y
z
− −
+ − +
= = =
( )
1 1 1
6
tan tan tan 3 108.43
2
y
x
− − −
= = = − =
−
18-09-2021 Arpan Deyasi, Electromagnetic Theory 23
Arpan Deyasi
Electromagnetic
Theory
24. Cartesian ⇄ Spherical Transformation (Vector)
X
Y
Z
P
ˆ
i
ĵ
k̂
r̂
ˆ
ˆ
18-09-2021 Arpan Deyasi, Electromagnetic Theory 24
Arpan Deyasi
Electromagnetic
Theory
25. Cartesian ⇄ Spherical Transformation (Vector)
Relation between unit vectors
ˆ ˆ
ˆ ˆ
sin( )cos( ) cos( )cos( ) sin( )
i r
= − −
ˆ ˆ
ˆ ˆ
sin( )sin( ) cos( )sin( ) cos( )
j r
= + +
ˆ ˆ
ˆ
cos( ) sin( )
k r
= −
18-09-2021 Arpan Deyasi, Electromagnetic Theory 25
Arpan Deyasi
Electromagnetic
Theory
26. Cartesian ⇄ Spherical Transformation (Vector)
Relation between unit vectors
ˆ
ˆ ˆ
ˆ sin( )cos( ) sin( )sin( ) cos( )
r i j k
= + +
ˆ
ˆ ˆ ˆ
cos( )cos( ) cos( )sin( ) sin( )
i j k
= + −
ˆ ˆ ˆ
sin( ) cos( )
i j
= − +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 26
Arpan Deyasi
Electromagnetic
Theory
27. ˆ
ˆ ˆ
x y z
R R i R j R k
= + +
Cartesian → Spherical Transformation (Vector)
ˆ ˆ
ˆ
[sin( )cos( ) cos( )cos( ) sin( ) ]
ˆ ˆ
ˆ
[sin( )sin( ) cos( )sin( ) cos( ) ]
ˆ
ˆ
[cos( ) sin( ) ]
x
y
z
R r R
r R
r R
= − − +
+ + +
−
18-09-2021 Arpan Deyasi, Electromagnetic Theory 27
Arpan Deyasi
Electromagnetic
Theory
28. Cartesian → Spherical Transformation (Vector)
ˆ
[ sin( )cos( ) sin( )sin( ) cos( )]
ˆ ˆ
ˆ
[ cos( )cos( ) cos( )sin( ) sin( )]
ˆ
[ sin( ) cos( )]
x y z
x y z
x y
R R R R r
R r R R
R R
= + + +
− + − +
− +
ˆ ˆ
ˆ
r
R R r R R
= + +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 28
Arpan Deyasi
Electromagnetic
Theory
29. Cartesian → Spherical Transformation (Vector)
sin( )cos( ) sin( )sin( ) cos( )
cos( )cos( ) cos( )sin( ) sin( )
sin( ) cos( ) 0
r x
y
z
R R
R R
R R
= − −
−
18-09-2021 Arpan Deyasi, Electromagnetic Theory 29
Arpan Deyasi
Electromagnetic
Theory
30. Inverse transformation gives
Spherical → Cartesian Transformation (Vector)
sin( )cos( ) cos( )cos( ) sin( )
sin( )cos( ) cos( )sin( ) cos( )
cos( ) sin( ) 0
x r
y
z
R R
R R
R R
−
=
−
18-09-2021 Arpan Deyasi, Electromagnetic Theory 30
Arpan Deyasi
Electromagnetic
Theory
31. Cartesian → Spherical Transformation (Vector)
Prob:
Find the vector in spherical coordinate system
ˆ ˆ
( ) ( )
R y z i x z j
= + + +
Soln:
In cartesian coordinate system
x
R y z
= +
y
R x z
= +
0
z
R =
18-09-2021 Arpan Deyasi, Electromagnetic Theory 31
Arpan Deyasi
Electromagnetic
Theory
32. sin( )cos( ) sin( )sin( ) cos( )
cos( )cos( ) cos( )sin( ) sin( )
sin( ) cos( ) 0 0
r
R y z
R x z
R
+
= − − +
−
Cartesian → Spherical Transformation (Vector)
( )sin( )cos( ) ( )sin( )sin( )
r
R y z x z
= + + +
( )sin( ) ( )cos( )
R y z x z
= − + + +
( )cos( )cos( ) ( )cos( )sin( )
R y z x z
= − + + +
18-09-2021 Arpan Deyasi, Electromagnetic Theory 32
Arpan Deyasi
Electromagnetic
Theory