Write any vector in a figure in terms of two given vectors by following a route along sides you know: in a triangle, at a point that divides a line in a given ratio, and in parallelograms, trapeziums and regular hexagons.
Before you start
In Lesson 5.4 you added vectors by the triangle law: going from A to B and then from B to C ends in the same place as going straight from A to C, so AB+BC=AC. In Lesson 5.2 you saw that going from B to A is the reverse of going from A to B, so BA=−AB, the negative of AB.
In Lesson 5.5 you multiplied a vector by a scalar: ka (k≠0) is parallel to a and k times as long (k taken without its sign), and points the opposite way when k is negative. Vectors are simplified like algebra: expand brackets and collect like terms.
For example, if AB=a and BC=2b, then AC=a+2b and CA=−a−2b.
Routes in a Figure
In many figures only two vectors are given, such as OA=a and OB=b, and they are not parallel. Every other vector joining two points of the figure can then be written in terms of a and b: as multiples of a and b added together, such as b−a or 53a+52b.
The method is the triangle law, used as many times as needed. To get from one point to another, go along a route of lines whose vectors you know. A step along an arrow, from its start to its end, adds its vector. A step against an arrow, from its end back to its start, subtracts it.
Writing a vector as a route
To write XY in terms of two given vectors:
1. Choose a route from X to Y along lines whose vectors you know.
2. Write the vector of each step: +a for a step along an arrow a, and −a for a step against it.
3. Add the steps and simplify. Write the term in the first vector before the term in the second, as 53a+52b; but −a+b is usually written b−a, so that it does not start with a minus sign.
Every route from X to Y gives the same vector, so a second route is a check.
Example 1: A side of a triangle
This is the triangle of Lesson 5.4, where you found BA; it is recapped here as a route. OAB is a triangle with OA=a and OB=b. Find AB and BA in terms of a and b.
Solution
There is no arrow from A to B, so go round through O: from A to O, then from O to B.
The step from A to O goes against the arrow a, so AO=−a. The step from O to B goes along the arrow b.
AB=AO+OB=−a+b=b−a
BA is the negative of AB:BA=−(b−a)=a−b.
Check by the route from B to O to A:BA=BO+OA=−b+a=a−b.
AB=b−a and BA=a−b
Two vectors from one point
When OA=a and OB=b start at the same point, AB=b−a: the vector to the end of the route minus the vector to its start. You first found this in Lesson 5.4, in triangle OAB. It is also the rule AB=OB−OA of Lesson 5.6, seen in a figure.
A Point That Divides a Line in a Ratio
Suppose P is a point on AB with AP:PB=2:3. The ratio compares the two parts of the line with each other: AP is 2 parts and PB is 3 parts of the same size. So the whole of AB is 2+3=5 equal parts, and AP is 2 of the 5:AP=52AB and PB=53AB.
AP points the same way as AB, so the same fraction holds for the vectors: AP=52AB. On your sketch, mark the line in 5 equal parts and read the fraction from it.
A point dividing a line in a ratio
If P lies on AB with AP:PB=m:n, then AB is made of m+n equal parts, and
AP=m+nmAB and PB=m+nnAB.
The midpointM of AB divides it in the ratio 1:1, so AM=MB=21AB.
To find the vector from another point to P, such as OP, use a route through A or B.
Example 2: A point on a side in the ratio 2 : 3
OAB is a triangle with OA=a and OB=b. The point P lies on AB with AP:PB=2:3. Find, in terms of a and b, (a) AB, (b) AP, (c) OP.
Solution
(a) Route from A to O to B:AB=−a+b=b−a.
(b) AB is 2+3=5 equal parts and AP is 2 of them, so AP=52AB=52(b−a).
(c) Route from O to A to P:OP=OA+AP=a+52(b−a).
Expand the bracket and collect the terms in a:OP=a+52b−52a=53a+52b.
Check by the route from O to B to P.BP is 3 of the 5 parts of BA=a−b, so OP=b+53(a−b)=53a+52b. The two routes agree.
P is nearer to A than to B, and OP has more of a than of b: a quick sign that the fractions are the right way round.
(a) AB=b−a (b) AP=52(b−a) (c) OP=53a+52b
Parallelograms and Trapeziums
Two sides of a figure that are parallel, equal in length and go the same way have equal vectors. A figure's shape therefore gives more vectors than the two that are named.
In a parallelogramOABC, opposite sides are parallel and equal in length. OA (from O to A) and CB (from C to B) point the same way, so CB=OA; in the same way AB=OC.
A trapezium has one pair of parallel sides. If CB is parallel to OA, points the same way and is twice as long, then CB=2OA.
Example 3: A parallelogram with a midpoint
OABC is a parallelogram with OA=a and OC=c.M is the midpoint of AB. Find, in terms of a and c, (a) OB, (b) AC, (c) OM, (d) CM.
Solution
The second vector is called c here because it runs along OC. Opposite sides of a parallelogram are equal and parallel, so AB=OC=c and CB=OA=a.
(a) OB=OA+AB=a+c
(b) AC=AO+OC=−a+c=c−a
(c) M is halfway along AB, so AM=21AB=21c, and OM=OA+AM=a+21c.
(d) Route from C to B to M.BM is half of BA=−c, so BM=−21c and CM=CB+BM=a−21c.
Check (d) by the route from C to O to M:CM=−c+a+21c=a−21c.
(a) a+c (b) c−a (c) a+21c (d) a−21c
Example 4: A trapezium
OABC is a trapezium with OA=a,OC=c and CB=2a, and N is the midpoint of CB. Find, in terms of a and c, (a) OB, (b) AB, (c) AN.
Solution
(a) Route from O to C to B:OB=c+2a=2a+c.
(b) Route from A to O to C to B:AB=−a+c+2a=a+c.
Check by the route from A to O to B, using (a): AB=−a+(2a+c)=a+c.
(c) N is halfway along CB, so CN=21(2a)=a. Route from A to O to C to N:AN=−a+c+a=c.
AN=c=OC, so AN is parallel to OC and the same length. Lesson 5.8 uses facts like this, read from the vectors, to prove things about figures.
(a) 2a+c (b) a+c (c) c
Regular Hexagons
A regular hexagon has six equal sides and six equal angles. It is made of six equilateral triangles that meet at its centre, and that gives two facts about its vectors.
Vectors in a regular hexagon ABCDEF
Opposite sides are parallel and equal in length. Going round the hexagon they point opposite ways: DE=−AB,EF=−BC and FA=−CD.
Each long diagonal, through the centre, is parallel to two of the sides and twice as long: AD=2BC,BE=2CD and FC=2AB.
Why a long diagonal is twice a side: let X be the centre. ABCX has four equal sides (two sides of the hexagon and two sides of the equilateral triangles), so it is a rhombus, and AX=BC. In the same way BCDX is a rhombus and XD=BC. So AD=AX+XD=2BC.
Example 5: A regular hexagon
ABCDEF is a regular hexagon with AB=a and BC=b. Find, in terms of a and b, (a) AC, (b) AD, (c) CD, (d) AE.
Solution
(a) AC=AB+BC=a+b
(b) The long diagonal AD is parallel to BC, points the same way and is twice as long: AD=2b.
(c) Route from C to A to D:CD=CA+AD=−(a+b)+2b=−a+b=b−a.
(d) DE is opposite AB, so DE=−a. Route from A to D to E:AE=2b−a.
Check (d) by another route, from A to F to E.FE is opposite BC and, going from F to E, points the same way as BC, so FE=b; and AF=−FA=CD=b−a. So AE=(b−a)+b=2b−a.
(a) a+b (b) 2b (c) b−a (d) 2b−a
Common Mistakes
Writing AB=a−b when OA=a and OB=b. Follow the route: AB=AO+OB=−a+b=b−a. A step against an arrow takes a minus sign.
Taking AP=32AB when AP:PB=2:3. The ratio compares the two parts with each other, not a part with the whole: AB is 2+3=5 parts, so AP=52AB.
Adding lengths instead of vectors. AC=AB+BC is a sum of vectors, but the length of AC is not the length of AB plus the length of BC unless B lies on the line segment AC, between A and C. Write each step as a vector, with its direction, never as a number.
Multiplying only the first term of a bracket: 52(b−a)=52b−52a, not 52b−a.
Giving a side the wrong sign. In a regular hexagon ABCDEF,DE is parallel to AB but points the other way: DE=−AB, not AB.
Practice Questions
Give each answer in terms of the vectors named in the question, simplified. Try each question before you open its solution.
Question 1
OPQ is a triangle with OP=p and OQ=q. Find PQ and QP in terms of p and q.
ShowHide solution
Route from P to O to Q:PQ=PO+OQ=−p+q=q−p.
QP=−PQ=p−q.
PQ=q−p and QP=p−q
Question 2
The point P lies on AB with AP:PB=3:1, and AB=12c. Find AP,PB and BP in terms of c.
ShowHide solution
AB is 3+1=4 equal parts.
AP=43×12c=9c and PB=41×12c=3c.
BP goes the other way: BP=−3c.
Check: AP+PB=9c+3c=12c=AB.
AP=9c,PB=3c,BP=−3c
Question 3
OAB is a triangle with OA=a and OB=b. The point Q lies on AB with AQ:QB=1:3. Find, in terms of a and b, (a) AQ, (b) OQ.
ShowHide solution
(a) AB=b−a, and AB is 1+3=4 equal parts, so AQ=41(b−a).
(b) OQ=OA+AQ=a+41b−41a=43a+41b.
Check by the route from O to B to Q:BQ=43(a−b), so OQ=b+43a−43b=43a+41b.
(a) AQ=41(b−a) (b) OQ=43a+41b
Question 4
OAB is a triangle with OA=4a and OB=6b, and M is the midpoint of AB. Find, in terms of a and b, (a) AB, (b) AM, (c) OM.
ShowHide solution
(a) AB=AO+OB=−4a+6b=6b−4a
(b) AM=21AB=21(6b−4a)=3b−2a
(c) OM=OA+AM=4a+3b−2a=2a+3b
Check by the route from O to B to M:BM=21BA=21(4a−6b)=2a−3b, so OM=6b+2a−3b=2a+3b.
(a) 6b−4a (b) 3b−2a (c) 2a+3b
Question 5
OABC is a parallelogram with OA=a and OC=c. The point P lies on CB with CP:PB=1:2. Find, in terms of a and c, (a) OP, (b) AP.
ShowHide solution
In the parallelogram, CB=OA=a and AB=OC=c.
(a) CB is 1+2=3 equal parts, so CP=31a, and OP=OC+CP=c+31a=31a+c.
(b) AP=AO+OP=−a+31a+c=−32a+c, written c−32a.
Check (b) by the route from A to B to P:BP=32BC=−32a, so AP=c−32a.
(a) OP=31a+c (b) AP=c−32a
Question 6
ABCD is a trapezium in which AB is parallel to DC and three times as long. AB=3p and AD=q. Find, in terms of p and q, (a) DC, (b) BD, (c) BC.
ShowHide solution
(a) DC is parallel to AB, points the same way and is a third as long: DC=31(3p)=p.
(b) Route from B to A to D:BD=−3p+q=q−3p.
(c) Route from B to D to C:BC=q−3p+p=q−2p.
(a) p (b) q−3p (c) q−2p
Question 7
A garden is in the shape of a regular hexagon PQRSTU. Along two of its edges, PQ=a and QR=b. A straight path runs across the garden from U to R. Find, in terms of a and b, (a) ST, (b) PS, (c) RS, (d) UR, the path.
ShowHide solution
(a) ST is opposite PQ and points the other way: ST=−a.
(b) PS is a long diagonal, parallel to QR and twice as long: PS=2b.
(c) Route from R to P to S:RS=−(a+b)+2b=b−a.
(d) UR is the long diagonal parallel to PQ, and twice as long: UR=2a.
Check (d) by the route from U to P to Q to R.UP is opposite RS, so UP=−(b−a)=a−b, and UR=(a−b)+a+b=2a.
(a) −a (b) 2b (c) b−a (d) 2a
Question 8
A park is in the shape of a parallelogram OABC, with its gate at O. From the gate, OA=a and OC=c. A fountain F stands on the straight path AC, with AF:FC=1:3. Find, in terms of a and c, (a) AC, (b) BF, the vector from the corner B to the fountain.
ShowHide solution
(a) Route from A to O to C:AC=−a+c=c−a.
(b) AC is 1+3=4 equal parts, so AF=41(c−a).
OABC is a parallelogram, so AB=OC=c, and BA=−c.
Route from B to A to F:BF=BA+AF=−c+41c−41a=−41a−43c.
Check by the route from B to C to F:BC=−a and CF=43CA=43(a−c), so BF=−a+43a−43c=−41a−43c.
(a) AC=c−a (b) BF=−41a−43c
Question 9
OAB is a triangle with OA=a and OB=b.P lies on OA with OP:PA=2:1, and Q lies on AB with AQ:QB=1:2. Find PQ in terms of a and b. What do you notice about your answer?
ShowHide solution
OA is 2+1=3 equal parts and PA is 1 of them: PA=31a.
AB is 1+2=3 equal parts and AQ is 1 of them: AQ=31(b−a).
Route from P to A to Q:PQ=31a+31b−31a=31b.
The terms in a cancel. PQ=31b=31OB, a scalar multiple of OB: so PQ is parallel to OB and a third as long (Lesson 5.5). Lesson 5.8 uses this way of showing lines parallel.
PQ=31b:PQ is parallel to OB and a third of its length.
Question 10
ABC is a triangle with AB=p and BC=q, and M is the midpoint of AC. Find, in terms of p and q, (a) AC, (b) AM, (c) BM.
ShowHide solution
Here the two given vectors do not start at the same point, but the method is the same.
(a) AC=AB+BC=p+q
(b) AM=21AC=21(p+q)
(c) Route from B to A to M:BM=−p+21p+21q=−21p+21q=21(q−p).
Check (c) by the route from B to C to M:CM=−21(p+q), so BM=q−21p−21q=21(q−p).
(a) p+q (b) 21(p+q) (c) 21(q−p)
Question 11
O is the origin, OA=a=(105) and OB=b=(5−5). The point P lies on AB with AP:PB=2:3. (a) Express OP in terms of a and b. (b) Find OP as a column vector, and the coordinates of P.
ShowHide solution
(a) As in Example 2: AP=52(b−a), so OP=a+52(b−a)=53a+52b.
(b) 53a=53(105)=(63) and 52b=52(5−5)=(2−2).
OP=(63)+(2−2)=(81), so P is the point (8,1).
Check with the columns: AB=(5−5)−(105)=(−5−10) and 52AB=(−2−4). Moving from A(10,5) by this vector reaches (8,1).
(a) OP=53a+52b (b) OP=(81), and P is (8,1).
Key Points
To write a vector in terms of two given vectors, follow a route along lines whose vectors you know: add a vector for a step along its arrow, and subtract it for a step against its arrow.
If OA=a and OB=b, then AB=b−a and BA=a−b.
If AP:PB=m:n, the line is m+n equal parts and AP=m+nmAB. For the midpoint M,AM=21AB.
Find a vector such as OP by a route, OA+AP, then expand and collect like terms.
Sides that are parallel, equal in length and point the same way have equal vectors: in a parallelogram OABC,CB=OA and AB=OC.
In a regular hexagon ABCDEF,DE=−AB (opposite sides), and AD=2BC (a long diagonal is twice the side it is parallel to).
Every route between two points gives the same vector: use a second route as a check.
Home Campus has lessons for Primary 3 to Secondary 4, and practice questions with worked solutions and worksheets for Primary 3 to Secondary 2.
Register free to practise and keep track of progress.
This lesson follows the Singapore Secondary 4 syllabus and was checked question by question before it was published.
Spotted a mistake? Tell us.