3.5. Vector magnitude#
The magnitude of a vector \(\vec{a}\) is the distance between the head and tail of \(\vec{a}\) which we can calculate using an extension of Pythagoras’ theorem.
(Vector magnitude)
The magnitude of a vector \(\vec{a} = (a_1, a_2, \ldots, a_n)^\mathsf{T}\) denoted by \(\|\vec{a}\|\) is calculated using
Vector magnitude is also known as the Euclidean norm.
Calculate the magnitudes of the following vectors
(i) \(\vec{u} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}\)
Solution
(ii) \(\vec{v} = \begin{pmatrix} 5 \\ -12 \\ 0 \end{pmatrix}\)
Solution
(iii) \(\vec{w} = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}\)
Solution
(Properties of vector magnitude)
The magnitude of a vector \(\vec{v}\) is always non-negative.
The magnitude of a vector \(\vec{v}\) is zero if and only if the vector is the zero vector.
If a vector \(\vec{v}\) is multiplied by a scalar \(k\) then the magnitude of the resulting vector is the absolute value of \(k\) multiplied by the magnitude of \(\vec{v}\).
For any two vectors \(\vec{u}\) and \(\vec{v}\) the magnitude of their sum is less than or equal to the sum of their magnitudes.
3.5.1. Unit vectors#
For every non-zero vector \(\vec{a}\) there exist a unique unit vector which is a vector in the same direction as \(\vec{a}\) and whose magnitude is 1.
(Unit vectors)
A unit vector is a vector with a magnitude of 1.
(Normalising a vector)
Any non-zero vector can be scaled to transform it into a unit vector by dividing all its coordinates by its magnitude
This process is called normalising a vector. Unit vectors are denoted with a caret above the vector name, i.e., \(\hat{\vec{a}}\) which is read as ‘a hat’.
Proof. Let \(\vec{a}\) be a non-zero vector
Find the unit vector parallel to the following:
(i) \(\vec{u} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix}\)
Solution
Check magnitude of \(\hat{\vec{u}}\)
(ii) \(\vec{v} = \begin{pmatrix} 5 \\ -12 \\ 0 \end{pmatrix}\)
Solution
Check magnitude of \(\hat{\vec{v}}\)
(iii) \(\vec{w} = \begin{pmatrix} 1 \\ 0 \\ 1 \end{pmatrix}\)
Solution
Check magnitude of \(\hat{\vec{w}}\)