Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Worked examples · Vectors

Vectors, Worked Examples (medium)

These medium Vectors examples take you one layer deeper, building a vector of a given magnitude in a set direction, solving for the scalars in ha+kbh\mathbf{a}+k\mathbf{b}, and using parallel vectors to make three points collinear. Try each on paper first, then check every line against our full solution.

What these examples cover

These medium Vectors examples move past single-step arithmetic into the reasoning SPM rewards most: scaling a unit vector to a required length, matching components to solve for two unknown scalars at once, and using the parallel condition to force three points onto one straight line. The numbers are still clean, but each question now asks you to hold two ideas together.

Use the set the same disciplined way, cover the solution, attempt the whole question on paper, and only then check line by line. When your answer differs, find the precise step where the two solutions part; that is where a medium question quietly teaches you the habit that makes the hard ones feel routine.

Keep components aligned and always finish with a substitution check.

Worked examples

Work through all three. Attempt each one fully before reading the solution, and watch how a unit vector, a pair of simultaneous equations, and the parallel condition each turn a wordy question into a short, checkable calculation.

Q1[4 marks]

The vector p=(86)\mathbf{p}=\binom{-8}{6}. Find (a) the magnitude p|\mathbf{p}| and the unit vector p^\hat{\mathbf{p}}, and (b) the vector of magnitude 2020 in the direction of p\mathbf{p}.

Show worked solution

(a) First take the magnitude from the components, then divide p\mathbf{p} by it to get the unit vector:

p=(8)2+62=64+36=100=10|\mathbf{p}|=\sqrt{(-8)^{2}+6^{2}}=\sqrt{64+36}=\sqrt{100}=10
p^=110(86)=(4535)\hat{\mathbf{p}}=\frac{1}{10}\binom{-8}{6}=\binom{-\tfrac{4}{5}}{\tfrac{3}{5}}

(b) A vector of magnitude 2020 in the same direction is 2020 times the unit vector, a unit vector points the way, and the scalar sets the length:

20p^=20(4535)=(1612)20\,\hat{\mathbf{p}}=20\binom{-\tfrac{4}{5}}{\tfrac{3}{5}}=\binom{-16}{12}

Answer

p=10|\mathbf{p}|=10, p^=(4/53/5)\hat{\mathbf{p}}=\binom{-4/5}{3/5}, and the required vector is (1612)\binom{-16}{12}. Check its magnitude: (16)2+122=256+144=400=20\sqrt{(-16)^{2}+12^{2}}=\sqrt{256+144}=\sqrt{400}=20, exactly as asked.

Q2[4 marks]

Given a=(21)\mathbf{a}=\binom{2}{1} and b=(13)\mathbf{b}=\binom{-1}{3}, find the scalars hh and kk such that ha+kb=(70)h\mathbf{a}+k\mathbf{b}=\binom{7}{0}.

Show worked solution

Write the combination out and match the top and bottom components separately. This turns one vector equation into two ordinary equations:

h(21)+k(13)=(2hkh+3k)=(70)h\binom{2}{1}+k\binom{-1}{3}=\binom{2h-k}{\,h+3k\,}=\binom{7}{0}

So 2hk=72h-k=7 and h+3k=0h+3k=0. The second equation gives h=3kh=-3k; substitute it into the first:

2(3k)k=7    7k=7    k=12(-3k)-k=7 \;\Rightarrow\; -7k=7 \;\Rightarrow\; k=-1

Then h=3k=3(1)=3h=-3k=-3(-1)=3.

Answer

h=3h=3 and k=1k=-1. Check by substituting back: 3(21)1(13)=(63)+(13)=(70)3\binom{2}{1}-1\binom{-1}{3}=\binom{6}{3}+\binom{1}{-3}=\binom{7}{0}, as required.

Q3[4 marks]

The points A(1,2)A(1,2), B(3,5)B(3,5) and C(7,k)C(7,k) are collinear. Find the value of kk.

Show worked solution

Three points are collinear when the vectors along the line are parallel. Form AB\overrightarrow{AB} and BC\overrightarrow{BC} as position-vector differences:

AB=(3152)=(23),BC=(73k5)=(4k5)\overrightarrow{AB}=\binom{3-1}{5-2}=\binom{2}{3},\qquad \overrightarrow{BC}=\binom{7-3}{k-5}=\binom{4}{k-5}

Because AA, BB, CC lie on one line and share the point BB, we need BC=mAB\overrightarrow{BC}=m\,\overrightarrow{AB}. Compare the top components to find mm:

4=m(2)    m=24=m(2)\;\Rightarrow\; m=2

Apply the same mm to the bottom components:

k5=m(3)=2(3)=6    k=11k-5=m(3)=2(3)=6 \;\Rightarrow\; k=11

Answer

k=11k=11. Check with AC=(71112)=(69)=3(23)=3AB\overrightarrow{AC}=\binom{7-1}{11-2}=\binom{6}{9}=3\binom{2}{3}=3\,\overrightarrow{AB}; since AC\overrightarrow{AC} is parallel to AB\overrightarrow{AB} through AA, the three points are collinear.

Q4[4 marks]

The points AA and BB have position vectors OA=(14)\overrightarrow{OA}=\binom{1}{4} and OB=(166)\overrightarrow{OB}=\binom{16}{-6} relative to the origin OO. The point PP lies on ABAB such that AP:PB=2:3AP:PB=2:3.

Find the position vector of PP.

Show worked solution

PP divides ABAB in the ratio AP:PB=2:3AP:PB=2:3, so PP is 25\tfrac{2}{5} of the way from AA to BB. Use the ratio theorem:

OP=OA+25AB,AB=OBOA=(166)(14)=(1510)\overrightarrow{OP}=\overrightarrow{OA}+\tfrac{2}{5}\overrightarrow{AB}, \qquad \overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}=\binom{16}{-6}-\binom{1}{4}=\binom{15}{-10}

Substitute and simplify:

OP=(14)+25(1510)=(14)+(64)=(70)\overrightarrow{OP}=\binom{1}{4}+\tfrac{2}{5}\binom{15}{-10}=\binom{1}{4}+\binom{6}{-4}=\binom{7}{0}

Answer

OP=(70)\overrightarrow{OP}=\binom{7}{0}, so PP is the point (7,0)(7,0). Check: AP=(64)\overrightarrow{AP}=\binom{6}{-4} and PB=(96)=32AP\overrightarrow{PB}=\binom{9}{-6}=\tfrac{3}{2}\overrightarrow{AP}, confirming AP:PB=2:3AP:PB=2:3.

Q5[3 marks]

In triangle OABOAB, OA=a\overrightarrow{OA}=\mathbf{a} and OB=b\overrightarrow{OB}=\mathbf{b}. The point NN lies on OBOB such that ON:NB=1:2ON:NB=1:2.

Express AN\overrightarrow{AN} in terms of a\mathbf{a} and b\mathbf{b}.

Show worked solution

Since ON:NB=1:2ON:NB=1:2, point NN is 13\tfrac13 of the way along OBOB from OO, so:

ON=13OB=13b\overrightarrow{ON}=\tfrac13\overrightarrow{OB}=\tfrac13\mathbf{b}

To get from AA to NN, go from AA to OO (reversing a\mathbf{a}) and then from OO to NN:

AN=AO+ON=a+13b=13ba\overrightarrow{AN}=\overrightarrow{AO}+\overrightarrow{ON}=-\mathbf{a}+\tfrac13\mathbf{b}=\tfrac13\mathbf{b}-\mathbf{a}

Answer

AN=13ba\overrightarrow{AN}=\tfrac13\mathbf{b}-\mathbf{a}. As a check, the same vector can be reached via AN=ONOA=13ba\overrightarrow{AN}=\overrightarrow{ON}-\overrightarrow{OA}=\tfrac13\mathbf{b}-\mathbf{a}, the identical result from a different pair of legs.

Q6[4 marks]

ABCDABCD is a parallelogram with A(2,1)A(2,1), B(7,3)B(7,3) and C(9,8)C(9,8). Find the coordinates of DD.

Show worked solution

In parallelogram ABCDABCD, side ABAB is parallel and equal to side DCDC, so AB=DC\overrightarrow{AB}=\overrightarrow{DC}. Find AB\overrightarrow{AB} first:

AB=(7231)=(52)\overrightarrow{AB}=\binom{7-2}{3-1}=\binom{5}{2}

Since DC=OCOD\overrightarrow{DC}=\overrightarrow{OC}-\overrightarrow{OD} must equal AB\overrightarrow{AB}, solve for OD\overrightarrow{OD}:

OD=OCAB=(98)(52)=(46)\overrightarrow{OD}=\overrightarrow{OC}-\overrightarrow{AB}=\binom{9}{8}-\binom{5}{2}=\binom{4}{6}

Answer

D=(4,6)D=(4,6). Check: the midpoint of diagonal ACAC is (2+92,1+82)=(5.5,4.5)\left(\tfrac{2+9}{2},\tfrac{1+8}{2}\right)=(5.5,4.5), and the midpoint of diagonal BDBD is (7+42,3+62)=(5.5,4.5)\left(\tfrac{7+4}{2},\tfrac{3+6}{2}\right)=(5.5,4.5) too, the diagonals bisect each other, confirming ABCDABCD is a parallelogram.

Q7[3 marks]

Given a=4i3j\mathbf{a}=4\mathbf{i}-3\mathbf{j} and b=12i+9j\mathbf{b}=-12\mathbf{i}+9\mathbf{j}, show that a\mathbf{a} and b\mathbf{b} are parallel, and find b|\mathbf{b}|.

Show worked solution

Write b\mathbf{b} as a scalar multiple of a\mathbf{a} by comparing coefficients of i\mathbf{i} and j\mathbf{j}:

b=12i+9j=3(4i3j)=3a\mathbf{b}=-12\mathbf{i}+9\mathbf{j}=-3(4\mathbf{i}-3\mathbf{j})=-3\mathbf{a}

Because b\mathbf{b} is a scalar multiple of a\mathbf{a}, the two vectors are parallel (the negative scalar means they point in opposite directions). Their magnitudes are then in the ratio 3:13:1:

a=42+(3)2=25=5,b=3a=3(5)=15|\mathbf{a}|=\sqrt{4^{2}+(-3)^{2}}=\sqrt{25}=5, \qquad |\mathbf{b}|=3|\mathbf{a}|=3(5)=15

Answer

b=3a\mathbf{b}=-3\mathbf{a}, so a\mathbf{a} and b\mathbf{b} are parallel, and b=15|\mathbf{b}|=15. Check directly: b=(12)2+92=144+81=225=15|\mathbf{b}|=\sqrt{(-12)^{2}+9^{2}}=\sqrt{144+81}=\sqrt{225}=15, matching.

Q8[4 marks]

A hiker walks from camp PP to a checkpoint QQ with displacement vector (125)\binom{12}{5} km, then from QQ to the destination RR with displacement vector (37)\binom{-3}{7} km. Find (a) the displacement vector PR\overrightarrow{PR}, and (b) the direct distance from PP to RR.

Show worked solution

(a) The direct path from PP to RR is the sum of the two legs (triangle law of vector addition):

PR=PQ+QR=(125)+(37)=(912)\overrightarrow{PR}=\overrightarrow{PQ}+\overrightarrow{QR}=\binom{12}{5}+\binom{-3}{7}=\binom{9}{12}

(b) The direct distance is the magnitude of this resultant vector:

PR=92+122=81+144=225=15|\overrightarrow{PR}|=\sqrt{9^{2}+12^{2}}=\sqrt{81+144}=\sqrt{225}=15

Answer

PR=(912)\overrightarrow{PR}=\binom{9}{12} km and the direct distance is 1515 km, a 9-12-159\text{-}12\text{-}15 triple (three times 3-4-53\text{-}4\text{-}5), a quick way to confirm the arithmetic.

Notice the shared engine across the three: a unit vector carries direction so a scalar can set length; matching components turns a vector equation into simultaneous equations; and the parallel condition b=ma\mathbf{b}=m\mathbf{a} is exactly what pins points onto a line. Recognise which one a question is really asking for, and the working shortens fast.

Key method points

These medium examples connect the basic moves into short chains of reasoning. Keep these points to hand as the questions grow.

  • To build a vector of a set magnitude in a direction, scale the unit vector: (length)×a^\text{(length)}\times\hat{\mathbf{a}}.
  • Matching components turns one vector equation into two equations, solve them as a normal simultaneous pair.
  • Three points are collinear when the joining vectors are parallel, BC=mAB\overrightarrow{BC}=m\,\overrightarrow{AB}.
  • Find the scalar mm from one component, then apply the very same mm to the other.
  • Always close with a substitution or magnitude check, it is a fast, independent confirmation.
  • Because marking is analytic, laying out the component equations clearly earns method marks even if a later step slips.

How a teacher helps

Medium questions are where a student either builds real fluency or quietly develops a blind spot, solving for one scalar and forgetting the second, or checking only one component of a parallel condition. In a one-to-one lesson our teacher watches how you set the work out and steadies the exact step that wobbles, so the method becomes automatic under exam pressure.

Because our teachers are experienced, you learn the reasoning, not just a recipe. Lessons are taught in English, while SPM papers are set in both Malay and English, so the vector notation reads the same to you either way.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I make a vector with a specific magnitude in a given direction?

Find the unit vector in that direction, then multiply it by the magnitude you want. For p\mathbf{p} with p=10|\mathbf{p}|=10, a length-2020 vector is 20p^=(1612)20\hat{\mathbf{p}}=\binom{-16}{12}.

Why does matching components work for ha+kb=ch\mathbf{a}+k\mathbf{b}=\mathbf{c}?

Two vectors are equal only when their top components match and their bottom components match. That gives two equations in hh and kk, which you solve simultaneously.

How do I show that three points are collinear?

Form two vectors along the line, such as AB\overrightarrow{AB} and BC\overrightarrow{BC}. If BC=mAB\overrightarrow{BC}=m\,\overrightarrow{AB} for one scalar mm that works for both components, the points lie on a single straight line.

Do I have to check both components when finding the unknown?

Yes. Use one component to get mm, but the answer is only valid if the same mm also satisfies the other component.

A quick AC\overrightarrow{AC} check confirms it.

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