A position vector says where a point is, as a move from the origin. The vector between two points is the end minus the start. The midpoint is the mean of two position vectors. A point that divides a line in a ratio is found with a fraction of the vector along the line.
about 25 min1 simulation1 practice question
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
This lesson and the next two are Extended content.
Where is a point?
A point is a place. You can reach it from the origin O by one move. That move is the position vector of the point. If A is the point (3,4), then
OA=(43).
The components of a position vector are the coordinates of the point. We often name a position vector with the small letter of the point: OA=a and OB=b.
The vector from A to B
A grid with x from minus 1 to 9 and y from minus 1 to 10. The origin O, the point A(6, 1) and the point B(0, 7) are marked. A blue arrow a runs from O to A and a red arrow b runs from O to B. A green arrow runs from A to B. The midpoint M(3, 4) and the point P(2, 5), two thirds of the way from A to B, are marked on the green arrow.
How do we find AB when we know a and b? Travel from A to B by way of the origin. First go from A back to O, which is −a. Then go from O to B, which is b.
AB=AO+OB=−a+b=b−a.
So the vector from A to B is the position vector of the end minus the position vector of the start. This is the same rule as "end minus start" for coordinates. The picture shows A(6,1) and B(0,7): AB=(7−10−6)=(6−6).
The midpoint
Let M be the midpoint of AB. Then AM=21AB, and
OM=OA+21AB=a+21(b−a)=21(a+b).
The position vector of the midpoint is the mean of the two position vectors. For A(6,1) and B(0,7) it is 21(86)=(43).
A point that divides a line in a ratio
Suppose P lies on the line AB and AP:PB=2:1. Then AP is 2 parts out of 3 along the line. So AP=32AB, and
OP=a+32(b−a)=31a+32b.
For A(6,1) and B(0,7) this gives P=31(6,1)+32(0,7)=(2,5).
In general, if AP:PB=m:n, then AP=m+nmAB. You may have met the section formula with coordinates in the coordinate geometry chapter. This is the same idea, written with vectors.
Do not confuse the two numbers. In AP:PB=2:1 the point P is nearer to B, because AP is the longer part.
Directed line segments in a diagram
In a diagram, an arrow along a line shows which way a vector goes. A line segment with an arrowhead is a directed line segment. Two arrows are the same vector if they are parallel, equally long and point the same way. If the arrows point opposite ways, one vector is the negative of the other.
When you read a diagram, write down every vector you can see before you start. Mark the ratio on a side, such as "AP:PB=2:1", and turn it into a fraction of the whole side: AP=32AB.
Practise with new numbers
Try it in Python
The program uses exact fractions. It finds AB, the midpoint of AB and the point P with AP:PB=2:1. Then it checks that AP is twice PB.
Common mistakes
Using start minus end.AB is b−a, not a−b.
Turning the ratio the wrong way. If AP:PB=2:1, then AP is 32 of AB, not 31.
Dividing by the wrong total. Parts in the ratio 2:3 make 5 parts. The fraction is 52.
Forgetting to add OA. The vector AP goes from A. To get OP, add a.
Remember these
OA=a is the position vector of A. Its components are the coordinates of A.
AB=b−a.
The midpoint M of AB has OM=21(a+b).
If AP:PB=m:n, then AP=m+nmAB.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
OA=(52) and OB=(−16). Find AB.
Find the position vector of the midpoint of A(−2,3) and B(6,7).
P lies on AB with AP:PB=1:3. Write AP as a fraction of AB.
Extended.A is (0,1) and B is (12,7). P lies on AB with AP:PB=1:2. Find P.
Extended. The point M is the midpoint of AB. OM=(43) and OA=(71). Find OB.
References
Cambridge International, IGCSE Mathematics 0580 syllabus (2025, 2026 and 2027), Extended section 7.4 Vector geometry, parts 1 and 2 (directed line segments and position vectors).
Enroll free in Vector Geometry
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.