Appendix C
Standard Results for Vectors
C1. Summary
This appendix summarises some basic results relating to vectors, in particular for
di↵erent coordinate systems. Many of these will be familiar, but it is worth stating
them in detail.
C2. Vector Identities for Cartesian Coordinate
Systems
Consider a Cartesian coordinate sys-
tem (x, y, z) as shown in the figure.
In the following, ı̂, ˆ⌘ and k̂ are unit vectors in the x, y and z directions. Vectors A
and B are resolved into their components as
A = Ax ı̂ + Ay ˆ⌘ + Az k̂ and B = Bx ı̂ + By ˆ⌘ + Bz k̂ .
The following results apply to any vectors A and B.
The dot product (scalar product) is
.
A B = Ax Bx + Ay By + Az Bz
The cross product (vector product) is
A ⇥ B = (Ay Bz Az By )ı̂ + (Az Bx Ax Bz )ˆ⌘ + (Ax By Ay Bx ) k̂
The gradient of a scalar field f is
@f @f @f
rf = ı̂ + ˆ⌘ + k̂ .
@x @y @z
The divergence of a vector is
.
r A =
@Ax
@x
+
@Ay
@y
+
@Az
@z
.
The curl of a vector is
✓ ◆ ✓ ◆ ✓ ◆
@Az @Ay @Ax @Az @Ay @Ax
r⇥A = ı̂ + ˆ⌘ + k̂ .
@y @z @z @x @x @y
The Laplacian of a scalar function f is
.
r2 f ⌘ r (rf ) =
@ 2f
@x2
+
@ 2f
@y 2
+
@ 2f
@z 2
.
C3. Vector Identities for Spherical Polar Coordinate
Systems
Consider a spherical polar coordi-
nate system (r, ✓, ) as shown in the
figure.
Note the definition of the angles ✓
and here: these definitions are
used in the results below. Some au-
thors choose to switch the definitions
of ✓ and . We define ✓ and in this
way here because the angle can be
compared directly with the angle
in the cylindrical coordinate system.
The Cartesian (x, y, z) axes are also
shown for comparison.
In the following, êr , ê✓ and ê are unit vectors in the r, ✓ and directions. Vectors
A and B are resolved into their components as
A = Ar êr + A✓ ê✓ + A ê
and B = Br êr + B✓ ê✓ + B ê
The following results apply to any vectors A and B.
The dot product (scalar product) is
.
A B = Ar Br + A✓ B✓ + A B
The cross product (vector product) is
A ⇥ B = (A✓ B A B✓ ) êr + (A Br Ar B ) ê✓ + (Ar B✓ A✓ Br ) ê
The gradient of a scalar field f is
@f 1 @f 1 @f
rf = êr + ê✓ + ê .
@r r @✓ r sin ✓ @
The divergence of a vector is
.
r A =
1 @(r2 Ar )
r2 @r
+
1 @(A✓ sin ✓)
r sin ✓ @✓
+
1 @A
r sin ✓ @
.
The curl of a vector is
✓ ◆
1 @ @A✓
r ⇥ A = êr (A sin ✓) +
r sin ✓ @✓ @
✓ ◆ ✓ ◆
1 1 @Ar @ 1 @ @Ar
+ ê✓ (rA ) + ê (rA✓ )
r sin ✓ @ @r r @r @✓
The Laplacian of a scalar function f is
✓ ◆ ✓ ◆
2
.
r f ⌘ r (rf ) = 2
1 @
r @r
r 2 @f
@r
+ 2
1 @
r sin ✓ @✓
sin ✓
@f
@✓
+ 2 2
1 @ 2f
r sin ✓ @ 2
C4. Vector Identities for Cylindrical Polar Coord-
inate Systems
Consider a cylindrical polar coordi-
nate system (R, , z) as shown in the
figure.
The Cartesian (x, y, z) axes are also
shown for comparison.
The coordinate angle is called
here, although some authors prefer
to call it ✓.
In the following, êR , ê and êz are unit vectors in the R, and z directions. Vectors
A and B are resolved into their components as
A = AR êR + A ê + Az êz
and B = BR êR + B ê + Bz êz
The following results apply to any vectors A and B.
The dot product (scalar product) is
.
A B = AR BR + A B + Az Bz .
The cross product (vector product) is
A ⇥ B = (A Bz Az B ) êR + (Az BR AR Bz ) ê + (AR B A BR ) êz .
The gradient of a scalar field f is
@f 1 @f @f
rf = êR + ê + êz .
@R R @ @z
The divergence of a vector is
.
r A =
1 @
R @R
RAR +
1 @A
R @
+
@Az
@z
.
The curl of a vector is
✓ ◆ ✓ ◆
1 @Az @A @AR @Az
r ⇥ A = êR + ê +
R @ @z @z @R
✓ ◆
1 @ @AR
êz RA .
R @R @
The Laplacian of a scalar field f is
✓ ◆
2
.
r f ⌘ r (rf ) = r f ⌘
1 @
R @R
2
R
@f
@R
+
1 @ 2f
R2 @ 2
+
@ 2f
@z 2
.
C5. Position Vectors, Velocity Vectors and Acceler-
ation Vectors
In a Cartesian coordinate system (x, y, z) with unit vectors ı̂, ˆ⌘ and k̂, the position
vector r, the velocity vector v and the acceleration vector a are
r = xı̂ + yˆ⌘ + z k̂
dr dx dy dz
v = = ı̂ + ˆ⌘ + k̂
dt dt dt dt
dv d2 x d2 y d2 z
a = = ı̂ + ˆ
⌘ + k̂
dt dt2 dt2 dt2
for any position, velocity and acceleration.
(Note that these expressions apply whatever the velocity and acceleration are, and
whatever forces drive the acceleration.)
In a spherical polar coordinate system (r, ✓, ) with unit vectors êr , ê✓ and ê , we
have
r = r êr
dr dr d✓ d
v = = êr + ê✓ r + ê r sin ✓
dt dt dt dt
✓ ◆ 2 ✓ ◆2 !
dv d2 r d✓ 2 d
a = = êr r r sin ✓
dt dt2 dt dt
✓ ◆2 !
dr d✓ d2 ✓ d
+ ê✓ 2 + r 2 r sin ✓ cos ✓
dt dt dt dt
✓ ◆
d2 dr d d✓ d
+ ê r sin ✓ 2 + 2 sin ✓ + 2r cos ✓
dt dt dt dt dt
for any position, velocity and acceleration.
(Note that êr , ê✓ and ê are unit vectors in the r, ✓ and directions at any time and
that they change direction as the particle moves. These expressions for r, v, and a
apply whatever the velocity and acceleration are, and whatever forces drive the accel-
eration.)
In a cylindrical coordinate system (R, , z) with unit vectors êR , ê and êz , we have
r = R êR + z êz
dr dR d dz
v = = êR + ê R + êz
dt dt dt dt
✓ ◆ ! ✓ ◆
2
dv d2 R d dR d d2 d2 z
a = = êR R + ê 2 + R + ê z
dt dt2 dt dt dt dt2 dt2
for any position, velocity and acceleration.
C6. Some General Vector Identities
The product rule for di↵erentiating the scalar product of two vectors is
.
d(a b)
⌘
da
b + a .
db
, .
dt dt dt
for any vectors a and b that are functions of a scalar variable t.
C7. Gauss’s Theorem (the Divergence Theorem)
Gauss’s Theorem (the Divergence Theorem) states that
Z Z
V
.
(r A) dV ⌘ A dS
S
.
for any continuous vector field A over any volume V , where S is the surface that
bounds the volume V .