11a.3. Vector magnitude, unit vectors

Magnitude of a vector

The following gives us a formula to calculate the magnitude ("length") of a vector:

Derivation of the formula

Consider, for example, the vector OX=i+2j+3k, as seen in the diagram below.

We wish to calculate the length of the line segment OX. We first apply Pythagoras Theorem on triangle OAB to get OB2=12+22. We then apply Pythagoras Theorem one more time on triangle OBX to get OX2=OB2+BX2=12+22+32. This gives us OX=12+22+32.

Generalizing this example gives us

|(xyz)|=x2+y2+z2

If you are interested in why we use the modulus || symbol for vector magnitude even though it behaves slightly different from the usual modulus/absolute values for real values (e.g. |2|=2), see this post.

Unit vectors

It is often useful to work with vectors of magnitude 1. We call such vectors unit vectors . Given any non-zero vector a, we can scale it to produce a unit vector that is parallel to it. We denote this unit vector with the symbol ˆa. The formula for ˆa is given by

One very useful application of unit vectors is given below and illustrated in example 2 below. See if you can understand the formula. Example 2 provides further explanation of why it works.

Solution to examples:

1. Given that a=ij+2k, find |a| and ˆa.

Answer: |a|=12+(1)2+22=6.

ˆa=16(ij+2k).


2. Find a vector that is of magnitude 5 and is parallel to a.

A common first attempt is to think that 5a is our required answer. Unfortunately, that does not quite work. From example 1, we know that |a|=6 so 5a will be of magnitude 56.

Instead, we first obtain a unit vector parallel to a, ˆa. Since it is a unit vector (of magnitude 1), 5ˆa gives us the required vector of magnitude 5 that is parallel to a.

Answer: 56(ij+2k).