Vector
Vector
—
32VAN Part II
Version 2024/2025
2
All rights reserved. No parts of this work may be reproduced or distributed in any form or by any means,
or stored in a database or retrieval system, without written permission of the copyright holder.
Acknowledgments
The author would like to thank the following students for making valuable comments on the manuscript and
pointing out spelling mistakes and more substantial errors. In alphabetical order:
Haydar Almass, Edgar Ansems, Yngwie Baron, Stijn Borgers, Daan Brinkhof, Luc Brinkman, Stan van
der Burg, Mihály Calis, Mourad Doudouh, Harun Džafić, Laurenz Edelmann, Ben van Elderen, Ferdy Ellen,
Koen van Erve, Bart Goelema, Ruben van de Guchte, Nevin Heeman, Lennart Heijnen, Patrick Huisman,
Jurre de Jonge Mulock Houwer, Anouk Jurewicz, Jorn Kloosterman, Giovanni ’t Lam, Maikel Magnée,
Octavio Melendez, Danı̈el van der Merwe, Orson van der Molen, Maikel Morren, Marieke Mulders, Lucas
Norg, Yarno Peeters, Iris Podbevšek, Shaughn Prickarts, Elise Relyveld, Yannic Risters, Dennis van de
Sande, Jean-Luc van der Schaft, Bart Schepens, Remy Scheren, Jesse Smeets, Máire van der Tak, Robert-
Jan Thuis, Amaan Valiuddin, Dennis van Velthoven, Stoyan Vercruysse, Gijs Vermariën, Emma Vignoli,
Theo Witkamp, Koen Wuite, Fenn Zeelenberg.
3
4
Contents
1 Introduction 9
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.2 The Geometry of our Universe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.3 Synthetic Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4 Vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1.5 Coordinate Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.5.1 Cartesian Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1.5.2 The Space Rn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.5.3 Polar and Spherical Coordinates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1.6 Non-Euclidean Geometry, General Relativity . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3 Curves 31
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2 Vector-Valued Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2.2 Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.2.3 Differentiating vector-valued functions of one parameter . . . . . . . . . . . . . . . . . 32
3.3 Parameterized Curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.4 Velocity and Speed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.5 The Arc Length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.6 Re-parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
3.7 The Arc Length Parameterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5
6 CONTENTS
4 Coordinate Systems 41
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.2 Coordinate Systems, Coordinate Lines and Surfaces . . . . . . . . . . . . . . . . . . . . . . . 43
4.3 Coordinate Transformations, the Jacobi Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 43
4.4 The Covariant Basis, Contravariant Vector Components . . . . . . . . . . . . . . . . . . . . . 44
4.5 Dot Products and the Metric Tensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.6 The Contravariant Basis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.7 Derivatives of Basis Vectors — the Christoffel Symbols . . . . . . . . . . . . . . . . . . . . . . 50
4.8 From Covariant to Contravariant and Vice Versa . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.9 Ortho-Curvilinear Systems; Physical Components and Basis Vectors . . . . . . . . . . . . . . 51
4.10 Volume and Surface Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.11 Summary and Outlook . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Introduction
Objectives
After studying this chapter, you will be able to
• Explain the essential properties of a Euclidean space (flatness, translation- and rotation-invariance);
9
10 CHAPTER 1. INTRODUCTION
1.1 Introduction
What is a vector? In your studies so far you have had multiple encounters with vectors. In secondary school
you have accepted a vector as being an arrow, representing a quantity such as the velocity of a particle or the
force acting on it. Such a vector has a length, later also called the norm or the magnitude, and a direction.
You then learned how to scale and rotate vectors, and to add them using the ‘parallelogram law’. Later you
learned to think of vectors in terms of components, and something like a velocity then ‘became’, for example,
(vx , vy , vz ), assuming a Cartesian coordinate system.
In your more recent studies you have learned how the concept of vectors could be expanded to completely
different types of objects, such as functions of a particular class. You have seen that, by defining an inner
product, even concepts that seem to have a purely geometrical significance could be given a useful meaning
in such vector spaces, such as the norm of a function or the orthogonality of a pair of them.
In this course we will move our attention back to geometric vectors. More specifically, we will study
vectors in a flat three-dimensional Euclidean space. We continue the present chapter with a discussion of
Euclid’s postulates and the concept of ‘flatness’. Vectors will be introduced as a more convenient language
to express problems in geometry. Various representations will be discussed and the relation between the
geometric vectors and the space R3 of column matrices will be discussed. This discussion will use the
Cartesian, polar and spherical coordinate systems with which you ought to be familiar already. The chapter
concludes with a brief discussion on non-Euclidean geometries.
In chapter 2 we will lay the groundwork for our further studies of vectors and vector-valued functions. We
will define the dot, cross and scalar triple products of vectors and use these to calculate lengths, surfaces and
volumes. Three more products of three and four vectors will be shown as well, and applications to classical
geometrical problems such as projections and intersections of lines and planes will be demonstrated in the
form of exercises.
In chapter 3 we define a curve as a vector-valued continuous function of a single scalar parameter. Various
properties of curves will be introduced, such as a curve’s velocity, speed and arc length parameterization.
In your previous studies you have dealt (almost) exclusively with orthonormal coordinate systems. These
are systems with mutually orthogonal basis vectors of unit length. In chapter 4 we will provide a much
more general view on coordinate systems and discuss the important concepts of covariant and contravariant
basis vectors and components and the metric tensor. In addition, the physical component representation
will be presented for the special case of locally orthogonal coordinate systems. This chapter builds on your
knowledge of multivariable calculus, in particular transformations and the Jacobian matrix.
In chapters 5–7 we introduce three key concepts in vector calculus: the divergence of a vector field, the
gradient of a scalar field and the curl of a vector field. These are of the utmost importance in physics, and
we will motivate their definitions by starting from examples from physical reality. All expressions will be
developed in general coordinate systems, the expressions in Cartesian, cylindrical and spherical coordinates
that you should be familiar with are derived as special cases.
Chapter 8 presents the Laplacian of a scalar field. This particular combination of the divergence and the
gradient operators is omnipresent in physics, and a particular example of its application in electrostatics is
discussed in chapter 9.
Throughout the text the existence of potentials is observed a number of times. The text concludes with
an exposition of Helmholtz’ decomposition theorem, which states that every vector field can be written in
terms of a scalar and a vector potential. The subject of potential theory is important for physicists because
more often than not you will investigate the properties of a vector field by inspecting its potential(s), rather
than the fields themselves.
Chapter 11 concludes this text. It touches upon the subject of 2-tensors. The presentation is based on
Gibb’s concept of the dyadic product of two vectors and dyadics. The reason is that that presentation fits
in smoothly with the rest of the material in this lecture, and more importantly: that presentation is still
found in many books on applied physics, in particular fluid dynamics and electrodynamics. The concepts
1.2. THE GEOMETRY OF OUR UNIVERSE 11
are demonstrated by introducing the concepts of the momentum flux density and the momentum balance
equation for a fluid.
1. A straight line segment can be drawn between any pair of two points;
3. A line segment is the radius of a circle with one of the end points as its center;
The word ‘congruent’ means that one object (a right angle) can be transformed into the other by a trans-
lation, rotation and reflection. More generally, Euclidean geometry is based on the assumption that you
can translate, rotate and mirror objects without altering their nature. A triangle stays a triangle when it is
moved around, rotated or flipped, and all lengths and angles are conserved in the process.
There is one more postulate. Euclid’s fifth postulate, or parallel postulate has been formulated and re-
formulated in many equivalent ways, but perhaps the easiest statement is the following, due to Playfair [3,
p. 29, prop. XXXI]:
5. given, in a plane, a line and a point not on that line, there is only one line through that point that
does not intersect with the other line.
On the basis of these postulates, Euclid was able to prove many well-known results. We highlight two of
these, which we will also revisit when we start to talk about vectors a bit later in this text. The first is
Euclid’s theorem I.32, which states that the sum of the angles of a triangle is equal to 180◦ (‘two right
angles’). The second is Euclid’s I.47, which we all know as the theorem of Pythagoras.
Exercise 1.1 Make sure you realize what Euclid’s postulates say: please take a pen and a piece of paper and
draw points, lines and circles to visualize each of Euclid’s five postulates.
Exercise 1.2 Draw a square. Draw a second square with smaller sides that is rotated (30 degrees or so), such
that the corner points of the second square are located on the sides of the first square. Let c denote the length
of the sides of the small square. The corner points divide the sides of the big square in line segments with
lengths a and b, say. Calculate the size of the large square in terms of a and b. Equate the result to the sum
of the areas of the small square and the triangles that have appeared in the construction. Derive Pythagoras’
law.
1 For completeness sake, in Euclid’s work also a number of ‘common notions’ or axiomata appear. The interested student is
referred to one of the many good sources on Internet on the subject, or to reference [2, ch. 2]. Also note that the words axiom
and postulate are used interchangeable in some scientific communities.
1.4. VECTORS 13
a
a+b b b a+b
b a+b
a a
(a) Successive displacement: a + b (b) Successive displacement: b + a (c) The parallelogram law
Figure 1.1: Addition of two vectors can be achieved via the parallelogram law. The effect is the same as when the
two displacements a and b are applied successively in any order (figures c and d). This construction of vector
addition by successive applications makes the fact that translations of the vectors are required.
1.4 Vectors
Consider two points A and B in a Euclidean space. We can then draw a line segment that originates from
−−→
the point A and ends at point B. Such a line segment has a length and a direction and can be written as AB
or with a boldface small letter such as v. We call such a directed line segment a vector. 2 When we draw a
vector we use an arrow, rather than a line segment, to indicate its direction.
−−→
The vector v = AB has been explicitly constructed by drawing it from the point A. Such a vector, with
particular initial and end points is called a bound vector. But we see something interesting: v is an amount of
displacement in a particular direction that we could also apply to another point in space. When we interpret
the vector as a displacement, essentially ‘forgetting’ the point from which it originates, we speak of v as a
free vector. When we speak of vectors, we usually speak of free vectors, and we say that two vectors are equal
if they express the same displacement, that is: if they have the same magnitude and the same direction.
We can define what it means to add a (displacement) vector v to a point: this is the operation of applying
the displacement to a point A, say, resulting in a new point B. The operation of adding two vectors can also
be given a meaning: it is defined as the displacement vector that results from the successive application of
the two vectors. In a Euclidean space the order in which this operation is carried out does not matter, so
vector addition is commutative,
a + b = b + a. (1.1)
This is illustrated in figures 1.1(a) and 1.1(b). The result is equivalent to what you get from the parallelogram
law, illustrated in figure 1.1(c).
Let us now consider some other operations of vectors. Vectors can also be multiplied with a scalar,
subtracted and rotated. We will not dwell too much on these operations. Instead we refer to figure 1.2,
where the various operations have been summarized.
We have discussed the definitions of adding vectors to points, and vectors to vectors. But can we also
add points to points? In order to give that operation a meaning we need to take additional measures. We
2 A quick search on the Internet and in literature reveals the following, apparently contradictory explanations for the origin
of the word vector. The historians among you may want to please their beloved teacher by helping me to sort out this mess, so
I can improve the syllabus a little:
• Kreyszig [4, page 9]: “The concept of a vector was first used by W, Snellius (1581-1626) and L. Euler (1707-83).”
• [Link] “The word VECTOR (which, like the word vehicle, derives ultimately from the
Latin vehĕre to carry) was first a technical term in astronomical geometry. The OED’s earliest entry is from a technical
dictionary of 1704: J. Harris Lexicon Technicum I. s.v., “A Line supposed to be drawn from any Planet moving round a
Center, or the Focus of an Ellipsis, to that Center or Focus, is by some Writers of the New Astronomy, called the Vector;
because ’tis that Line by which the Planet seems to be carried round its Center.” (NOTE: OED is the Oxford English
Dictionary.)
• [Link] “The term vector was introduced by William Rowan Hamilton as
part of his system of quaternions...” (mid 19th century).
Same page: “It was first used by 18th century astronomers investigating planet rotation around the Sun. ref: The Oxford
English dictionary. (2nd. ed.). London: Claredon Press. 2001. ISBN 9780195219425.”.
14 CHAPTER 1. INTRODUCTION
a
2a
a a
−a a
(a) translation (b) rotation over 90◦ (c) Negation (d) Scaling
need to define a special point in space, which we will call the origin and write as O. Once we have chosen an
−−→
origin, we can construct, for every point P in space, the displacement vector OP . We call this special vector
the position vector x(P ) of point P . We can then define that the addition of two points P1 and P2 results
in the point that is obtained by adding both their position vectors to the point O.
−−−→
Exercise 1.3 Please draw two points P1 and P2 and the displacement vector P1 P2 . Next, draw a third point
−−→ −−→
O and the position vectors OP1 and OP2 . Also draw the sum of these position vectors. Observe that this
−−−→
vector depends on the choice for O, whereas the vector P1 P2 does not.
It is important to realize that the choice for an origin is arbitrary. It is therefore to be expected that our
laws of nature should be formulated in such a way that measurable quantities do not depend essentially on a
particular choice. Later we will equip space with a coordinate system, and describe vectors in terms of their
components and the basis vectors of that coordinate system. We will then make this same comment: the
universe is not affected by the choice for a particular type of coordinate system, its origin or its orientation,
and this fact (or belief?) should be reflected by the equations that constitute our model for the physical
world.
(x,y,z )
(0,0)
O z
x
y Y
(a) 2D (b) 3D
Figure 1.3: A Cartesian coordinate system for a two- and three-dimensional geometry. (Based on: https:
// en. wikipedia. org/ wiki/ Cartesian_ coordinate_ system — public domain.)
Given this expression for the position vector, the basis vectors of the coordinate system can be obtained by
taking the partial derivatives of x with respect to the coordinates,
∂x ∂x ∂x
ex = , ey = , ez = . (1.3)
∂x ∂y ∂z
Furthermore, the coordinates x, y and z can be obtained by taking the dot product of its position vector x
with the basis vectors: using the linearity of the dot product and the fact that the Cartesian basis vectors
are orthogonal, we get
x = x · ex , y = x · ey , z = x · ez . (1.4)
Also other vectors, such as the electric field E at some position P , or the flow velocity u in that point can
be expressed in terms of these basis vectors. For some vector a we can write
a = ax ex + ay ey + az ez , (1.5)
where ax , ay and az are the components of vector a, with reference to the coordinate system.
Exercise 1.4 Consider two vectors a and b and their component-expressions for some given Cartesian co-
ordinate system. Please show that the dot product of these vectors is given by a · b = ax bx + ay by + az bz .
Exercise 1.5 Consider a Cartesian coordinate system and draw two normalized position vectors a and b in
the xy-plane at angles α and β with respect to the x-axis. Express both vectors in terms of the basis vectors
ex and ey . Calculate the dot product and equate the result to the geometrical definition of the dot product.
Show that cos(β − α) = cos α cos β + sin α sin β.
the arrows with lengths and directions that we defined them to be. The description in terms of coordinates
also allows us to adopt a purely algebraic view on vectors and operations on vectors. That is achieved by
grouping the Cartesian components of the position vector and the basis vectors in column matrices that are
elements of R3 . We find that
x 1 0 0
[x]c = y , [ex ]c = 0 , [ey ]c = 1 , [ez ]c = 0 . (1.6)
z 0 0 1
The rules of matrix addition allow us to write the coordinate vector [x]c as
x 1 0 0
y = x 0 + y 1 + z 0 ⇐⇒ [x]c = x[ex ]c + y[ey ]c + z[ez ]c . (1.7)
z 0 0 1
When there is no risk of confusion about the coordinate system that was used, the column matrix is also
written as x. Note that a roman font is used to distinguish the coordinate vector x from the geometric vector
x that it describes. If we also write ex := [ex ]c etc, the expression for the coordinate vector becomes
Please make sure that you appreciate the difference between the vector x and the coordinate vector [x]c
(or x). The former is a geometric object, which describes the displacement from the reference point O to the
point P . The latter is a collection of numbers that describe this displacement, it derives its meaning from
the choice for the coordinate system c. The same goes for the relation between the basis vector ex and the
coordinate vector ex = [ex ]c , et cetera.
We cannot say that x (a geometric vector) is equal to x (an element of R3 ), but obviously there is a close
relationship between the space of Euclidean geometric vectors and the space R3 . It is easy to show that the
mapping of the geometric vectors to the column matrices in R3 is linear and bijective, and mathematically
we say that the space of Euclidean vectors is isomorphic to R3 . The relation between the vectors is denoted
as x ≃ x (or x ≃ [x]c ).
What has been said about the position vector x is also true for more general vectors such as a: we have
a ≃ a, the column matrix that contains the Cartesian components of a.
Exercise 1.6 Please show that a · b = aT b. (Note: aT represents the transpose of a.)
A result of this state of affairs is that the words Euclidean space and the space R3 are sometimes used
interchangeably. That is a bit confusing, since the space R3 comes into existence only after a Cartesian
coordinate system has been introduced, and it is not necessary to do so. In chapter 2 we will see that
many interesting results about points, lines, planes and vectors can be discussed without ever referring to
a particular coordinate system. And even when coordinates are used, other coordinate systems than a
Cartesian one may be used. As an example, we discuss polar and spherical coordinates.
1. We consider a set of equations that relate the Cartesian coordinates of a pre-existing coordinate system
to the new coordinates. These equations are in general not linear;
2. The partial derivatives of the position vector with respect to these new coordinates are calculated,
using the chain rule and the equations for the coordinates;
3. The basis vectors are obtained by normalizing the resulting vectors.
Also in chapter 4 we will define basis vectors as the derivatives of the position vector with respect to the
coordinates, but the resulting vectors are used as such, without normalization.
Polar Coordinates
Let us consider polar coordinates r ∈ [0, ∞) and ϕ ∈ [0, 2π) for a two-dimensional geometry. These are
related to the Cartesian coordinates by the relations
The position vector is given by x = xex + yey . Let us now develop the expressions for basis vectors er and
eϕ in terms of the Cartesian basis vectors. As in equation (1.3), these are obtained as the normalized partial
derivatives of x with the coordinates. Since r and ϕ are both functions of x and y, we get
∂x ∂x ∂x ∂x ∂y
= + = +ex cos ϕ + ey sin ϕ, (1.11)
∂r ∂x ∂r ∂y ∂r
∂x ∂x ∂x ∂x ∂y
= + = −rex sin ϕ + rey cos ϕ. (1.12)
∂ϕ ∂x ∂ϕ ∂y ∂ϕ
The first vector already has length 1, the second has length r. The normalized basis vectors are then
Exercise 1.7 Plaease verify that the basis is orthonormal: that er · er = eTr er = 1, eϕ · eϕ = eTϕ eϕ = 1 and
er · eϕ = eTr eϕ = 0
Spherical Coordinates
We consider spherical coordinates r ∈ [0, ∞), θ ∈ [0, π] and ϕ ∈ [0, 2π) for a three-dimensional geometry.
These are related to the Cartesian coordinates by the relations
1. Please derive expressions for the partial derivatives of x(r, θ, ϕ) with respect to the coordinates r, θ and
ϕ (in terms of the Cartesian basis);
4. Just like for polar coordinates, the position vector in spherical coordinates only has a radial component.
Please show that
x(r, θ, ϕ) = rer (θ, ϕ). (1.23)
Exercise 1.9 Please provide the expressions for the coordinate vectors of er , eθ and eϕ . Use these expressions
to show that the spherical basis vectors are orthonormal.
Exercise 1.10 Show that the angle α between two position vectors on a sphere with spherical angles (θ1 , ϕ1 )
and (θ2 , ϕ2 ) is given by
cos α = sin θ1 sin θ2 cos(ϕ1 − ϕ2 ) + cos θ1 cos θ2 . (1.24)
This angle is called the central angle or the angular distance between two points on a sphere.
Exercise 1.11 The latitude and longitude of Eindhoven are 51◦ 26′ N, 5◦ 29′ E, Tokyo is located at 35◦ 41′ N,
139◦ 41′ E.
1. Please show that the angular distance between the two cities is equal to 84.1◦ , or 1.47 rad.
2. Show that the distance across the surface of the earth is approximately 9.4 × 103 km. Assume that the
earth is a sphere with radius 6371 km.
Exercise 1.12 Consider a particle with time-dependent coordinates r(t), θ(t) and ϕ(t) in a spherical coordinate
system. The position vector depends only on t (via the coordinates), it is given by x(r(t), θ(t), ϕ(t)).
1. Use the chain rule and the rules of partial derivation to demonstrate that
dx dr dθ dϕ
= er + eθ r + eϕ r sin θ . (1.25)
dt dt dt dt
2. Approximate the earth as a sphere and introduce a fixed spherical coordinate system with the center
of the earth at r = 0 and the North Pole at θ = 0, so the earth is rotating in this system (in the
ϕ-direction). What is the angular velocity dϕ/dt? What are the speeds of objects at rest on earth on
the equator and on the North Pole?
1.6. NON-EUCLIDEAN GEOMETRY, GENERAL RELATIVITY 19
Exercise 1.13 Consider two meridians. Are these parallel? Do these intersect in any point?
The Euclidean geometry is that of a ‘flat space’. In two dimensions it is easy to imagine what that means:
Euclid’s fifth postulate is consistent with our observations of the behavior of lines on a plane — a flat piece
of paper, if you wish. It is also easy to visualize a curved two-dimensional surface, such as that of a sphere.
And on such a surface, Euclid’s fifth postulate cannot be expected to be valid. But how do we find out
whether the three-dimensional space in which we live is flat (Euclidean), or not? It is hard to imagine what
a curved three-dimensional space looks like. But once you have developed the mathematics of geometry, like
Euclid did, you do not need to. Instead, you can define a flat space as a space that is described by Euclid’s’
postulates (all five) and in which, as a consequence, his theorems can be verified by experiments. In other
words: we can construct triangles, big or small, and do experiments to test if their angles add up to 180◦ ,
and such things as Pythagoras’ theorem are valid.
As an example, imagine that you are an earthling, living in the times of Euclid, confined to the surface
of the earth, and skeptical about the new insight that the earth is a sphere, rather than a flat surface with
boundaries unknown and better avoided. How could you use Euclid’s theorems to find out whether the earth
is flat or not? This is the subject of the next exercises.
When a space is non-Euclidean, some things start failing. We have already seen that finite-sized displace-
ment vectors are problematic (non-commutative), and since the position vector is merely such displacement
from an arbitrarily chosen ‘origin’, also the introduction of such special point is no longer useful. Also, on a
curved geometry it is not possible to set up a Cartesian coordinate system. If you try to imagine the issues
at hand, make very sure that you are aware of the difference between a curved space, and a curved structure
that is embedded in a higher-dimensional flat space. As an example, consider the position vectors x(θ, ϕ) of
points in a three-dimensional Euclidean space that lie on the (two-dimensional) surface of a sphere), with
20 CHAPTER 1. INTRODUCTION
the origin in the center of the sphere. Adding such three-dimensional position vectors is perfectly possible,
but will result in a point that is not on the spherical surface.
If we consider only the spherical surface (not embedded in a three-dimensional space), we run into
problems: we cannot meaningfully define an origin, position vectors and vector addition. But on the other
hand, the infinitesimal displacement that is associated with variations of the spherical angles will result in a
displacement that brings you to another point on the curved (spherical) surface,
∂x ∂x
dx = dθ + dϕ := aθ dθ + aϕ dϕ, (1.26)
∂θ ∂ϕ
and note that this addition, of vectors in the ‘tangent plane’ that is spanned by the vectors aθ and aϕ , is
is linear and commutative. This observation of ‘local flatness’ is one of the cornerstones of the treatment of
non-Euclidean spaces in differential geometry.
Until the beginning of the 20th century it was universally accepted that the Euclidean model was an
adequate description of our three-dimensional universe. This changed when Einstein formulated his theory
of general relativity. The common formulation of that theory is that our three-dimensional space does not
have a flat, Euclidean structure, but is curved by the presence of mass. Since this curvature manifests itself
only on cosmological scales, ‘physics on earth’ is described accurately by a Euclidean model of our space. Of
course, if this were not the case, Euclid himself would have discovered that his model was flawed.
This course deals with vectors and vector calculus in three-dimensional Euclidean space. But before you
feel cheated: much of the nomenclature, concepts, rules, and manipulations that you will familiarize yourself
with apply equally well to non-Euclidean space. As it turns out, the property of space that tells us whether
it is Euclidean or not is a very central and important part of the exposition that will follow, but rather small
at the same time. It is the metric of the space, as encoded by the metric tensor. We will get back to that
concept in a later chapter. If you want to learn more about curved space-time, we recommend that you
follow the TU/e elective course General Relativity — after finishing this course with good marks.
We conclude this section with two exercises that deal with measurements of distances. That is something
that you are so familiar with, that it is easy forget that even this concept is much more subjective than you
think. The following exercises will fix that.
Exercise 1.15 Let R denote the radius of the earth, which we model as a sphere. What is the distance between
the North Pole and the equator?
Exercise 1.16 The Euclidean and Manhattan distances between two points.
1. Roads in many American cities are organized as a rectangular grid of avenues in one direction and
streets in the other. If your destination lies 300 m to the east, and 400 m to the north, what distance
do you need to travel? Assume that you are a bird.
Exercise 1.17 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
Chapter 2
Objectives
After studying this chapter, you will be able to
• Use the dot product of two vectors to calculate a vector’s length and the angle between two vectors
and to express orthogonal and oblique projections in terms of dot products;
• Use the cross product of two vectors to calculate the area of the parallelogram that is spanned by those
vectors;
• Use the triple scalar product to calculate the volume of the parallelepiped that is defined by three vec-
tors, to establish the linear independence of three vectors and to express the product as a determinant;
• Use the triple vector product and two quadruple vector products.
• To explain the Kronecker symbol δji ;
• Set up the reciprocal vectors of a set of three vectors, and use these to solve vector-valued equations;
• Apply the theory of this chapter to solve basic geometric problems involving points, lines and planes.
21
22 CHAPTER 2. VECTORS PRODUCTS AND RECIPROCAL VECTORS
2.1 Introduction
In chapter 1 we have seen that vectors can be scaled, rotated and that they can be combined by addition
or subtraction. In section 2.2 we discuss various definitions of products of vectors. You are already familiar
with the dot and cross products of two vectors, but the ‘scalar triple product’ will be new. We will also
discuss the ‘vector triple product‘ and two quadruple products. The latter three will be used less in this
course, except in some proofs, but is is good that you are aware of their existence.
In section 2.3 we discuss the reciprocal vectors of a set of three independent vectors. These are useful
for solving systems of vector-valued equations, and generalize, formulated sloppily, the concept of division of
numbers to vectors.
In section 2.4 we demonstrate briefly how these concepts can be used to solve classical problems in
geometry involving points, lines and planes. The products, as well as the concept of reciprocal vectors will
be used extensively in the remainder of this document, so study that material with care.
χAa
a
h
base
c
χbc b
Figure 2.1: The volume of a parallelepiped with sides a, b and c is given by the scalar triple product (a b c),
see equation (2.10). (Based on: https: // en. wikipedia. org/ wiki/ File: Parallelepiped_ volume. svg —
public domain.)
• perpendicular to the vectors a and b, where the sense is defined by the right-hand rule, applied to the
vectors a and b in that order;
• with a length that is equal to the surface of the parallelogram that is spanned by the vectors a and b,
as given by equation (2.8).
We call this type of vector a directed surface element and will encounter it later on in our discussions of
surface integrals over vector fields.
It can be shown that the cross product is bilinear, just like the dot product. But unlike the dot product
it is anti commutative,
b × a = −a × b. (2.9)
Just like the dot product, the cross product yields a geometric property; it does not depend on the choice
for any coordinate system.
(a b c) = a · (b × c). (2.10)
Exercise 2.5 Prove that the scalar triple product produces the volume of the parallelepiped that is defined by
its vector arguments. Use the symbols that are also used in figure 2.1.
Note that the scalar triple product can be negative. This happens if its three vector arguments are not
‘sorted’ according to the right-hand rule. We therefore say more precisely that the scalar triple product is
equal to the signed volume of the parallelepiped that is spanned by its three vector arguments. If the usual
(positive) volume is needed, one must either take the absolute value of the triple scalar product, or ensure
that its arguments are sorted according to the right-hand rule.
The scalar triple product has various properties, most can easily be derived from those of the dot and
cross products on which it is based. As an example, it is linear in all three of its arguments. Secondly, the
product is unaltered by a circular shift of the arguments,
(a b c) = (c a b) = (b c a). (2.11)
This property can be understood geometrically by calculating the parallelepiped’s volume using different
choices for base plane.
The scalar triple product changes sign if any of the two arguments are interchanged: it is anticommutative.
As an example,
(a b c) = −(b a c). (2.12)
Exercise 2.6 Please verify the properties (2.11) and (2.12) by imagining (using the right-hand rule) how the
volume calculation would be affected (or not). Start with vectors a, b and c as defined in the picture. In the
second part of the exercise it may help to consider the vector −a × c as an intermediate step.
The scalar triple has another important application: it can be used to decide if a set of three vectors a,
b and c is linearly independent. That is the case if
αa + βb + γc = 0 =⇒ α = β = γ = 0. (2.13)
This expression can be verified by simply carrying out the cross and dot products, and comparing the result
with the expression for the determinant of a 3 × 3 matrix. But there is more: linear algebra tells us that
det(AT ) = det(A), and that the determinant of the product of two matrices is equal to the product of their
determinants. Then
a·a a·b a·c
(a b c)2 = det(AT A) = det b · a b · b b · c . (2.15)
c·a c·b c·c
The scalar product itself can be obtained by taking the square root of this relation, up to a minus sign. We
leave the proofs of these relations as an exercise.
3. Show that (a b c) = ||a|| ||b|| ||c|| for three orthogonal vectors (ordered such that the volume is positive).
Exercise 2.10 Test equation (2.16) by taking the dot product with vectors a and b × c.
Exercise 2.11 Please prove the special case of this equation for a = c and b = d.
1 See for example [Link]
2 For a proof, we refer to [Link]
2.3. RECIPROCAL VECTORS 27
The vector u1 has been derived as part of the previous exercise, the vectors u2 and u3 can be obtained along
the same lines. The resulting definitions of the reciprocal vectors can be summarized as follows:
u2 × u3 u3 × u1 u1 × u2
u1 = , u2 = , u3 = . (2.21)
(u1 u2 u3 ) (u1 u2 u3 ) (u1 u2 u3 )
From the definition it immediately follows that
(
1 i = j;
ui · uj = (2.22)
0 i ̸= j.
This is how close as we can get to the equivalent of u−1 u = 1 in a vectorial setting, hence the name ‘reciprocal
vectors’.
3 In chapter 4 we will use this notation extensively, and make a clear difference between quantities that are written with a
Exercise 2.15 Please verify equation (2.22) for i = 1 and j = 1, 2. The other combinations are more-of-the-
same. Remember that (u1 u2 u3 ) = (u2 u3 u1 ) = (u3 u1 u2 ).
The right-hand side of equation (2.22) appears frequently in the remainder of this text. We therefore define
the Kronecker symbol δji as
(
i 1 i = j;
δj = (2.23)
0 i ̸= j.
We also define variants δij and δ ij with the same dependence on the indices i and j. In terms of the Krocker
symbol equation (2.22) takes the form
ui · uj = δji . (2.24)
Exercise 2.16 Let us come back to the vector-valued equation that we used in the introduction of this section,
but this time we express v in terms of the reciprocal vectors. In a three-dimensional geometry, we consider
three linearly (non-coplanar) vectors u1 , u2 and u3 and the vector equation v = α1 u1 + α2 u2 + α3 u3 .
2. Show that the resulting expression for v is the sum of three oblique projections, each along ui along a
line perpendicular to ui .
For a non-zero real number u we have u = (u−1 )−1 : the reciprocal of the reciprocal is the original number.
Is this also true for the reciprocal vectors? The answer is affirmative, because indeed
u2 × u3 u3 × u1 u1 × u2
u1 = , u2 = , u3 = . (2.25)
(u1 u2 u3 ) (u1 u2 u3 ) (u1 u2 u3 )
Exercise 2.17 Please prove equations (2.25) (for u3 , that suffices) and (2.26). Hint: apply equation (2.20)
to the vectors u2 , u3 and u1 . Also consider the dot product of the result and the vector u3 .
Exercise 2.18 TODO: make this an exercise. In crystallography, a Bravais lattice is a set of points defined
by
R(n1 , n2 , n3 ) = n1 a1 + n2 a2 + n3 a3 . (2.27)
G(m1 , m2 , m3 ) = m1 a1 + m2 a2 + m3 a3 . (2.28)
We find that
G · R = m1 n1 + m2 n2 + m3 n3 . (2.29)
• A plane in an Euclidean space that passes through point c and is parallel to u and v is the collection
of points
xp (s, t) = c + su + tv, s, t ∈ R. (2.31)
The vector n = u × v is perpendicular to the plane. Taking the dot product of the equation for the
points in the plane with n yields an alternative, parameterless characterisation of the points xp on the
plane:
(xp − c) · n = 0. (2.32)
The concepts (products, reciprocal vectors) that have been discussed in this chapter are convenient tools
for the analysis of basic geometric problems involving points, lines and planes. We exercise these tools in
the form of a number of exercises.
(c − p) + su + tv = 0. (2.33)
What do we know about the three vectors c − p, u and v, if a linear combination yields 0?
2. Show that the point is on the plane if and only if ((c − p) u v) = 0.
Let us elaborate on the previous exercise. If we want to calculate the distance of a point p to the plane, we
proceed as follows. We know that the shortest path from p to the plane is along a vector perpendicular to
the plane. Such vector is given by n = u × v. The orthogonal projection of the vector c − p on n will be in
the plane and on the shortest path. This projection is given by
n · (c − p)
n , (2.34)
n·n
and its length is the desired distance. It is given by ||c − p|| cos θ, where θ is the angle between c − p and n.
This distance is zero if c = p or if this vector is perpendicular to n (in this case it is in the plane).
The point on a line that is closest to a given point can be found in a similar way. We leave this as an
exercise.
Exercise 2.20 Consider a line xl (s) = c + sd and a point p.
1. Construct a vector that, when added to p, brings you to a point on the line;
2. Calculate the orthogonal projection of this vector on the line and the rejection vector. The latter is the
smallest vector that brings you from the point p to the line. Give the expression for the point on the
line that is closest to p;
3. This vector can also be obtained in another way. Consider the length of the vector xl (s) − p (or its
square), and calculate the value of s that minimizes this distance. Substitute this vector in the expression
for xl (s) − p.
30 CHAPTER 2. VECTORS PRODUCTS AND RECIPROCAL VECTORS
Example 2.1 A line xl (s1 )c1 + s1 u1 intersects a plane xp (s2 , s3 ) = c2 + s2 u2 + s3 u3 if there is a solution
for s1 , s2 and s3 of the equation xl (s1 ) = xp (s2 , s3 ), or
c1 − c2 = −s1 u1 + s2 u2 + s3 u3 . (2.35)
There is a unique solution if the three vectors ui are not coplanar. In that case the parameters can be found by
dot-multiplying with the reciprocal vectors ui . This yields, for example, s1 = (c2 − c1 ) · u1 . Backsubstitution
in the equation for the line yields the point of intersection
x = c1 + u1 (c2 − c1 ) · u1 (2.36)
Using the definitions of the reciprocal vectors, this can also be written in terms of n = u2 × u3 ,
n · (c2 − c1 )
x = c1 + u1 . (2.37)
u1 · n
(Please verify this expression.)
Let us discuss the meaning of these expressions in words: starting from c1 , the vector c2 − c1 will bring
you to a point on the plane — which is no longer on the line, in general. Instead we project the vector c2 − c1
along a vector that is perpendicular to n (so it will stay in the plane) on the vector u1 (so it will also be on
the line). Adding this modified vector to c1 yields the point of intersection.
Example 2.2 Consider two lines c1 +s1 d1 and c2 +s2 d2 in a three-dimensional space. Do these lines intersect
each other in a single point?
If there are shared points, these are solutions of the equation
c1 + s1 d1 = c2 + s2 d2 ⇐⇒ c1 − c2 = s2 d2 − s1 d1 .
c2 − c1 = (s1 − s2 α)d1 ,
which requires that c2 − c1 is also parallel to d1 . In this case the two lines coincide, there are infinitely
many intersection points.
• Otherwise, this has a solution only if c1 − c2 = 0, or is a linear combination of d1 and d2 (the
three vectors are coplanar). Both cases are covered by the requirement that their scalar triple product
vanishes, ((c2 − c1 ) d1 d2 ) = 0.
Exercise 2.21 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
Chapter 3
Curves
Objectives
After studying this chapter, you will be able to
• Explain the concepts of curves, closed curves and simple curves in Rn ;
31
32 CHAPTER 3. CURVES
3.1 Introduction
Consider the position of a particle in a Euclidean space. For a given choice for an origin (see section 1.4)
this can be described by a position vector x. If the particle is moving, the position depends on time t and
we write x(t). This is an example of a vector-valued function. It maps a value from the set of real numbers
R to a vector.
Once we have defined functions that take and/or produce vectors, it is only natural to develop the basic
tools for analyzing such functions. These are the concepts of continuity and differentiation. As we will see in
the next sections, the definitions are very close to those for scalar functions. The essential difference is the
measurement of distances between argument and result values. Whereas in the scalar case the ‘absolute value’
of a difference between scalar values was used, we will use the (Euclidean) norm when vectorial distances
must be measured.
In this chapter we will discuss curves in two- and three-dimensional Euclidean space. We will resort mostly
to analytical methods to describe curves. We will consider vector-valued functions of one parameter, and
define continuity and differentation of such functions (section 3.2. We will then define a curve as continuous
vector-valued functions of one parameter. Some of these inquiries can be done without the introduction of a
coordinate system. Others are facilitated by equipping space with one, so vectors can be studied in terms of
their coordinate representation with respect to that system. It is important to bear in mind though that the
choice for a coordinate system is a matter of convenience: curves are geometric objects that exist independent
of a coordinate system
There is nothing that keeps us from using coordinate systems other than a Cartesian one. In the chapter
that follows this one, we will make an in-depth study of more general coordinate systems, based on the
properties of curves that we will outline in the next sections.
This is completely analogous to the definition of continuity for non-vectorial functions. The only difference
is that we use the (Euclidean) distance to measure the distance between to vectors, for scalar functions we
would have used the absolute value of the difference between the two values.
derivative of a linear combination of vectors is equal to the linear combination of the derivatives: let v(t) be
a second vector, and α and β constant scalar values, then
′
(αu + βv) = αu′ + βv ′ . (3.3)
This is the product rule for differentiation. Other variants of the product rule state that:
′
(u · v) = u′ · v + u · v ′ ; (3.5)
′
(u × v) = u′ × v + u × v ′ . (3.6)
Finally we mention the chain rule. For a vector function u(f (t)) this states that
d du df
u(f (t)) = . (3.7)
dt df dt
Exercise 3.1 The derivative of a product of scalar and vector-valued functions. Consider f (t) and u(t) as
above, and define ∆f and ∆u such that f (t + ∆t) = f (t) + ∆f and u(t + ∆t) = u(t) + ∆u.
1. Show that
(f u)(t + ∆t) − (f u)(t) ∆f ∆u ∆f ∆u
= u(t) + f (t) + ∆t .
∆t ∆t ∆t ∆t ∆t
2. Argue that, if the derivatives of f and u exist, in the limit ∆t → 0 this gives1
3. Prove, along the same lines, relation (3.5). State precisely which property of the dot product you rely
on.
Exercise 3.3 Let x(t) be the position of a particle with mass m. Let p, L, F and ϵ denote the linear and
angular momentum of the species, the force acting on the species and the kinetic energy of the species. Use
that Newton’s laws of motion.
1. Give expressions for these four quantities in terms of m, x and its derivatives.
2. Express the rate of change of ϵ in terms of the particles velocity and force.
3. A magnetic flux density B exerts a force qx′ × B on a particle with charge q. Show that this does not
affect the kinetic energy of that particle.
4. Show that the rate of change of the angular momentum is equal to the torque r × F .
1 You may want to look up the ‘product rule for limits’.
34 CHAPTER 3. CURVES
If the interval is left-closed, the curve has a begin point A, say. Similarly, if the interval is right-closed,
it has an end point B, say. If the begin and end points coincide, we speak of a closed curve. In this text we
will be concerned mostly with simple curves. Such curves do not intersect themselves anywhere, except in
the begin and end point (if the curve is closed).
Exercise 3.4 We consider a two-dimensional space that has been equipped with a Cartesian coordinate system.
We define ω = 2π/T , R is a fixed parameter and n an integer number, n ≥ 2. Please sketch the following
curves and discuss their properties (left/right-closed, simple).
1. x(t) = ex R cos ωt + ey R sin ωt on t ∈ [0, T ];
2. x(t) = ex R cos ωt + ey R sin nωt on t ∈ [0, T ].
The graphs of these figures are examples of Lissajous figures, which you have probably seen before on an
oscilloscope, as in figure 3.1. To which n does that figure correspond?
Exercise 3.5 We consider a three-dimensional space that has been equipped with a Cartesian coordinate sys-
tem. Please describe the following curve (again we have defined ω = 2π/T ; R and H are fixed parameters):
x(t) = ex R cos ωt + ey R sin ωt + ez Ht/(2T ),
where t ∈ [0, 2T ].
Although we will not formally introduce other than Cartesian systems until later in this text, we assume
that you are familiar with polar coordinates (r, ϕ), where r is the distance of a point P to the origin, and
−−→
ϕ the angle between the x-axis of a Cartesian system and the line OP . The relation with the Cartesian
coordinates is given by x = r cos ϕ and y = r sin ϕ.
Example 3.1 Consider the Archimedean spiral, which is given by [5, p. 64]:
r(ϕ) = a + bϕ (3.8)
with ϕ ∈ [0, ∞). In terms of a Cartesian coordinate system this can be written in parametric form as
x(ϕ) = (a + bϕ)(ex cos ϕ + ey sin ϕ).
This curve is shown in figure 3.2 for a = 0, b = 1/(2π) and ϕ ∈ [0, 4π].
Example 3.2 A curve that is somewhat similar to the Archimedean spiral is the Logarithmic spiral, or Spira
mirabilis, the marvelous spiral. It is defined by
r(ϕ) = aebϕ , (3.9)
where ϕ ∈ (−∞, ∞). In a Cartesian coordinate system this can be written in parametric form as
x(ϕ) = aebϕ (ex cos ϕ + ey sin ϕ).
This curve is omnipresent in nature, some examples are shown in figure 3.3. We will investigate this curve
further in exercise 3.8
3.4. VELOCITY AND SPEED 35
Figure 3.1: A scope reading, showing a Lissajous figure. See exercise 3.4 (CC BY-SA 3.0, referred to by
[Link]
Exercise 3.6 Consider the 2-dimensional curves that were presented in exercise 3.4. Calculate the velocities
and speeds of those curves as a function of the parameter t.
Exercise 3.7 Consider the 3-dimensional curve that was presented in exercise 3.5. Calculate the velocity and
speed of that curve as a function of the parameter t.
Exercise 3.8 Consider the Spira Mirabilis that was presented in example 3.2:
2. Show that the velocity of the curve as a function of the parameter ϕ can be written as
Figure 3.2: (a): an Archimedean Spiral (Guillaume Jacquenot — Own work, CC BY-SA 3.0, [Link]
[Link]/w/[Link]?curid=25156165). (b): The groove of old vinyl LPs forms an Archimedean spiral
(CFCF — Own work, CC BY-SA 4.0, [Link]
dx = x′ dt. (3.10)
The magnitude of this vector represents the infinitesimal arc length of the curve and is given by
Integrating this expression over the interval [ta , t] gives us the arc length of the part of the curve that is
described by this parameter interval,
Zt
s(t) = ||x′ (τ )||dτ (3.12)
ta
and in particular, for t = tb we obtain the length of the entire curve. We have of course not proven that
every curve has a finite length, and that the function s(t) exists. A curve that does have a finite length is
called rectifiable, for a more detailed discussion we refer to an external text on the subject2
Exercise 3.9 Consider the parameterized circle x(t) that was introduced in the first half of exercise 3.4. Use
the expression for the arc length to calculate the circumference of the circle and to verify the result.
2 See for example [Link] and the references on that page.
3.5. THE ARC LENGTH 37
Figure 3.3: Examples of logarithmic spirals in society and nature. (a): Cutaway of a nautilus shell showing the
chambers arranged in an approximately logarithmic spiral. The plotted spiral (dashed blue curve) is based on
growth rate parameter b = 0.1759 (Dicklyon - Own work, CC BY-SA 4.0, [Link]
w/[Link]?curid=35543222). (b): A Lithuanian 10 litas gold coin (Lithuanian Bank — public domain, see
[Link] (c): An extratropical cyclone over Iceland (NASA — public
domain, [Link] (d): The Whirlpool Galaxy (NASA/ESA
— public domain, [Link]
38 CHAPTER 3. CURVES
Exercise 3.10 Calculate the arc length of the parameterized helix x(t) that was introduced in exercise 3.5.
Exercise 3.11 Calculate the arc length s(ϕ) of the Logarithmic spiral x(ϕ) that was introduced in example
3.2. Also find an expression in terms of r and α. (Hint: use the results of exercise 3.8.)
3.6 Re-parameterization
Consider a parameterized curve x(t), with t ∈ [ta , tb ]. Let us now assume that t is a monotonically increasing
function of u, with ua = u(ta ) and ub = u(tb ). Then, as u changes from ua to ub , t will change from ta to tb
and the same curve is described by this parameter u.
What we have obtained by transformation is a re-parameterization of the curve. The question we would
like to answer is, of course, why one would want to do that. To that end, let us consider the velocity and
speed of the curve with respect to both parameters. With the help of the chain rule (3.7) we find that
dx(t(u)) dt dx(t)
= . (3.13)
du du dt
It is obvious that the velocity changes when we choose a new parameter, and so will the speed.
Exercise 3.12 Consider thepcurve x(t) = R(ex cos ωt + ey sin ωt), with t ∈ [0, T ]. Here ω = 2π/T . Next,
consider the function u = t/T . Calculate the speed of the curves x(t) and x(t(u)).
1. Show that the requirement that the speed of a curve is unity implies that
−1
dt dx(t)
= (= ||x′ (t)||) ;
du dt
2. Choose t(u) to be monotonically increasing, so the modulus signs on the left hand side can be omitted.
Also use du/dt = 1/(dt/du). Show that integration over [ta , t) yields that u(t) can be chosen to be
equal to s(t), the arc length.
The preceeding exercise suggests the following procedure for obtaining the arc length parameterization of
a curve:
1. For a given curve x(t) with t ∈ [ta , tb ], give an expression for the arc length s(t);
3. Adopt the arc length s as parameter of the (modified) curve xs (s) ≡ x(t(s)), with s ∈ [0, s(tb )]. This
is the arc length parameterization of the curve. We repeat its most important property, that its speed
has the value 1 on the entire curve.
3.7. THE ARC LENGTH PARAMETERIZATION 39
An analytical establishment of the arc length parameterization is usually not possible. In the following
exercise we discuss a somewhat trivial exception, which allows you to practice all the steps involved in
obtaining an arc length parameterization and appreciating its key feature: evenly spread samples of the (arc
length) parameter result in an evenly distributed set of positions on the curve.
Exercise 3.14 Consider the curve x(t) = Dt2 (ex + ey ) for t ∈ [0, 1]. (Indeed, this is just a line segment with
an unusual ‘quadratic’ parameterization.) Here D is the horizontal and vertical extent of the line, it is a
given constant number.
1. Draw the curve and mark with dots the points for t = 0, t = 21 and t = 1. Notice that these points are
not evenly spread, the second lies much closer to x(0) than to x(1);
√
2. Calculate the velocity and speed of the curve x(t); show that the arc length is given by s(t) = 2Dt2 ;
3. What are the boundary parameter values sa = s(0) and sb = s(1) that correspond to t = 0 and t = 1?
Show that the latter is equal to the length of the curve, as it should be by the definition of s(t);
4. Obtain the function t(s) and show that the arc length (re-)parameterization of the curve is given by
ex + ey
xs (s) ≡ x(t(s)) = s √ ;
2
5. Calculate the positions on the curve for sa , (sa +sb )/2 and sb and show that these are evenly distributed
on the curve.
Exercise 3.15 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
40 CHAPTER 3. CURVES
Chapter 4
Coordinate Systems
Objectives
After studying this chapter, you will be able to
• Describe coordinate lines and planes of common coordinate systems;
• Express line, surface and volume elements in terms of curvilinear coordinate systems;
• To explain the Levi-Civita symbol ϵijk ;
• Explain the meaning and relevance of the metric tensor;
41
42 CHAPTER 4. COORDINATE SYSTEMS
4.1 Introduction
In chapter (2) we have studied vectors, vector products and reciprocal vectors and demonstrated that the
dot, cross and triple scalar products are related to lengths, areas and volumes. We have demonstrated various
applications, such as projections and the analysis of classical problems involving points, lines and planes.
We have argued that all these geometric objects do not depend on the choice for a coordinate system, and
indeed in that entire chapter, we have not assumed any specific system. In chapter 1 we have already argued
that such coordinate-free synthetic geometry can be traced back to Euclid’s treatment of the subject. The
vectors, vectors products et cetera that we have seen so far, are a different language for describing Euclid’s
line segments, areas, volumes, projections, et cetera.
But most of the time that you as a physicist will work with quantities that depend on space (and maybe
time) coordinates, you will do so with reference to a particular coordinate system. In this chapter we will
present the general case of curvilinear coordinate systems. These are coordinate systems that are based on
a set of basis vectors that are, in general, neither orthogonal, nor normalized. Moreover, the basis vectors
are in general functions of the (curvilinear) coordinates — they vary from point to point.
We start this section with the definitions of coordinate curves and coordinate surfaces. The chapter
continues with a discussion about transformations, answering the question how the components and basis
vectors change if we switch from one system to another. Of special interest will be transformations from
Cartesian systems to other ones. The role of the Jacobi matrix and its determinant in this process will be
addressed. In this discussion, you will start to use the knowledge that you have acquired in your classes on
Linear Algebra and Multi-Variable Calculus, and you will not stop needing that background knowledge until
the end of this course.
Subsequently, we will introduce the covariant basis vectors of a coordinate system. We will demonstrate
that these basis vectors naturally arise in the calculation of the velocity of a particle at position x(t). The
components of a vector, relative to the covariant basis, are called the covariant components.
In section 2.3 we have considered the reciprocal vectors of a set of vectors in a three-dimensional space.
We will define the contravariant basis vectors to be the reciprocal vectors of the covariant set. This allows
an alternative representation of vectors, using contravariant vector components.
You may wonder why we need all these concepts. After all, once you have access to a basis, by definition
every vector can be expressed in terms of its components with respect to that basis. Why would you need
more than one? The answer is that some physical quantities are most naturally expressed in terms of the
covariant basis, other in terms of the contravariant basis. But it is possible to convert one representation
into the other, and we will show you how, using the so-called metric tensor.
In the second part of this chapter we will discuss the special case of ortho-curvilinear (OCL) coordinate
systems, which are characterized by basis vectors that are orthogonal (but not necessarily normalized).
Examples of such coordinate systems are the Cartesian, cylindrical and spherical coordinate systems with
which you are already familiar. Such vectors can be normalized, resulting in a third representation of vectors
in terms of its physical components. That is the representation that you have been dealing with so far in
your career.
The chapter concludes with expressions for volumes and surfaces that are defined by infinitesimal vari-
ations of the coordinates. You will use these expressions extensively in later chapters.
The language that you will learn to speak is compatible with the language in advanced texts on fluid
dynamics, like Ref. [6] or the theory of general relativity, like Ref. [7]. We therefore believe that some
familiarity with this subject matter has great added value for students of applied physics. And even if you
do not aspire to master such books, you will be dealing with coordinate representations of vectors in numerous
courses in the remainder of your curriculum, so a better understanding of coordinates and coordinate systems
will be of great help.
4.2. COORDINATE SYSTEMS, COORDINATE LINES AND SURFACES 43
Example 4.1 Consider a Cartesian system, for which (x1 , x2 , x3 ) = (x, y, z) and x(x, y, z) = xex +yey +zez .
The z coordinate lines are given by x(x0 , y0 , z) = x0 ex + y0 ey + zez . The z coordinate surfaces are given by
x(x, y, z0 ) = xex + yey + z0 ez .
Exercise 4.1 Consider a cylindrical system with (x1 , x2 , x3 ) = (z, r, ϕ); the symbols have their usual meaning.
Describe the coordinate lines and surfaces for all three coordinates.
Exercise 4.2 Consider a spherical system with (x1 , x2 , x3 ) = (r, θ, ϕ); the symbols have their usual meaning.
Describe the coordinate lines and surfaces for all three coordinates.
The Jacobian of the inverse transformation is then given by J = [∂xj /∂xk ]. Using the chain rule and
definition (2.23) of the Kronecker symbol δji we find that
3
X ∂xi ∂xj ∂xi
j k
= k
= δki . (4.2)
j=1
∂x ∂x ∂x
In matrix form, this can be written as JJ = I. In other words, the Jacobian of the inverse transformation is
the matrix inverse of the Jacobian, J = J−1 .
44 CHAPTER 4. COORDINATE SYSTEMS
a3
a2
a1
Figure 4.1: Covariant basis vectors are defined as the partial derivatives of the position vector with respect to
the coordinates of the coordinate system. These basis vectors are tangential to the corresponding coordinate
lines.
Exercise 4.3 Please verify that (4.2) represents element (i, k) of the matrix equation JJ = I.
Before continuing, we will introduce a clever and very useful notational trick, the Einstein summation
convention:
1. When an index appears twice in a term, once as a subscript and once as a superscript, summation
over that index is implied (the summation sign can be omitted).
2. A superscript that appears in a denominator counts as a subscript.
The summation convention results in nice, compact syntax. As an example, equation (4.2) can be written
as
∂xi ∂xj
= δki . (4.3)
∂xj ∂xk
An index over which a summation is implied (here j) is called a dummy index. Such an index can be freely
changed into a different one that is not already in use, say m. In the remainder of this text, this Einstein
convention is used, unless stated otherwise, or the summation signs are written explicitly.
∂x(x1 , x2 , x3 )
ai (x1 , x2 , x3 ) := . (4.4)
∂xi
In figure 4.1 we have visualized the coordinate lines and tangential vectors for a (non-orthogonal) curvilinear
coordinate system. The figure also shows the parallelepiped that is spanned by the vectors a1 , a2 and a3 .
4.4. THE COVARIANT BASIS, CONTRAVARIANT VECTOR COMPONENTS 45
The vectors a2 and a3 are tangential to this surface, the vector a2 × a3 is perpendicular to it.
For an admissible coordinate system, the scalar triple product is positive, (a1 a2 a3 ) > 0. It then
represents the volume of the parallelepiped that is sketched in figure 4.1. In section 2.2.3 we have seen that
this means that the vectors (4.4) are linearly independent and, consequently, they constitute a right-handed
basis for the three-dimensional space. The vectors ai are called the covariant basis vectors. They are more
precisely referred to as the local covariant basis vectors, to highlight the fact that in general the directions
and the lengths of these vectors vary from point to point.
The covariant basis appears naturally in expressions for displacements and related quantities. As an
example, let us consider a particle at a position x as a function of time. After the introduction of a
coordinate system, positions can be described in terms of coordinates, and the expression for the position
of a particle as a function of time becomes x(x1 (t), x2 (t), x3 (t)). The velocity is obtained by differentiating
this function with respect to time, and with the chain rule and Einstein’s summation convention the result
is
dx dxi ∂x dxi
v(t) = = i
= ai = v i ai . (4.5)
dt dt ∂x dt
The components v i of a vector v with respect to the covariant basis are called the contravariant components.
Remember that
• covariant quantities are indicated with a subscript,
• contravariant quantities are indicated with a superscript.
These names are explained by the behavior of these quantities under a change of coordinates, as we will
now see. Let us first see how the covariant basis vectors change on the change of coordinates. Using the
chain rule we find that
∂x ∂xi ∂x ∂xi
aj = = = ai . (4.6)
∂xj ∂xj ∂xi ∂xj
This means that the transformation is described by the elements of the Jacobian. This transformation law
is a property of the coordinate system, not of any particular vector.
Next, we look at the components of the velocity vector. For this particular vector we find that
∂xi k ∂xi k
vi = v , or v i = v . (4.9)
∂xk ∂xk
Please take some time to digest this essential concept.
46 CHAPTER 4. COORDINATE SYSTEMS
The results above have been written in index notation. We will now demonstrate what these expressions
look like in ‘matrix language’ and derive an expression for the Jacobian determinant. Firstly, by taking the
dot product of equation (4.6) with Cartesian basis vectors, and grouping the results in a column matrix, we
get the Rn -representation of the equation for that Cartesian basis. The equation is the same as (4.6), but
with boldface symbols for the column matrices, as discussed in section 1.5.2. By introducing matrices that
host the columns aj and ai , the result can be written as
a1 a2 a3 = J a1 a2 a3 . (4.10)
In exercise 2.8 we have proven that det a1 a2 a3 = (a1 a2 a3 ), see equation 2.14. By taking the
determinant of the previous equation and using the product rule for determinants we then find
In the special case that the original basis is Cartesian, we have (a1 a2 a3 ) = 1 (see again exercise 2.8), in
which case
(a1 a2 a3 ) = det(J). (4.12)
In section 4.10 we will see that this expression appears in the expression for volume integrals in terms of
non-Cartesian coordinate systems. (You should also recall this from your classes on Multi-Variable Calculus.)
In this case two indices appear in subscript-superscript pairs. Thanks to the Einstein convention, the sum-
mation signs can be omitted and the dot product can be written very compactly as
u · v = ui v j ai · aj . (4.14)
Let us take another look at this expression for the dot product. We see that its evaluation requires the
the components of the vectors, and the dot products of the basis vectors, not the basis vectors themselves.
These coefficients
gij := ai · aj (4.15)
are the elements of the metric tensor. This can be written in matrix form as
a1 · a1 a1 · a2 a1 · a3
g = a2 · a1 a2 · a2 a2 · a3 . (4.16)
a3 · a1 a3 · a2 a3 · a3
In terms of the elements of the metric tensor, the dot product can be written as
u · v = ui v j gij . (4.17)
1. Please show that the metric tensor is symmetric, which means that gij = gji . Also state this property
in terms of the matrix g, in ‘matrix language’.
2. Consider a coordinate system for which the basis vectors are orthogonal in each point. Write down g
for this special case and describe the meaning of the values of the non-zero elements. (Such coordinate
systems will be elaborated on in section 4.9.)
3. Show that for a Cartesian coordinate system
g = I, (4.18)
g = JT gJ. (4.22)
Note that the order in which the factors at the right-hand side of equation (4.21) are written is immaterial,
whereas the order of the matrices in equation (4.22) does matter. That is a peculiarity of the language of
matrices. The advantage of the matrix notation is that we have access to many linear-algebraic tools that we
have gotten to know in that language. As an example, taking the determinants of the left- and right-hand
sides, using (again) the product rule for determinants and the identity det(AT ) = det(A), results in
In the special case that the original basis is Cartesian, we have g = I, cf. equation (4.18). Combination
of equations (4.23) and (4.11) then yields
p √
(a1 a2 a3 ) = det(J) = det(g) := g. (4.24)
Please remember this definition of g as the determinant of the metric tensor. It wil appear numerous times
in the text that follows.
48 CHAPTER 4. COORDINATE SYSTEMS
ai · aj = δji . (4.26)
A permutation is even/odd if the number of index swaps that is required to obtain 123 is even/odd. As an
example e132 = −1 (one exchange operation is needed, of 2 and 3), whereas e312 = 1 (two such operations
are needed). We will also use the symbol eijk , which is defined in exactly the same way. In terms of the
Levi-Civita symbol, equations (4.25) can be summarized as
√
ai × aj = geijk ak . (4.28)
This can be verified by evaluating this expression for specific i and j values and comparing the result with
equation (4.25). We leave this as an exercise.
Exercise 4.7 Please test equation (4.28) by considering the following representative cases:
1. i = 1 and j = 2;
2. i = 2 and j = 1;
3. i = 1 and j = 1.
Since the vectors ai form a basis, any vector u can be written in terms of its components with respect
to this basis as
u = ui ai . (4.30)
The components ui with respect to the contravariant basis are called the covariant components. Note that
here again subscripts are used for covariant quantities, superscripts for contravariant ones.
At this point you probably ask yourself the question: why would I need two sets of basis vectors? Cannot
I just stick to the covariant ones, for example? The rationale for having both will be presented later, but in
short the answer is as follows: some concepts are defined much more naturally in terms of a covariant set of
4.6. THE CONTRAVARIANT BASIS 49
basis vectors, others more conveniently using the contravariant ones. As an example, we have seen that the
calculation of the velocity vector and the lengths of line segments suggest the usage of a covariant basis. On
the other hand, the gradient, to be discussed in a later chapter, is defined more conveniently with reference
to a contravariant basis.
Let us now consider two vectors that are expressed in covariant coordinates. For the dot product we find
that
u · v = ui vj g ij , (4.31)
where we have introduced
g ij := ai · aj . (4.32)
ij
We will later see that the matrix with elements g is the inverse of the metric tensor (equation 4.47). Finally,
for the mixed case we find that
u · v = ui vi = ui v i . (4.33)
Exercise 4.9 Please derive equations (4.31) and (4.33).
Let us now take a look at the cross product of two vectors u and v. As before, we use distinct indices
i and j to write the vectors in terms of components and basis vectors, and with the help of equation (4.28)
we find
√
u × v = ui ai × v j aj = ui v j ai × aj = geijk ui v j ak . (4.34)
Next we consider the triple scalar product that was defined in equation (2.10). This can also be expressed
in a compact form using the Levi-Civita symbol. The result is
√
(u v w) = geijk ui v j wk . (4.35)
eijk
ai × aj = √ ak , (4.36)
g
1√
ak = geijk ai × aj , (4.37)
2
eijk
u × v = √ ui vj ak , (4.38)
g
eijk
(u v w) = √ ui vj wk . (4.39)
g
We leave the proofs of these relations as exercises. They are very similar to the previous proofs, and you
should be able to complete these tasks without looking back in the text too much.
Exercise 4.11 Please prove equations (4.36)–(4.39).
50 CHAPTER 4. COORDINATE SYSTEMS
Exercise 4.16 Consider an orthogonal coordinate system. Show that in this case the matrix [g ij ] is given by
−2
a1 · a1
0 0 h1 0 0
ij
[g ] = 0 a2 · a2 0 = 0 h−2
2 0 . (4.50)
0 0 a3 · a3 0 0 h−2
3
Examples of ortho-curvilinear coordinate systems are the Cartesian, cylindrical and spherical coordinate
systems. Let us summarize the definitions of these systems and their scale factors:
hx = 1; (4.51)
hy = 1; (4.52)
hz = 1. (4.53)
hz = 1; (4.54)
hr = 1; (4.55)
hϕ = r. (4.56)
hr = 1; (4.57)
hθ = r; (4.58)
hϕ = r sin θ. (4.59)
Remember that the scale factors are the lengths of the covariant basis vectors. The cylindrical coordinate
system is an extension of the two-dimensional polar coordinate system with a z-axis (for which hz = 1). The
numbers that appear in this table have been computed in section 1.5.3.
An interesting consequence of the orthogonality of the basis vectors, and the resulting expression for the
metric tensor and its inverse, is that the covariant and contravariant are proportional: from equation (4.45)
or (4.46) we find that
ai = h−2 i −1
i ai =⇒ e(i) ≡ hi a = hi ai (no summation) . (4.60)
52 CHAPTER 4. COORDINATE SYSTEMS
The latter is the physical component representation. The numbers u(i) are called the physical components,
the basis vectors e(i) are termed the physical basis vectors. For physical components and basis vectors, the
placement of the indices is arbitrary, since these are neither covariant, nor contravariant. We will therefore
also write u(i) = u(i) and e(i) = e(i) . We will use the placement of the indices only to support the Einstein
summation convention. As before, if (and only if) the same index occurs once as a subscript and once as a
superscript, summation over that index is implied.
Exercise 4.17 Please show that ui ai = u(i) e(i) and that ui ai = u(i) e(i) . (Hint: use explicit summation signs
where necessary.)
The physical component representation is interesting because the associated basis vectors are not only
orthogonal, but also normalized: from definition (4.60) it immediately follows that
e(i) · e(i) = 1. (4.63)
This means that the components have the same unit as the vector itself. Moreover, the dot product of two
vectors is given by
u · v = u(i) v(i) (4.64)
and, in particular, the length of the vector can be calculated as
q
||u|| = u(i) u(i) . (4.65)
Note that in these last two expressions we have used the freedom in the placement of the physical indices to
enable the Einstein summation.
Exercise 4.18 This exercise generalizes exercise (1.12), using the newly acquired language. Please show that
dxi
dx X
= hi e(i) . (4.66)
dt i
dt
Do we know what the dimension of ∂xi /∂t is? And of hi ? What is the dimension of hi ∂xi /∂t? Also show
that the speed is given by ‘Pythagoras’,
v
u 2
dxi
dx uX
= t hi . (4.67)
dt i
dt
Note that here we have used an explicit summation to make clear that this is a sum of squares, not the square
of a sum.
In later chapters we will discuss such concepts as the gradient, the divergence and the curl. You can
find the expressions for these operations in many textbooks and on many websites. In many of these
presentations the physical components of the vectors are used, although that is rarely stated explicitly. It
is therefore important that you have a thorough understanding of the three representations of vectors, and
recognize which one is assumed. We will get back to this later.
4.10. VOLUME AND SURFACE ELEMENTS 53
If the transformation is from Cartesian coordinates xi to the coordinates xi , equation (4.24) tells us that
this can be written as
√
dV = det(J) dx1 dx2 dx3 = g dx1 dx2 dx3 . (4.69)
√
This shows that the factor g, is the ratio of the physical volume dV and the ‘coordinate volume’ dx1 dx2 dx3 .
This physical volume is what you need if you evaluate volume integrals. The integral of a field f (x1 , x2 , x3 )
over a volume that is defined by the coordinate intervals [x1− , x1+ ] et cetera is given by
3 2 1
Zx+ Zx+ Zx+
√
f (x1 , x2 , x3 ) g(x1 , x2 , x3 )dx1 dx2 dx3 . (4.70)
x3− x2− x1−
Equation (4.70) takes a familiar form for the usual coordinate systems. The calculation of the volumes
is left as an exercise.
Next, let us consider the directed surface elements that is obtained by taking the cross product of the
vectors a1 dx1 and a2 dx2 . The result is given by
√
dA3 := a1 dx1 × a2 dx2 = a1 × a2 dx1 dx2 = g a3 dx1 dx2 . (4.71)
Similar relations can be derived for the oriented surfaces perpendicular to the x2 and to the x3 coordinate
curves. The results can be summarized as
√
dA1 = g a1 dx2 dx3 ,
√
dA2 = g a2 dx1 dx3 , (4.72)
√
dA3 = g a3 dx1 dx2 .
We see that the contravariant basis vectors are directly related to elements of coordinate surfaces, just like
covariant basis vectors are related to coordinate lines.
A further explanation of these expressions is similar to the one that was provided for the volume element,
equation (4.69). As an example we consider the expression for dA1 . This is a directed surface element, which
54 CHAPTER 4. COORDINATE SYSTEMS
is directed perpendicularly to the surface and has a norm that is equal to the size of the surface element.
This absolute value is given by
√
dA1 = ||dA1 || = ||a2 × a3 || dx2 dx3 = g ||a1 || dx2 dx3 .
√
The factor g ||a1 || translates the ‘coordinate surface element’ dx2 dx3 into a ‘physical’ surface element dA1 .
Again, these expressions will come to live once you specialize them for the usual coordinate systems. This is
left as an exercise:
Exercise 4.20 Calculation of surface elements in orthogonal coordinate systems.
1. For an orthogonal coordinate system we have ||a2 × a3 || = ||a2 || ||a3 ||. Show that in this case dA1 =
(h2 dx2 )(h3 dx3 ) and interpret this expression;
2. Give an expression for the surface element dAx in Cartesian coordinates;
3. Give an expression for the surface element dAr in cylindrical coordinates;
4. Give an expression for the surface element dAr in spherical coordinates;
Please make a sketch of these coordinate systems and visualize the surface elements.
These ‘physical’ surface elements are what you need if you evaluate surface integrals. We will discuss such
integrals in a later chapter.
Exercise 4.21 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
Chapter 5
Objectives
After studying this chapter, you will be able to
• Explain the concept of a flux variable by considering transport through a fixed directed surface element;
• Express fluxes through a finite-sized oriented surface as a surface integral over the normal component
of the flux density;
• Explain the meaning of the orientability of a surface and provide an example of a surface that is not
orientable;
• Construct the integral form of the continuity equation that describes mass flow in transport physics;
• Construct the integral form of the species mass balance that describes particle flow and transport in
transport physics;
• Reproduce the coordinate-free definition of the divergence and explain it by considering the steady-state
species mass balance;
• Derive the differential form of the divergence of a vector field in terms of that field’s contravariant
components;
• Specialize that expression for the usual Cartesian, cylindrical and spherical coordinate systems in terms
of physical vector components;
• Calculate the divergence for a given field;
55
56 CHAPTER 5. FLUX DENSITIES & THE DIVERGENCE OF A VECTOR FIELD
dx = vdt
||dA||
Figure 5.1: Consider a fixed surface element dA = n ||dA|| = n dA. If the medium is moving with velocity v at
the location of the surface, its displacement in a time dt is given by dx = vdt. The parallelepiped with volume
dV = dx · dA = v · n dAdt contains the medium that passed through the surface dA in time dt.
5.1 Introduction
In the preceeding chapters we have discussed various vector-valued functions of space and/or time coordin-
ates. An important class of such vector fields represent flux densities. Such variables may express the rate
and direction of the transport of an associated material quantity, such as mass or charge. Fluxes also play
an important role in electromagnetics, as an example we can think of the magnetic flux through a surface,
whose changes induce an electromotive force according to Faraday’s law.
In this chapter we will present the concept of a flux density, and how that can be constructed from an
analysis of transport through a fixed directed surface element. We will then consider transport through a
finite-sized surface and express that as a surface integral. The result will be used to derive two important
relations from transport physics: the continuity equation and the mass balance for a given component
(species) of a multi-component system. We will use the latter equation to derive the concept of the divergence
of a field and demonstrate that it can be interpreted as the source of that vector field. In the last part of
this chapter we will derive an alternative expression for the divergence and discuss the divergence theorem
and its applications.
Exercise 5.1 The mass flow rate through an infinitesimal surface element.
3. Show that the mass flux dΦ per unit of time through the surface element dA is given by
dΦ = ρv · dA. (5.1)
5.2. FLUX DENSITIES 57
Once we have calculated the flux through a surface element dA, we can obtain the flux through a finite-sized
surface A by integrating over that surface,
Z
ΦA = ρv · dA. (5.2)
A
This requires that the surface is orientable, which means that a consistent choice can be made for the
orientation of the surface, which is usually the case for problems of practical interest. A brief discussion of
the subject is provided in section 5.3.
The quantity ρv is called the mass flux density. It is an example of a flux density, a vector that describes
how much of a given property (here mass) is transported per unit of time and per unit of cross-sectional area
in the direction in which it points.
Flux densities can be defined for many quantities. In transport physics they typically take the form
‘density of a quantity × the velocity with which that quantity is transported’. There are also flux density
variables that do not have an obvious associated flowing material property: examples are the electric field
E and the magnetic flux density B. In order to highlight the general nature of the text that follows, let us
use the symbol Γ for the flux density, rather than ρv, so the previous equation becomes
Z
ΦA = Γ · dA. (5.3)
A
Before discussing some applications of this expression we will present two other common ways of writing the
expression for the flux ΦA through a surface.
Firstly, in the expressions above we have used the directed surface element dA, which encodes both the
orientation and the size of the surface element. It is straightforward to rewrite dA as the product of a
normalized vector and a scalar that represents the size dA = ||dA|| of the element:
dA
dA = ||dA|| = n dA. (5.4)
||dA||
The vector n has unit length and points perpendicularly to the surface, and of course you know this vector
very well under the name normal vector. In terms of the normal vector the previous expression for the flux
can be cast as Z
ΦA = Γ · n dA. (5.5)
A
There is a third expression that you will routinely find in literature. That is based on the notion that
Γ · n is the normal component of the flux Γ. It is not unusual to see this written as Γn , which results in the
expression Z
ΦA = Γn dA. (5.6)
A
A flux density Γ(x, t) is a vector-valued function of position and time that expresses the rate of
transport of a quantity per unit of time and per unit of area perpendicular to the direction in which it
points. For a given oriented surface A, the transport rate can be calculated by integrating the normal
component of the flux. This can be written in three equivalent ways as
Z Z Z
ΦA = Γ · dA = Γ · n dA = Γn dA. (5.7)
A A A
Note that in much literature the word flux is used instead of flux density. Such is life.
58 CHAPTER 5. FLUX DENSITIES & THE DIVERGENCE OF A VECTOR FIELD
Figure 5.2: The Möbius strip is the canonical example of a non-orientable surface. The picture on the left shows
a schematic view, the picture on the right depicts the Möbius strip at Eindhoven University of Technology by
Hans Kalkhoven after a design by Dom Hans van der Laan. It was a gift from Philips at the occasion of the 30’th
anniversary of TU/e in 1986. The text shows the university’s motto Mens Agitat Molem, Het menselijke vernuft
brengt de dode materie tot leven. (left: [Link] (public domain), right:
[Link] (unknown).)
Exercise 5.2 Create Möbius strip from a piece of paper and some Scotch tape. Start cutting it along the
length of the strip until you have reached the initial point. What is the result? Repeat this exercise one more
time. What happens then?
Exercise 5.3 In old-fashioned mechanical type writers and dot-matrix printers, the ink ribbon was folded to
form a Möbius strip. Why do you think that was done?
elements to be pointing in the outward direction. Then the total outward mass flux is given by integrating
the mass flux rate over this (closed) surface, the result is
Z
Φ = (ρv · n)dA. (5.8)
∂V
Next we calculate the total mass that is contained in the volume. This can be obtained by integrating the
mass density over the volume, Z
m = ρ(x)dV. (5.9)
V
As physicists we know that mass is conserved — it cannot be produced or destroyed. This means that
changes in m can only be due to transport. Equating the rate of change of m to the inward transport, and
realizing that Φin = −Φ, we get
Z Z Z Z
d d
ρ(x)dV = − (ρv · n)dA, or ρ(x)dV + (ρv · n)dA = 0. (5.10)
dt dt
V ∂V V ∂V
Exercise 5.4 Please simplify equation (5.10) for the case of an incompressible medium, which has a uniform
and constant mass density ρ.
(a) div Γ > 0 (b) div Γ = 0 (c) div Γ = 0 (d) div Γ < 0
Figure 5.3: A graphical visualization of the meaning of the divergence of a vector field, as defined by equation
(5.15). When the flux vectors in some neighbourhood tend to diverge in a point, the divergence is positive
(a), when they converge the divergence is negative (d). The divergence can be zero for non-uniform fields; this
happens if the variations occur in directions perpendicular to the direction of the flux (b) or otherwise there is
a local balance between ingoing and outgoing flux contributions (c). In all cases the divergence is related to the
total net flux that leaves the virtual dashed volume.
Let us divide this equation by the volume V . Then the right-hand side can be interpreted as the mean value
Ss of Ss in the volume V , the result is
Z Z
1 1
Ss = Ss (x)dV = (Γs · n)dA. (5.13)
V V
V ∂V
It is important to realize that this relation holds for an arbitrary volume. Let us consider what happens if
we consider a volume around a point x and consider the limit that the volume is shrunk to zero size. In that
case the average value Ss will approach the value Ss (x) in the point under consideration. This demonstrates,
informally, that the limit of the right-hand side exists as well,
Z
1
Ss (x) = lim (Γs · n)dA. (5.14)
V →0 V
∂V
We define the quantity on the right-hand side, which depends solely on the (flux density) vector Γ, as the
divergence of the flux density: Z
1
∇ · Γ = lim (Γ · n)dA. (5.15)
V →0 V
∂V
An alternative notation for the divergence of a flux field Γ is ‘div Γ’. You will recognize ∇ as the nabla-
operator and may have noticed that the notation ∇ · Γ suggests that taking the divergence somehow amounts
to taking the dot product of ∇ and that field. Later in this section we will see that this is essentially true.
For now, please accept ∇ · Γ simply as a notation of the divergence defined by equation (5.15). The definition
of the divergence shows that its local value is related to the net flux out of a ‘small’ test volume. Figure 5.3
makes this more clear by showing typical vector field patterns and the resulting divergence.
Note that we have used the mass balance as a vehicle to make it plausible that the divergence, as defined
above, exists, but that the definition is completely independent of that context. The divergence is defined
for any vector field, be it a flux or a quantity with a completely unrelated meaning. Please realize that the
definition (5.15) is also independent of the coordinate system that is used.
In this section we have motivated the definition of the divergence by considering the steady-state case
of a transport problem. The following exercises elaborate on this particular derivation and present a sneak
preview of two important results: the differential form of the (steady-state) transport equation and the
5.6. THE DIVERGENCE — DIFFERENTIAL FORMULATION 61
y + ∆y/2
x2 + ∆x2 /2
y − ∆y/2 x2 − ∆x2 /2
x1 + ∆x1 /2
1 1
x − ∆x/2 x + ∆x/2 x − ∆x /2
(a) Cartesian grid. (b) Curvilinear grid
Figure 5.4: A volume is bounded by three sets of nearby coordinate surfaces. The picture shows a two-dimensional
cross section, in reality the volume also has a vertical extent. In general the coordinate lines and surfaces are
curved (right), for a Cartesian system (left) these are straight lines and flat surfaces, respectively.
divergence theorem. The latter is of the utmost importance, more generally valid, and the topic of section
5.8.
Exercise 5.6 Show that in the construction that resulted in definition (5.15) we have established a relation
between Ss and the divergence of the flux density in a given point. This relation is the differential form of
the steady-state mass balance. Please state this equation.
Exercise 5.7 Following up on the previous exercise: substitute the expression for Ss in terms of the divergence
of the flux in equation (5.12). Take some time to digest the result, which is a manifestation of the Divergence
Theorem, also named after Gauß and Ostrogradsky. (It turns out to be generally valid: we have merely shown
that it applies to our transport equation — we have by no means provided a general proof.)
The net flux that flows through the y and z coordinate surfaces is obtained in an identical way, and for the
total surface flux integral we find
Z Z
∂Γx ∂Γy ∂Γz 1 ∂Γx ∂Γy ∂Γz
(Γs · n)dA ≈ + + V ⇐⇒ (Γs · n)dA ≈ + + . (5.16)
∂x ∂y ∂z V ∂x ∂y ∂z
∂V ∂V
As the intervals ∆x, ∆y and ∆z tend to zero, the approximation becomes better and better, and combination
with (5.15) yields, for the limit that V → 0,
∂Γx ∂Γy ∂Γz
∇·Γ= + + . (5.17)
∂x ∂y ∂z
We will now derive the expresion for the divergence of a vector for a general curvilinear coordinate system
(x1 , x2 , x3 ). The result is
√
1 ∂ g Γ · ai
∇·Γ= √ , (5.18)
g ∂xi
or, using Γ · ai = Γi ,
√
1 ∂ g Γi
∇·Γ= √ . (5.19)
g ∂xi
The derivation follows the same steps as before. We choose a small coordinate box with sides ∆xi around a
point xi , as depicted in figure 5.4(b). Note that in general the coordinate lines and surfaces are curved, and
that, just like before, the x3 -direction is not drawn. We leave the details of the derivation for an exercise.
Show that the contribution to the integral of the eastern side is given by
√
Z
gΓ · a1 e ∆x2 ∆x3 .
Γ · dA ≈ [Γ · ∆A]e =
east
2. Combine this expression with that for the outward flux at the western side, and show that the result
can be written as
√
√ 1
√ 1 2 3 ∂( gΓ · a1 )
∆x1 ∆x2 ∆x3 .
gΓ · a e − gΓ · a w ∆x ∆x ≈
∂x1
3. Provide an (approximate) expression for the physical volume V under consideration and show that the
previous expression can be approximated as
√
1 ∂( gΓ · a1 )
√ V
g ∂x1
4. Also consider the other two directions, not just east and west; argue that the complete surface integral
can be approximated as √
1 ∂( gΓ · ai )
Z
Γ · dA = √ V.
g ∂xi
∂V
Dividing by V , taking the limit V → 0 and using definition (5.15) gives the requested result (5.19).
(Note that all approximations become exact as the coordinate intervals tens to zero.)
5.7. THE DIVERGENCE IN ORTHO-CURVILINEAR COORDINATES 63
For a volume V with (closed) boundary surface ∂V , and for a continuously differentiable vector field
Γ, Z Z
(Γ · n)dA = ∇ · Γ dV. (5.22)
∂V V
The divergence theorem has numerous applications in mathematics, physics and engineering. As an
example, it can be used to transform integral equations into differential equations, as shown by the folowing
exercise.
Exercise 5.14 In equation (5.11) we have stated the integral mass balance for a species s. We will now
consider this equation for a fixed finite-sized volume V .
1. Show that this equation can be rewritten as
Z
∂ns
+ ∇ · Γs − Ss dV = 0;
∂t
V
Bringing the d/dt inside the integral over the fixed volume is an application of the more general Leibniz
integral rule. Please look up yourself how that works if necessary;
2. Suppose that the integrand is non-zero in some neighborhood of a point x in V . Then we could construct
a small volume around that point where the relation above would fail. But that relation is valid for any
volume: conclude that the integrand must vanish identically. This results in the differential form of the
mass balance, which is usually written as
∂ns
+ ∇ · Γs = Ss . (5.23)
∂t
3. Make sure you understand the argument why the integrand must vanish identically. Starting from the
integral mass balance, you should be able to complete this entire exercise without looking at the text.
Please try this.
In the remainder of this section we will demonstrate that the divergence theorem can be used to simplify
the calculation of some nasty-looking volume and surface integrals. For example, if the bounding surface is
divided into ∂V1 and ∂V2 , the divergence theorem yields
Z Z Z
(Γ · n)dA = ∇ · Γ dV − (Γ · n)dA. (5.24)
∂V1 V ∂V2
There are situations where both terms on the right-hand side can be easily calculated, while the surface
integral on the left-hand side cannot. Then the expression above can be used for the indirect evaluation of
the flux integral on the left-hand side.
5.9. SUMMARY AND OUTLOOK 65
√
Example 5.1 Consider the vector field F (x) = (x + 1)ex + sin(2πz)ey + 1 − x2 ez and a volume V that is
the half-sphere x2 + y 2 + z 2 ≤ 1, x ≥ 0. Calculate the total flux through the curved part of the boundary
surface, C, which is defined by x2 + y 2 + z 2 = 1, x ≥ 0.
We start with the observation that the divergence is given by ∇ · F = 1 (please verify this). Then the
right-hand side of equation (5.22) is equal to 1 × V = 12 34 π13 , half of the volume of a sphere with radius 1.
This must be equal to the total flux through the surface. We divide that flux in two parts: the unknown flux
ΦC and the flux ΦP through the planar part of the boundary surface, which is located at x = 0. In the planar
part we have n = −ex , so F · n = −(x + 1) = −1, the surface of the planar part is equal to π12 , that of a
circle with radius 1. Then ΦP = −1 × π12 = −π. Wrapping up, we find that
2 5
ΦC − π = π =⇒ ΦC = π.
3 3
Exercise 5.15 Consider a cone that is described by the relation r ≤ R − z for z ∈ [0, R]. Consider the flux
field v(z) = zez . We use cylindrical coordinates. What is the flux through the surface of the cone, excluding
the base plane at z = 0? (Note: as you know, the volume of a cone with radius R and height H is given by
1 2
3 πR H.)
Exercise 5.16 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
66 CHAPTER 5. FLUX DENSITIES & THE DIVERGENCE OF A VECTOR FIELD
Chapter 6
Objectives
After studying this chapter, you will be able to
• Obtain the exact differential of a scalar function f (x);
• Express that in terms of the gradient of f and a displacement vector dx;
• Derive the expression for the gradient of f with respect to a contravariant basis;
• Derive the expression for the gradient of f in terms of physical components and normalized basis
vectors;
• Define and explain the concept of a directional derivative;
• Calculate the work and power that is exerted by a force field on a moving particle;
• Derive the principle of conservation of mechanical energy.
67
68 CHAPTER 6. THE GRADIENT OF A SCALAR FIELD, LINE INTEGRALS
6.1 Introduction
In this chapter we will discuss the gradient of a scalar function and some of its applications. You have already
encountered this operator in your previous studies of mechanics and electrostatics, where you have learned
that a force that can be expressed as the gradient of a scalar potential represents a conservative force field.
That means, among other things, that the work that is exerted by that force on a moving particle depends
only on that particle’s initial and actual positions, not on the path that was followed by that particle.
In this chapter we will recapitulate those results, but there is news as well. Firstly, we will present the
relation between the exact differential of a scalar field and the gradient, and present a definition of the
gradient in general curvilinear coordinates. We will then discuss the concept of the directional, normal and
material derivatives of a scalar field. In the second part we will discuss the gradient in the context of line
integrals over vector fields.
Vectorial Nature
While the substitution of definition (6.4) into expression (6.3) is a trivial operation, the resulting equation
(6.5) emphasizes an important feature of the gradient. The gradient of a field f is a vector; it is independent
of the choice for a particular coordinate system. This is, of course, to be expected: the change df depends
only on the field f (x) and the displacement dx, and these concepts themselves exist independent of the
choice for a particular coordinate system. While equation (6.4) tells us how to calculate the gradient for a
given coordinate system, the final result will not depend on that particular choice.
It follows that the requested rate of change of the local temperature is given by
dT (x(t))
= ∇T · x′ (t). (6.7)
dt
What can we learn from this derivation? It is important to be very precise about the arguments of all the
functions. Whereas T (x) is a very general ‘recipe’ for calculating the temperature in an arbitrary point
x in space, the function T (x(t)) represented the temperature at the particular, time-dependent position of
a particle. Where necessary we have therefore explicitly written T (x(t)) instead of just T . Last but not
least: what can we learn from the resulting expression? We see that when the motion is perpendicular to
the temperature gradient, the rate of change of the local temperature is zero; when it is parallel to it, it is
highest.
Note that the results that were discussed in the last example are correct only for a time-independent
temperature field. In this case the temperature variations that are experienced by the particle are only due
to the variations in the position of the particle, not because the temperature field itself changes. Let us
70 CHAPTER 6. THE GRADIENT OF A SCALAR FIELD, LINE INTEGRALS
now assume that the temperature field also depends on time, so we have T (t, x). How does that change the
results so far?
Essentially we start just like we did in the beginning of this chapter, but this time we consider a function
f (t, x). The differential will now have an additional term due to the time-dependence and is given by
∂f
df = dt + ∇f · dx. (6.8)
∂t
Exercise 6.3 Please derive equation (6.8). You should be able to do this without consulting the text by now.
If you have problems with this, take another very close look at the theory and the exercises in section 6.2.
Let us now use this result to investigate the rate of change of the temperature at the location x(t) of a
particle that moves in a time-dependent temperature field T (t, x).
Exercise 6.4 Consider a moving particle with position x(t) in a temperature field T (t, x). Show that the rate
of change of the temperature that is experienced by the particle is given by
dT (t, x(t)) ∂T
= + ∇T · v, (6.9)
dt ∂t
where all terms in the last expression are evaluated at the actual position of the particle, x(t).
This expression shows that the rate of change has two contributions: the first is also present if the particle
is standing still and represents the change of the temperature itself. The second represents, as before, the
change due to the motion of the particle in a non-uniform field.
This particular derivative is very common, especially in fluid dynamics and is called the material derivative
and is usually denoted with a capital D. Usually the symbol v is used for the velocity and the gradient term
is written at the end of the expression (that is OK, since the dot product is commutative). The expression
then looks like
DT ∂T
= + v · ∇T. (6.10)
Dt ∂t
If the coordinate system is orthogonal, folklore has it that one tends to use normalized basis vectors and
expresses vectors in terms of the resulting ‘physical components’, as discussed in section 4.9. By rewriting
ai in terms of e(i) , the result is
3
X 1 ∂f
∇f (x(x1 , x2 , x3 )) = e(i) . (6.11)
h
i=1 i
∂xi
Here we have used equation (4.60). Note that the transition to the physical basis results in a third index i:
in such cases the Einstein convection does not work well, so we have written the summation sign explicitly.
Exercise 6.5 Let us look at the expressions for the gradient in various coordinate systems. In the questions
2–4 you simply substitute the expressions for the scale factors that have been discussed in section 4.9. Those
are common enough that you may want to learn these by heart by now. The exercise is trivial, but it is good
to have seen these common expressions.
1. Please verify the derivation of (6.11) from (6.4);
2. Show that in Cartesian coordinates:
∂f ∂f ∂f
∇f (x(x, y, z)) = ex + ey + ez . (6.12)
∂x ∂y ∂z
Exercise 6.6 Consider a spherically symmetric temperature field T (r). With reference to the discussion of a
moving particle in such field that was provided in section 6.3, what is the rate of change of the temperature
that is experienced by a particle that is:
1. Moving radially outward, r(t) = vr t, where vr is constant?
2. Moving azimuthally, ϕ(t) = ωϕ t, where ωϕ is constant?
∇ · (pc) = (∇p) · c.
(Hint: first derive an integral relation of the form c · (. . .) = 0 and notice that this must hold for any
vector c, so...)
72 CHAPTER 6. THE GRADIENT OF A SCALAR FIELD, LINE INTEGRALS
We once more consider the gradient theorem that was derived in the previous exercise. If p represents
pressure, the left-hand side of this equation is equal to the total pressure force that the volume excerts on
its surroundings. Then, according to Newton’s third law, the pressure that the environment excerts on the
volume is given by Z
F =− (∇p)dV.
V
1. We introduce a Cartesian coordinate system (x, y, z). Show that the expression for the gradient in such
system reduces to
∂p ∂p ∂p
∇p = ex + ey + ez . (6.16)
∂x ∂y ∂z
2. Space is filled with a fluid at rest with massa density ρ(z); the gravitational force per unit of volume is
given by fg (z) = −ρ(z)gez . The hydrostatic pressure is given by
Zz
p(z) = p(0) − ρ(z ′ )gdz ′ . (6.17)
0
In our definition (6.19) of the directional derivative we have insisted that u is a unit vector, just like
is done in your copy of Adams [8, p. 717]. But the expression ∇f · u is equally well defined for non-
normalized vectors u, and in many, if not most treatments of the subject the restriction that ||u|| = 1
is lifted. Of course this will change the value of the directional derivative by a factor ||u||, and its
interpretation changes accordingly. If you read a text about the subject, please always look how local
folklore has it.
Exercise 6.10 Give expressions for ∂f /∂n for the case that n is equal to er , eθ and eϕ , the normalized basis
vectors of a spherical coordinate system.
Exercise 6.11 The conductive heat flux density q ( W/m2 ) can be modeled by Fourier’s law from 1822 [9, 10,
section VIII, item 98],
q = −λ∇T, (6.20)
where λ ( Wm−1 K−1 ) is the thermal heat conductivity.
1. Please show that the conductive heat losses Q through a surface A can be written as
Z
∂T
Q=− λ dA. (6.21)
∂n
A
(You may want to review what you have learned about flux integrals in chapter 5.)
2. Consider a spherically symmetric temperature distribution T (r) and assume that λ is uniform. Show
that the conductive heat loss through the boundary of a sphere with radius R is given by
∂T
Q(R) = −4πR2 λ . (6.22)
∂r R
3. Assume that T (r) = TR + (T0 − TR )(1 − r2 /R2 ). Describe this temperature profile and specialize Q(R)
for this case.
Practically this integral can be carried out by parameterizing the curve, as discussed in chapter 3. Let x(t),
with t ∈ [ta , tb ] be such a parameterization, then the infinitesimal displacement dx is related to the velocity
x′ (t) of the curve via dx = x′ (t) dt and equation (6.23) can be written in the form
Ztb
u(x(τ )) · x′ (τ )dτ. (6.24)
ta
In the expressions above we have assumed that the curve is smooth, so the velocity x′ (t) is well-defined in
each point. We will also allow piecewise smooth curves, which feature a finite number of locations where the
74 CHAPTER 6. THE GRADIENT OF A SCALAR FIELD, LINE INTEGRALS
curve is non-smooth. In that case the integral is calculated for each smooth section of the curve and the sum
of the results is taken.
In general, the result of the integration will depend on the curve C. However, if u is the gradient of a
scalar field f , one can derive that Z
u(x) · dx = f (xb ) − f (xa ), (6.25)
C
where xa and xb are the begin and end points of the curve, respectively. This is a result that you know well
from your previous studies of mechanical and electrostatic problems. There you have already learned that a
vector field u that can be expressed as the gradient of some scalar field is called a conservative force field.
Two consequences of equation (6.25) are that
• The line integral is path-independent; only the begin and end points matter for the result;
• The line integral vanishes if the path is closed, so the begin and end points coincide.
Exercise 6.12 Assume that u(x) = ∇f (x). Please prove equation (6.25). (Hint: choose a parameterization
x(t) and show that the integrand is equal to df (x(t))/dt.)
In this section we apply the theory of the previous section to a problem that you ought to be familiar
with: the motion of a particle in a force field. Please make sure that you are comfortable with the
ideas discussed here — you have seen them before, possible in a slightly different language. Some of the
concepts will be referred to in later chapters.
Consider a particle with mass m at position x(t) in a force field F (x). Its motion is governed by Newton’s
laws. We recall that:
• If the particle moves, the force does work on the particle; the work done when the particle is displaced
an amount dx is given by
dW = F (x) · dx = F (x) · x′ (t)dt; (6.26)
• The power is defined as the amount of work that is accomplished by the force field per unit of time,
dW
P (t) = = F (x) · x′ (t); (6.27)
dt
• The kinetic energy of the particle is given by
1
ϵ(x′ (t)) = m(x′ (t))2 . (6.28)
2
Exercise 6.13 Show that the rate of change of the kinetic energy of the particle is equal to the power that is
delivered by the force field:
dϵ
= P (t). (6.29)
dt
Assume that the field F (x) is conservative. This means that for some potential energy function U (x) we
have
F = −∇U. (6.30)
(Note that the addition of a minus sign is the usual convention in physics, in mathematics one usually does
without.)
6.8. SUMMARY AND OUTLOOK 75
Exercise 6.14 Recall some elements of exercise (6.12) and show that
dU (x(t))
P (t) = − . (6.31)
dt
Exercise 6.15 Prove the principle of conservation of mechanical energy,
d
(ϵ(x′ (t)) + U (x(t))) = 0 ⇐⇒ ϵ(x′ (t)) + U (x(t)) = constant. (6.32)
dt
(Note that this relies on the force field being conservative.)
Exercise 6.16 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
76 CHAPTER 6. THE GRADIENT OF A SCALAR FIELD, LINE INTEGRALS
Chapter 7
Objectives
After studying this chapter, you will be able to
• Explain the Maxwell-Faraday law for the induced electromotive force;
• Derive an expression for the curl of a vector field by considering line integrals over infinitely small
closed curves;
• Derive the differential form of the curl in terms of curvilinear coordinates and specialize those for the
usual Cartesian, cylindrical and spherical coordinate systems;
• Calculate the curl of given vector fields;
• Explain how the curl of a velocity field is related to the tendency of the flow field to rotate small objects
that are embedded in that flow;
• Explain and apply the Kelvin-Stokes theorem.
77
78 CHAPTER 7. THE CURL OF A VECTOR FIELD
Figure 7.1: The relation between the sense of a closed curve and the orientation of the enclosed surface is
chosen in accordance with the right-hand rule. (From: https: // en. wikipedia. org/ wiki/ Right-hand_ rule
— public domain.)
7.1 Introduction
In the previous chapter we have introduced the gradient and some of its properties. In particular we have
seen that the line integral of a gradient field over a closed curve vanishes. In the present chapter we will take
a look at non-vanishing integrals of the form
I
v · dx.
C
In section 7.2 we start with a small history lesson and speak briefly about the 19th-century development of
electromagnetism. We will present Faraday’s law and use that in section 7.3 to derive the concept of the curl
of a vector field1 . The approach that we will follow is similar to the one that we adopted when we developed
the coordinate-free definition of the divergence (section 5.5): we start from a relation between integrals, see
how that behaves when applied to infinitely small parts of space and use the result to define the curl of a
vector field v. We will then derive a differential expression for the curl in curvilinear coordinates, just like we
did for the divergence in chapter 5. In later sections we will discuss the curl for concrete vector fields, give a
physical interpretation of the curl of a velocity field and conclude with a presentation of the integral theorem
of Kelvin-Stokes, which is the ‘curl-equivalent’ of the divergence theorem due to Gauß and Ostrogradsky.
In this chapter we will be concerned a lot with fluxes through surfaces. For surfaces we will again use
the symbol A, for a closed curve that is the boundary of A we will use the symbol ∂A but also C. It is
important to notice that there is an ambiguity in such integrals, since there are two possible choices for the
orientation of the surface — one can be chosen at will. Note that there is no natural choice for an outward
normal vector if the surface is not closed.
If we integrate a vector field over the loop ∂A we have again two choices, this time for the sense of the
curve, the direction in which it is traversed. Here we adopt the right-hand rule: if you would draw the curve
on a piece of paper, it is traversed in anti-clockwise direction if the surface element is directed towards the
reader. We refer to picture 7.1 for a visualization of this convention.
n = nc
A1
A2 C
nc
n = −nc
Figure 7.2: Two surfaces A1 and A2 share the boundary contour C. The normal vectors nc at both surfaces
are directed in accordance with the right-hand rule, based on the sense of C. The two surfaces form a closed
surface, but in the evaluation of a surface integral over this surface we must negate nc for A2 to make it point
outward. The normal vectors for the combined closed surface are written as n.
the two ends of the open loop that can be created by making a small cut in the closed loop. It can be expressed
in terms of the electric field as I
E(t) = E(t, x) · dx. (7.1)
∂A(t)
The magnetic flux through a surface A is equal to the surface integral of the normal component of the
magnetic field B over that surface. Such surface integrals have been studied in chapter 5, the result is
Z
Φm (t) = B(t, x) · dA. (7.2)
A(t)
The expression makes clear that there can be two reasons why the enclosed flux changes: the magnetic field
B(t, x) itself is in general a function of time, but also the size and shape of the surface A(t) can change.
Faraday’s law can now be stated as:
I Z
d
E(t, x) · dx = − B(t, x) · dA. (7.3)
dt
∂A(t) A(t)
Exercise 7.1 Please argue that the electric field E in equation (7.4) cannot be written as the gradient of a
scalar field.
There are, of course, many surfaces A that have C as boundary curve, and in general one would expect
that the flux integral in the right-hand side depends on the particular choice for A. But the Maxwell-Faraday
law states that result is always the same, depending only on the curve C. How can we understand this?
80 CHAPTER 7. THE CURL OF A VECTOR FIELD
n
e
x2 + δx2 /2
w δA3
x2 − δx2 /2 s x1 + δx1 /2
x1 − δx1 /2
Figure 7.3: In order to derive a differential expression for the curl of a vector field, we calculate the line integral
that is indicated in the text. The four segments of the closed curve are labeled s (south), e (east), n (north) and
w (west) and coincide with coordinate lines. The surface element δA3 is directed perpendicular to this curve
and is pointing towards the reader.
The reason is that the magnetic field has the following important property: according to one of the
fundamental laws of electromagnetics its divergence is zero,
∇ · B = 0. (7.5)
In the following exercises we will demonstrate that the result of this fact is that the Maxwell-Faraday law is
indeed independent of the choice for A — as long as it has the boundary curve C.
Exercise 7.2 Prove that the magnetic flux through a closed surface is zero.
Consider two non-crossing surfaces A1 and A2 that share the same boundary curve C, as visualized
in figure 7.2. The orientation of the surfaces is chosen in accordance with the right-hand rule, consistent
with the sense of the curve C. The normal vectors that correspond to this choice are written as nc , the
corresponding magnetic fluxes through the surfaces are written as Φ1 and Φ2 .
The result of the exercise is that the fluxes are the same, Φ1 = Φ2 . This proves that Faraday’s law gives the
same result for E, independent of the choice for A, for a given boundary curve.
Let us now make this a bit more concrete. Firstly, for notational convenience, let us introduce the vector
S = −∂B/∂t. Then the Maxwell-Faraday equation takes the form
I Z
E · dx = S · dA. (7.6)
∂A A
We write the vector S in terms of the covariant set of basis vectors of a curvilinear coordinate system
(x1 , x2 , x3 ), S = S i ai , then I Z
E · dx = S i ai · dA. (7.7)
∂A A
We must now make a choice for the surface. First we choose for A a ‘small’ surface element in the direction
perpendicular to the x3 coordinate plane. Such surface element is given by
√
δA3 = ga3 δx1 δx2 . (7.8)
This surface area and the resulting boundary curve have been visualized in figure 7.3, please have a look at
that figure first. Because of this choice, the integral on the right-hand side can be simplified considerably.
We find that
√ √
I
E · dx ≈ S i ai · ga3 δx1 δx2 = S 3 gδx1 δx2 . (7.9)
∂A
Let us now look at the left-hand side of the equation. This time we express E in covariant coordinates,
E = Ei ai . The reason is that this facilitates the calculation of the line integral over the rectangular curve
that is defined by the surface element. We will calculate that in four parts, starting at the south side s and
traveling anti-clockwise. The contribution from the southern segment is given by
The northern segment yields a contribution (note that now dx1 = −δx1 ):
Combining this result with equation (7.9) and considering the limit that δx1 and δx2 tend to zero yields
3 1 ∂E2 ∂E1
S =√ − . (7.11)
g ∂x1 ∂x2
In order to obtain expressions for S 1 and S 2 we can repeat this exercise for small planar surface elements
in these directions. The result can also be retrieved by applying a cyclic permutation to the indices in the
result above, where we substitute 1 → 2, 2 → 3 and 3 → 1.
82 CHAPTER 7. THE CURL OF A VECTOR FIELD
The result for the vector S depends only on the field E. We call this field the curl of the field E and
write it as ∇ × E,
1 ∂E3 ∂E2 1 ∂E1 ∂E3 1 ∂E2 ∂E1
∇×E = √ − a1 + √ − a2 + √ − a3 . (7.12)
g ∂x2 ∂x3 g ∂x3 ∂x1 g ∂x1 ∂x2
In the preceeding text we have presented the derivation of the expression for the curl in general curvilinear
coordinates. In the derivation we have seen, again, some typical operations involving curvilinear coordinates
and basis vectors that you ought to feel comfortable with. Apart from that, the derivation really involves
not much more than the evaluation of integrals over a simple surface element and its boundary curve. You
should definitely be able to do all that. For that reason we recommend that you try to reproduce the steps
above. If you find this a bit spicy, it will be mostly because you will need to work systematically and do
proper bookkeeping of coordinates and lengths. That is one more reason to do this exercise, since we also
expect these virtues from you when you do a written exam.
There is an interesting compact expression for the curl that makes use of the permutation symbol eijk , see
equation (4.27).
1 ∂Ek
∇ × E = √ eijk j ai . (7.13)
g ∂x
In our derivation we have used the vector field S as a short name for the negative of the partial time derivative
of the magnetic field. In the course of our development of the definition of the curl we have called this field
∇ × E. From the definition of the curl it then follows that
∂
∇ × E(t, x) = − B(t, x). (7.14)
∂t
This is the differential form of the Maxwell-Faraday equation.
Exercise 7.6 Please verify that we have indeed derived equation (7.14) as a by-product of our development of
the definition of the curl.
Exercise 7.7 Please substitute the differential form of the Maxwell-Faraday equation back into the integral
form. The result is a relation between a surface integral of the curl of the electric field over a surface and the
line integral of the field over the boundary curve of that surface. Please state this relation. The result is an
expression of the theorem of Kelvin-Stokes, which turns out to be more generally valid. It will be discussed
in section 7.7.
expression expects the ‘incoming’ vector (the argument) to be expressed in terms of covariant components,
while the result (the curl) is expressed in contravariant components with respect to a covariant basis. This is
no big deal: just express all these quantities in their physical counterparts using equations (4.60) and (4.61)
√
and use the relation g = h1 h2 h3 , which was the subject of exercise 4.19. The result is
1 ∂h3 E(3) ∂h2 E(2)
∇×E = − e(1)
h2 h3 ∂x2 ∂x3
1 ∂h1 E(1) ∂h3 E(3)
+ − e(2)
h1 h3 ∂x3 ∂x1
1 ∂h2 E(2) ∂h1 E(1)
+ − e(3) . (7.15)
h1 h2 ∂x1 ∂x2
Exercise 7.8 We will now present expressions for the usual three coordinate systems. All you need are the
scale factors for those systems, and if you (still) do not know these by heart we refer to section 4.9.
1. Please verify the derivation of (7.15) from (7.12);
2. Show that in Cartesian coordinates:
∂vz ∂vy ∂vx ∂vz ∂vy ∂vx
∇ × v(x(x, y, z)) = − e(x) + − e(y) + − e(z) . (7.16)
∂y ∂z ∂z ∂x ∂x ∂y
Figure 7.4: A non-uniform flow field. The arrows indicate the direction of the velocity field, their size the speed
of the flow for each height. A rod that is initially placed vertically in the transversal direction will tend to rotate
as it moves with the flow field. The position and orientation of the rod are shown at different moments in time.
The magnitude and direction of the angular velocity are closely related to the curl of the velocity field (see text).
Exercise 7.10 Prove from the definitions of the divergence and curl in curvilinear coordinates that for any
vector field v the divergence of its curl is zero,
∇ · (∇ × v) = 0. (7.19)
Exercise 7.11 In equation (7.5) we have stated the important fact that ∇ · B = 0. Show that this ‘almost’
follows from the Maxwell-Faraday equation (7.14); that it can be interpreted as an ‘initial condition’.
Exercise 7.12 Prove from the definitions of the gradient and curl in curvilinear coordinates that for any scalar
field f the curl of the gradient of the scalar field is the zero vector,
∇ × ∇f = 0. (7.20)
This is the Kelvin-Stokes theorem. It is related to the curl like the theorem of Gauß-Ostrogradsky is related
to the divergence. We will see applications of this theorem later on in this text.
Exercise 7.14 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
86 CHAPTER 7. THE CURL OF A VECTOR FIELD
Chapter 8
Objectives
After studying this chapter, you will be able to
• Apply the product rules to expressions involving the divergence, gradient and curl of fields;
• Explain the definition of the Laplacian of a scalar field;
• Derive expressions for the Laplacian of scalar fields in the usual (Cartesian, cylindrical and spherical)
coordinate systems from the expression in general curvilinear coordinates;
• Reproduce by heart the expression for the Laplacian in Cartesian coordinates;
• Reproduce by heart the fact that the curl of the gradient of a scalar field vanishes;
• Reproduce by heart the fact that the divergence of the curl of a vector field vanishes;
• Explain the definition of the Laplacian of a vector field and the care that must be taken in its evaluation
in non-Cartesian coordinate systems.
87
88 CHAPTER 8. COMBINATIONS OF VECTOR OPERATORS, THE LAPLACIAN
8.1 Introduction
In the preceeding chapters we have defined three basic elements of vector calculus: the gradient of a scalar
field and the divergence and curl of a vector field. We have chosen to introduce these concepts by starting
from physical problems (such as the mass balance and the law of Maxwell-Faraday). While this approach
should be appealing for a student of physics, it has the disadvantage that the information is served piecemeal,
as it presents itself in the development of the subject matter, and as a consequence the big picture may get
lost on the reader. We will fix that by starting this chapter with a summary of our findings so far and an
exposition of properties of the divergence, gradient and curl that have not been exposed yet.
We will then study a particularly relevant combination of these elements, the Laplacian, which is defined
as the divergence of the gradient of its argument. We will soon see that it has many interesting mathematical
and physical applications.
Linearity
The gradient, divergence and curl are linear functions of their arguments; a linear combination of arguments
results in the linear combination of results. In equation form this can be stated as
Multiplication Rules
For the derivative of the product of two functions the Leibniz product rule tells us that (f g)′ = f g ′ + f ′ g.
Since the gradient, divergence and curl are related to first-order spatial derivatives of their arguments we
expect that they are also governed by multiplication rules of some sorts. Indeed, such rules exist and below
we list the ones that are relevant for our present studies:
Second-order Derivatives
In exercises 7.10 and 7.12 you have already proven that the divergence of a curl is the number 0, and that
the curl of a gradient is the zero-valued vector:
∇ · (∇ × a) = 0; (8.8)
∇ × (∇f ) = 0. (8.9)
1 See for example [Link]
8.3. THE LAPLACIAN OF A SCALAR FIELD 89
These are particularly important properties that we will refer to extensively in the remainder of this course.
You are expected to know these two properties by heart.
1. Please show that the gradient can be expressed in terms of contravariant coordinates as
∂f ji
∇f = g ai . (8.11)
∂xj
2. Use the result to find the expression for the Laplacian in terms of curvilinear coordinates,
2 1 ∂ √ ji ∂f
∇ f=√ gg . (8.12)
g ∂xi ∂xj
Note that these expressions involve two sums, over the dummy indices i and j.
Exercise 8.3 Show that for an orthogonal curvilinear coordinate system equation (8.12) reduces to
2 1 ∂ h2 h3 ∂f ∂ h1 h3 ∂f ∂ h2 h1 ∂f
∇ f= + + . (8.13)
h1 h2 h3 ∂x1 h1 ∂x1 ∂x2 h2 ∂x2 ∂x3 h3 ∂x3
The expressions for the usual coordinate systems are given below. As before, we use the arguments to
indicate whether a Cartesian, cylindrical or spherical coordinate system is assumed.
• Cartesian coordinates:
∂2f ∂2f ∂2f
∇2 f (x(x, y, z)) = + + ; (8.14)
∂x2 ∂y 2 ∂z 2
• Cylindrical coordinates:
1 ∂2f ∂2f
1∂ ∂f
∇2 f (x(r, ϕ, z)) = r + + ; (8.15)
r ∂r ∂r r2 ∂ϕ2 ∂z 2
90 CHAPTER 8. COMBINATIONS OF VECTOR OPERATORS, THE LAPLACIAN
• Spherical coordinates:
∂2f
1 ∂ ∂f 1 ∂ ∂f 1
∇2 f (x(r, θ, ϕ)) = r2 + sin θ + 2 . (8.16)
r2 ∂r ∂r r2 sin θ ∂θ ∂θ r2 sin θ ∂ϕ2
Exercise 8.4 Please derive the expressions (8.14)–(8.16) from equation (8.13).
Exercise 8.5 Consider the field f (x) = ||x||2 . Calculate the Laplacian using Cartesian, cylindrical and
spherical coordinate systems and show that the result is ∇2 f = 6 in either case.
In the previous exercise you may have neglected the singularity at r = 0 when the calculation was done in
cylindrical or spherical coordinates. Let us, in the form of an exercise, take a look at the limit that r ↓ 0 for
a spherically symmetric field f and use l’Hôpital’s rule to find an expression for this limit if the field is ‘flat’
at r = 0.
Exercise 8.6 Consider a spherically symmetric field f (x) = g(||x||). Using spherical coordinates we can write
r = ||x||.
1. Please show that in this case
2
∇2 f = g ′′ (r) + g ′ (r); (8.17)
r
2. Show that, if dg/dr = 0 at r = 0 and the second derivative of g is finite at this point, we have
and verify that this result is consistent with the result from the previous exercise.
Another important case is a field of the form f (x(r, θ, ϕ)) = αr−1 , where α is a constant. This models, for
example, the electrostatic potential due to a point charge in the origin, and will be discussed extensively
later on in this chapter. It is spherically symmetric, but obviously not flat in the origin (the function is not
even defined in that point).
Exercise 8.7 Show that for this field ∇2 f = 0 for r ̸= 0.
Let us briefly dwell on another important equation that involves the Laplacian. A popular model for the
diffusive transport of a substance in its environment is Fick’s law. For a diluted component s with density
ns of a multi-component gas mixture it states that the diffusive particle flux density Γs is related to the
non-uniformity of its density by the relation
In the last part of the previous exercise we have produced an equation of the form
∇2 f = ω.
This equation is called the Poisson equation. In the special case that the source term ω is zero, it reduces
to the Laplace equation
∇2 f = 0.
These equations and their solutions will be studied in more detail in the following chapters.
∇2 a = ∇(∇ · a) − ∇ × ∇ × a. (8.23)
If one wants to avoid the usage of tensors, this relation can be adopted as an alternative definition of the
vector Laplacian.
in other words: the components of the Laplacian are equal to the Laplacians of the components. The
reason that this works is that the Cartesian basis vectors are uniform (‘constant’).
In any other coordinate system the derivatives of the basis vectors with respect to the coordinates
must be taken into account and we cannot use the results above: in general ∇2 v (i) e(i) ̸= ∇2 v (i) e(i) .
Exercise 8.9 Please verify identity (8.24) using the alternative ‘double-curl’ definition of the vector Laplacian
(it suffices to do this for one component).
Exercise 8.10 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
Chapter 9
Objectives
After studying this chapter, you will be able to
• State and derive the charge continuity equation;
• State the properties of the three-dimensional delta function and evaluate volume integrals involving
this function;
• Derive the potential for an arbitrary charge distribution;
• Provide an informal derivation of Gauß’ law for the electrostatic field;
93
94 CHAPTER 9. ELECTROSTATICS, THE POISSON EQUATION
9.1 Introduction
In the previous chapters we have developed a set of tools for describing vectors in integral and differential
form. In this chapter and the next we will complete our discussions by looking at techniques for solving some
of these equations. In this chapter, in particular, we will rewrite the Coulomb equation for the electrostatic
field in a differential form that is known as Gauß’ equation, and develop a solution for this field for an
arbitrary charge distribution. In the course of this discussion we will present the three-dimensional delta
function, the three-dimensional analog of the delta function that you have encountered in your studies of
signals and systems. We will demonstrate that this delta function can be used as a model for a point source.
In the last part of this chapter we will demonstrate that solutions of field equations for arbitrary source
distributions can easily be obtained once the solution for the point source has been established. But in order
to facilitate the discussion that follows we will first need to look into the concept of charge and current
densities.
Note that this charge is, in general, a function of time, since charged particles may enter or leave the volume
V through its boundary surface ∂V . It is therefore interesting to consider a current density field J , which
is defined such that the total charge flux out of the volume is given by the surface integral over the outward
normal component of J . Such flux densities were introduced in chapter 5. Since (net) charge cannot be
produced or destroyed,1 the rate of change of the charge Q(t) must be balanced by the inward transport of
charges. From this integral relation one can easily derive the relation
∂ρc
+ ∇ · J = 0. (9.2)
∂t
This is the differential form of the charge continuity equation. We will soon see that this equation has played
a vital role in the development of the Maxwell equations that govern electromagnetic fields.
experiments.
9.4. COULOMB’S LAW REVISITED 95
δ(x − x0 ) = 0 if x ̸= x0 ; (9.3)
Z
f (x)δ(x − x0 ) dV = f (x0 ), (9.4)
where the latter integration is over any volume that contains the point x0 .
Using the delta function, we can write the charge distribution of a point charge at position x0 as
We leave it as an exercise to show that this definition has the desired properties.
Exercise 9.2 Please verify that this definition of the charge density of a point charge q yields the correct total
charge contained in volumes that contain the charge, and volumes that do not.
1 ρc (x′ )
dΦ = dV ′ , (9.9)
4πϵ0 ||x − x′ ||
The potential is obtained by considering all charges, which amounts to integrating over the entire volume,
ρc (x′ )
Z
1
Φ(x) = dV ′ . (9.10)
4πϵ0 ||x − x′ ||
In principle we can use this equation for calculating the potential for a given charge distribution. But that
is not as easy as it seems: in practice one is dealing with problems in which the charge density is specified in
some region of space, but the solution must be subjected to boundary conditions. It is then more convenient
to formulate the problem for the electrostatic field as a differential equation, which we will study in the next
section.
2 Here we use the symbol Φ for the potential, rather than V , to avoid a conflict with volumes, which are also written with
the letter V .
96 CHAPTER 9. ELECTROSTATICS, THE POISSON EQUATION
∇·E =0 for r ̸= 0.
The question remains how to handle the singularity at r = 0. We know that there is a point charge present
at that location, but what can we say about the divergence of the electric field in that point? We propose
that
∇ · E = αδ(x). (9.11)
We will now justify this expression and obtain a value for the constant α.
The first observation is that this expression is consistent with the fact that the divergence is zero for
r ̸= 0: indeed the delta function vanishes at those points. In order to find the value of α we consider a sphere
S with radius R that is centered around the point charge at r = 0 and calculate the flux through the surface
of this sphere using equation (9.6). This integration is straightforward and yields
Z
q
E · dA = . (9.12)
ϵ0
∂S
On the other hand, if we integrate both sides of equation (9.11) over the sphere and apply the divergence
theorem to the left-hand side, we obtain
Z Z
E · dA = αδ(x)dV = α. (9.13)
∂S S
Comparing results yields α = q/ϵ0 , so for the divergence of the electric field we find the expression
1 ρc (x)
∇·E = qδ(x) = , (9.14)
ϵ0 ϵ0
where we have used expression (9.5) for the charge density due to a point charge. This is Gauß’ law of
electrostatics. It can be shown that this expression is also valid for any other electric charge density field.
In terms of the electrostatic potential it can be stated as
ρc (x)
∇2 Φ(x) = − . (9.15)
ϵ0
This is the differential form of the equation for the electrostatic field. Remember that its solution is given
by equation (9.10).
9.6. THE DISPLACEMENT CURRENT 97
µ−1
0 ∇ × B = J, (9.16)
where µ0 is the permeability (of vacuum), and J the current density, which was introduced in equation (9.2).
In 1861, Maxwell realized that this equation is inconsistent in the presence of a varying charge density
field, and proposed a correction. Let us look at this story in the form of a few small exercises.
Exercise 9.5 The Maxwell-Ampère law.
1. Show that Ampère’s law is inconsistent with equation (9.2);
2. Show that this inconsistency can be fixed by adding an additional term to the equation,
∂E
µ−1
0 ∇ × B = J + ϵ0 .
∂t
We see that in addition to the ‘material current’ due to the moving charges there is an additional term in the
‘Maxwell-Ampère’ equation, which is related to a time-varying field. It is called the displacement current.
Exercise 9.6 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
98 CHAPTER 9. ELECTROSTATICS, THE POISSON EQUATION
Chapter 10
Objectives
After studying this chapter, you will be able to
• State the definitions of solenoidal and irrotational vector fields;
• Explain the concept of a vector potential;
• Explain the conditions for the existence of a scalar and a vector potential;
• State Helmholtz’ Decomposition Theorem...
• ... and explain why it is so important in mathematical physics.
99
100 CHAPTER 10. HELMHOLTZ’ DECOMPOSITION THEOREM
10.1 Introduction
We are almost ready. We have seen scalar and vector fields, numerous operations on such fields, such as the
gradient, divergence, curl and the Laplacian, and we have provided various applications on the way. Yet our
discussion is incomplete: we have paid relatively little attention to methods for solving equations involving
vector fields. We will address that issue in the present chapter. We will start by defining the vector potential,
a concept that co-exists with that of a scalar potential, then discuss under what conditions a scalar and a
vector potential exist. The discussion continues with Helmholtz’ decomposition theorem, which allows the
calculation of vector fields which have a specified divergence and curl and are further defined by a particular
set of boundary conditions. This is a very interesting subject, since many problems in physics have exactly
this structure.
∇ × v = 0. (10.1) ∇ · v = 0; (10.3)
If v is the gradient of some scalar field Φ it is ir- If v is the curl of some vector field A, it is solen-
rotational, since for all Φ oidal, since for all A
∇ × (∇Φ) = 0. ∇ · (∇ × A) = 0.
An irrotational vector field v in R3 has a scalar A solenoidal vector field v in R3 has a vector po-
potential Φ such that tential A such that
v = −∇Φ + ∇ × A. (10.5)
Exercise 10.1 Show that the vector potential A of a field is not unique. (Think of a vector expression that
can be added to A without altering v.)
10.4. SUMMARY 101
Exercise 10.2 Consider two scalar fields f and g. Show that the vector field v = ∇f × ∇g is solenoidal and
that its vector potential is given by A = f ∇g.1
Exercise 10.3 Consider the vector field v(x) = a × x, where a is a constant vector. Please show that this
field is solenoidal and determine its vector potential.2 Hint: this is of the form A = f (x)x. You may use
the fact that the curl of the position vector vanishes,
∇ × x = 0. (10.6)
The question remains how we can calculate the potentials. It can be proven with a little bit of effort that
the potentials are given by
∇′ · v(x′ ) ′ n′ · v(x′ ) ′
Z I
1 1
Φ(x) = dV − dS (10.7)
4π ||x − x′ || 4π ||x − x′ ||
V ∂V
and
∇′ × v(x′ ) ′ n′ × v(x′ ) ′
Z I
1 1
A(x) = ′
dV − dS . (10.8)
4π ||x − x || 4π ||x − x′ ||
V ∂V
′ ′ ′ ′
Here the primes on ∇ , n , dV and dS indicate that the variables and the derivatives are with reference to
the coordinates x′ . This may look somewhat clumsy, but avoids a name conflict with the variable name x.
Do not be misled by this complexity: ∇′ · v(x′ ) is nothing but the divergence of v, evaluated in the point x′ .
Helmholtz’ decomposition theorem is of the utmost importance: it allows the calculation of the field
potentials in terms of the divergence and curl of the vector field, while once those potentials have been
evaluated, the field itself can be obtained. The situation that the divergence and curl of a field are known,
and one is interested in the field itself, is a common situation in physics. The Maxwell equations are a good
example.
If the region of interest is unbounded and the potentials approach zero at infinity, the surface integral
contributions to the potentials vanish. Please observe that the expression for the scalar potential then reduces
to an expression that is similar to the one that we have obtained in the previous chapter for the electrostatic
potential.
10.4 Summary
We have discussed the concepts of solenoidal and irrotational fields, and discussed that these allow the
introduction of vector and scalar potentials, respectively. We have then discussed that every field can be
written in terms of a scalar and a vector potential, and provided recipes for calculating these potentials.
Exercise 10.4 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
1 based on: dr J.C. van der Meer, TU/e — Vectoranalyse Aanvulling 7, 2WA15.
2 ibid.
102 CHAPTER 10. HELMHOLTZ’ DECOMPOSITION THEOREM
Chapter 11
Objectives
After studying this chapter, you will be able to
• State the properties of dyads, dyadics and dyadic products (products, dot products with vectors);
• Explain how projections and the mass flux density can be formulated as dyadic products;
• Set up a basis for dyadics using covariant and/or contravariant vectors, and express a dyadic in terms
of this basis; (products, dot products with vectors);
• Understand dyadics as ‘2-tensors’;
• Express the gradient of a vector as a dyadic (2-tensor);
103
104 CHAPTER 11. THE DYADIC PRODUCT, DYADS AND DYADICS — TENSORS
11.1 Introduction
In the previous chapters we have encountered two binary vector products: the dot product u · v, which yields
a scalar, and the cross product u × v, which yields a vector. We will now introduce a third product, the
dyadic product of two vectors, which is written as uv. The result of this operation is neither a scalar, nor a
vector. It is a so-called dyad. Furthermore, a dyadic is defined as the sum of 1 or more dyads.
The language of dyadics has been introduced by Gibbs [12] in the late nineteenth century and is still used
in electrodynamics and fluid dynamics (see for example [6]). That fact alone is a good reason to discuss the
subject. But there is more: the language of dyadics is an excellent stepping stone to the subject of general
tensors. We will later identify scalars, vectors and dyadics as tensors of orders 0, 1 and 2, respectively. A
defining property of tensors is that they do not change when a change of coordinate system is made. (This
was discussed for the velocity vector in equation (4.9).)
We will proceed as follows. in section 11.2 we will define dyads, dyadics and the dyadic product in terms
of their properties. In the subsequent section we will demonstrate some of their applications: in section 11.3
we will express projections (see exercises 2.3 and 2.4) in terms of dyads and introduce another dyad: the
momentum flux density. Section 11.4 explains how dyadics can be expressed in terms of basis vectors and
components. In section 11.6, we will use this representation when we define the gradient of a vector field. In
section (11.7) we discuss the momentum balance equation; we will use that in section (11.8) to motivate the
divergence of a tensor. We conclude with a number of general remarks
11.2 Definitions
In the introduction we have mentioned that the dyadic product of two vectors u and v is written as uv
(juxtaposed, without any multiplication symbol inbetween). The relevance of this dyadic product will be
clarified in the next section. But let us first define the properties of dyads and the dyadic product, that give
it a meaning:
• Taking the dot product of a vector and a dyadic product amounts to taking the dot product with the
adjacent vector of the dyadic product: for all vectors t and w we have
and the result is a vector in both cases. Note that, as a result of this property, the parentheses in the
expressions above can be omitted.
In words: You can form dot products of adjacent vectors (and move the resulting scalar around).
Exercise 11.1 Consider vectors a, b, ..., f and simplify the following expression, so it no longer contains
dyads. Also describe the result in words:
a · (bc) · (de) · f . (11.5)
11.3. EXAMPLES OF DYADS 105
11.3.1 Projections
In exercise 2.4 of chapter 2 we have discussed the projection of a vector u on a line that is defined by a
vector b. The result was stated in equation (2.7). Using the dyadic product, this can be written as
c·u bc
u∥ = b = · u.
b·c b·c
In other words: the projection is the dot product of a (scaled) dyadic product and the input vector u,
bc
u∥ := Pb,⊥c · u, with Pb,⊥c = . (11.6)
b·c
Exercise 11.2 Oblique projections as dyadic products.
1. Show that Pb,⊥c · Pb,⊥c = Pb,⊥c . This states that an oblique projection is idempotent: applying it
more than once to an arbitrary vector no longer changes that vector.
2. Please show that Pb,⊥c · u ∝ b;
3. Please show that the rejection vector (u − Pb,⊥c · u) is perpendicular to c, but not necessarily to b (and
the projection vector).
Γ = ρv.
We could say that the flux density vector derives its meaning from the result of taking the dot product
with the vector dA: that gives the amount of mass flowing through the surface element per unit of time.
Interestingly, the flux density depends only on the fluid properties ρ and v, and is therefore a property of
the fluid itself.
We will now repeat this exercise, but this time we consider the transport of momentum, rather than
mass. Our starting point is figure 5.1. The amount of momentum that is carried by the mass inside the
infinitesimal volume dV = vdt · dA is given by
Using the definition of the dyadic product and its dot product property, this can be written as
The dyadic product ρvv represents the momentum flux density. Note that this is dyad depends only on the
fluid properties ρ and v. By taking the dot product with a directed surface element, this dyad produces a
vector that describes the amount of momentum that flows through that surface per unit of time (a vectorial
quantity). For example, see [13, p. 52] or [6, p. 78].
106 CHAPTER 11. THE DYADIC PRODUCT, DYADS AND DYADICS — TENSORS
As pointed out earlier, in literature on hydrodynamics you will also encounter the tensor product
notation for the dyadic product. The momentum flux density tensor ρvv is then written as ρv ⊗ v
instead.
uv = ui v j ai aj ; (11.8)
uv = ui vj ai aj ; (11.9)
uv = ui v j ai aj . (11.10)
Remember that these are different representations of the same tensor uv. Any dyadic can be written as
T = T ij ai aj .
I = ai ai . (11.11)
Using equation (4.40) to express the partial derivatives of ak in terms of the covariant basis vectors and the
Christoffel symbols Γijk , we get
∂v k
∇v = ak aj + v k Γijk ai aj . (11.15)
∂xj
After changing dummy index k into i in the first term this gives:
∂v i
k i j
∇v = + v Γ jk ai a . (11.16)
∂xj
The first term in parentheses is due to the change of v i ; the second is due to the change of the local basis
vectors when a particle moves around in space.
Gravity results in a volume force f = ρg per unit of volume. For a perfect fluid, there are no viscous effects,
and the only surface force that acts on the volume, per unit of area, is given by fsur = −pn, where p is the
pressure. The result is
Z Z Z Z
d
ρ(x)vdV = − (ρvv · n)dA + ρgdV − pndA. (11.18)
dt
V ∂V V ∂V
Using (6.15), the last term can be rewritten as a volume integral and be combined with the second term on
the right-hand side,
Z Z Z
d
ρ(x)vdV = − (ρvv · n)dA + (ρg − ∇p)dV. (11.19)
dt
V ∂V V
Exercise 11.5 Study the material above carefully, and reproduce the integral form of the momentum balance,
equation (11.19) without looking back at the text. (You may use the ‘gradient theorem’, though.)
108 CHAPTER 11. THE DYADIC PRODUCT, DYADS AND DYADICS — TENSORS
As before, the existence of the right-hand side suggests that the left-hand side exists as well, and we again
call this the divergence, this time of a tensor. For some arbitrary tensor T we define
Z
1
∇ · T = lim (T · n)dA (11.21)
V ↓0 V
∂V
This allows us to state the differential form of the momentum balance for a perfect stationary fluid,
∇ · ρvv = ρg − ∇p. (11.22)
Like we did in 5, we will now develop a more practicle means of evaluating the divergence for a given
curvilinear coordinate system. The first part of this task is exactly the same as the derivation of the divergence
of a vector field; all we need to do is replacing the vector field Γ in exercise (5.8) with our tensor field T.
The result is √
1 ∂( gT · ai )
∇·T= √ , (11.23)
g ∂xi
which is identical to equation (5.18). For the vectorial divergence, we could simplify this expression using
Γ · ai = Γi , arriving at (5.19). In the present case, T is a tensor, the product T · ai is a vector, and some
more work needs to be done to arrive at an expression in terms of components of T. We proceed as follows.
The product rule for differentiation gives
∂(T · ak )
∇·T= + (T · ak )Γm
km . (11.24)
∂xk
Where we have used [6, p. 744, eq. 91]1 : √
1 ∂ g
√ = Γm
km (11.25)
g ∂xk
and the Γijk are the Christoffel symbols of the second kind, given by (4.40).
In order to find an expression in terms of the components of T, we need to choose a representation for
that tensor, for example
T = T ij ai aj . (11.26)
Using the rule for taking the dot product of a dyad, and the duality relation (4.26), we find that T·ak = T ik ai ,
and substitution in the previous expression yields
∂T ik ai ∂ai ik ∂T ik ∂T ik
∇·T = k
+ Γm ik
km T ai = k
T + k ai + Γm ik
km T ai = ai + Γm ik m ik
ik T am + Γkm T ai . (11.27)
∂x ∂x ∂x ∂xk
After swapping the dummy indices i and m in the second term we get the final result,
ik
∂T i mk m ik
∇·T= + Γ mk T + Γ km T ai . (11.28)
∂xk
Expressions for other representations of T can be obtained along the same lines.
1 See also: [Link]
11.9. CONCLUSIONS 109
Exercise 11.6 Please verify all steps in the derivation of the tensor-divergence; try to look at the text above
as little as possible. You should be able to derive the expression for the divergence without any reference to
the text above, with the exception of equation (11.25).
NOTE that another definition of ∇ · T exists, which is based on the product n · T. In many relevant
applications, the tensors are symmetric, and the result will be the same. The bad news is that this fact
allows this annoying confusion to linger on...
11.9 Conclusions
We have now arrived at the end of this text. In a few weeks time, you have learned a new language to
describe physics that you sometimes already knew in a way that does just to the fact that we believe that
our laws of nature do not depend on any particular coordinate system. Later we did introduce coordinate
systems in the most general way, but when we developed the key concepts of the divergence, gradient and
divergence of fields, we always started with definitions that do not depend on a particular choice.
In the final chapter, we investigated a new type of object: dyadics, and we also used the more modern
terminology ‘2-tensors’. We then identified scalars and vectors as 0- and 1-tensors. What makes a number
(or a collection of them, in the case of vectors and dyadics) a tensor? A tensor has the property that it does
not change when we switch to another coordinate system. That is the reason that the language of tensors
can so succesfully be applied to physical phenomena.
We have, of course, only be able to scratch the surface of the subject of tensors, and restricted ourselves
to a Euclidean space. For those of you who have gotten interested in the subject, we recommend once more
that you consider the courses on Tensor Calculus and Differential Geometry and General Relativity. Also
if you don’t, we are confident that Vector Analysis will help you with your studies of Physics of Transport
Phenomena and other courses in your further studies.
Exercise 11.7 Look at the list of objectives at the beginning of this chapter and ensure that you have acquired
the mentioned skills. If not, please study the relevant parts of this chapter again and repeat this exercise.
110 CHAPTER 11. THE DYADIC PRODUCT, DYADS AND DYADICS — TENSORS
Bibliography
[1] Carl B. Boyer. The invention of analytic geometry. Scientific American, 180(1):40–45, 1949.
[2] Howard Eves. Foundations and Fundamental Concepts of Mathematics. Dover, 3rd edition, 1997.
[3] John Playfair. Elements of Geometry. W.E. Dean, New York, 1846.
[4] Erwin Kreyszig. Differential Geometry. Dover, 1st edition, 1991.
[5] Thomas Little Heath. A History of Greek Mathematics. Adamant Media Corporation, Boston, 1921.
[6] Z.U.A. Warsi. Fluid Dynamics — Theoretical and Computational Approaches. CRC Press, 2nd edition,
1998.
[7] Charles W. Misner, Kip S. Thorne, and John Archibald Wheeler. Gravity. W.H. Freeman, 1973.
[8] Robert A. Adams. Calculus — A Complete Course. Pearson, 8th edition, 2013.
[9] Joseph Fourier. Théorie analytique de la chaleur. F. Didot, Paris, 1822.
[10] Joseph Fourier. The analytical theory of heat. Dover, New York, 1955.
[11] Peter Day. The philosopher’s tree: a selection of Michael Faraday’s writings. CRC Press, 1999.
[12] Edwin Bidwell Wilson. Vector Analysis — A Text-Book for the Use of Students of Mathematics and
Physics. Yale University, New Haven, Connecticut, 1901. Founded upon the lectures of J. Willard
Gibbs. Reprint 2015 by Forgotten Books, FB&c Ltd, London, isbn 978-1-4400-8977-0.
[13] F. Moukalled, L. Mangani, and M. Darwish, editors. The finite volume method in computational fluid
dynamics. Springer International Publishing AG Switzerland, 2016.
111