









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










The derivatives div, grad and curl from Section 29.2 can be carried out using coordinate systems
other than the rectangular cartesian coordinates. This Section shows how to calculate these
derivatives in other coordinate systems. Two coordinate systems - cylindrical polar coordinates
and spherical polar coordinates - will be illustrated.
Before starting this Section you should...
① be able to find the gradient, divergence and
curl of a field in cartesian coordinates.
② be familiar with polar coordinates
After completing this Section you should be
able to...
✓ be able to find the divergence, gradient or
curl of a vector or scalar field expressed
in terms of orthogonal curvilinear coordi-
nates.
The results shown in Section 29.2 have been given in terms of the familiar cartesian (x, y, z)
coordinate system. However, other coordinate systems can be used to better describe some
physical situations. A set of coordinates u = u(x, y, z), v = v(x, y, z) and w = w(x, y, z) where
the directions at any point indicated by u, v and w are orthogonal (perpendicular) to each other
is referred to as a set of orthogonal curvilinear coordinates. With each coordinate is associated
a scale factor hu, hv or hw respectively where hu =
∂x ∂u
∂y ∂u
∂z ∂u
(with similar ex-
pressions for hv and hw). The scale factor gives a measure of how a change in the coordinate
changes the position of a point.
Two commonly-used sets of orthogonal curvilinear coordinates are cylindrical polar coordinates
and spherical polar coordinates. These are similar to the plane polar coordinates introduced in
Section 17.2 but represent extensions to three dimensions.
This corresponds to plane polar (ρ, φ) coordinates with an added z−coordinate directed out of
the xy plane. Normally the variables ρ and φ are used instead of r and θ to give the three
coordinates ρ, φ and z. A cylinder has equation ρ = constant.
The relationship between the coordinate systems is given by
x = ρ cos φ y = ρ sin φ z = z
(i.e. the same z is used by the two coordinate systems). See Figure 1.
(x, y, z)
ρ
φ
z
x,
y ρ
Figure 1
The scale factors hρ, hφ and hz are given as follows
hρ =
∂x
∂ρ
∂y
∂ρ
∂z
∂ρ
(cos φ)
2
2
hφ =
∂x
∂φ
∂y
∂φ
∂z
∂φ
(−ρ sin φ)^2 + (ρ cos φ)^2 + 0 = ρ
HELM (VERSION 1: April 14, 2004): Workbook Level 1 2
Given an orthogonal coordinate system u, v, w with unit vectors ˆu, ˆv and ˆw and scale factors,
hu, hv and hw, it is possible to find the derivatives ∇f , ∇ · F and ∇ × F.
It is found that
grad f = ∇f =
hu
∂f
∂u
uˆ +
hv
∂f
∂v
ˆv +
hw
∂f
∂w
wˆ
If F = Fu uˆ + Fv ˆv + Fw wˆ then
div F = ∇ · F =
huhvhw
∂u
(Fuhvhw) +
∂v
(Fvhuhw) +
∂w
(Fwhuhv)
Also if F = Fu ˆu + Fv vˆ + Fw wˆ then
curl F = ∇ × F =
huhvhw
hu uˆ hv ˆv hw wˆ
∂u
∂v
∂w
huFu hvFv hwFw
In orthogonal curvilinear coordinates, the vector derivatives ∇f , ∇·F and ∇×F are influenced
by the scale factors hu, hv and hw.
In cylindrical polar coordinates (ρ, φ, z), the 3 unit vectors are ˆρ, φˆ and ˆz with scale factors
hρ = 1, hφ = ρ, hz = 1.
The quantities ρ and φ are related to x and y by x = ρ cos φ and y = ρ sin φ. The unit
vectors are ˆρ = cos φi + sin φj and φˆ = − sin φi + cos φj. In cylindrical polar coordinates, grad
f = ∇f =
∂f
∂ρ
ρˆ +
ρ
∂f
∂φ
φ +
∂f
∂z
ˆz
The scale factor ρ is necessary in the φ-component because the derivatives with respect to φ are
distorted by the distance from the axis ρ = 0.
If F = Fρ ρˆ + Fφ
φ + Fz zˆ then
div F = ∇ · F =
ρ
∂ρ
(ρFρ) +
∂φ
(Fφ) +
∂z
(ρFz )
HELM (VERSION 1: April 14, 2004): Workbook Level 1 4
curl F = ∇ × F =
ρ
ρ ˆ ρ φˆ ˆz
∂ρ
∂φ
∂z
Fρ ρFφ Fz
(a) f = ρ
2
2
(b) f = ρ
3 sin φ
(c) Show that the result for (b) is consistent with that found working
in cartesian coordinates.
Solution
(a) If f = ρ
2
2 then
∂f
∂ρ
= 2ρ,
∂f
∂φ
= 0 and
∂f
∂z
= 2z so ∇f = 2ρρˆ + 2z ˆz.
(b) If f = ρ
3 sin φ then
∂f
∂ρ
= 3ρ
2 sin φ,
∂f
∂φ
= ρ
3 cos φ and
∂f
∂z
= 0 and hence,
∇f = 3ρ
2 sin φρˆ + ρ
2 cos φ φˆ.
(c) f = ρ
3 sin φ = ρ
2 ρ sin φ = (x
2
2 )y = x
2 y + y
3 so ∇f = 2xyi + (x
2
2 )j.
Using cylindrical polar coordinates, from (b) we have
∇f = 3 ρ
2 sin φρˆ + ρ
3 cos φ φˆ
= 3 ρ
2 sin φ(cos φi + sin φj) + ρ
2 cos φ(− sin φi + cos φj)
3 ρ
2 sin φ cos φ − ρ
2 sin φ cos φ
i +
3 ρ
2 sin
2 φ + ρ
2 cos
2 φ
j
2 ρ
2 sin φ cos φ
i +
3 ρ
2 sin
2 φ + ρ
2 cos
2 φ
j
= 2 xyi + (3y
2
2 )j
So the results using cartesian and cylindrical polar coordinates are consistent.
3 ρˆ + ρz φˆ + ρz sin φˆz. Show that the
results are consistent with those found using cartesian coordinates.
5 HELM (VERSION 1: April 14, 2004): Workbook Level 1
Solution
ρ
ρ ˆ ρ φˆ zˆ
∂ρ
∂φ
∂z
Fρ ρFφ Fz
ρ
ρ ˆ ρ φˆ zˆ
∂ρ
∂φ
∂z
ρ
2 ρz sin φ 2 z cos φ
ρ
ρ ˆ
∂φ
2 z cos φ −
∂z
ρz sin φ
+ρ φˆ
∂z
ρ
2 −
∂ρ
2 z cos φ
∂ρ
ρz sin φ −
∂φ
ρ
2
ρ
ρ ˆ(− 2 z sin φ − ρ sin φ) + ρ
φ(0) + ˆz(z sin φ)
(2z sin φ)
ρ
ρˆ +
z sin φ
ρ
ˆz
φ + kz. Find ∇ · B and ∇ × B.
Solution
ρ
∂ρ
∂φ
ρ
− 2
∂z
kρ
ρ
ρ
ρ ˆ ρ φˆ zˆ
∂ρ
∂φ
∂z
Bρ Bφ Bz
ρ
ρ ˆ ρ φˆ zˆ
∂ρ
∂φ
∂z
ρ
− 2 0 k
All magnetic fields satisfy ∇ · B = 0 i.e. an absence of magnetic monopoles. There is a class of
magnetic fields known as potential fields that satisfy ∇ × B = O
(a) Using cylindrical polar coordinates, find ∇f for f = r
2 z sin θ
(b) Using cylindrical polar coordinates, find ∇f for f = z sin 2θ
7 HELM (VERSION 1: April 14, 2004): Workbook Level 1
Your solution
(a)
θ cos ρz + ˆρ θ sin ρz 2 ˆ
ρ + φ 2
ˆzθ sin
Your solution
(b)
2
ρ ˆzθ + sin 2 (^) ˆφ θ cos 2 z
Find ∇ · F for F = ρ cos φρˆ − ρ sin φρˆ + ρz zˆ
(a) Find the derivatives
∂ρ
[ρFρ],
∂φ
[Fφ],
∂z
[ρFz ]
(b) Combine these to find ∇ · F
Your solution
HELM (VERSION 1: April 14, 2004): Workbook Level 1 8
(a) For F = ρρˆ + (ρ sin θ + z) φˆ + ρz zˆ, find ∇ · F and ∇ × F.
(b) For f = r
2 z
2 cos 2 φ, find ∇ × (∇f ).
Your solution
(a)
z)ˆz + φ sin ρ + (2 (^) ˆ φθ cos z − ˆρ−,ρ + θ 1 + cos
Your solution
(b)
In spherical polar coordinates (r, θ, φ), the 3 unit vectors are ˆr,
θ and
φ with scale factors hr = 1,
hθ = r, hφ = r sin θ. The quantities r, θ and φ are related to x, y and z by x = r sin θ cos φ,
y = r sin θ sin φ and z = r cos θ. In spherical polar coordinates,
grad f = ∇f =
∂f
∂r
ˆr +
r
∂f
∂θ
θˆ +
r^2 sin θ
∂f
∂φ
φˆ
If F = Fr ˆr + Fθ θˆ + Fφ φˆ
then
div F = ∇ · F =
r^2 sin θ
∂r
(r
2 sin θFr) +
∂θ
(r sin θFθ) +
∂φ
(rFφ)
HELM (VERSION 1: April 14, 2004): Workbook Level 1 10
curl F = ∇ × F =
r^2 sin θ
ˆr r θˆ r
2 sin θ φˆ
∂r
∂θ
∂φ
Fr rFθ r
2 sin θFφ
(a) f = r
(b) f =
r
(c) f = r
2 sin(φ + θ)
Solution
(a)
∇f =
∂f
∂r
rˆ +
r
∂f
∂θ
θˆ +
r^2 sin θ
∂f
∂φ
φˆ
∂(r)
∂r
rˆ +
r
∂(r)
∂θ
θˆ +
r^2 sin θ
∂(r)
∂φ
φˆ
= 1ˆr = ˆr
(b)
∇f =
∂f
∂r
ˆr +
r
∂f
∂θ
θˆ +
r^2 sin θ
∂f
∂φ
φˆ
1 r
∂r
rˆ +
r
1 r
∂θ
θˆ +
r^2 sin θ
1 r
∂φ
φˆ
r
2
ˆr
(c)
∇f =
∂f
∂r
rˆ +
r
∂f
∂θ
θˆ +
r^2 sin θ
∂f
∂φ
φˆ
∂(r
2 sin(φ + θ)
∂r
ˆr +
r
∂(r
2 sin(φ + θ)
∂θ
θˆ +
r
2 sin θ
∂(r
2 sin(φ + θ)
∂φ
φˆ
= 2 r sin(φ + θ)ˆr +
r
r
2 cos(φ + θ)
θ +
r
2 sin θ
r
2 cos(φ + θ)
φ
= 2 r sin(φ + θ)ˆr + r cos(φ + θ)θˆ +
cos(φ + θ)
sin θ
φˆ
11 HELM (VERSION 1: April 14, 2004): Workbook Level 1
Solution
(a)
r^2 sin θ
ˆr r θˆ r
2 sin θ φˆ
∂r
∂θ
∂φ
Fr rFθ r
2 sin θFφ
r
2 sin θ
ˆr r
θ r
2 sin θ
φ
∂r
∂θ
∂φ
r
k r × 0 r
2 sin θ × 0
r^2 sin θ
∂θ
∂φ
ˆr +
∂φ
(r
k ) −
∂r
r θˆ
∂r
∂θ
(r
k )
r
2 sin θ
φ
= 0 ˆr + 0 θˆ + 0 φˆ = 0
(b)
r^2 sin θ
ˆr r θˆ r
2 sin θ φˆ
∂r
∂θ
∂φ
Fr rFθ r
2 sin θFφ
r^2 sin θ
ˆr r θˆ r
2 sin θ φˆ
∂r
∂θ
∂φ
r
2 cos θ r × sin θ r
2 sin θ × sin
2 θ
r
2 sin θ
∂θ
(r
2 sin
3 θ) −
∂φ
(r sin θ)
ˆr +
∂φ
(r
2 cos θ) −
∂r
(r
2 sin
3 θ)
r θˆ
∂r
(r sin θ) −
∂θ
(r
2 cos θ)
r
2 sin θ φˆ
r^2 sin θ
3 r
2 sin
2 θ cos θ + 0
rˆ +
0 − 2 r sin
3 θ
r θˆ +
sin θ + r
2 sin θ
r
2 sin θ φˆ
= 3 sin θ cos θ ˆr − 2 sin
θ + (1 + r
2 ) sin θ φˆ
13 HELM (VERSION 1: April 14, 2004): Workbook Level 1
(a) Using spherical polar coordinates, find ∇f for
i. f = r
4
ii. f =
r
r^2 + 1
iii. f = r
2 sin 2θ cos φ
(b) For F = r sin θrˆ + r cos φθˆ + r sin φ φˆ, find ∇ · F and ∇ × F.
(c) For F = r
− 4 cos θrˆ + r
− 4 sin θ θˆ, find ∇ · F and ∇ × F.
(d) For F = r
2 cos θˆr + cos φθˆ find ∇ · (∇ × F ).
Your solution
(a)
r (i) 4 3
(ii) ,ˆr r − 1 2
r (1 + 2
2 φ cos θ cos 2 r + 2 ˆrφ cos θ sin 2 r (iii) 2 ,ˆr ˆ
φ sin θ cos r 2 − θ ˆ
φ
Your solution
(b)
,cotθ ) + 3 sinθ + cosech θ (cotφ cos θ
2 φ 2 sin − ˆrφ sin ˆ
) θ cos − φ + (2 cos θ ˆ
φ
HELM (VERSION 1: April 14, 2004): Workbook Level 1 14