Unit Vectors

Divide a vector by its length: direction, size one.

A vector of length one

A unit vector is a vector whose length is exactly 1. It carries a direction and nothing else, which is why it is used wherever only the direction matters: the way a camera points, the way a wind blows.

Every vector other than the zero vector has a unit vector pointing the same way. Take a = (3, 4). By Pythagoras its length is |a| = √(3² + 4²) = √25 = 5.

Divide by the length

To shrink a to length 1, divide each component by the length 5: (3 ÷ 5, 4 ÷ 5) = (0.6, 0.8), which is (3/5, 4/5) as fractions. This is the unit vector in the direction of a. It is written â and read “a-hat”.

Dividing by 5 is the same as multiplying by the scalar 1/5. A positive scalar keeps the direction and multiplies the length, so â points exactly the way a points, and its length is 5 × 1/5 = 1.

Check it with Pythagoras: √(0.6² + 0.8²) = √(0.36 + 0.64) = √1 = 1. As fractions, 9/25 + 16/25 = 25/25 = 1.

a5â1

a = (3, 4), of length 5, and â = (0.6, 0.8), of length 1. The short arrow lies along the long one and ends on the ring of radius 1.

Every direction has one

Draw every unit vector from the origin and their heads trace the circle of radius 1, because each one is 1 long. The unit vector at an angle θ above the x-axis ends at the point (cos θ, sin θ) on that circle.

The direction of (3, 4) is about 53.1° above the x-axis, and cos 53.1° and sin 53.1° are 0.6 and 0.8 to one decimal place: the same unit vector, found from the angle instead of from the length.

−111−1xy53°

the point at angle θ on the unit circle has coordinates (cos θ, sin θ)

Turn until the sine is 1

A radius of 1 at 53°, close to the direction of (3, 4). Its two legs, 0.60 across and 0.80 up to two decimal places, are the components of the unit vector. Drag the point round the circle: the components change with the direction, and the length stays 1.

Length times direction

Turned around, the division says that any vector is its length times its unit vector: a = |a| × â. For a, that is 5 × (0.6, 0.8) = (3, 4), the vector we started with.

This gives a vector of any length in a chosen direction. In the direction of a, a vector of length 10 is 10â = (6, 8), and one of length 2.5 is 2.5 × (0.6, 0.8) = (1.5, 2).

When the length is not a whole number

The vector (1, 2) has length √(1² + 2²) = √5. Its unit vector is (1/√5, 2/√5), which is (0.45, 0.89) to 2 decimal places. With the denominators rationalized, it is (√5/5, 2√5/5).

Negative components keep their signs. (−5, 12) has length √(25 + 144) = √169 = 13, so its unit vector is (−5/13, 12/13), still pointing left and up.

The zero vector, (0, 0), has no unit vector. Its length is 0, and dividing by 0 has no meaning; it has no direction to keep.

The usual mistakes

Leaving the vector as it is. (3, 4) points the right way, but its length is 5, not 1.

Dividing only one component. (0.6, 4) is not a multiple of (3, 4), so it points in a different direction.

Dividing by the sum of the components instead of the length. (3/7, 4/7) has length 5/7, not 1, because the length of (3, 4) is 5, not 3 + 4 = 7.

Giving a point instead of a step. After finding a step along a unit vector, add it to the starting position to find where it ends.

Pointing a camera

In the application below, a camera at C must point at a basket at G. The vector from C to G is G minus C, destination minus start. Dividing it by its length gives the unit vector that sets the camera’s direction, and 5 times that unit vector is a step of exactly 5 m along the same line, added to the position of C.

Worked example: Pointing a Camera at a Basket Along a Unit Vector

Question On a plan of a sports hall, with distances in meters from one corner, a camera is mounted at C(1, 2) and must point at the basket G(7, 10). Its motor is set by the unit vector in the direction it points. (a) Find the unit vector in the direction from C to G. (b) The camera is to focus on a point F that is 5 m from C in that direction. Find the coordinates of F.

  1. 1.The vector from C to G is the position vector of G minus that of C: CG = 710 − 12 = 68.

    2468102468meters eastmeters northCGC(1, 2)G(7, 10)CG =710−12=68
    2468102468meters eastmeters northCGC(1, 2)G(7, 10)CG =710−12=68
    The vector from C to G is the position vector of G minus that of C: CG = 710 − 12 = 68.
  2. 2.Its magnitude is √62 + 82 = √100 = 10 m.

    2468102468meters eastmeters north10 mC(1, 2)G(7, 10)62+ 82= 100, so CG =√100 = 10 m
    2468102468meters eastmeters north10 mC(1, 2)G(7, 10)62+ 82= 100, so CG =√100 = 10 m
    Its magnitude is √62 + 82 = 10 m.
  3. 3.(a) Divide the vector by its magnitude: the unit vector is 11068 = 0.60.8. Check: 0.62 + 0.82 = 0.36 + 0.64 = 1.

    2468102468meters eastmeters north10 munitC(1, 2)G(7, 10)unit vector =68divided by 10 =0.60.8check: 0.36 + 0.64 = 1
    2468102468meters eastmeters north10 munitC(1, 2)G(7, 10)unit vector =68divided by 10 =0.60.8check: 0.36 + 0.64 = 1
    (a) Divide by the magnitude: the unit vector is 11068 = 0.60.8, an arrow of length 1 m along CG.
  4. 4.A step of 5 m in that direction is 5 times the unit vector: 50.60.8 = 34.

    2468102468meters eastmeters north10 munit5 mC(1, 2)G(7, 10)5 m along: 5 ×0.60.8=34
    2468102468meters eastmeters north10 munit5 mC(1, 2)G(7, 10)5 m along: 5 ×0.60.8=34
    A step of 5 m is 5 times the unit vector: 50.60.8 = 34.
  5. 5.(b) Add this step to the position vector of C: 12 + 34 = 46, so F is at (4, 6). Check: 5 m is half of 10 m, and the midpoint of CG is (4, 6).

    2468102468meters eastmeters north10 munit5 mF(4, 6)C(1, 2)G(7, 10)F =12+34=46check: 5 m is half of 10 m, the midpoint of CG
    2468102468meters eastmeters north10 munit5 mF(4, 6)C(1, 2)G(7, 10)F =12+34=46check: 5 m is half of 10 m, the midpoint of CG
    (b) 12 + 34 = 46, so F is at (4, 6), halfway along CG.

Answer: (a) 0.60.8; (b) F(4, 6)

Common mistakes

  • Setting the motor with 68. It points the right way, but its length is 10, not 1; a unit vector is the vector divided by its magnitude.
  • Giving F as (3, 4). That is the step from C to F; the position of F is the position of C plus that step.

More vectors in the plane problems, worked step by step →

Practice Unit Vectors in the app