Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Worked examples · Vectors

Vectors, Worked Examples (KBAT)

These hard Vectors examples combine ideas, expressing a point that divides a line in a given ratio, solving where two lines meet by equating coefficients of non-parallel a\mathbf{a} and b\mathbf{b}, and turning a magnitude condition into a quadratic. Try each on paper first, then check every line against our full solution.

What these examples cover

These hard Vectors examples ask you to hold a whole diagram in your head: a point that splits a line in a fixed ratio, two lines that cross inside a triangle, and a component vector whose length is pinned to a set value. Each one leans on a single powerful idea, the section route OP=OA+AP\overrightarrow{OP}=\overrightarrow{OA}+\overrightarrow{AP}, the fact that non-parallel a\mathbf{a} and b\mathbf{b} let you equate coefficients, and the magnitude formula turned into an equation.

Attempt each fully on paper before reading the solution, then find the exact step where your working and ours diverge. The numbers stay clean; what is hard is the setup, so slow down there and let the algebra follow.

Every solution ends with an independent check.

Worked examples

Work through all three. These reward a clear diagram and patient setup, once the vectors are named correctly, each calculation is short and fully checkable.

Q1[4 marks]

In triangle OABOAB, OA=a\overrightarrow{OA}=\mathbf{a} and OB=b\overrightarrow{OB}=\mathbf{b}. The point PP lies on ABAB such that AP:PB=1:2AP:PB=1:2.

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

Show worked solution

Reach PP by going from OO to AA, then a fraction of the way along ABAB: OP=OA+AP\overrightarrow{OP}=\overrightarrow{OA}+\overrightarrow{AP}. First write AB\overrightarrow{AB} in terms of a\mathbf{a} and b\mathbf{b}:

AB=OBOA=ba\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}=\mathbf{b}-\mathbf{a}

Since AP:PB=1:2AP:PB=1:2, the point PP is one part along a line split into three, so AP=13AB\overrightarrow{AP}=\tfrac{1}{3}\overrightarrow{AB}:

AP=13(ba)\overrightarrow{AP}=\tfrac{1}{3}(\mathbf{b}-\mathbf{a})

Now add along the route and collect like terms:

OP=a+13(ba)=a13a+13b=23a+13b\overrightarrow{OP}=\mathbf{a}+\tfrac{1}{3}(\mathbf{b}-\mathbf{a})=\mathbf{a}-\tfrac{1}{3}\mathbf{a}+\tfrac{1}{3}\mathbf{b}=\tfrac{2}{3}\mathbf{a}+\tfrac{1}{3}\mathbf{b}

Answer

OP=23a+13b\overrightarrow{OP}=\tfrac{2}{3}\mathbf{a}+\tfrac{1}{3}\mathbf{b}. Check by the other route OP=OB+BP\overrightarrow{OP}=\overrightarrow{OB}+\overrightarrow{BP}: here BP=23BA=23(ab)\overrightarrow{BP}=\tfrac{2}{3}\overrightarrow{BA}=\tfrac{2}{3}(\mathbf{a}-\mathbf{b}), so OP=b+23(ab)=23a+13b\overrightarrow{OP}=\mathbf{b}+\tfrac{2}{3}(\mathbf{a}-\mathbf{b})=\tfrac{2}{3}\mathbf{a}+\tfrac{1}{3}\mathbf{b}, which agrees.

Q2[6 marks]

In triangle OABOAB, OA=a\overrightarrow{OA}=\mathbf{a} and OB=b\overrightarrow{OB}=\mathbf{b}, where a\mathbf{a} and b\mathbf{b} are not parallel. MM is the midpoint of OAOA, and NN lies on OBOB with ON:NB=2:1ON:NB=2:1.

The lines ANAN and BMBM meet at PP, where AP=hAN\overrightarrow{AP}=h\,\overrightarrow{AN} and BP=kBM\overrightarrow{BP}=k\,\overrightarrow{BM}. Find hh and kk.

Show worked solution

First locate MM and NN as vectors from OO: OM=12a\overrightarrow{OM}=\tfrac{1}{2}\mathbf{a}, and since ON:NB=2:1ON:NB=2:1, ON=23b\overrightarrow{ON}=\tfrac{2}{3}\mathbf{b}.

Follow the route OAPO\to A\to P. Using AN=ONOA=23ba\overrightarrow{AN}=\overrightarrow{ON}-\overrightarrow{OA}=\tfrac{2}{3}\mathbf{b}-\mathbf{a}:

OP=a+h ⁣(23ba)=(1h)a+2h3b\overrightarrow{OP}=\mathbf{a}+h\!\left(\tfrac{2}{3}\mathbf{b}-\mathbf{a}\right)=(1-h)\mathbf{a}+\tfrac{2h}{3}\mathbf{b}

Now follow the route OBPO\to B\to P. Using BM=OMOB=12ab\overrightarrow{BM}=\overrightarrow{OM}-\overrightarrow{OB}=\tfrac{1}{2}\mathbf{a}-\mathbf{b}:

OP=b+k ⁣(12ab)=k2a+(1k)b\overrightarrow{OP}=\mathbf{b}+k\!\left(\tfrac{1}{2}\mathbf{a}-\mathbf{b}\right)=\tfrac{k}{2}\mathbf{a}+(1-k)\mathbf{b}

Because a\mathbf{a} and b\mathbf{b} are not parallel, the two expressions for OP\overrightarrow{OP} can only match if their coefficients match. Equate them:

1h=k2and2h3=1k1-h=\tfrac{k}{2}\qquad\text{and}\qquad \tfrac{2h}{3}=1-k

From the first equation k=2(1h)=22hk=2(1-h)=2-2h. Substitute into the second:

2h3=1(22h)=2h1    2h=6h3    4h=3    h=34\tfrac{2h}{3}=1-(2-2h)=2h-1 \;\Rightarrow\; 2h=6h-3 \;\Rightarrow\; 4h=3 \;\Rightarrow\; h=\tfrac{3}{4}
k=22 ⁣(34)=232=12k=2-2\!\left(\tfrac{3}{4}\right)=2-\tfrac{3}{2}=\tfrac{1}{2}

Answer

h=34h=\tfrac{3}{4} and k=12k=\tfrac{1}{2}. Check both routes give the same OP\overrightarrow{OP}: with h=34h=\tfrac{3}{4}, (1h)a+2h3b=14a+12b(1-h)\mathbf{a}+\tfrac{2h}{3}\mathbf{b}=\tfrac{1}{4}\mathbf{a}+\tfrac{1}{2}\mathbf{b}; with k=12k=\tfrac{1}{2}, k2a+(1k)b=14a+12b\tfrac{k}{2}\mathbf{a}+(1-k)\mathbf{b}=\tfrac{1}{4}\mathbf{a}+\tfrac{1}{2}\mathbf{b}.

They agree.

Q3[5 marks]

Given a=(34)\mathbf{a}=\binom{3}{-4} and b=(12)\mathbf{b}=\binom{1}{2}, find the values of the scalar tt for which a+tb=210|\mathbf{a}+t\mathbf{b}|=2\sqrt{10}.

Show worked solution

First write the vector a+tb\mathbf{a}+t\mathbf{b} in components, keeping tt as an unknown:

a+tb=(3+t4+2t)\mathbf{a}+t\mathbf{b}=\binom{3+t}{-4+2t}

The magnitude condition a+tb=210|\mathbf{a}+t\mathbf{b}|=2\sqrt{10} is easier to use once squared, since (210)2=40(2\sqrt{10})^{2}=40. Set the sum of squared components equal to 4040:

(3+t)2+(4+2t)2=40(3+t)^{2}+(-4+2t)^{2}=40

Expand each square carefully and collect terms:

(9+6t+t2)+(1616t+4t2)=5t210t+25=40(9+6t+t^{2})+(16-16t+4t^{2})=5t^{2}-10t+25=40

Bring everything to one side and divide by 55 to get a simple quadratic, then factorise:

5t210t15=0    t22t3=0    (t3)(t+1)=05t^{2}-10t-15=0 \;\Rightarrow\; t^{2}-2t-3=0 \;\Rightarrow\; (t-3)(t+1)=0

Answer

t=3t=3 or t=1t=-1. Check both: at t=3t=3, a+3b=(62)\mathbf{a}+3\mathbf{b}=\binom{6}{2} with 36+4=40=210\sqrt{36+4}=\sqrt{40}=2\sqrt{10}; at t=1t=-1, ab=(26)\mathbf{a}-\mathbf{b}=\binom{2}{-6} with 4+36=40=210\sqrt{4+36}=\sqrt{40}=2\sqrt{10}.

Both satisfy the condition.

Q4[4 marks]

In triangle OABOAB, OA=a\overrightarrow{OA}=\mathbf{a} and OB=b\overrightarrow{OB}=\mathbf{b}. Point CC lies on OAOA such that OC:CA=2:1OC:CA=2:1, and point DD lies on OBOB such that OD:DB=2:1OD:DB=2:1.

Show that CD\overrightarrow{CD} is parallel to AB\overrightarrow{AB}, and state the ratio CD:ABCD:AB.

Show worked solution

Since OC:CA=2:1OC:CA=2:1, point CC is 23\tfrac{2}{3} of the way from OO to AA; the same fraction places DD on OBOB. Write both as vectors from OO:

OC=23aOD=23b\overrightarrow{OC}=\tfrac{2}{3}\mathbf{a}\qquad \overrightarrow{OD}=\tfrac{2}{3}\mathbf{b}

Find CD\overrightarrow{CD} by subtracting, and compare it with AB=ba\overrightarrow{AB}=\mathbf{b}-\mathbf{a}:

CD=ODOC=23b23a=23(ba)=23AB\overrightarrow{CD}=\overrightarrow{OD}-\overrightarrow{OC}=\tfrac{2}{3}\mathbf{b}-\tfrac{2}{3}\mathbf{a}=\tfrac{2}{3}(\mathbf{b}-\mathbf{a})=\tfrac{2}{3}\overrightarrow{AB}

Answer

CD=23AB\overrightarrow{CD}=\tfrac{2}{3}\overrightarrow{AB}, so CDCD is parallel to ABAB with ratio CD:AB=2:3CD:AB=2:3. This matches OC:OA=OD:OB=2:3OC:OA=OD:OB=2:3, exactly as expected when a segment joins two sides in the same ratio from a shared vertex.

Q5[5 marks]

In triangle ABCABC, AB=(53)\overrightarrow{AB}=\binom{5}{-3} and BC=(27)\overrightarrow{BC}=\binom{-2}{7}. Find CA\overrightarrow{CA}, and hence find the unit vector in the direction of CA\overrightarrow{CA}.

Show worked solution

Travelling ABCAA\to B\to C\to A returns to the start, so the three displacement vectors sum to the zero vector. Use this to isolate CA\overrightarrow{CA}:

AB+BC+CA=0    CA=(AB+BC)=[(53)+(27)]=(34)=(34)\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CA}=\mathbf{0}\;\Rightarrow\;\overrightarrow{CA}=-\left(\overrightarrow{AB}+\overrightarrow{BC}\right)=-\left[\binom{5}{-3}+\binom{-2}{7}\right]=-\binom{3}{4}=\binom{-3}{-4}

Now find the magnitude of CA\overrightarrow{CA} and divide by it to get a unit vector:

CA=(3)2+(4)2=25=5    CA^=15(34)|\overrightarrow{CA}|=\sqrt{(-3)^{2}+(-4)^{2}}=\sqrt{25}=5\;\Rightarrow\;\hat{\mathbf{CA}}=\dfrac{1}{5}\binom{-3}{-4}

Answer

CA=(34)\overrightarrow{CA}=\binom{-3}{-4} and the unit vector in its direction is (3/54/5)\binom{-3/5}{-4/5}. Check: AB+BC+CA=(5233+74)=(00)\overrightarrow{AB}+\overrightarrow{BC}+\overrightarrow{CA}=\binom{5-2-3}{-3+7-4}=\binom{0}{0}, confirming the path closes.

Q6[5 marks]

Points AA, BB and CC have position vectors OA=(12)\overrightarrow{OA}=\binom{1}{2}, OB=(53)\overrightarrow{OB}=\binom{5}{3} and OC=(67)\overrightarrow{OC}=\binom{6}{7} relative to the origin OO. Given that ABCDABCD is a parallelogram, find the position vector of DD.

Show worked solution

In parallelogram ABCDABCD, the opposite sides ABAB and DCDC are equal and parallel, so AB=DC\overrightarrow{AB}=\overrightarrow{DC}. First find AB\overrightarrow{AB}:

AB=OBOA=(53)(12)=(41)\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}=\binom{5}{3}-\binom{1}{2}=\binom{4}{1}

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

OD=OCAB=(67)(41)=(26)\overrightarrow{OD}=\overrightarrow{OC}-\overrightarrow{AB}=\binom{6}{7}-\binom{4}{1}=\binom{2}{6}

Answer

DD has position vector (26)\binom{2}{6}. Check with the diagonals: the midpoint of ACAC is (1+62,2+72)=(3.5,4.5)\left(\tfrac{1+6}{2},\tfrac{2+7}{2}\right)=(3.5,4.5), and the midpoint of BDBD is (5+22,3+62)=(3.5,4.5)\left(\tfrac{5+2}{2},\tfrac{3+6}{2}\right)=(3.5,4.5), the diagonals of a parallelogram bisect each other, so this agrees.

Q7[6 marks]

The vector OA=pi+qj\overrightarrow{OA}=p\mathbf{i}+q\mathbf{j} is parallel to 3i+4j3\mathbf{i}+4\mathbf{j} and has magnitude 2020 units. Find the possible values of pp and qq.

Show worked solution

Because OA\overrightarrow{OA} is parallel to 3i+4j3\mathbf{i}+4\mathbf{j}, it must be a scalar multiple of it: OA=k(3i+4j)\overrightarrow{OA}=k(3\mathbf{i}+4\mathbf{j}) for some scalar kk, so p=3kp=3k and q=4kq=4k.

OA=k(3i+4j)=3ki+4kj\overrightarrow{OA}=k(3\mathbf{i}+4\mathbf{j})=3k\mathbf{i}+4k\mathbf{j}

Use the magnitude condition, noting 3i+4j=32+42=5|3\mathbf{i}+4\mathbf{j}|=\sqrt{3^{2}+4^{2}}=5, to find kk:

OA=k32+42=5k=20    k=4    k=4 or k=4|\overrightarrow{OA}|=|k|\sqrt{3^{2}+4^{2}}=5|k|=20\;\Rightarrow\;|k|=4\;\Rightarrow\;k=4\text{ or }k=-4

Answer

k=4k=4 gives p=12, q=16p=12,\ q=16; k=4k=-4 gives p=12, q=16p=-12,\ q=-16. Check: 122+162=400=20\sqrt{12^{2}+16^{2}}=\sqrt{400}=20, so both pairs satisfy the magnitude condition.

Q8[4 marks]

Points LL, MM and NN have position vectors OL=(21)\overrightarrow{OL}=\binom{2}{1}, OM=(54)\overrightarrow{OM}=\binom{5}{4} and ON=(1110)\overrightarrow{ON}=\binom{11}{10}. Show that LL, MM and NN are collinear, and state the ratio LM:MNLM:MN.

Show worked solution

Three points are collinear when the vector between two of them is a scalar multiple of the vector between another pair sharing a common point. Find LM\overrightarrow{LM} and MN\overrightarrow{MN}:

LM=OMOL=(54)(21)=(33)MN=ONOM=(1110)(54)=(66)\overrightarrow{LM}=\overrightarrow{OM}-\overrightarrow{OL}=\binom{5}{4}-\binom{2}{1}=\binom{3}{3}\qquad \overrightarrow{MN}=\overrightarrow{ON}-\overrightarrow{OM}=\binom{11}{10}-\binom{5}{4}=\binom{6}{6}

Compare the two vectors:

MN=(66)=2(33)=2LM\overrightarrow{MN}=\binom{6}{6}=2\binom{3}{3}=2\overrightarrow{LM}

Answer

MN=2LM\overrightarrow{MN}=2\overrightarrow{LM}, so MNMN is parallel to LMLM; since they share the point MM, LL, MM and NN lie on one straight line, with LM:MN=1:2LM:MN=1:2. Check: all three points satisfy y=x1y=x-1 (e.g. 10=11110=11-1), confirming they lie on the same line.

Across all three, the difficulty lives in the setup, not the arithmetic: name every vector from a fixed origin, use a ratio to fix the fraction along a line, and remember that non-parallel base vectors are what let you equate coefficients. Get the diagram and the definitions right, and even a six-mark question resolves into a couple of clean lines.

Key method points

These hard examples show how the whole chapter combines under exam conditions. Keep these anchors in mind.

  • Reach any point by a route from a fixed origin: OP=OA+AP\overrightarrow{OP}=\overrightarrow{OA}+\overrightarrow{AP}.
  • A ratio AP:PB=1:2AP:PB=1:2 means PP is 13\tfrac{1}{3} of the way along ABAB, so AP=13AB\overrightarrow{AP}=\tfrac{1}{3}\overrightarrow{AB}.
  • When a\mathbf{a} and b\mathbf{b} are not parallel, two expressions in a\mathbf{a} and b\mathbf{b} are equal only if their coefficients match, equate them.
  • A magnitude condition becomes an equation once squared: set x2+y2x^{2}+y^{2} equal to the square of the given length.
  • Squaring a magnitude often gives a quadratic, so expect up to two valid values of the unknown.
  • Confirm a point's vector by a second route, and confirm a magnitude by substituting each value back.

How a teacher helps

Hard vector questions rarely fail on the algebra; they fail on the setup, a ratio turned into the wrong fraction, or two lines whose coefficients were never actually equated. In a one-to-one lesson our teacher builds the diagram with you, names each vector from the origin, and shows you where the single decisive idea lives before any calculation starts.

Because our teachers are experienced, you are guided through the reasoning that makes six-mark questions feel routine. Lessons are taught in English, while SPM papers are set in both Malay and English, so the notation reads the same to you in either version.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How does a ratio like AP:PB=1:2AP:PB=1:2 become a fraction of AB\overrightarrow{AB}?

Add the ratio parts for the whole: 1+2=31+2=3. The point PP is 11 part from AA, so AP=13AB\overrightarrow{AP}=\tfrac{1}{3}\overrightarrow{AB}.

Then OP=OA+13AB\overrightarrow{OP}=\overrightarrow{OA}+\tfrac{1}{3}\overrightarrow{AB}.

Why can I equate coefficients of a\mathbf{a} and b\mathbf{b}?

When a\mathbf{a} and b\mathbf{b} are non-parallel, no combination of them is accidentally equal to another unless the amounts of a\mathbf{a} match and the amounts of b\mathbf{b} match. That gives you two equations to solve.

Why does a magnitude question end in a quadratic?

Magnitude uses squares: xi+yj2=x2+y2|x\mathbf{i}+y\mathbf{j}|^{2}=x^{2}+y^{2}. When a component contains the unknown tt, squaring produces a t2t^{2} term, so the equation is quadratic and can have two solutions.

Should I keep both answers to the quadratic?

Keep every value that satisfies the original condition. Here both t=3t=3 and t=1t=-1 give magnitude 2102\sqrt{10}, so both are valid.

Discard a value only if the question restricts tt (for example, t>0t>0).

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