Docsity

Vector Calculus - Electricity and Magnetism - Lecture Notes, Study notes of Electromagnetism and Electromagnetic Fields Theory

Toggle sidebar
bg1
1
PHY481 - Lecture 3: Vector calculus
Griffiths: Chapter 1 (Pages 38-54), Also Appendix A of Griffiths
Vector calculus in three co-ordinate systems
We shall be using three orthogonal co-ordinate systems, cartesian, cylindrical and spherical polar that are defined
as follows
1. Cartesian co-ordinates
~r = (x, y, z) = xˆx+yˆy+zˆz(1)
2. Cylindrical co-ordinates
~r = (s, φ, z) = sˆs+zˆz=scos(φ)ˆx+ssin(φ) ˆy+ ˆz(2)
where,
x=scos(φ); y=ssin(φ); x2+y2=s2(3)
3. Spherical polar co-ordinates
~r = (r, θ, φ) = rˆr=rsin(θ)cos(φ) ˆx+rsin(θ)sin(φ)ˆy+rcos(θ)ˆz(4)
where,
x=rsin(θ)cos(φ); y=rsin(θ)sin(φ); z=rcos(θ); x2+y2+z2=r2(5)
Unit vector transformations
Relations between unit vectors in the three co-ordinate systems are very useful and can be derived using geometric
reasoning. First consider cylindrical co-ordinates. It is easy to see that,
ˆs=cos(φ)ˆx+sin(φ)ˆy;ˆ
φ=−sin(φ)ˆx+cos(φ) ˆy(6)
The first of these equations follows from Eq. (2) and the second is evident on taking projections of ˆ
φonto the x and
y directions. It is also easy to find the transformations from cylindrical to cartesian unit vectors;
ˆx=cos(φ)ˆr−sin(φ)ˆ
φ; ˆy=sin(φ)ˆr+cos(φ)ˆ
φ(7)
The transformations in the case of polar co-ordinates are,
ˆr=sin(θ)cos(φ)ˆx+sin(θ)sin(φ)ˆy+cos(θ)ˆz; (8)
which follows from Eq. (4),
ˆ
θ=cos(θ)cos(φ)ˆx+cos(θ)sin(φ) ˆy−sin(θ)ˆz; (9)
and
ˆ
φ=−sin(φ)ˆx+cos(φ) ˆy(10)
which is the same as the second of Eq. (6). The equations relating unit vectors in spherical polars to those in cartesian
co-ordinates are,
ˆx=sin(θ)cos(φ)ˆr+cos(θ)cos(φ)ˆ
θ−sin(φ)ˆ
φ; (11)
ˆy=sin(θ)sin(φ)ˆr+cos(θ)sin(φ)ˆ
θ+cos(φ)ˆ
φ; (12)
and
ˆz=cos(θ)ˆr−sin(θ)ˆ
θ(13)
pf2

Partial preview of the text

Download Vector Calculus - Electricity and Magnetism - Lecture Notes and more Study notes Electromagnetism and Electromagnetic Fields Theory in PDF only on Docsity!

PHY481 - Lecture 3: Vector calculus

Griffiths: Chapter 1 (Pages 38-54), Also Appendix A of Griffiths

Vector calculus in three co-ordinate systems

We shall be using three orthogonal co-ordinate systems, cartesian, cylindrical and spherical polar that are defined

as follows

  1. Cartesian co-ordinates

~r = (x, y, z) = xˆx + y ˆy + z zˆ (1)

  1. Cylindrical co-ordinates

~r = (s, φ, z) = sˆs + z zˆ = scos(φ)ˆx + ssin(φ)ˆy + ˆz (2)

where,

x = scos(φ); y = ssin(φ); x

2

  • y

2 = s

2 (3)

  1. Spherical polar co-ordinates

~r = (r, θ, φ) = rˆr = rsin(θ)cos(φ)ˆx + rsin(θ)sin(φ)ˆy + rcos(θ)ˆz (4)

where,

x = rsin(θ)cos(φ); y = rsin(θ)sin(φ); z = rcos(θ); x

2

  • y

2

  • z

2 = r

2 (5)

Unit vector transformations

Relations between unit vectors in the three co-ordinate systems are very useful and can be derived using geometric

reasoning. First consider cylindrical co-ordinates. It is easy to see that,

ˆs = cos(φ)ˆx + sin(φ)ˆy;

φ = −sin(φ)ˆx + cos(φ)ˆy (6)

The first of these equations follows from Eq. (2) and the second is evident on taking projections of

φ onto the x and

y directions. It is also easy to find the transformations from cylindrical to cartesian unit vectors;

xˆ = cos(φ)ˆr − sin(φ)

φ; yˆ = sin(φ)ˆr + cos(φ)

φ (7)

The transformations in the case of polar co-ordinates are,

ˆr = sin(θ)cos(φ)ˆx + sin(θ)sin(φ)ˆy + cos(θ)ˆz; (8)

which follows from Eq. (4),

θ = cos(θ)cos(φ)ˆx + cos(θ)sin(φ)ˆy − sin(θ)ˆz; (9)

and

φ = −sin(φ)ˆx + cos(φ)ˆy (10)

which is the same as the second of Eq. (6). The equations relating unit vectors in spherical polars to those in cartesian

co-ordinates are,

xˆ = sin(θ)cos(φ)ˆr + cos(θ)cos(φ)

θ − sin(φ)

φ; (11)

yˆ = sin(θ)sin(φ)ˆr + cos(θ)sin(φ)

θ + cos(φ)

φ; (12)

and

zˆ = cos(θ)ˆr − sin(θ)

θ (13)

Curvilinear co-ordinates: Scale factors h 1

, h 2

, h 3

In general a set of curvilinear co-ordinates can be orthogonal or non-orthogonal. We focus on the orthogonal case,

which includes cartesian, cylindrical and spherical co-ordinates. We denote the unit vectors as ˆe 1

, ˆe 2

, ˆe 3

, and a position

vector

l is written as,

l = (u 1

, u 2

, u 2

) = u 1

eˆ 1

  • u 2

ˆe 2

  • u 3

ˆe 3

For the Cartesion, Cylindrical, and Spherical Polar cases, we may write (u 1 , u 2 , u 2 ) = (x, y, z), (s, 0 , z), (r, 0 , 0) respec-

tively.

Now imagine displacing the co-ordinates by a small amount du 1 , du 2 , du 3 , this leads to a change in the vector

l by

an amount d

l. In general we can write

d

l = h 1

du 1

eˆ 1

  • h 2

du 2

ˆe 2

  • h 3

du 3

ˆe 3

where h 1 , h 2 , h 3 are the scale factors. They are central to deriving the relations that we need. For the three cases of

interest in this course, we have,

d

l = dxˆx + dy yˆ + dz ˆz; d

l = dssˆ + sdφ

φ + dz zˆ d

l = drrˆ + rdθ

θ + rsin(θ)dφ

φ (16)

leading to: For cartesian co-ordinates, h x

= 1, h y

= 1, h z

= 1; for cylindrical co-orindates, h s

= 1, h φ

= s, h z

= 1; and

for spherical polar co-ordinates, hr = 1, hθ = r, hφ = rsinθ.