MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Upper Secondary
MathematicsUpper Secondary

Position vectors and midpoints

U3 — Geometry Advanced › U3.4 — VectorsLecture 4 of 5~2720 words

Two people, two starting points, one journey

Here is a puzzle about where you measure from.

Ana and Kofi are drawing the same park on squared paper. Ana measures everything from the fountain, which she calls O. Kofi measures everything from the gate, which he calls Q. The gate is 8 squares right of the fountain and 1 square up.

There are two benches, A and B. Ana writes the arrow from the fountain to bench A as , and the arrow to bench B as . Kofi measures from the gate, so his arrows are different: to bench A and to bench B.

OQABAB
The park on squared paper. Ana measures from O (teal arrows). Kofi measures from Q (dashed grey arrows). The thick arrow is the walk from bench A to bench B.

Their numbers for the benches do not match at all. So who is right? And if a gardener walks from bench A to bench B, will Ana and Kofi describe that walk in the same way, or in two different ways?

Decide before you read on.

A point's address: the position vector

Both of them are right. Each of them has chosen a starting point, and every arrow is measured from it. In mathematics, the starting point is called the origin, written O. On a coordinate grid, the origin is the point (0, 0).

Once an origin is chosen, every point P has exactly one arrow from O to P. That arrow is called the position vector of P. It is written , or with the matching small bold letter, . So the position vector of A is , the position vector of B is , and so on.

Position vector

The position vector of a point P is the vector from the origin O to P: .

If O is (0, 0) and P is the point , then .

The numbers are the coordinates because getting from (0, 0) to means moving across and up.

Notice how the two are written. A point is a place, written in a row: P(3, 5). A vector is a movement, written in a column: . The numbers are the same, but they answer different questions: "where?" and "how do I get there from O?"

Ana and Kofi chose different origins, so their position vectors are different. Neither is wrong. A position vector always depends on the origin, which is why every question that uses them says what O is.

The journey does not depend on the origin

Now the gardener's walk. In the lecture on adding and subtracting vectors, you found the arrow between two points by a route: back from A to O, then out from O to B.

That lecture gave one condition: both arrows must start at the same point. Position vectors meet that condition by definition, because every position vector starts at O. So with position vectors, always works. It is "finish minus start", written with vectors.

Ana uses her vectors:

Kofi uses his: across and up.

The same answer. The walk is 4 squares right and 3 squares up, whoever measures it. Its length is squares.

Here is the reason. Kofi's origin is 8 right and 1 up from Ana's, so each of his position vectors is Ana's vector minus . When he subtracts one from another, the two copies of cancel. Only the difference between the two points is left.

That is it. That is the whole idea. Position vectors describe where things are, and they depend on your origin. Differences of position vectors describe how things are related, and they do not. So you may choose any origin that makes your working easy. Every fact about the shape will come out the same.

Stop and think

Ana says, "The position vector of B is , so B is 5 squares right and 5 squares up from A." Is she right?

Show the answer

No. is the movement from O to B, not from A to B. From A to B is . A position vector always starts at the origin. To go between two other points, subtract.

Halfway along a line

The last lecture ended with a promise: to use the scalar to find the middle of a line. Here it is.

M is the midpoint of AB. To find , build a route from O to M out of arrows you know. Go from O to A: that is . Then go half of the journey from A to B. The journey is , so half of it is the scalar multiple .

OABMabm½(b − a)
To reach the midpoint M, go from O to A, then half of the way from A to B. Here a = (7, 1) and b = (1, 5), so m = ½(a + b) = (4, 3).

Add the two parts of the route, then tidy up:

The midpoint

If M is the midpoint of AB, then .

The position vector of the midpoint is the average of the position vectors of the two ends.

This is sensible: the number halfway between 4 and 10 is their average, . The midpoint averages the across numbers and the up numbers at the same time.

Starting from B and walking halfway back towards A gives , which tidies up to the same answer, as it must.

Now return to the park. With Ana's origin, the midpoint of the benches is . Kofi gets a different vector, 5 left and 2.5 up. But his arrow starts at the gate, (8, 1), so it also lands on (3, 3.5). Two origins, one midpoint.

This is the midpoint formula from coordinate geometry, , written as one vector. The vector form has one advantage: it also works with letters instead of numbers. The next lecture depends on that.

Any point along the line

The midpoint is halfway. But the same route reaches any point on the line. To go one third of the way from A to B, go to A, then add of the journey:

Try it in the explorer. Slide P along the line and watch the numbers in front of and .

Explore — a point that slides from A to B

Choose two points A and B. Then slide P from A to B, one twelfth at a time. Watch the fraction, the ratio and the position vector of P.

Points:

This table keeps A(1, 2) and B(5, 5), so a = (1, 2) and b = (5, 5), and puts P at five places along AB.

Fraction of the wayAP : PBp
0P is at A1a + 0b
= (1, 2)
⅓1 : 2⅔a + ⅓b
≈ (2.33, 3)
½1 : 1½a + ½b
= (3, 3.5)
¾3 : 1¼a + ¾b
= (4, 4.25)
1P is at B0a + 1b
= (5, 5)

In every row the two numbers in front of a and b add up to 1, and the end that P is closer to has the bigger number.

You should have seen three things. The two numbers in front of and always add up to 1. When P is close to A, the number in front of is the bigger one. And only halfway are they equal.

The second fact surprises many students. At one third of the way, : P is closer to A, and has the bigger share. Think of a see-saw with A on one end and B on the other. If A is heavier, the balance point sits closer to A. The numbers in front of and work like weights, so is a weighted average of and . The midpoint is the case where both weights are .

Dividing a line in a ratio

Questions often describe the point with a ratio instead of a fraction. "P divides AB in the ratio 2 : 3" means that AP : PB = 2 : 3. This is the hard part of the lecture. Spend time here.

Turn the ratio into a fraction first. The ratio 2 : 3 cuts the line into equal parts. AP is 2 of those parts, so P is of the way from A to B. Then use the route:

Look where the numbers went. The ratio is 2 : 3, but the weight on is and the weight on is . They have swapped places. That is the see-saw again: AP is the shorter part, so P is closer to A, and A carries the bigger weight.

Dividing a line in a ratio

If P divides AB in the ratio , so that AP : PB = , then P is of the way from A to B, and

You do not need to carry this formula around. It is only the route, go to A and then the right fraction of the way towards B, tidied up.

The working below makes the most common mistake with ratios. Find the line where it goes wrong.

Spot the error — dividing a line in the ratio 3 : 1

A is (2, 1) and B is (10, 5). P divides AB in the ratio 3 : 1. Tap the line where the working first goes wrong.

The working below finds the point P that divides AB in the ratio 3 : 1, with A(2, 1) and B(10, 5). One line is wrong.

  1. AP : PB = 3 : 1, so AB is cut into 3 + 1 = 4 equal parts. (Correct.)
  2. AP is 3 of the 4 parts, so P is ¾ of the way from A to B. (Correct.)
  3. So p = ¾a + ¼b. (The error.) The ¾ belongs with the journey, not with a: p = a + ¾(b − a) = ¼a + ¾b.
  4. p = ¾(2, 1) + ¼(10, 5) = (1.5, 0.75) + (2.5, 1.25) = (4, 2). (The arithmetic is right, but it uses the wrong weights.)
  5. So P is the point (4, 2). (Wrong, because of line 3.)

The correct answer is p = ¼(2, 1) + ¾(10, 5) = (8, 4). P is closer to B, so b carries the bigger weight. The wrong answer, (4, 2), is closer to A.

Before you trust any ratio answer, ask which end P should be closer to, and check that end has the bigger weight.

Worked examples

Worked Example 1 — Vectors between three points

A, B and C have position vectors , and . Find , and .

Think first. Each one is "finish minus start". Put every negative number in a bracket before you subtract.

Check. A to B, then B to C, then C to A is a round trip that ends where it started. So the three vectors must add up to the zero vector: . ✓

Worked Example 2 — A ratio with numbers

A is (−1, 4) and B is (9, −1). P divides AB in the ratio 2 : 3. Find the coordinates of P.

Think first. AP : PB = 2 : 3, so P is of the way from A to B. P is closer to A.

, so .

. So P is the point (3, 2).

Check. . So PB is parallel to AP and 1.5 times as long, and 2 : 3 = 1 : 1.5. ✓ The weights agree too: . ✓

Worked Example 3 — The midpoint with letters only

OABC is a quadrilateral, with O as the origin. , and . M is the midpoint of OC. Find (a) the position vector of M, and (b) , in terms of , and .

Think first. Careful: here is the arrow from A to B, not the position vector of B. Read the question's labels, not your habits.

(a) Walk from O to C along the sides: . M is halfway from O to C, and O is the origin, so .

(b) is finish minus start: .

Check. In the unit square, , , , so C is (0, 1) and M should be (0, 0.5). The formula gives exactly that. ✓

Worked Example 4 — The fourth corner of a parallelogram

ABCD is a parallelogram, lettered in order round the shape. A is (1, 1), B is (5, 2) and C is (6, 6). Find D.

Think first. In a parallelogram, opposite sides are equal and parallel. So , which means .

Rearrange: . So D is (2, 5).

Check. and . Equal. ✓ Something else appears too. The midpoint of AC is , and the midpoint of BD is . The two diagonals have the same midpoint. Is that true for every parallelogram? The next lecture proves it.

Three traps

Trap 1 — Halving the journey instead of finding the place

The midpoint of AB is not . That is half of the journey from A to B, an arrow that starts at A. The position vector of the midpoint starts at O: . Ask yourself where your arrow starts.

Trap 2 — Putting the ratio's numbers on the wrong vectors

If AP : PB = 1 : 2, then , not . P is nearer A, so A carries the bigger weight. Build the route, , and the weights come out right by themselves.

Trap 3 — Start minus finish

, finish minus start. Writing gives , the same length but the opposite direction. If you are unsure, check with one easy pair of points, such as A(0, 0) and B(1, 0).

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. A has position vector and B has position vector . Find the coordinates of the midpoint of AB, and the exact length of AB.

    Hint 1

    The midpoint is the average of and . The length comes from .

    Hint 2

    . Use Pythagoras, and bracket the negative numbers when you square them.

    Full answer

    , so the midpoint is (1, 4). , so . Check: the midpoint is from A, and . ✓

  2. M is the midpoint of AB. A has position vector and M has position vector . Find the position vector of B.

    Hint 1

    Start from and rearrange for .

    Hint 2

    Multiply both sides by 2: . Or think of a route: from A to M, then the same again.

    Full answer

    . By the route: , and going the same again from M gives . ✓ Check: . ✓

  3. A is (4, −2) and B is (12, 6). P divides AB in the ratio 1 : 3. Find P, and say which end it is closer to.

    Hint 1

    The ratio 1 : 3 makes 4 equal parts. How many of them is AP?

    Hint 2

    P is of the way from A to B: .

    Full answer

    , so . P is (6, 0), closer to A. In weights, : A carries the bigger weight. Check: and , so AP : PB = 1 : 3. ✓

  4. A stretch. A median of a triangle is the line from a corner to the midpoint of the opposite side. In triangle ABC, M is the midpoint of BC, and G is the point of the way from A to M. (a) Show that . (b) Explain why the same point G lies of the way along the other two medians as well. (c) Find G when A is (0, 0), B is (6, 0) and C is (3, 9).

    Hint 1

    Write first. Then .

    Hint 2

    For (b), look at the answer to (a). Would it change if you started from B instead of A?

    Full answer

    (a) . So .

    (b) The answer treats , and in exactly the same way. Start from B instead, and the same working gives , which is the same vector. So the point of the way along each median is the same point. All three medians pass through it. This point is called the centroid. A triangle cut from card balances on a pin at its centroid.

    (c) . Check along the median from A: M is (4.5, 4.5), and . ✓

The bigger idea

Position vectors turn places into things you can add and scale. Once a point is a vector, "halfway", "one third of the way" and "the balance point of a triangle" become averages, and averages are simple to calculate. Nothing here needed a drawing to be accurate.

The same weighted average moves things on a screen. When an animation slides a character from one place to another, it calculates the in-between positions as , with growing from 0 to 1: the explorer above, run many times a second. The next lecture uses position vectors, midpoints and the parallel test to prove facts about every triangle and parallelogram, without measuring anything.

Key concepts in this lesson