Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Method · Vectors

How to add and subtract vectors

Combine vectors component by component: (ai+bj)±(ci+dj)=(a±c)i+(b±d)j(a\mathbf{i} + b\mathbf{j}) \pm (c\mathbf{i} + d\mathbf{j}) = (a \pm c)\mathbf{i} + (b \pm d)\mathbf{j}; for a directed segment, AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}.

What this method is for

This method combines two or more vectors into a single vector by adding or subtracting them. In the Cartesian form ai+bja\mathbf{i} + b\mathbf{j}, or the column form (ab)\begin{pmatrix} a \\ b \end{pmatrix}, you simply add or subtract the matching components.

Geometrically, addition follows the triangle law (place the vectors head to tail and join the ends), and subtraction is just adding the negative, ab=a+(b)\mathbf{a} - \mathbf{b} = \mathbf{a} + (-\mathbf{b}). It answers questions such as 'find a+b\mathbf{a} + \mathbf{b}', 'find the resultant', or 'given the position vectors OA\overrightarrow{OA} and OB\overrightarrow{OB}, express AB\overrightarrow{AB} in terms of i\mathbf{i} and j\mathbf{j}'.

It is the foundation the rest of the Vectors chapter is built on, resultants, collinearity, ratios and magnitudes all start here.

(ai+bj)±(ci+dj)=(a±c)i+(b±d)j(a\mathbf{i} + b\mathbf{j}) \pm (c\mathbf{i} + d\mathbf{j}) = (a \pm c)\mathbf{i} + (b \pm d)\mathbf{j}
directed segment from position vectors
AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}

When to reach for it

Reach for this method whenever vectors are given in component form or as position vectors and the question asks for a sum, a difference, a resultant, or a directed line segment. Signals include 'find a+b\mathbf{a} + \mathbf{b}', 'the resultant of the two vectors', 'express AB\overrightarrow{AB} in terms of i\mathbf{i} and j\mathbf{j}', or a diagram of arrows placed head to tail.

When you are given position vectors from an origin OO, any directed segment between two points is a subtraction: AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}. Reading this correctly, end point minus start point, is the move that decides whether your answer points the right way.

Once the target is written as a sum or difference of known vectors, the rest is componentwise arithmetic.

The steps

  1. 1

    Write each vector in component form

    Express every vector as ai+bja\mathbf{i} + b\mathbf{j} (or a column vector) so the i\mathbf{i} and j\mathbf{j} parts line up.

  2. 2

    Decide add or subtract

    For a resultant, add. For a directed segment AB\overrightarrow{AB}, use OBOA\overrightarrow{OB} - \overrightarrow{OA}, end minus start.

  3. 3

    Combine the i-components

    Add or subtract the numbers in front of i\mathbf{i}, keeping track of signs.

  4. 4

    Combine the j-components

    Do the same for the numbers in front of j\mathbf{j}; subtracting a negative adds.

  5. 5

    Write the single result

    State the answer as one vector pi+qjp\mathbf{i} + q\mathbf{j} (or a column vector).

  6. 6

    Check with the triangle law

    For a segment, confirm OA+AB=OB\overrightarrow{OA} + \overrightarrow{AB} = \overrightarrow{OB}.

Worked example

Q1[4 marks]

The position vectors of two points are OA=3i+2j\overrightarrow{OA} = 3\mathbf{i} + 2\mathbf{j} and OB=5i4j\overrightarrow{OB} = 5\mathbf{i} - 4\mathbf{j}. Find (a) OA+OB\overrightarrow{OA} + \overrightarrow{OB}, and (b) AB\overrightarrow{AB}, each in terms of i\mathbf{i} and j\mathbf{j}.

Show worked solution

Part (a). Add the two vectors component by component, the i\mathbf{i} parts together, then the j\mathbf{j} parts together.

OA+OB=(3+5)i+(2+(4))j=8i2j\overrightarrow{OA} + \overrightarrow{OB} = (3 + 5)\mathbf{i} + \big(2 + (-4)\big)\mathbf{j} = 8\mathbf{i} - 2\mathbf{j}

Part (b). A directed segment is end point minus start point, so AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}.

Subtract component by component.

AB=OBOA=(53)i+(42)j=2i6j\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA} = (5 - 3)\mathbf{i} + (-4 - 2)\mathbf{j} = 2\mathbf{i} - 6\mathbf{j}

So OA+OB=8i2j\overrightarrow{OA} + \overrightarrow{OB} = 8\mathbf{i} - 2\mathbf{j} and AB=2i6j\overrightarrow{AB} = 2\mathbf{i} - 6\mathbf{j}. Check part (b) with the triangle law: OA+AB=(3+2)i+(2+(6))j=5i4j=OB\overrightarrow{OA} + \overrightarrow{AB} = (3 + 2)\mathbf{i} + \big(2 + (-6)\big)\mathbf{j} = 5\mathbf{i} - 4\mathbf{j} = \overrightarrow{OB}, exactly as it should be.

Common pitfalls

  • Combining an i\mathbf{i}-component with a j\mathbf{j}-component, the two directions must be kept completely separate.
  • Sign errors when subtracting a negative: 2(4)=62 - (-4) = 6, not 2-2.
  • Writing AB=OAOB\overrightarrow{AB} = \overrightarrow{OA} - \overrightarrow{OB}, which points the wrong way; it is end minus start, OBOA\overrightarrow{OB} - \overrightarrow{OA}.
  • Dropping a term when one component is zero, instead of writing it explicitly.
  • Mixing column-vector and i\mathbf{i}j\mathbf{j} notation midway, which scrambles the bookkeeping.

How a teacher helps

The single step that trips students is the direction of a subtraction, writing OAOB\overrightarrow{OA} - \overrightarrow{OB} when AB\overrightarrow{AB} needs OBOA\overrightarrow{OB} - \overrightarrow{OA}, so the answer comes out with every sign reversed. In one-to-one lessons our teachers give you the fixed phrase 'end minus start' and make you write it beside every directed segment before you touch the numbers.

We stack the i\mathbf{i} parts and j\mathbf{j} parts in separate columns so a 2(4)2 - (-4) can never quietly become 2-2, and we finish with the triangle-law check you saw above. Because SPM Add Math uses analytic marking, setting up OBOA\overrightarrow{OB} - \overrightarrow{OA} correctly already earns method marks even if a sign slips later.

Note that lessons are taught in English, though the SPM paper itself is set bilingually. Every teacher on spmaddmath.com.my is experienced.

Lessons are online, at your own pace.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

What is the difference between a + b and AB?

a+b\mathbf{a} + \mathbf{b} is the resultant of adding two vectors. AB\overrightarrow{AB} is a specific directed segment from AA to BB; when AA and BB are given by position vectors, AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}, which is a subtraction.

How do I subtract one vector from another?

Subtract component by component, or equivalently add the negative: ab=a+(b)\mathbf{a} - \mathbf{b} = \mathbf{a} + (-\mathbf{b}). Take care with signs, subtracting a negative component adds, as in 2(4)=62 - (-4) = 6.

Why is AB equal to OB − OA?

By the triangle law from the origin, OA+AB=OB\overrightarrow{OA} + \overrightarrow{AB} = \overrightarrow{OB}. Rearranging gives AB=OBOA\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA}, the end point minus the start point.

Does the order matter when I add or subtract?

Addition is commutative, so a+b=b+a\mathbf{a} + \mathbf{b} = \mathbf{b} + \mathbf{a}. Subtraction is not: ab\mathbf{a} - \mathbf{b} and ba\mathbf{b} - \mathbf{a} point in opposite directions.

That is why 'end minus start' matters for AB\overrightarrow{AB}.

Source:SRC-DSKP-EN

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply