Skip to content
Family Table Math
Auto

Adding and Subtracting Vectors

If you walk 33 km north and then 44 km east, you end up 55 km from where you started, not 77. Vectors don’t add like ordinary numbers, because their directions matter. On this page you’ll learn how to add and subtract vectors by drawing them, and how to calculate the size and direction of the result with the cosine law and sine law. All angles are in degrees.

To find a⃗+b⃗\vec{a} + \vec{b}, draw a⃗\vec{a}, then draw b⃗\vec{b} starting at the tip (head) of a⃗\vec{a}. The sum goes from the tail of a⃗\vec{a} to the tip of b⃗\vec{b}. The sum of two or more vectors is called their resultant.

In terms of points, this says that going from AA to BB and then from BB to CC has the same effect as going straight from AA to CC:

AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}

To add more than two vectors, keep going: place each new vector at the tip of the last one, and the resultant runs from the very first tail to the very last tip.

You can also draw a⃗\vec{a} and b⃗\vec{b} from the same starting point and complete the parallelogram. The diagonal from that starting point is a⃗+b⃗\vec{a} + \vec{b}. It’s the same answer as tip to tail, because the opposite side of the parallelogram is an equal copy of b⃗\vec{b}.

Adding vectors a and b. Left: b is placed at the tip of a, and the sum a + b goes from the tail of a to the tip of b. Right: a and b start at the same point, and a + b is the diagonal of the parallelogram they form. a b a + b Tip to tail (triangle law) a b a + b Parallelogram law
Two ways to draw the same sum a⃗+b⃗\vec{a} + \vec{b}.

The zero vector 0⃗\vec{0} has magnitude 00 and no particular direction. Adding a vector and its opposite gets you back where you started:

a⃗+(−a⃗)=0⃗\vec{a} + (-\vec{a}) = \vec{0}

To subtract, add the opposite:

a⃗−b⃗=a⃗+(−b⃗)\vec{a} - \vec{b} = \vec{a} + (-\vec{b})

There’s a handy shortcut: if a⃗\vec{a} and b⃗\vec{b} are drawn from the same point, then a⃗−b⃗\vec{a} - \vec{b} goes from the tip of b⃗\vec{b} to the tip of a⃗\vec{a}. (Check: b⃗+(a⃗−b⃗)=a⃗\vec{b} + (\vec{a} - \vec{b}) = \vec{a}, which is tip to tail.) So the two diagonals of the parallelogram are a⃗+b⃗\vec{a} + \vec{b} and a⃗−b⃗\vec{a} - \vec{b}.

Vectors a and b drawn from the same point O form a parallelogram. The difference a minus b goes from the tip of b to the tip of a; the sum a + b is the other diagonal. O a b a − b a + b
With a common tail, a⃗−b⃗\vec{a} - \vec{b} points from the tip of b⃗\vec{b} to the tip of a⃗\vec{a}.

A useful special case: for any points OO, AA and BB,

AB→=OB→−OA→\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}

These all follow from tip-to-tail diagrams, and they mean you can rearrange and regroup vector sums just like sums of numbers.

PropertyStatement
Commutativea⃗+b⃗=b⃗+a⃗\vec{a} + \vec{b} = \vec{b} + \vec{a}
Associative(a⃗+b⃗)+c⃗=a⃗+(b⃗+c⃗)(\vec{a} + \vec{b}) + \vec{c} = \vec{a} + (\vec{b} + \vec{c})
Zero vector (identity)a⃗+0⃗=a⃗\vec{a} + \vec{0} = \vec{a}
Opposite (inverse)a⃗+(−a⃗)=0⃗\vec{a} + (-\vec{a}) = \vec{0}

The parallelogram shows the commutative property: going along a⃗\vec{a} then b⃗\vec{b} (bottom then right side) reaches the same corner as b⃗\vec{b} then a⃗\vec{a} (left then top side). Subtraction, like ordinary subtraction, is not commutative: b⃗−a⃗=−(a⃗−b⃗)\vec{b} - \vec{a} = -(\vec{a} - \vec{b}).

Finding the magnitude and direction of a resultant

Section titled “Finding the magnitude and direction of a resultant”
  1. Sketch the vectors tip to tail and draw the resultant.
  2. Find the angle inside the triangle between the two given vectors. If the angle between a⃗\vec{a} and b⃗\vec{b} (drawn tail to tail) is ϕ\phi, the angle inside the tip-to-tail triangle is 180∘−ϕ180^\circ - \phi.
  3. Use the cosine law to find the magnitude of the resultant.
  4. Use the sine law to find an angle in the triangle, then turn it into a direction (for example, a bearing).

If the two vectors are perpendicular, the triangle has a right angle, and the Pythagorean theorem and tan⁡\tan are all you need.

The length of a resultant is never more than the sum of the lengths: ∣a⃗+b⃗∣≤∣a⃗∣+∣b⃗∣\lvert\vec{a} + \vec{b}\rvert \le \lvert\vec{a}\rvert + \lvert\vec{b}\rvert (the triangle inequality). It’s equal only when a⃗\vec{a} and b⃗\vec{b} point the same way.

Example 1: Simplifying with a parallelogram

Section titled “Example 1: Simplifying with a parallelogram”

ABCDABCD is a parallelogram (vertices in order). Write each expression as a single vector.

  • (a) AB→+BC→\overrightarrow{AB} + \overrightarrow{BC}
  • (b) AB→+AD→\overrightarrow{AB} + \overrightarrow{AD}
  • (c) AB→−AD→\overrightarrow{AB} - \overrightarrow{AD}
  • (d) AB→+BC→+CD→\overrightarrow{AB} + \overrightarrow{BC} + \overrightarrow{CD}

Solution.

(a) Tip to tail: AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}.

(b) In a parallelogram AD→=BC→\overrightarrow{AD} = \overrightarrow{BC}, so AB→+AD→=AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{AD} = \overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}. (This is the parallelogram law: AC→\overrightarrow{AC} is the diagonal from AA.)

(c) Add the opposite: −AD→=DA→-\overrightarrow{AD} = \overrightarrow{DA}. Then

AB→−AD→=AB→+DA→=DA→+AB→=DB→\overrightarrow{AB} - \overrightarrow{AD} = \overrightarrow{AB} + \overrightarrow{DA} = \overrightarrow{DA} + \overrightarrow{AB} = \overrightarrow{DB}

That’s the other diagonal, from the tip of AD→\overrightarrow{AD} to the tip of AB→\overrightarrow{AB}, as the shortcut says.

(d) Chain the tips and tails: A→B→C→DA \to B \to C \to D, so the sum is AD→\overrightarrow{AD}.

A delivery robot moves 55 m east and then 1212 m north. Find the resultant displacement.

Solution. Tip to tail, the two legs form a right angle, so

∣R⃗∣=52+122=169=13 m\lvert\vec{R}\rvert = \sqrt{5^2 + 12^2} = \sqrt{169} = 13 \text{ m}

At the start, let θ\theta be the angle between north and R⃗\vec{R}. The east leg is opposite θ\theta and the north leg is adjacent:

tan⁡θ=512⇒θ≈22.6∘\tan\theta = \frac{5}{12} \quad\Rightarrow\quad \theta \approx 22.6^\circ

The resultant is 1313 m at N 22.6∘22.6^\circ E (a true bearing of 022.6∘022.6^\circ), to one decimal place.

Example 3: Using the cosine law and sine law

Section titled “Example 3: Using the cosine law and sine law”

A boat sails 88 km on a bearing of 040∘040^\circ, then 55 km on a bearing of 110∘110^\circ. Find its resultant displacement, to two decimal places for the distance and one decimal place for the bearing.

Solution. Let OO be the start, PP the turning point and QQ the finish. Sketch the trip tip to tail.

Angle inside the triangle at PP. The boat turns from 040∘040^\circ to 110∘110^\circ, a turn of 70∘70^\circ. The angle between the two vectors drawn tail to tail is 70∘70^\circ, so the angle inside the triangle is ∠OPQ=180∘−70∘=110∘\angle OPQ = 180^\circ - 70^\circ = 110^\circ.

(Another way to see it: at PP, the direction back to OO is the bearing 040∘+180∘=220∘040^\circ + 180^\circ = 220^\circ, and the direction to QQ is 110∘110^\circ. The difference is 220∘−110∘=110∘220^\circ - 110^\circ = 110^\circ.)

Magnitude, by the cosine law.

∣R⃗∣2=82+52−2(8)(5)cos⁡110∘=89−80cos⁡110∘≈116.362\begin{aligned} \lvert\vec{R}\rvert^2 &= 8^2 + 5^2 - 2(8)(5)\cos 110^\circ \\ &= 89 - 80\cos 110^\circ \\ &\approx 116.362 \end{aligned}

So ∣R⃗∣≈10.787\lvert\vec{R}\rvert \approx 10.787, about 10.7910.79 km.

Direction, by the sine law. Let α=∠POQ\alpha = \angle POQ, the angle at the start between the first leg and the resultant. It’s opposite the 55 km side:

sin⁡α5=sin⁡110∘10.787⇒sin⁡α≈0.4356⇒α≈25.8∘\frac{\sin\alpha}{5} = \frac{\sin 110^\circ}{10.787} \quad\Rightarrow\quad \sin\alpha \approx 0.4356 \quad\Rightarrow\quad \alpha \approx 25.8^\circ

(α\alpha must be acute, because it’s opposite the shortest side, so there’s no ambiguous case here.) The resultant is turned 25.8∘25.8^\circ clockwise from the first leg, toward the second leg, so its bearing is 40∘+25.8∘=65.8∘40^\circ + 25.8^\circ = 65.8^\circ.

The boat ends up about 10.7910.79 km from its start on a bearing of 065.8∘065.8^\circ.

∣u⃗∣=10\lvert\vec{u}\rvert = 10 and ∣v⃗∣=6\lvert\vec{v}\rvert = 6, and the angle between u⃗\vec{u} and v⃗\vec{v} (tail to tail) is 60∘60^\circ. Find ∣u⃗+v⃗∣\lvert\vec{u} + \vec{v}\rvert and ∣u⃗−v⃗∣\lvert\vec{u} - \vec{v}\rvert.

Solution. Use the parallelogram: u⃗+v⃗\vec{u} + \vec{v} and u⃗−v⃗\vec{u} - \vec{v} are its two diagonals.

Difference. u⃗−v⃗\vec{u} - \vec{v} joins the tips of u⃗\vec{u} and v⃗\vec{v} drawn from the same point, so it’s the third side of a triangle with sides 1010 and 66 and the 60∘60^\circ angle between them:

∣u⃗−v⃗∣2=102+62−2(10)(6)cos⁡60∘=136−60=76\lvert\vec{u} - \vec{v}\rvert^2 = 10^2 + 6^2 - 2(10)(6)\cos 60^\circ = 136 - 60 = 76

So ∣u⃗−v⃗∣=76=219≈8.72\lvert\vec{u} - \vec{v}\rvert = \sqrt{76} = 2\sqrt{19} \approx 8.72.

Sum. Tip to tail, the angle inside the triangle is 180∘−60∘=120∘180^\circ - 60^\circ = 120^\circ:

∣u⃗+v⃗∣2=102+62−2(10)(6)cos⁡120∘=136+60=196\lvert\vec{u} + \vec{v}\rvert^2 = 10^2 + 6^2 - 2(10)(6)\cos 120^\circ = 136 + 60 = 196

So ∣u⃗+v⃗∣=14\lvert\vec{u} + \vec{v}\rvert = 14.

Check: both answers are between 10−6=410 - 6 = 4 and 10+6=1610 + 6 = 16, as the triangle inequality requires. The sum is longer than the difference because the angle between the vectors is less than 90∘90^\circ.

Adding the magnitudes. ∣a⃗+b⃗∣\lvert\vec{a} + \vec{b}\rvert is usually not ∣a⃗∣+∣b⃗∣\lvert\vec{a}\rvert + \lvert\vec{b}\rvert. That only happens when the vectors point the same way. Always sketch and use the triangle.

Using the angle between the vectors instead of the angle inside the triangle. If a⃗\vec{a} and b⃗\vec{b} make an angle ϕ\phi tail to tail, the tip-to-tail triangle has 180∘−ϕ180^\circ - \phi between them. In Example 3, using 70∘70^\circ instead of 110∘110^\circ in the cosine law would give about 7.857.85 km instead of 10.7910.79 km.

Drawing vectors tail to tail and joining the tips for a sum. Joining the tips gives the difference a⃗−b⃗\vec{a} - \vec{b}, not the sum. For a sum, go tip to tail (or use the diagonal of the parallelogram that starts at the common tail).

Getting the direction of a difference backwards. With a common tail, a⃗−b⃗\vec{a} - \vec{b} points toward the tip of a⃗\vec{a} (the first vector). Check with b⃗+(a⃗−b⃗)=a⃗\vec{b} + (\vec{a} - \vec{b}) = \vec{a}.

Stopping at an angle inside the triangle. The sine law gives an angle in the triangle, not a bearing. Use your sketch to decide whether to add it to or subtract it from a known direction, and say what it’s measured from.

Rounding too early. Keep the unrounded magnitude from the cosine law in your calculator when you use the sine law, and round only the final answers.

1. (Warm-up) Write each expression as a single vector.

  • (a) PQ→+QR→\overrightarrow{PQ} + \overrightarrow{QR}
  • (b) PQ→+QR→+RP→\overrightarrow{PQ} + \overrightarrow{QR} + \overrightarrow{RP}
  • (c) PQ→−RQ→\overrightarrow{PQ} - \overrightarrow{RQ}
Solution

(a) PR→\overrightarrow{PR} (tip to tail).

(b) PR→+RP→=PP→=0⃗\overrightarrow{PR} + \overrightarrow{RP} = \overrightarrow{PP} = \vec{0}: the trip ends where it started.

(c) −RQ→=QR→-\overrightarrow{RQ} = \overrightarrow{QR}, so PQ→−RQ→=PQ→+QR→=PR→\overrightarrow{PQ} - \overrightarrow{RQ} = \overrightarrow{PQ} + \overrightarrow{QR} = \overrightarrow{PR}.

2. (Warm-up) a⃗\vec{a} is 4040 km/h north and b⃗\vec{b} is 1515 km/h south. Find a⃗+b⃗\vec{a} + \vec{b} and a⃗−b⃗\vec{a} - \vec{b}.

Solution

The vectors are parallel, so the triangle flattens into a line.

a⃗+b⃗\vec{a} + \vec{b}: 4040 north and 1515 south partly cancel, leaving 2525 km/h north.

a⃗−b⃗=a⃗+(−b⃗)\vec{a} - \vec{b} = \vec{a} + (-\vec{b}), and −b⃗-\vec{b} is 1515 km/h north, so a⃗−b⃗\vec{a} - \vec{b} is 5555 km/h north.

3. (Core) A kayak’s displacement is 99 m east followed by 1212 m south. Find the resultant displacement, with the direction as a quadrant bearing and a true bearing to one decimal place.

Solution

Magnitude: 92+122=225=15\sqrt{9^2 + 12^2} = \sqrt{225} = 15 m.

At the start, the angle θ\theta between south and the resultant has the 99 m east leg opposite it and the 1212 m south leg adjacent:

tan⁡θ=912⇒θ≈36.9∘\tan\theta = \frac{9}{12} \quad\Rightarrow\quad \theta \approx 36.9^\circ

The resultant is 1515 m at S 36.9∘36.9^\circ E, a true bearing of 180∘−36.9∘=143.1∘180^\circ - 36.9^\circ = 143.1^\circ.

4. (Core) ∣a⃗∣=7\lvert\vec{a}\rvert = 7, ∣b⃗∣=4\lvert\vec{b}\rvert = 4, and the angle between a⃗\vec{a} and b⃗\vec{b} is 50∘50^\circ. Find ∣a⃗+b⃗∣\lvert\vec{a} + \vec{b}\rvert and the angle between a⃗+b⃗\vec{a} + \vec{b} and a⃗\vec{a}, each to one decimal place.

Solution

Tip to tail, the angle inside the triangle is 180∘−50∘=130∘180^\circ - 50^\circ = 130^\circ.

∣a⃗+b⃗∣2=72+42−2(7)(4)cos⁡130∘=65−56cos⁡130∘≈100.996\lvert\vec{a} + \vec{b}\rvert^2 = 7^2 + 4^2 - 2(7)(4)\cos 130^\circ = 65 - 56\cos 130^\circ \approx 100.996

So ∣a⃗+b⃗∣≈10.05\lvert\vec{a} + \vec{b}\rvert \approx 10.05, or 10.010.0 to one decimal place.

The angle α\alpha between a⃗\vec{a} and the resultant is opposite the side of length 44:

sin⁡α=4sin⁡130∘10.050≈0.3049⇒α≈17.8∘\sin\alpha = \frac{4\sin 130^\circ}{10.050} \approx 0.3049 \quad\Rightarrow\quad \alpha \approx 17.8^\circ

5. (Core) For the same a⃗\vec{a} and b⃗\vec{b} as in question 4, find ∣a⃗−b⃗∣\lvert\vec{a} - \vec{b}\rvert to two decimal places.

Solution

a⃗−b⃗\vec{a} - \vec{b} joins the tips of a⃗\vec{a} and b⃗\vec{b} drawn from the same point, so the included angle is 50∘50^\circ:

∣a⃗−b⃗∣2=72+42−2(7)(4)cos⁡50∘=65−56cos⁡50∘≈29.004\lvert\vec{a} - \vec{b}\rvert^2 = 7^2 + 4^2 - 2(7)(4)\cos 50^\circ = 65 - 56\cos 50^\circ \approx 29.004

So ∣a⃗−b⃗∣≈5.39\lvert\vec{a} - \vec{b}\rvert \approx 5.39.

6. (Core) Simplify AB→+CD→+BC→+DE→\overrightarrow{AB} + \overrightarrow{CD} + \overrightarrow{BC} + \overrightarrow{DE}, and state which properties of addition you used.

Solution

Rearrange (commutative property) and regroup (associative property) so tips meet tails:

AB→+BC→+CD→+DE→=AC→+CD→+DE→=AD→+DE→=AE→\overrightarrow{AB} + \overrightarrow{BC} + \overrightarrow{CD} + \overrightarrow{DE} = \overrightarrow{AC} + \overrightarrow{CD} + \overrightarrow{DE} = \overrightarrow{AD} + \overrightarrow{DE} = \overrightarrow{AE}

7. (Core) A ferry travels 1515 km on a bearing of 070∘070^\circ, then 2020 km on a bearing of 160∘160^\circ. Find its resultant displacement, with the bearing to one decimal place.

Solution

The turn is 160∘−70∘=90∘160^\circ - 70^\circ = 90^\circ, so the triangle has a right angle at the turning point:

∣R⃗∣=152+202=625=25 km\lvert\vec{R}\rvert = \sqrt{15^2 + 20^2} = \sqrt{625} = 25 \text{ km}

At the start, the angle α\alpha between the first leg and the resultant satisfies

tan⁡α=2015⇒α≈53.1∘\tan\alpha = \frac{20}{15} \quad\Rightarrow\quad \alpha \approx 53.1^\circ

The resultant is turned clockwise from 070∘070^\circ toward the second leg, so its bearing is 70∘+53.1∘=123.1∘70^\circ + 53.1^\circ = 123.1^\circ. The ferry ends up 2525 km away on a bearing of 123.1∘123.1^\circ.

8. (Challenge) ∣a⃗∣=5\lvert\vec{a}\rvert = 5, ∣b⃗∣=8\lvert\vec{b}\rvert = 8 and ∣a⃗+b⃗∣=11\lvert\vec{a} + \vec{b}\rvert = 11. Find the angle between a⃗\vec{a} and b⃗\vec{b}, to one decimal place.

Solution

The tip-to-tail triangle has sides 55, 88 and 1111. Let CC be the angle inside the triangle between a⃗\vec{a} and b⃗\vec{b}; it’s opposite the resultant:

cos⁡C=52+82−1122(5)(8)=−3280=−0.4⇒C≈113.6∘\cos C = \frac{5^2 + 8^2 - 11^2}{2(5)(8)} = \frac{-32}{80} = -0.4 \quad\Rightarrow\quad C \approx 113.6^\circ

The angle between the vectors (tail to tail) is 180∘−113.6∘=66.4∘180^\circ - 113.6^\circ = 66.4^\circ.

9. (Challenge) ∣a⃗∣=6\lvert\vec{a}\rvert = 6 and ∣b⃗∣=10\lvert\vec{b}\rvert = 10, but their directions are unknown.

  • (a) What are the largest and smallest possible values of ∣a⃗+b⃗∣\lvert\vec{a} + \vec{b}\rvert? When does each happen?
  • (b) Explain why ∣a⃗+b⃗∣≤∣a⃗∣+∣b⃗∣\lvert\vec{a} + \vec{b}\rvert \le \lvert\vec{a}\rvert + \lvert\vec{b}\rvert for any two vectors.
Solution

(a) The largest value is 6+10=166 + 10 = 16, when a⃗\vec{a} and b⃗\vec{b} point the same way. The smallest is 10−6=410 - 6 = 4, when they point in opposite directions (the resultant then points the same way as b⃗\vec{b}).

(b) If a⃗\vec{a} and b⃗\vec{b} aren’t parallel, then a⃗\vec{a}, b⃗\vec{b} and a⃗+b⃗\vec{a} + \vec{b} form a triangle, and any side of a triangle is shorter than the sum of the other two. If they’re parallel, the “triangle” is flat, and the resultant’s length is either the sum (same direction) or the difference (opposite directions), which is never more than the sum.