HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Vectors in Two Dimensions and Their Magnitude
  1. 1Column vectors and directed lines
  2. 2Adding, subtracting and scaling vectors
  3. 3The magnitude of a vector
  1. Mathematics
  2. /Vectors in Two Dimensions and Their Magnitude
  3. /Adding, subtracting and scaling vectors

Course 20.2·Lesson 2 of 3

Adding, subtracting and scaling vectors

Vectors can be added, subtracted and multiplied by a number. You add and subtract the components, you see the sum as two moves one after the other, and you multiply a vector by a number to make it longer, shorter or reversed. You also see why a vector that is a number times another is parallel to it.

about 30 min2 simulations1 practice question
Lesson 2 of 3Show all lessonsHide
Vectors in Two Dimensions and Their Magnitude
  1. 1Column vectors and directed lines
  2. 2Adding, subtracting and scaling vectors
  3. 3The magnitude of a vector

Try the code and the simulations beside the lesson.

Two moves, one after the other

You walk 333 blocks east and 111 block north, and then 111 block east and 333 blocks north. Where do you finish, compared with where you began? You went 3+1=43 + 1 = 43+1=4 east and 1+3=41 + 3 = 41+3=4 north. The two moves together are one move.

Adding vectors

To add two column vectors, add the top numbers and add the bottom numbers.

(31)+(13)=(44).\displaystyle \dbinom{ 3 }{ 1 } + \dbinom{ 1 }{ 3 } = \dbinom{ 4 }{ 4 }.(13​)+(31​)=(44​).
A grid with x from 0 to 6 and y from 0 to 6. The blue arrow a runs from the origin to (3, 1). The red arrow b runs from (3, 1) to (4, 4), a move of 1 right and 3 up. The green arrow a plus b runs from the origin to (4, 4). Dashed arrows show the same two moves in the other order, through the point (1, 3), making a parallelogram.

The picture shows why. Draw a\mathbf{a}a. Then draw b\mathbf{b}b so that it starts where a\mathbf{a}a ends. The vector from the start of a\mathbf{a}a to the end of b\mathbf{b}b is a+b\mathbf{a} + \mathbf{b}a+b. This is called the triangle rule. In letters, a journey from AAA to BBB and then to CCC is the same as going straight from AAA to CCC.

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

The order does not matter: a+b=b+a\mathbf{a} + \mathbf{b} = \mathbf{b} + \mathbf{a}a+b=b+a. The dashed arrows in the picture show the other route round the parallelogram.

Example: PQ→=(4−3)\overrightarrow{PQ} = \dbinom{ 4 }{ -3 }PQ​=(−34​) and QR→=(−72)\overrightarrow{QR} = \dbinom{ -7 }{ 2 }QR​=(2−7​). Then PR→=PQ→+QR→=(−3−1)\overrightarrow{PR} = \overrightarrow{PQ} + \overrightarrow{QR} = \dbinom{ -3 }{ -1 }PR=PQ​+QR​=(−1−3​).

Subtracting vectors

To subtract, subtract the top numbers and subtract the bottom numbers.

(52)−(36)=(2−4).\displaystyle \dbinom{ 5 }{ 2 } - \dbinom{ 3 }{ 6 } = \dbinom{ 2 }{ -4 }.(25​)−(63​)=(−42​).

Subtracting b\mathbf{b}b is the same as adding −b-\mathbf{b}−b, the vector that points the other way. So a−b=a+(−b)\mathbf{a} - \mathbf{b} = \mathbf{a} + (-\mathbf{b})a−b=a+(−b). The order matters here. The vector b−a\mathbf{b} - \mathbf{a}b−a is the opposite of a−b\mathbf{a} - \mathbf{b}a−b.

Take care when the number you subtract is negative. (41)−(−23)=(4+21−3)=(6−2)\dbinom{ 4 }{ 1 } - \dbinom{ -2 }{ 3 } = \dbinom{ 4 + 2 }{ 1 - 3 } = \dbinom{ 6 }{ -2 }(14​)−(3−2​)=(1−34+2​)=(−26​).

Multiplying by a number

A scalar is an ordinary number. To multiply a vector by a scalar kkk, multiply both components by kkk.

3(2−1)=(6−3).\displaystyle 3\dbinom{ 2 }{ -1 } = \dbinom{ 6 }{ -3 }.3(−12​)=(−36​).
A grid with x from minus 3 to 5 and y from minus 2 to 3. The blue arrow a runs from the origin to (2, 1). The red arrow 2a runs from the origin to (4, 2) along the same line. The green arrow minus a runs from the origin to (minus 2, minus 1) in the opposite direction.

The picture shows a=(21)\mathbf{a} = \dbinom{ 2 }{ 1 }a=(12​), 2a2\mathbf{a}2a and −a-\mathbf{a}−a.

  • If k>0k > 0k>0, the vector kak\mathbf{a}ka points the same way as a\mathbf{a}a and is kkk times as long.
  • If k<0k < 0k<0, it points the opposite way and is ∣k∣|k|∣k∣ times as long.
  • The vector 12a\tfrac{1}{2}\mathbf{a}21​a is half as long. It is the midpoint of the arrow.

Parallel vectors. Two vectors are parallel when one is a scalar multiple of the other. For example

(4−6)=2(2−3),\displaystyle \dbinom{ 4 }{ -6 } = 2\dbinom{ 2 }{ -3 },(−64​)=2(−32​),

so these two vectors are parallel. Also

(−69)=−3(2−3).\displaystyle \dbinom{ -6 }{ 9 } = -3\dbinom{ 2 }{ -3 }.(9−6​)=−3(−32​).

This vector is parallel to the other two as well, but it runs the other way.

Combining the three

You can mix all three. Work out each part first, then add or subtract.

With a=(31)\mathbf{a} = \dbinom{ 3 }{ 1 }a=(13​) and b=(−14)\mathbf{b} = \dbinom{ -1 }{ 4 }b=(4−1​):

2a−3b=(62)−(−312)=(9−10).\displaystyle 2\mathbf{a} - 3\mathbf{b} = \dbinom{ 6 }{ 2 } - \dbinom{ -3 }{ 12 } = \dbinom{ 9 }{ -10 }.2a−3b=(26​)−(12−3​)=(−109​).

Finding an unknown. Suppose

(2k−13)=(73).\displaystyle \dbinom{ 2k - 1 }{ 3 } = \dbinom{ 7 }{ 3 }.(32k−1​)=(37​).

Two vectors are equal when their components are equal, so 2k−1=72k - 1 = 72k−1=7 and k=4k = 4k=4.

Practise with new numbers

Try it in Python

The program has three small functions: add, subtract and scale. It works out a+b\mathbf{a} + \mathbf{b}a+b, a−b\mathbf{a} - \mathbf{b}a−b and 2a−3b2\mathbf{a} - 3\mathbf{b}2a−3b. Then it checks the triangle rule for a route AAA, BBB, CCC.

Read it first. Then run it. Are the vectors a minus b and b minus a opposite?

1. Change a to (0, 5). Predict 2a - 3b, then run it.

2. Move C to (7, 7). Does AB + BC still equal AC?

Common mistakes

  • Multiplying only one component. 3(2−1)3\dbinom{ 2 }{ -1 }3(−12​) is (6−3)\dbinom{ 6 }{ -3 }(−36​), not (6−1)\dbinom{ 6 }{ -1 }(−16​).
  • A sign slip when subtracting. Subtracting a negative number adds.
  • Mixing the order of a difference. a−b\mathbf{a} - \mathbf{b}a−b and b−a\mathbf{b} - \mathbf{a}b−a are opposite vectors.
  • Adding the arrows tail to tail. In the triangle rule the second arrow starts where the first one ends.

Remember these

  • Add, subtract and multiply by a scalar component by component.
  • AB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}AB+BC=AC. The second arrow starts where the first ends.
  • kak\mathbf{a}ka is parallel to a\mathbf{a}a. It has the same direction if k>0k > 0k>0 and the opposite direction if k<0k < 0k<0.
  • Two vectors are equal when both components are equal.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Work out (27)+(−51)\dbinom{ 2 }{ 7 } + \dbinom{ -5 }{ 1 }(72​)+(1−5​).
  1. Work out (4−2)−(1−6)\dbinom{ 4 }{ -2 } - \dbinom{ 1 }{ -6 }(−24​)−(−61​).
  1. Work out −2(3−4)-2\dbinom{ 3 }{ -4 }−2(−43​) and say how it compares with the vector (3−4)\dbinom{ 3 }{ -4 }(−43​).
  1. Extended. p=(12)\mathbf{p} = \dbinom{ 1 }{ 2 }p=(21​) and q=(3−1)\mathbf{q} = \dbinom{ 3 }{ -1 }q=(−13​). Work out 3p+2q3\mathbf{p} + 2\mathbf{q}3p+2q.
  1. Extended. Is (6−4)\dbinom{ 6 }{ -4 }(−46​) parallel to (−96)\dbinom{ -9 }{ 6 }(6−9​)?

References

  • Cambridge International, IGCSE Mathematics 0580 syllabus (2025, 2026 and 2027), Extended section 7.2 Vectors in two dimensions, parts 2 and 3 (add and subtract vectors, multiply a vector by a scalar).

Enroll free in Vectors in Two Dimensions and Their Magnitude

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A small plane flies two legs. The first leg is the vector a = dbinom 3 -2 and the second leg is b =…Easy · High School (9–10) · by StemPy Lab
p = dbinom 4 -1 and q = dbinom -2 5. Find 3p - 2q…Medium · High School (9–10) · by StemPy Lab
Extended. A robot has two basic moves, a = dbinom 2 -3 and b = dbinom -1 4…Hard · High School (9–10) · by StemPy Lab
Next: lesson 3The magnitude of a vector
← Vectors in Two Dimensions and Their Magnitude
← Column vectors and directed linesThe magnitude of a vector →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.

Python Labs (1)

Vector arithmetic with functionsPython Lab · by StemPy Lab