Introduction to Vectors
Some quantities are described completely by a single number: a mass of kg, a temperature of . Others also need a direction: “drive km” isn’t enough to find your way, but “drive km north” is. Quantities with both a size and a direction are called vectors, and they’re the language of forces, motion, navigation, GPS, and computer graphics.
Key ideas
Section titled “Key ideas”Scalars and vectors
Section titled “Scalars and vectors”A scalar has magnitude (size) only. A vector has both magnitude and direction.
| Scalar (size only) | Matching vector (size and direction) |
|---|---|
| distance: km | displacement: km east |
| speed: km/h | velocity: km/h on a bearing of |
| mass: kg | weight (a force): N straight down |
| time, temperature, area, volume, energy | force, acceleration |
A GPS unit uses both: it reports your speed as a single number, but to predict where you’ll be in five minutes it needs your velocity, which includes the direction you’re heading.
Drawing a vector
Section titled “Drawing a vector”A vector is drawn as a directed line segment: an arrow. The length of the arrow (to some scale) shows the magnitude, and the way it points shows the direction. The starting point is the tail and the arrowhead end is the head (or tip).
Notation
Section titled “Notation”These are the conventions used on every vector page of this site:
| Notation | Meaning |
|---|---|
| , , | a vector named by a letter with an arrow over it |
| the vector from point (tail) to point (head) | |
| , | the magnitude of the vector, a scalar that is never negative |
Some books print vectors in bold () instead of using an arrow. Order matters: starts at , while starts at .
Equal and opposite vectors
Section titled “Equal and opposite vectors”Two vectors are equal if they have the same magnitude and the same direction. Where they’re drawn doesn’t matter: you can slide a vector anywhere without changing it.
The opposite of , written , has the same magnitude but points the opposite way. In particular,
Two vectors with the same or opposite directions are called parallel (or collinear). You’ll use this idea a lot in scalar multiplication.
Describing a direction
Section titled “Describing a direction”There are three common ways to describe the direction of a vector in a plane:
- True bearing: the angle measured clockwise from north, from up to (not including) . It’s usually written with three digits, like or .
- Quadrant bearing: start facing north or south, then turn some angle (from to ) toward east or west. “N W” means: face north, then turn toward the west.
- Angle from the positive -axis: on a coordinate grid, the angle measured counterclockwise from the positive -axis, as in trigonometry. This is the form you’ll use with Cartesian vectors.
To convert, a sketch is the safest tool. Two facts help:
- North is and bearings go the other way round, so (add if the result is negative).
- The opposite direction is away: add or subtract from a bearing, or swap N with S and E with W in a quadrant bearing.
Some textbooks write a vector’s direction in square brackets after its magnitude, like 40 km/h [N W]. This site writes it in words (” km/h at N W”) so that square brackets can be saved for Cartesian components.
Worked examples
Section titled “Worked examples”Example 1: Scalar or vector?
Section titled “Example 1: Scalar or vector?”Decide whether each quantity is a scalar or a vector.
- (a) A car’s speedometer reads km/h.
- (b) A plane flies at km/h on a bearing of .
- (c) A bag of flour has a mass of kg.
- (d) You push a box with a force of N to the east.
- (e) A swimmer swims m in a pool.
Solution.
(a) Scalar: a speed, with no direction.
(b) Vector: a velocity, with magnitude km/h and a direction.
(c) Scalar: mass has no direction. (The weight of the flour, the force of gravity on it, is a vector pointing down.)
(d) Vector: a force with a direction.
(e) Scalar: m is the distance swum. After lengths of a m pool, the swimmer’s displacement (change in position) is zero.
Example 2: Converting between direction forms
Section titled “Example 2: Converting between direction forms”Write each direction in the other two forms.
- (a) a true bearing of
- (b) S E
- (c) from the positive -axis
Solution. Sketch each one on a compass.
(a) clockwise from north is short of north, on the west side: N W. From the positive -axis, , and adding gives . (This is the direction in the figure above.)
(b) Face south (a bearing of ) and turn toward the east. Turning from south to east is turning counterclockwise on a compass, so the bearing goes down: . Then , or .
(c) points down and to the left, below the negative -axis. The true bearing is , plus , which is . That’s past south toward the west: S W.
| True bearing | Quadrant bearing | Angle from positive -axis | |
|---|---|---|---|
| (a) | N W | ||
| (b) | S E | ||
| (c) | S W |
Example 3: Equal and opposite vectors in a parallelogram
Section titled “Example 3: Equal and opposite vectors in a parallelogram”is a parallelogram (vertices in order around the shape) whose diagonals meet at . Name
- (a) a vector equal to ,
- (b) a vector equal to ,
- (c) two vectors opposite to .
- (d) Is ?
Solution. Sketch the parallelogram first.
(a) Opposite sides of a parallelogram are parallel and equal in length. and also point the same way, so .
(b) The diagonals of a parallelogram bisect each other, so is the midpoint of . Then : same length, same direction.
(c) is opposite to . Since , its reverse is also opposite to .
(d) No. They have the same magnitude, but points the opposite way to . In fact .
Example 4: Distance vs displacement
Section titled “Example 4: Distance vs displacement”A hiker walks km north and then km east. Find the total distance walked and the hiker’s displacement from the start.
Solution. The distance is a scalar: km.
The displacement is the vector from the start to the finish. The two legs form a right angle, so its magnitude comes from the Pythagorean theorem:
For the direction, let be the angle at the start between north and the displacement. The side opposite is the km east leg and the adjacent side is the km north leg:
The displacement is km at N E (a true bearing of about ), to one decimal place. Notice that : the length of the path isn’t the same as how far you end up from where you started. Adding vectors like this is the subject of vector addition and subtraction.
Common mistakes
Section titled “Common mistakes”Treating speed and velocity (or distance and displacement) as the same thing. Speed and distance are scalars. Velocity and displacement are vectors and must include a direction. ” km/h” is a speed; ” km/h due west” is a velocity.
Measuring a true bearing from the wrong place or the wrong way. True bearings always start at north and go clockwise. Angles from the positive -axis start at east and go counterclockwise. A quick sketch prevents mixing them up.
Reading N W as W N. N W starts at north and turns toward the west, so it’s closer to north. W N would start at west and be closer to west (it equals N W). Standard quadrant bearings always start from N or S.
Thinking equal vectors must be in the same place. Vectors are equal when their magnitudes and directions match. Position doesn’t matter, which is why you can slide vectors around when adding them.
Mixing up and . They have the same length but opposite directions: . The first letter is always the tail.
Giving a negative magnitude. is a length, so it’s never negative. A minus sign in changes the direction, not the size: .
Practice
Section titled “Practice”1. (Warm-up) Scalar or vector?
- (a) An acceleration of m/s² straight down
- (b) A juice box holding mL
- (c) A wind of km/h from the northwest
- (d) A room temperature of
Solution
(a) Vector: it has a direction (down).
(b) Scalar: volume has no direction.
(c) Vector: a wind velocity includes the direction the wind comes from.
(d) Scalar.
2. (Warm-up) Write each true bearing as a quadrant bearing.
- (a)
- (b)
- (c)
Solution
(a) clockwise from north, toward the east: N E.
(b) is past south (), toward the west: S W.
(c) is short of north, on the west side: N W.
3. (Core) Write each quadrant bearing as a true bearing.
- (a) S E
- (b) N W
- (c) S W
Solution
(a) From south (), turning toward east reduces the bearing: .
(b) From north, turning toward west: .
(c) From south, turning toward west increases the bearing: .
4. (Core) Find the angle , measured counterclockwise from the positive -axis (with north along the positive -axis), for each direction.
- (a) a true bearing of
- (b) N W
- (c) a true bearing of
Solution
Use , adding if needed.
(a) .
(b) N W is a bearing of . Then , so . Check: is past the positive -axis (north) toward the negative -axis (west). ✓
(c) , so . Check: a bearing of is S W, which is below west, and is past the negative -axis. ✓
5. (Core) A ball’s velocity is : m/s at N E. Describe using a quadrant bearing and a true bearing.
Solution
has the same magnitude, m/s, and the opposite direction. Swap N with S and E with W: S W.
As a true bearing, is at , so is at . Check: S W is . ✓
6. (Core) is a rectangle (vertices in order) whose diagonals meet at .
- (a) Name a vector equal to .
- (b) Name a vector equal to .
- (c) Name two vectors opposite to .
- (d) Is ? Explain.
Solution
(a) : opposite sides are parallel and equal, and points the same way as .
(b) : the diagonals bisect each other, so is the midpoint of .
(c) and (since ).
(d) No. The diagonals of a rectangle are equal in length, so , but they point in different directions, so the vectors aren’t equal.
7. (Core) A cyclist rides km west and then km south. Find the total distance ridden and the cyclist’s displacement, giving the direction as a quadrant bearing and a true bearing to one decimal place.
Solution
Distance: km.
The legs meet at a right angle, so the displacement has magnitude km.
At the start, the angle between south and the displacement has the km west leg opposite it and the km south leg adjacent:
The displacement is km at S W, which is a true bearing of .
8. (Challenge) Show that these three vectors are all equal:
- : km/h on a true bearing of
- : km/h at S E
- : km/h at from the positive -axis
Solution
All three have magnitude km/h, so compare the directions as true bearings.
: from south (), turn toward east: .
: bearing .
All three point on a bearing of with the same magnitude, so .
9. (Challenge) A lighthouse keeper reports a ship km from the lighthouse on a bearing of .
- (a) What is the bearing of the lighthouse from the ship?
- (b) Explain why “the ship is km from the lighthouse” alone doesn’t tell you where the ship is.
Solution
(a) The displacement from the ship to the lighthouse is the opposite of the displacement from the lighthouse to the ship. So turn around by (adding would pass , so subtract instead): . The lighthouse is on a bearing of (S E) from the ship.
(b) ” km away” gives only a magnitude. Every point on a circle of radius km centred at the lighthouse is km away. The direction (the bearing of ) picks out one point on that circle, which is why position needs a vector, not just a distance.