Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Worked examples · Vectors

Vectors, Worked Examples (easy)

These easy Vectors examples work through four core moves, finding a magnitude from components, writing the unit vector in a direction, adding and subtracting column vectors, and testing when two vectors are parallel with b=ma\mathbf{b}=m\mathbf{a}. Try each on paper first, then check every line against our full solution.

What these examples cover

These easy Vectors examples drill the four moves the whole chapter is built on: finding the magnitude of a vector from its components, writing the unit vector in a given direction, adding and subtracting vectors written as columns, and testing when two vectors are parallel. Every question uses small, clean numbers so you can follow each line by hand, without leaning on a calculator.

Use the set the honest way, cover the solution, attempt the question in full on paper, and only then check line by line against our working. Where your answer differs, hunt for the exact step where the two solutions split; that single line is usually where the real learning sits.

Vectors reward tidy bookkeeping, so line up your i\mathbf{i} and j\mathbf{j} components, or your top and bottom entries, and the marks come steadily.

Worked examples

Work through all four. Attempt each one fully before reading the matching solution, and notice how the same discipline, keep components aligned, take the magnitude out cleanly, and check by an independent route, runs through every question.

Q1[3 marks]

The vector a\mathbf{a} is given by a=3i+4j\mathbf{a}=3\mathbf{i}+4\mathbf{j}. Find (a) the magnitude a|\mathbf{a}|, and (b) the unit vector in the direction of a\mathbf{a}.

Show worked solution

(a) The magnitude is the length of the vector, read from its components with xi+yj=x2+y2|x\mathbf{i}+y\mathbf{j}|=\sqrt{x^{2}+y^{2}}. Here x=3x=3 and y=4y=4:

a=32+42=9+16=25=5|\mathbf{a}|=\sqrt{3^{2}+4^{2}}=\sqrt{9+16}=\sqrt{25}=5

(b) The unit vector in the direction of a\mathbf{a} is a\mathbf{a} divided by its own magnitude, a^=1aa\hat{\mathbf{a}}=\frac{1}{|\mathbf{a}|}\mathbf{a}. Divide each component by 55:

a^=15(3i+4j)=35i+45j\hat{\mathbf{a}}=\frac{1}{5}(3\mathbf{i}+4\mathbf{j})=\frac{3}{5}\mathbf{i}+\frac{4}{5}\mathbf{j}

Answer

a=5|\mathbf{a}|=5 and a^=35i+45j\hat{\mathbf{a}}=\frac{3}{5}\mathbf{i}+\frac{4}{5}\mathbf{j}. Check the unit vector has length 11: (3/5)2+(4/5)2=9/25+16/25=1=1\sqrt{(3/5)^{2}+(4/5)^{2}}=\sqrt{9/25+16/25}=\sqrt{1}=1, as a unit vector must.

Q2[3 marks]

Two vectors are given by a=(21)\mathbf{a}=\binom{2}{-1} and b=(35)\mathbf{b}=\binom{3}{5}. Find (a) 2a+b2\mathbf{a}+\mathbf{b}, and (b) ba\mathbf{b}-\mathbf{a}.

Show worked solution

(a) Multiply a\mathbf{a} by the scalar 22 first, this multiplies each entry, then add the matching entries of b\mathbf{b}:

2a=(42),2a+b=(4+32+5)=(73)2\mathbf{a}=\binom{4}{-2},\qquad 2\mathbf{a}+\mathbf{b}=\binom{4+3}{-2+5}=\binom{7}{3}

(b) Subtract entry by entry, taking care with the double negative in the second row:

ba=(325(1))=(16)\mathbf{b}-\mathbf{a}=\binom{3-2}{5-(-1)}=\binom{1}{6}

Answer

2a+b=(73)2\mathbf{a}+\mathbf{b}=\binom{7}{3} and ba=(16)\mathbf{b}-\mathbf{a}=\binom{1}{6}. Check part (b) by adding a\mathbf{a} back: (16)+(21)=(35)=b\binom{1}{6}+\binom{2}{-1}=\binom{3}{5}=\mathbf{b}, as required.

Q3[3 marks]

The vector a=2i+3j\mathbf{a}=2\mathbf{i}+3\mathbf{j}. A second vector b=6i+kj\mathbf{b}=6\mathbf{i}+k\mathbf{j} is parallel to a\mathbf{a}.

Find the value of kk.

Show worked solution

Two non-zero vectors are parallel exactly when one is a scalar multiple of the other, so b=ma\mathbf{b}=m\mathbf{a} for some number mm. Compare the i\mathbf{i} components to find mm:

6=m(2)    m=36=m(2)\;\Rightarrow\; m=3

The same scalar must work for the j\mathbf{j} components, so k=m(3)k=m(3):

k=3(3)=9k=3(3)=9

Answer

k=9k=9. Then b=6i+9j=3(2i+3j)=3a\mathbf{b}=6\mathbf{i}+9\mathbf{j}=3(2\mathbf{i}+3\mathbf{j})=3\mathbf{a}, which is clearly parallel to a\mathbf{a}.

Q4[4 marks]

The position vectors of points AA and BB are OA=(23)\overrightarrow{OA}=\binom{2}{3} and OB=(811)\overrightarrow{OB}=\binom{8}{11}. Find (a) AB\overrightarrow{AB}, and (b) the distance AB|\overrightarrow{AB}|.

Show worked solution

(a) The vector from AA to BB is the end point's position vector minus the start point's, AB=OBOA\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}:

AB=(82113)=(68)\overrightarrow{AB}=\binom{8-2}{11-3}=\binom{6}{8}

(b) The distance ABAB is the magnitude of AB\overrightarrow{AB}:

AB=62+82=36+64=100=10|\overrightarrow{AB}|=\sqrt{6^{2}+8^{2}}=\sqrt{36+64}=\sqrt{100}=10

Answer

AB=(68)\overrightarrow{AB}=\binom{6}{8} and AB=10|\overrightarrow{AB}|=10. Check part (a) with the triangle law: OA+AB=(23)+(68)=(811)=OB\overrightarrow{OA}+\overrightarrow{AB}=\binom{2}{3}+\binom{6}{8}=\binom{8}{11}=\overrightarrow{OB}, as it should.

Q5[3 marks]

Points PP, QQ and RR are joined so that PQ=2i+5j\overrightarrow{PQ}=2\mathbf{i}+5\mathbf{j} and QR=3i+7j\overrightarrow{QR}=3\mathbf{i}+7\mathbf{j}. Find (a) PR\overrightarrow{PR}, and (b) the distance PRPR.

Show worked solution

(a) The triangle law lets you chain vectors head to tail: going from PP to QQ then QQ to RR is the same as going straight from PP to RR, so PR=PQ+QR\overrightarrow{PR}=\overrightarrow{PQ}+\overrightarrow{QR}. Add the matching components:

PR=(2i+5j)+(3i+7j)=5i+12j\overrightarrow{PR}=(2\mathbf{i}+5\mathbf{j})+(3\mathbf{i}+7\mathbf{j})=5\mathbf{i}+12\mathbf{j}

(b) The distance PRPR is the magnitude of PR\overrightarrow{PR}:

PR=PR=52+122=25+144=169=13PR=|\overrightarrow{PR}|=\sqrt{5^{2}+12^{2}}=\sqrt{25+144}=\sqrt{169}=13

Answer

PR=5i+12j\overrightarrow{PR}=5\mathbf{i}+12\mathbf{j} and PR=13PR=13. 5,12,135,12,13 is a clean Pythagorean triple, a quick sign that the component addition in part (a) was done correctly.

Q6[3 marks]

Points AA and BB have position vectors OA=(26)\overrightarrow{OA}=\binom{2}{6} and OB=(82)\overrightarrow{OB}=\binom{8}{2} relative to the origin OO. MM is the midpoint of ABAB.

Find the position vector OM\overrightarrow{OM}.

Show worked solution

The position vector of the midpoint of a line joining two points is the average of their position vectors, OM=12(OA+OB)\overrightarrow{OM}=\frac{1}{2}(\overrightarrow{OA}+\overrightarrow{OB}). Add the position vectors first:

OA+OB=(26)+(82)=(108)\overrightarrow{OA}+\overrightarrow{OB}=\binom{2}{6}+\binom{8}{2}=\binom{10}{8}

Then halve each component:

OM=12(108)=(54)\overrightarrow{OM}=\frac{1}{2}\binom{10}{8}=\binom{5}{4}

Answer

OM=(54)\overrightarrow{OM}=\binom{5}{4}. Check: AM=OMOA=(32)\overrightarrow{AM}=\overrightarrow{OM}-\overrightarrow{OA}=\binom{3}{-2} and MB=OBOM=(32)\overrightarrow{MB}=\overrightarrow{OB}-\overrightarrow{OM}=\binom{3}{-2}, equal, confirming MM really is halfway between AA and BB.

Q7[3 marks]

Two vectors p=(x+3)i+7j\mathbf{p}=(x+3)\mathbf{i}+7\mathbf{j} and q=9i+(2y1)j\mathbf{q}=9\mathbf{i}+(2y-1)\mathbf{j} are equal vectors. Find the values of xx and yy.

Show worked solution

Two vectors are equal exactly when their i\mathbf{i} components match and their j\mathbf{j} components match. Compare the i\mathbf{i} components first:

x+3=9    x=6x+3=9\;\Rightarrow\; x=6

Now compare the j\mathbf{j} components:

7=2y1    2y=8    y=47=2y-1\;\Rightarrow\; 2y=8\;\Rightarrow\; y=4

Answer

x=6x=6 and y=4y=4. Check by substituting back: p=9i+7j\mathbf{p}=9\mathbf{i}+7\mathbf{j} and q=9i+7j\mathbf{q}=9\mathbf{i}+7\mathbf{j}, the same vector, as required.

Q8[3 marks]

A vector is given by v=xi+8j\mathbf{v}=x\mathbf{i}+8\mathbf{j}, where x>0x>0. Given that v=17|\mathbf{v}|=17, find the value of xx.

Show worked solution

Square both sides of the magnitude formula v=x2+82|\mathbf{v}|=\sqrt{x^{2}+8^{2}} to clear the square root:

172=x2+8217^{2}=x^{2}+8^{2}

Substitute and solve for x2x^{2}, then take the positive square root since x>0x>0:

x2=28964=225    x=15x^{2}=289-64=225\;\Rightarrow\; x=15

Answer

x=15x=15. Check: v=152+82=225+64=289=17|\mathbf{v}|=\sqrt{15^{2}+8^{2}}=\sqrt{225+64}=\sqrt{289}=17, which matches the given magnitude.

Different as they look, these four questions share one habit: keep the components lined up, do one operation at a time, and confirm with a second route. That tidy bookkeeping is what turns Vectors into a dependable block of marks rather than a place for small slips.

Key method points

These four examples rehearse the everyday skills that open almost every Vectors question in Add Math. Keep the following points in mind as you practise more.

  • The magnitude of a vector comes from its components: xi+yj=x2+y2|x\mathbf{i}+y\mathbf{j}|=\sqrt{x^{2}+y^{2}}.
  • The unit vector in a direction is the vector divided by its own magnitude, a^=1aa\hat{\mathbf{a}}=\frac{1}{|\mathbf{a}|}\mathbf{a}; it always has length 11.
  • Scalar multiplication and vector addition act component by component, line up i\mathbf{i} with i\mathbf{i} and j\mathbf{j} with j\mathbf{j}.
  • Two non-zero vectors are parallel exactly when one is a scalar multiple of the other, b=ma\mathbf{b}=m\mathbf{a}.
  • For points, AB=OBOA\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA}, and the distance ABAB is AB|\overrightarrow{AB}|.
  • Because marking is analytic, a clear component or magnitude line can still earn method marks even if the final arithmetic slips.

How a teacher helps

When a student drops a mark on questions like these, it is almost always a small, fixable habit, a sign lost in a subtraction, or the square root taken before the components were squared. In a one-to-one lesson our teacher watches the exact line where the slip happens and corrects it on the spot, before it hardens into a routine.

Because our teachers are experienced, you work with someone who explains the reasoning behind each step, not only the mechanics. Lessons are taught in English, while SPM papers are set in both Malay and English, so we make sure the vector notation reads the same to you in either version.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I find the magnitude of a vector?

Square each component, add the squares, and take the positive square root: xi+yj=x2+y2|x\mathbf{i}+y\mathbf{j}|=\sqrt{x^{2}+y^{2}}. For 3i+4j3\mathbf{i}+4\mathbf{j} this gives 9+16=5\sqrt{9+16}=5.

What makes a vector a unit vector?

A unit vector has magnitude exactly 11. To build one in the direction of a\mathbf{a}, divide a\mathbf{a} by its own magnitude: a^=1aa\hat{\mathbf{a}}=\frac{1}{|\mathbf{a}|}\mathbf{a}.

How can I tell whether two vectors are parallel?

They are parallel when one is a scalar multiple of the other, b=ma\mathbf{b}=m\mathbf{a}. Compare one pair of components to find mm, then check that the same mm works for the other pair.

Why is AB=OBOA\overrightarrow{AB}=\overrightarrow{OB}-\overrightarrow{OA} and not the other way round?

Going from AA to BB is the same as going back to the origin, then out to BB: AB=AO+OB=OA+OB\overrightarrow{AB}=\overrightarrow{AO}+\overrightarrow{OB}=-\overrightarrow{OA}+\overrightarrow{OB}. In short, end point minus start point.

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