Vector magnitude, direction and unit vectors
A vector combines a magnitude, which tells you its size, with a direction. For example,
means a displacement of units in the positive direction and units in the positive direction. Its magnitude is , but the vector itself is not the number : it also records where the displacement points.
This lesson develops three closely related skills:
- finding the magnitude and direction of a vector;
- producing a unit vector in a required direction;
- constructing a vector when its magnitude and direction are known.
Prerequisites
Section titled “Prerequisites”You should be able to:
- use column vectors and , , notation;
- apply Pythagoras’ theorem in two and three dimensions;
- use exact surds;
- solve right angled triangles using sine, cosine and tangent;
- interpret angles in all four quadrants.
Review vectors in two and three dimensions, vector arithmetic or trigonometric graphs if necessary.
Magnitude in two dimensions
Section titled “Magnitude in two dimensions”For
the horizontal and vertical components are perpendicular. Pythagoras’ theorem therefore gives
The notation means the magnitude or length of . Some textbooks use instead. Both quantities are scalars and are never negative.
Worked example 1: an exact magnitude
Section titled “Worked example 1: an exact magnitude”Find the magnitude of
Substitute both components into the formula:
The negative sign affects the direction, but not the length. Squaring makes its contribution positive.
Worked example 2: keep a surd exact
Section titled “Worked example 2: keep a surd exact”Let . Find .
The components are and , so
Since has no square factor greater than ,
Do not replace this by a rounded decimal unless the question asks for one. The exact answer remains useful in later algebra.
Self-check 1
Section titled “Self-check 1”Find the exact magnitude of .
Answer
Magnitude in three dimensions
Section titled “Magnitude in three dimensions”For
Pythagoras can be applied twice. First combine the and components, then include the perpendicular component:
Worked example 3: magnitude in three dimensions
Section titled “Worked example 3: magnitude in three dimensions”Find the magnitude of
The same formula works for a displacement between two points after finding the displacement vector using finish minus start.
Worked example 4: distance between points in space
Section titled “Worked example 4: distance between points in space”Points and are given. Find .
First find the vector from to :
The distance is the magnitude of this vector:
Hence
How scaling changes magnitude
Section titled “How scaling changes magnitude”Multiplying a vector by a scalar multiplies its magnitude by :
The absolute value is essential. If , the vector reverses direction, but its length is still positive.
For example, if , then
Worked example 5: an unknown scalar
Section titled “Worked example 5: an unknown scalar”Suppose and . Find the possible values of .
First,
Therefore
Dividing by gives
Hence
There are two answers because opposite vectors have the same magnitude.
Unit vectors
Section titled “Unit vectors”A unit vector has magnitude . To turn any non-zero vector into a unit vector pointing in the same direction, divide by its magnitude:
The hat is a common notation for a unit vector, although notation varies. The reasoning is
This process is called normalising the vector.
Worked example 6: unit vector in the same direction
Section titled “Worked example 6: unit vector in the same direction”Find a unit vector in the direction of
First calculate its magnitude:
Now divide every component by :
A check confirms that
Worked example 7: a specified magnitude and direction
Section titled “Worked example 7: a specified magnitude and direction”Find the vector of magnitude in the same direction as
Since , the unit vector in its direction is
Multiply the unit vector by the required magnitude:
Its magnitude is , as required.
Self-check 2
Section titled “Self-check 2”Find a vector of magnitude in the opposite direction to .
Answer
The given vector has magnitude , so a unit vector in the opposite direction is
Multiplying by gives
Direction angles in two dimensions
Section titled “Direction angles in two dimensions”The direction of a two dimensional vector is often given by an angle measured anticlockwise from the positive axis. For
the component triangle suggests
However, alone does not identify the correct quadrant. A calculator may return an acute or negative principal value even when the vector points into the second or third quadrant.
A reliable method is:
- inspect the signs of and to identify the quadrant;
- find the reference angle ;
- convert into the required direction angle.
| Signs of | Quadrant | Direction angle |
|---|---|---|
| first | ||
| second | ||
| third | ||
| fourth |
If your calculator provides an function, it handles the quadrant using both components. Convert a negative result to an angle from to by adding .
Worked example 8: direction in the second quadrant
Section titled “Worked example 8: direction in the second quadrant”Find the direction of , measured anticlockwise from the positive axis.
The signs place the vector in the second quadrant. Its reference angle is
Therefore
To one decimal place, the direction is
The rough size makes sense: the vector points up and left, so its direction must lie between and .
Worked example 9: direction in the fourth quadrant
Section titled “Worked example 9: direction in the fourth quadrant”Find the direction of .
The vector lies in the fourth quadrant. The reference angle is
Hence
to one decimal place.
Self-check 3
Section titled “Self-check 3”Find the direction of , measured anticlockwise from the positive axis.
Answer
Both components are negative, so the vector is in the third quadrant. The reference angle is
Thus
Forming a vector from magnitude and direction
Section titled “Forming a vector from magnitude and direction”Suppose a vector has magnitude and direction angle , measured anticlockwise from the positive axis. Resolving it horizontally and vertically gives
or, equivalently,
The vector has magnitude because
Multiplying it by gives the required magnitude.
Worked example 10: magnitude and direction to components
Section titled “Worked example 10: magnitude and direction to components”A force has magnitude and acts at above the positive horizontal. Write the force as a column vector.
The horizontal component is adjacent to the angle and the vertical component is opposite:
Therefore
to significant figures. Both components are positive, as expected from the stated direction.
Worked example 11: exact components
Section titled “Worked example 11: exact components”Find the vector of magnitude with direction .
The signs provide a useful check: lies in the second quadrant, so the component should be negative and the component positive.
Bearings and compass directions
Section titled “Bearings and compass directions”A bearing is measured clockwise from north and written with three figures. This differs from the usual mathematical direction angle, which is measured anticlockwise from the positive axis.
If points east and points north, a vector of magnitude on a bearing has components
Sine gives the east component because the bearing angle is measured from the north axis. This is the reverse of the usual , order.
Worked example 12: velocity on a bearing
Section titled “Worked example 12: velocity on a bearing”An aircraft flies at on a bearing of . Write its velocity in east and north components.
A bearing of points south east, so positive east and negative north components are sensible.
Worked example 13: components to a bearing
Section titled “Worked example 13: components to a bearing”A velocity is
where points east and points north. Find its speed and bearing.
The speed is
The vector points north west. Its angle west of north is
Bearings increase clockwise, so the bearing is
Thus the velocity has speed on a bearing of to the nearest degree.
Self-check 4
Section titled “Self-check 4”A displacement of km is made on a bearing of . Find its east and north components exactly.
Answer
The bearing points south west, so both components are negative.
Solving equations involving magnitudes
Section titled “Solving equations involving magnitudes”An equation such as becomes an ordinary scalar equation after squaring. Remember that squaring can lead to two possible values of an unknown component.
Worked example 14: find an unknown component
Section titled “Worked example 14: find an unknown component”The vector
has magnitude . Find .
Use the magnitude formula:
Squaring both sides gives
so
Therefore
Both vectors have the same length but point in different directions.
Worked example 15: use a direction condition
Section titled “Worked example 15: use a direction condition”The vector has magnitude and points into the fourth quadrant. Find .
The magnitude condition gives
so
and initially . In the fourth quadrant the horizontal component is positive and the vertical component negative. Therefore
The direction information selects one of the two algebraic possibilities.
Common misconceptions
Section titled “Common misconceptions”- A vector and its magnitude are different types of quantity. is a vector, while is a non-negative scalar.
- Negative components do not make a negative magnitude. Every component is squared in the magnitude formula.
- Dividing by a magnitude produces length . Multiplying by the magnitude usually does not.
- Opposite direction requires a negative sign. The unit vector opposite to is .
- An inverse tangent gives only a reference angle unless the quadrant is handled. Check the signs of both components.
- Bearings start from north, not east. For east and north components use and respectively.
- Exact values should remain exact. Keep or unless a decimal accuracy is requested.
Mixed self-check
Section titled “Mixed self-check”- Find the magnitude of .
- Find a unit vector in the direction from to .
- A vector has magnitude and direction . Find its exact components.
- A vector has components . Find its magnitude and its direction anticlockwise from the positive axis.
Answers
- First,
Hence the required unit vector is
- The magnitude is
The vector is in the first quadrant, so
Summary
Section titled “Summary”For and ,
For any non-zero vector ,
A two dimensional vector of magnitude and standard direction angle is
When finding a direction, identify the quadrant before interpreting an inverse tangent. When working with bearings, remember that the angle is measured clockwise from north.
Next, use these ideas to calculate position vectors and distance and then apply vectors in vector modelling. For physical applications involving velocity, see two dimensional motion with vectors.