Skip to content
Family Table Math
Auto

Introduction to Vectors

Some quantities are described completely by a single number: a mass of 1212 kg, a temperature of 21 ∘C21\,^\circ\text{C}. Others also need a direction: “drive 4040 km” isn’t enough to find your way, but “drive 4040 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.

A scalar has magnitude (size) only. A vector has both magnitude and direction.

Scalar (size only)Matching vector (size and direction)
distance: 55 kmdisplacement: 55 km east
speed: 9090 km/hvelocity: 9090 km/h on a bearing of 230∘230^\circ
mass: 5050 kgweight (a force): 490490 N straight down
time, temperature, area, volume, energyforce, 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.

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).

These are the conventions used on every vector page of this site:

NotationMeaning
v⃗\vec{v}, u⃗\vec{u}, F⃗\vec{F}a vector named by a letter with an arrow over it
AB→\overrightarrow{AB}the vector from point AA (tail) to point BB (head)
∣v⃗∣\lvert\vec{v}\rvert, ∣AB→∣\lvert\overrightarrow{AB}\rvertthe magnitude of the vector, a scalar that is never negative

Some books print vectors in bold (v\mathbf{v}) instead of using an arrow. Order matters: AB→\overrightarrow{AB} starts at AA, while BA→\overrightarrow{BA} starts at BB.

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 u⃗\vec{u}, written −u⃗-\vec{u}, has the same magnitude but points the opposite way. In particular,

BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}
Two equal vectors u in different places, both 3 units right and 2 units up, and the opposite vector negative u, 3 units left and 2 units down A B u u − u equal vectors: same length, same direction opposite vector: same length, opposite direction
Both blue arrows are the same vector u⃗\vec{u}. The orange arrow is −u⃗-\vec{u}.

Two vectors with the same or opposite directions are called parallel (or collinear). You’ll use this idea a lot in scalar multiplication.

There are three common ways to describe the direction of a vector in a plane:

  • True bearing: the angle measured clockwise from north, from 0∘0^\circ up to (not including) 360∘360^\circ. It’s usually written with three digits, like 050∘050^\circ or 320∘320^\circ.
  • Quadrant bearing: start facing north or south, then turn some angle (from 0∘0^\circ to 90∘90^\circ) toward east or west. “N 40∘40^\circ W” means: face north, then turn 40∘40^\circ toward the west.
  • Angle from the positive xx-axis: on a coordinate grid, the angle θ\theta measured counterclockwise from the positive xx-axis, as in trigonometry. This is the form you’ll use with Cartesian vectors.
The same direction described two ways: a true bearing of 320 degrees, which is N 40 degrees W, and an angle of 130 degrees counterclockwise from the positive x-axis N E S W 320° 40° Bearings true bearing 320° = N 40° W y x 130° Angle from the positive x‑axis θ = 130° (counterclockwise)
One direction, three descriptions: a true bearing of 320∘320^\circ, N 40∘40^\circ W, or θ=130∘\theta = 130^\circ from the positive xx-axis.

To convert, a sketch is the safest tool. Two facts help:

  • North is θ=90∘\theta = 90^\circ and bearings go the other way round, so θ=90∘−bearing\theta = 90^\circ - \text{bearing} (add 360∘360^\circ if the result is negative).
  • The opposite direction is 180∘180^\circ away: add or subtract 180∘180^\circ 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 40∘40^\circ W]. This site writes it in words (”4040 km/h at N 40∘40^\circ W”) so that square brackets can be saved for Cartesian components.

Decide whether each quantity is a scalar or a vector.

  • (a) A car’s speedometer reads 8080 km/h.
  • (b) A plane flies at 650650 km/h on a bearing of 275∘275^\circ.
  • (c) A bag of flour has a mass of 1010 kg.
  • (d) You push a box with a force of 3030 N to the east.
  • (e) A swimmer swims 400400 m in a pool.

Solution.

(a) Scalar: a speed, with no direction.

(b) Vector: a velocity, with magnitude 650650 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: 400400 m is the distance swum. After 88 lengths of a 5050 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 320∘320^\circ
  • (b) S 25∘25^\circ E
  • (c) θ=210∘\theta = 210^\circ from the positive xx-axis

Solution. Sketch each one on a compass.

(a) 320∘320^\circ clockwise from north is 360∘−320∘=40∘360^\circ - 320^\circ = 40^\circ short of north, on the west side: N 40∘40^\circ W. From the positive xx-axis, θ=90∘−320∘=−230∘\theta = 90^\circ - 320^\circ = -230^\circ, and adding 360∘360^\circ gives θ=130∘\theta = 130^\circ. (This is the direction in the figure above.)

(b) Face south (a bearing of 180∘180^\circ) and turn 25∘25^\circ toward the east. Turning from south to east is turning counterclockwise on a compass, so the bearing goes down: 180∘−25∘=155∘180^\circ - 25^\circ = 155^\circ. Then θ=90∘−155∘=−65∘\theta = 90^\circ - 155^\circ = -65^\circ, or θ=295∘\theta = 295^\circ.

(c) θ=210∘\theta = 210^\circ points down and to the left, 30∘30^\circ below the negative xx-axis. The true bearing is 90∘−210∘=−120∘90^\circ - 210^\circ = -120^\circ, plus 360∘360^\circ, which is 240∘240^\circ. That’s 60∘60^\circ past south toward the west: S 60∘60^\circ W.

True bearingQuadrant bearingAngle from positive xx-axis
(a)320∘320^\circN 40∘40^\circ W130∘130^\circ
(b)155∘155^\circS 25∘25^\circ E295∘295^\circ
(c)240∘240^\circS 60∘60^\circ W210∘210^\circ

Example 3: Equal and opposite vectors in a parallelogram

Section titled “Example 3: Equal and opposite vectors in a parallelogram”

ABCDABCD is a parallelogram (vertices in order around the shape) whose diagonals meet at EE. Name

  • (a) a vector equal to AB→\overrightarrow{AB},
  • (b) a vector equal to AE→\overrightarrow{AE},
  • (c) two vectors opposite to BC→\overrightarrow{BC}.
  • (d) Is AB→=CD→\overrightarrow{AB} = \overrightarrow{CD}?

Solution. Sketch the parallelogram first.

(a) Opposite sides of a parallelogram are parallel and equal in length. AB→\overrightarrow{AB} and DC→\overrightarrow{DC} also point the same way, so AB→=DC→\overrightarrow{AB} = \overrightarrow{DC}.

(b) The diagonals of a parallelogram bisect each other, so EE is the midpoint of ACAC. Then AE→=EC→\overrightarrow{AE} = \overrightarrow{EC}: same length, same direction.

(c) CB→\overrightarrow{CB} is opposite to BC→\overrightarrow{BC}. Since AD→=BC→\overrightarrow{AD} = \overrightarrow{BC}, its reverse DA→\overrightarrow{DA} is also opposite to BC→\overrightarrow{BC}.

(d) No. They have the same magnitude, but CD→\overrightarrow{CD} points the opposite way to AB→\overrightarrow{AB}. In fact CD→=−AB→\overrightarrow{CD} = -\overrightarrow{AB}.

A hiker walks 33 km north and then 44 km east. Find the total distance walked and the hiker’s displacement from the start.

Solution. The distance is a scalar: 3+4=73 + 4 = 7 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:

32+42=25=5 km\sqrt{3^2 + 4^2} = \sqrt{25} = 5 \text{ km}

For the direction, let θ\theta be the angle at the start between north and the displacement. The side opposite θ\theta is the 44 km east leg and the adjacent side is the 33 km north leg:

tan⁡θ=43⇒θ≈53.1∘\tan\theta = \frac{4}{3} \quad\Rightarrow\quad \theta \approx 53.1^\circ

The displacement is 55 km at N 53.1∘53.1^\circ E (a true bearing of about 053.1∘053.1^\circ), to one decimal place. Notice that 5≠75 \ne 7: 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.

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. ”6060 km/h” is a speed; ”6060 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 xx-axis start at east and go counterclockwise. A quick sketch prevents mixing them up.

Reading N 40∘40^\circ W as W 40∘40^\circ N. N 40∘40^\circ W starts at north and turns 40∘40^\circ toward the west, so it’s closer to north. W 40∘40^\circ N would start at west and be closer to west (it equals N 50∘50^\circ 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 AB→\overrightarrow{AB} and BA→\overrightarrow{BA}. They have the same length but opposite directions: BA→=−AB→\overrightarrow{BA} = -\overrightarrow{AB}. The first letter is always the tail.

Giving a negative magnitude. ∣v⃗∣\lvert\vec{v}\rvert is a length, so it’s never negative. A minus sign in −v⃗-\vec{v} changes the direction, not the size: ∣−v⃗∣=∣v⃗∣\lvert -\vec{v}\rvert = \lvert\vec{v}\rvert.

1. (Warm-up) Scalar or vector?

  • (a) An acceleration of 9.89.8 m/s² straight down
  • (b) A juice box holding 250250 mL
  • (c) A wind of 3030 km/h from the northwest
  • (d) A room temperature of 22 ∘C22\,^\circ\text{C}
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) 070∘070^\circ
  • (b) 200∘200^\circ
  • (c) 315∘315^\circ
Solution

(a) 70∘70^\circ clockwise from north, toward the east: N 70∘70^\circ E.

(b) 200∘200^\circ is 20∘20^\circ past south (180∘180^\circ), toward the west: S 20∘20^\circ W.

(c) 315∘315^\circ is 360∘−315∘=45∘360^\circ - 315^\circ = 45^\circ short of north, on the west side: N 45∘45^\circ W.

3. (Core) Write each quadrant bearing as a true bearing.

  • (a) S 35∘35^\circ E
  • (b) N 15∘15^\circ W
  • (c) S 80∘80^\circ W
Solution

(a) From south (180∘180^\circ), turning toward east reduces the bearing: 180∘−35∘=145∘180^\circ - 35^\circ = 145^\circ.

(b) From north, turning 15∘15^\circ toward west: 360∘−15∘=345∘360^\circ - 15^\circ = 345^\circ.

(c) From south, turning toward west increases the bearing: 180∘+80∘=260∘180^\circ + 80^\circ = 260^\circ.

4. (Core) Find the angle θ\theta, measured counterclockwise from the positive xx-axis (with north along the positive yy-axis), for each direction.

  • (a) a true bearing of 030∘030^\circ
  • (b) N 50∘50^\circ W
  • (c) a true bearing of 250∘250^\circ
Solution

Use θ=90∘−bearing\theta = 90^\circ - \text{bearing}, adding 360∘360^\circ if needed.

(a) θ=90∘−30∘=60∘\theta = 90^\circ - 30^\circ = 60^\circ.

(b) N 50∘50^\circ W is a bearing of 360∘−50∘=310∘360^\circ - 50^\circ = 310^\circ. Then θ=90∘−310∘=−220∘\theta = 90^\circ - 310^\circ = -220^\circ, so θ=140∘\theta = 140^\circ. Check: 140∘140^\circ is 50∘50^\circ past the positive yy-axis (north) toward the negative xx-axis (west). ✓

(c) θ=90∘−250∘=−160∘\theta = 90^\circ - 250^\circ = -160^\circ, so θ=200∘\theta = 200^\circ. Check: a bearing of 250∘250^\circ is S 70∘70^\circ W, which is 20∘20^\circ below west, and 200∘200^\circ is 20∘20^\circ past the negative xx-axis. ✓

5. (Core) A ball’s velocity is v⃗\vec{v}: 1212 m/s at N 25∘25^\circ E. Describe −v⃗-\vec{v} using a quadrant bearing and a true bearing.

Solution

−v⃗-\vec{v} has the same magnitude, 1212 m/s, and the opposite direction. Swap N with S and E with W: S 25∘25^\circ W.

As a true bearing, v⃗\vec{v} is at 025∘025^\circ, so −v⃗-\vec{v} is at 25∘+180∘=205∘25^\circ + 180^\circ = 205^\circ. Check: S 25∘25^\circ W is 180∘+25∘=205∘180^\circ + 25^\circ = 205^\circ. ✓

6. (Core) PQRSPQRS is a rectangle (vertices in order) whose diagonals meet at TT.

  • (a) Name a vector equal to PQ→\overrightarrow{PQ}.
  • (b) Name a vector equal to PT→\overrightarrow{PT}.
  • (c) Name two vectors opposite to QR→\overrightarrow{QR}.
  • (d) Is PR→=QS→\overrightarrow{PR} = \overrightarrow{QS}? Explain.
Solution

(a) SR→\overrightarrow{SR}: opposite sides are parallel and equal, and S→RS \to R points the same way as P→QP \to Q.

(b) TR→\overrightarrow{TR}: the diagonals bisect each other, so TT is the midpoint of PRPR.

(c) RQ→\overrightarrow{RQ} and SP→\overrightarrow{SP} (since PS→=QR→\overrightarrow{PS} = \overrightarrow{QR}).

(d) No. The diagonals of a rectangle are equal in length, so ∣PR→∣=∣QS→∣\lvert\overrightarrow{PR}\rvert = \lvert\overrightarrow{QS}\rvert, but they point in different directions, so the vectors aren’t equal.

7. (Core) A cyclist rides 66 km west and then 88 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: 6+8=146 + 8 = 14 km.

The legs meet at a right angle, so the displacement has magnitude 62+82=100=10\sqrt{6^2 + 8^2} = \sqrt{100} = 10 km.

At the start, the angle α\alpha between south and the displacement has the 66 km west leg opposite it and the 88 km south leg adjacent:

tan⁡α=68⇒α≈36.9∘\tan\alpha = \frac{6}{8} \quad\Rightarrow\quad \alpha \approx 36.9^\circ

The displacement is 1010 km at S 36.9∘36.9^\circ W, which is a true bearing of 180∘+36.9∘=216.9∘180^\circ + 36.9^\circ = 216.9^\circ.

8. (Challenge) Show that these three vectors are all equal:

  • a⃗\vec{a}: 5050 km/h on a true bearing of 110∘110^\circ
  • b⃗\vec{b}: 5050 km/h at S 70∘70^\circ E
  • c⃗\vec{c}: 5050 km/h at θ=−20∘\theta = -20^\circ from the positive xx-axis
Solution

All three have magnitude 5050 km/h, so compare the directions as true bearings.

b⃗\vec{b}: from south (180∘180^\circ), turn 70∘70^\circ toward east: 180∘−70∘=110∘180^\circ - 70^\circ = 110^\circ.

c⃗\vec{c}: bearing =90∘−θ=90∘−(−20∘)=110∘= 90^\circ - \theta = 90^\circ - (-20^\circ) = 110^\circ.

All three point on a bearing of 110∘110^\circ with the same magnitude, so a⃗=b⃗=c⃗\vec{a} = \vec{b} = \vec{c}.

9. (Challenge) A lighthouse keeper reports a ship 1212 km from the lighthouse on a bearing of 300∘300^\circ.

  • (a) What is the bearing of the lighthouse from the ship?
  • (b) Explain why “the ship is 1212 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 180∘180^\circ (adding 180∘180^\circ would pass 360∘360^\circ, so subtract instead): 300∘−180∘=120∘300^\circ - 180^\circ = 120^\circ. The lighthouse is on a bearing of 120∘120^\circ (S 60∘60^\circ E) from the ship.

(b) ”1212 km away” gives only a magnitude. Every point on a circle of radius 1212 km centred at the lighthouse is 1212 km away. The direction (the bearing of 300∘300^\circ) picks out one point on that circle, which is why position needs a vector, not just a distance.