Single Mathematics B: Vectors Summary Notes: Ruth Gregory
Single Mathematics B: Vectors Summary Notes: Ruth Gregory
Ruth Gregory
Abstract: These notes sum up “all you need to know” about the mathematics of
vectors at this stage.
Contents
1. Vectors 1
1.1 Vectors and Scalars 1
1.2 Bases in R3 2
2. Products of vectors 3
2.1 The scalar product 3
2.2 The vector product 3
2.3 Triple products 4
4. Polar co-ordinates 5
4.1 Plane and cylindrical polars 5
4.2 Spherical polars 6
1. Vectors
–1–
BC C
A AB B
b−a c−b
c
a b
O
Figure 1: An illustration of vectors both as arrows with length and direction, as well as
displacements: a is the vector from O to A. The displacements from A to B and B to C
~ = b − a.
are also vectors: e.g. AB
λc
b
a+b
a c
Figure 2: Adding of vectors: to add a and b together, first displace along the vector a,
then along the vector b (where you imagine sliding b so that the base of the arrow starts
at the arrowhead of a) and shows that addition is commutative. Multiplication by a scalar:
the vector c does not change its direction, but simply has its length scaled by λ.
1.2 Bases in R3
• The set {e1 , e2 , e3 } is a basis for R3 if any vector v in R3 can be written uniquely
as
v = v1 e1 + v2 e2 + v3 e3 .
The numbers vi are the components of the vector v with respect to the basis {ei }.
The standard basis in R3 is based on the cartesian coordinates {x, y, z}, and is
given by the unit vectors in the x, y and z directions. It is denoted by {i, j, k} or
{ex , ey , ez }. This gives us three different ways of writing v: as an abstract geometric
object, a sum of components and basis vectors, or as an ordered triplet of numbers
–2–
(can be a column or a row)
v1
v = v1 i + v2 j + v3 k = v2 (1.1)
v3
2. Products of vectors
2.1 The scalar product
The scalar or dot product is defined as:
u1 v1
u · v = u2 · v2 = u1 v1 + u2 v2 + u3 v3 = uv cos θ,
u3 v3
where u and v are the lengths of u and v, and θ is the angle between u and v.
√
Clearly then, the length of v, v or |v|, is |v| = v · v.
• The vectors v and w are said to be orthogonal if the angle between them is
π/2.
• The non-trivial vectors v and w are orthogonal if and only if v · w = 0.
u1 v1 u2 v3 − u3 v2
–3–
2.3 Triple products
The scalar triple product of three vectors a, b and c in R3 is:
[a, b, c] = a · (b × c).
3.2 Planes in R3
Figure 3: The line as a displacement
A plane in R3 is characterised by a point in point plus direction vector.
it, and either two directions within it, or,
equivalently, a normal to the plane. Since the plane is a flat two dimensional surface
in a three dimensional space, it can also be characterised by a linear constraint.
These give the two main equations for a plane:
• Constraint equation
ax + by + cz = l
for fixed real numbers a, b, c, l.
–4–
• Using normal vector:
x
n · r = n · y = n · a
z
l/a
where n is a normal vector and a is a fixed point in the plane, such as 0 .
0
4. Polar co-ordinates
4.1 Plane and cylindrical polars
If P is a point in the plane (x, y) then it is often useful to set
x = r cos θ y = r sin θ,
see figure 4. We can then set up a new vector basis based on these polar coordinates:
{er , eθ } (see figure 4).
eθ
er
(x,y)
r
θ
x
Since i and j are fixed, the only variable in these equations is θ, so differentiating
gives
ėr = θ̇eθ ; ėθ = −θ̇er .
–5–
Hence
ṙ = ṙer + r θ̇eθ
r̈ = (r̈ − r θ̇2 )er + (r θ̈ + 2ṙθ̇)eθ
Figure 5: An example of an axial and radial vector field. On the right, a line charge
produces a radial electric field E ∝ er . On the left, a current in a wire produces an axial
magnetic field B ∝ eθ .
–6–
We can form a spherical orthonormal basis:
As before, i, j and k are fixed, so only θ and φ can vary. Differentiating gives
–7–