Position vectors and distances

A level Maths (Edexcel) · Edexcel 9MA0 · P10.4 · Pure mathematics › Vectors

Unlimited generated questions on this topic, at up to four difficulty levels, with full mark schemes. Notes and Full packs are open to everyone. Practice needs a free account.

Or take a quick quiz: 13 questions on this subtopic in A level Maths (Edexcel), marked as you tap.

Revision notes

The position vector of a point \(A\) is \(\overrightarrow{OA} = \mathbf{a}\), its vector from the origin. The vector from \(A\) to \(B\) is \(\mathbf{b} - \mathbf{a}\), and the distance between the points is its magnitude. You use this to find distances, midpoints, points that divide a line segment in a ratio, missing vertices of shapes, and side lengths and angles of triangles.

Key facts

  • \(\overrightarrow{OA} = \mathbf{a}\) (position vector of \(A\))
  • \(\overrightarrow{AB} = \mathbf{b} - \mathbf{a}\)
  • Distance \(AB = |\mathbf{b} - \mathbf{a}|\)
    \(= \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\)
  • 3D distance: add \((z_2 - z_1)^2\) under the square root
  • Midpoint: \(\dfrac{1}{2}(\mathbf{a} + \mathbf{b})\)
  • \(AP : PB = m : n\): \(\overrightarrow{OP} = \mathbf{a} + \dfrac{m}{m + n}(\mathbf{b} - \mathbf{a})\)
  • Parallelogram \(ABCD\): \(\mathbf{d} = \mathbf{a} + \mathbf{c} - \mathbf{b}\)
  • Cosine rule: \(c^2 = a^2 + b^2 - 2ab\cos C\)

Notes

Position vectors

  • Relative to a fixed origin \(O\), the position vector of \(A(x, y)\) is \(\mathbf{a} = \overrightarrow{OA} = x\mathbf{i} + y\mathbf{j}\)
  • In 3D, \(A(x, y, z)\) has position vector \(x\mathbf{i} + y\mathbf{j} + z\mathbf{k}\)
  • \[\begin{aligned}\overrightarrow{AB} &= \overrightarrow{AO} + \overrightarrow{OB} \\ &= \mathbf{b} - \mathbf{a}\end{aligned}\]

Distances

  • The distance \(AB\) is \(|\mathbf{b} - \mathbf{a}|\). For \(A(1, 2)\) and \(B(4, 6)\): \(\mathbf{b} - \mathbf{a} = 3\mathbf{i} + 4\mathbf{j}\), so \(AB = \sqrt{9 + 16} = 5\)
  • In 3D, for \(A(1, 2, 3)\) and \(B(2, 4, 5)\): \(\mathbf{b} - \mathbf{a} = \mathbf{i} + 2\mathbf{j} + 2\mathbf{k}\), so \(AB = \sqrt{1 + 4 + 4} = 3\)
  • Leave distances as exact surds unless asked for a decimal.

Special points

diagram
  • Midpoint: \(\overrightarrow{OM} = \dfrac{1}{2}(\mathbf{a} + \mathbf{b})\), which is the average of the coordinates.
  • \(P\) divides \(AB\) in the ratio \(m : n\): start at \(A\) and go \(\dfrac{m}{m + n}\) of the way to \(B\)
  • OABPabmn
    \(\overrightarrow{OP} = \mathbf{a} + \dfrac{m}{m + n}(\mathbf{b} - \mathbf{a})\): start at \(A\) and go \(\dfrac{m}{m + n}\) of the way to \(B\)
  • Parallelogram \(ABCD\) (vertices in order): \(\overrightarrow{AB} = \overrightarrow{DC}\) and \(\overrightarrow{AD} = \overrightarrow{BC}\)
  • ABCDABDCADBC
    In parallelogram \(ABCD\), opposite sides are equal vectors: \(\overrightarrow{AB} = \overrightarrow{DC}\) and \(\overrightarrow{AD} = \overrightarrow{BC}\)

Triangles

  • Find the three side lengths with the distance formula. Two equal sides show the triangle is isosceles; \(a^2 + b^2 = c^2\) shows a right angle.
  • Find an angle with the cosine rule, \(\cos C = \dfrac{a^2 + b^2 - c^2}{2ab}\), and the area with \(\dfrac{1}{2}ab\sin C\)

How to answer each type of question

M = method mark, A = answer mark, B = a mark on its own.

Find the distance between two points

3 marksGrade C
  1. Find the vector between the points: end minus start.
  2. Square the components, add and take the square root.

Example. The points \(A\) and \(B\) have coordinates \((2, -1)\) and \((-4, 7)\). Find \(\overrightarrow{AB}\) and the distance \(AB\)

Show the model answerHide the model answer
\(\overrightarrow{AB} = \mathbf{b} - \mathbf{a} = -6\mathbf{i} + 8\mathbf{j}\)
M1 A1
\(AB = \sqrt{36 + 64} = 10\)
A1

Find a point that divides a line segment

3 marksGrade C
  1. Find \(\overrightarrow{AB}\)
  2. Turn the ratio into a fraction of the whole segment: \(1 : 2\) means \(\dfrac{1}{3}\) of the way.
  3. Add that fraction of \(\overrightarrow{AB}\) to \(\mathbf{a}\)

Example. \(A\) and \(B\) have position vectors \(\mathbf{i} + 4\mathbf{j} - 2\mathbf{k}\) and \(7\mathbf{i} - 2\mathbf{j} + 10\mathbf{k}\). The point \(P\) lies on \(AB\) with \(AP : PB = 1 : 2\).
Find the position vector of \(P\)

Show the model answerHide the model answer
\(\overrightarrow{AB} = 6\mathbf{i} - 6\mathbf{j} + 12\mathbf{k}\)
M1
\[\begin{aligned}[b]\overrightarrow{OP} &= \mathbf{a} + \frac{1}{3}\overrightarrow{AB} \\ &= (\mathbf{i} + 4\mathbf{j} - 2\mathbf{k}) \\ &\phantom{=}\;{}+ (2\mathbf{i} - 2\mathbf{j} + 4\mathbf{k})\end{aligned}\]
M1
\(= 3\mathbf{i} + 2\mathbf{j} + 2\mathbf{k}\)
A1

Find a missing vertex of a parallelogram

2 marksGrade B
  1. Use the order of the letters: in \(ABCD\), \(\overrightarrow{AD} = \overrightarrow{BC}\)
  2. Add the known side vector to the position vector of the starting vertex.

Example. \(ABCD\) is a parallelogram, with its vertices in that order. \(A\), \(B\) and \(C\) have coordinates \((1, 2)\), \((4, 3)\) and \((6, 0)\).
Find the coordinates of \(D\)

Show the model answerHide the model answer
\(\overrightarrow{AD} = \overrightarrow{BC} = 2\mathbf{i} - 3\mathbf{j}\), so \(\mathbf{d} = \mathbf{a} + \overrightarrow{BC}\)
M1
\(D\) is \((3, -1)\)
A1

Find an angle in a triangle

4 marksGrade A
  1. Find the three vectors along the sides of the triangle.
  2. Find the three side lengths.
  3. Use the cosine rule for the angle required (the side opposite it goes after the minus sign).

Example. The points \(P\), \(Q\) and \(R\) have coordinates \((1, 0, 2)\), \((3, 4, 1)\) and \((-1, 2, 5)\).
Find the size of angle \(QPR\), giving your answer to 1 decimal place.

Show the model answerHide the model answer
\(\overrightarrow{PQ} = 2\mathbf{i} + 4\mathbf{j} - \mathbf{k}\), \(\overrightarrow{PR} = -2\mathbf{i} + 2\mathbf{j} + 3\mathbf{k}\), \(\overrightarrow{QR} = -4\mathbf{i} - 2\mathbf{j} + 4\mathbf{k}\)
M1
\(PQ = \sqrt{21}\), \(PR = \sqrt{17}\), \(QR = 6\)
A1
\(\cos QPR = \dfrac{21 + 17 - 36}{2\sqrt{21}\sqrt{17}}\)
M1
Angle \(QPR = 87.0^\circ\)
A1

Don’t lose marks

  • Finding \(\mathbf{a} - \mathbf{b}\) for \(\overrightarrow{AB}\): the distance is the same, but the vector points the wrong way.
  • Writing the midpoint as \(\dfrac{1}{2}(\mathbf{b} - \mathbf{a})\): that is half of \(\overrightarrow{AB}\), not a position vector.
  • Going \(\dfrac{1}{2}\) of the way for a ratio \(1 : 2\) instead of \(\dfrac{1}{3}\)
  • Squaring negative differences wrongly in the distance formula.

More tips

Memory tricks

  • 'End minus start' for any vector between two points.
  • Midpoint: average each coordinate.
  • Parallelogram check: after finding \(D\), confirm that \(\overrightarrow{DC} = \overrightarrow{AB}\)
  • The order of the letters matters: \(ABCD\) means \(A\) to \(B\) to \(C\) to \(D\) round the shape.

Exam technique

  • Show the vector between the points before its magnitude: it is usually a method mark.
  • Give coordinates when asked for a point, and a vector when asked for a position vector.
  • The scalar (dot) product is not part of A level Mathematics: angles come from side lengths and the cosine rule.

What each grade needs

What you need to be able to do, from the first marks up to the top grade.

  1. Grade E
    Write the position vector of a pointThe point \((3, -1)\) has position vector \(3\mathbf{i} - \mathbf{j}\)
  2. Grade D
    Find the vector between two points\(\overrightarrow{AB} = \mathbf{b} - \mathbf{a}\): subtract the start from the end.
  3. Grade C
    Find the distance between two points\[AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\]
  4. Grade C
    Find a midpoint or dividing point\(\overrightarrow{OM} = \dfrac{1}{2}(\mathbf{a} + \mathbf{b})\); for \(AP : PB = m : n\), \(\overrightarrow{OP} = \mathbf{a} + \dfrac{m}{m + n}(\mathbf{b} - \mathbf{a})\)
  5. Grade B
    Find a missing vertex of a parallelogramUse equal opposite sides: in \(ABCD\), \(\overrightarrow{AD} = \overrightarrow{BC}\), so \(\mathbf{d} = \mathbf{a} + \mathbf{c} - \mathbf{b}\)
  6. Grade A
    Find angles in a triangle from coordinatesFind all three side lengths, then use the cosine rule.
  7. Grade A
    Find unknown coordinates from a distanceForm an equation from the distance squared and solve it, usually a quadratic.

Sample questions

Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.

Question 1Easy6 marks
Relative to a fixed origin \(O\), the points \(A\) and \(B\) have position vectors\[\overrightarrow{OA} = -4\mathbf{i} + 4\mathbf{j}, \qquad \overrightarrow{OB} = -6\mathbf{i} - 6\mathbf{j}\]respectively.
(a) Find \(\overrightarrow{AB}\).
[2]
(b) Find the exact distance \(AB\), giving your answer as a simplified surd where appropriate.
[2]
(c) Find the position vector of the midpoint of \(AB\).
[2]
Show the answer and mark scheme
(a) Answer: \(\overrightarrow{AB} = -2\mathbf{i} - 10\mathbf{j}\)
  • M1 for \(\overrightarrow{OB} - \overrightarrow{OA}\) with at least one component correct
  • A1 for \(-2\mathbf{i} - 10\mathbf{j}\)

Worked solution: \(\overrightarrow{AB} = \overrightarrow{OB} - \overrightarrow{OA} = (-6 + 4)\mathbf{i} + (-6 - 4)\mathbf{j} = -2\mathbf{i} - 10\mathbf{j}\)

(b) Answer: \(AB = 2\sqrt{26}\)
  • M1 for \(\sqrt{(-2)^2 + (-10)^2}\)
  • A1ft for \(2\sqrt{26}\) (follow through their \(\overrightarrow{AB}\))

Worked solution: \(AB = |\overrightarrow{AB}| = \sqrt{(-2)^2 + (-10)^2} = \sqrt{104} = 2\sqrt{26}\)

(c) Answer: \(-5\mathbf{i} - \mathbf{j}\)
  • M1 for \(\tfrac{1}{2}(\overrightarrow{OA} + \overrightarrow{OB})\) or \(\overrightarrow{OA} + \tfrac{1}{2}\overrightarrow{AB}\)
  • A1 for \(-5\mathbf{i} - \mathbf{j}\)

Worked solution: \(\tfrac{1}{2}(\overrightarrow{OA} + \overrightarrow{OB}) = \tfrac{1}{2}(-10\mathbf{i} - 2\mathbf{j}) = -5\mathbf{i} - \mathbf{j}\)

Question 2Medium8 marks
Relative to a fixed origin \(O\), the points \(A\), \(B\) and \(C\) have position vectors\[\overrightarrow{OA} = -\mathbf{i} + 4\mathbf{j} - 5\mathbf{k}, \qquad \overrightarrow{OB} = -4\mathbf{i} + 5\mathbf{j} - 6\mathbf{k}, \qquad \overrightarrow{OC} = \mathbf{j} - 6\mathbf{k}\]respectively.
(a) Show that triangle \(ABC\) is isosceles.
[3]
(b) Find the position vector of the point \(D\) such that \(ABCD\) is a parallelogram.
[2]
(c) Find the exact area of triangle \(ABC\).
[3]
Show the answer and mark scheme
(a) Answer: \(AB = AC = \sqrt{11}\) (and \(BC = 4\sqrt{2}\)), so the triangle is isosceles.
  • M1 for finding at least two of \(\overrightarrow{AB} = -3\mathbf{i} + \mathbf{j} - \mathbf{k}\), \(\overrightarrow{AC} = \mathbf{i} - 3\mathbf{j} - \mathbf{k}\), \(\overrightarrow{BC} = 4\mathbf{i} - 4\mathbf{j}\)
  • M1 for finding the lengths \(AB\) and \(AC\) (or \(BC\))
  • A1* for \(AB = AC = \sqrt{11}\) and a conclusion

Worked solution: \(\overrightarrow{AB} = -3\mathbf{i} + \mathbf{j} - \mathbf{k} \Rightarrow AB = \sqrt{(-3)^2 + 1^2 + (-1)^2} = \sqrt{11}\)
\(\overrightarrow{AC} = \mathbf{i} - 3\mathbf{j} - \mathbf{k} \Rightarrow AC = \sqrt{1^2 + (-3)^2 + (-1)^2} = \sqrt{11}\)
\(\overrightarrow{BC} = 4\mathbf{i} - 4\mathbf{j} \Rightarrow BC = \sqrt{4^2 + (-4)^2 + 0^2} = \sqrt{32} = 4\sqrt{2}\)
Two sides are equal, so triangle \(ABC\) is isosceles.

(b) Answer: \(\overrightarrow{OD} = 3\mathbf{i} - 5\mathbf{k}\)
  • M1 for \(\overrightarrow{OD} = \overrightarrow{OA} + \overrightarrow{BC}\) or \(\overrightarrow{OC} + \overrightarrow{BA}\)
  • A1 for \(3\mathbf{i} - 5\mathbf{k}\)

Worked solution: In the parallelogram \(ABCD\), \(\overrightarrow{AD} = \overrightarrow{BC} = 4\mathbf{i} - 4\mathbf{j}\), so \(\overrightarrow{OD} = \overrightarrow{OA} + \overrightarrow{BC} = 3\mathbf{i} - 5\mathbf{k}\)

(c) Answer: \(2\sqrt{6}\)
  • M1 for the midpoint \(N\) of \(BC\) (\(\overrightarrow{ON} = -2\mathbf{i} + 3\mathbf{j} - 6\mathbf{k}\)) or for \(AN^2 = AB^2 - \left(\tfrac{1}{2}BC\right)^2\)
  • M1 for \(AN = \sqrt{3}\) (the perpendicular height, since the triangle is isosceles)
  • A1 for \(2\sqrt{6}\) oe

Worked solution: As \(AB = AC\), the line from \(A\) to the midpoint \(N\) of \(BC\) is perpendicular to \(BC\).
\(AN^2 = AB^2 - \left(\tfrac{1}{2}BC\right)^2 = 11 - \frac{32}{4} = 3\)
\(\text{Area} = \tfrac{1}{2} \times BC \times AN = \tfrac{1}{2} \times 4\sqrt{2} \times \sqrt{3} = 2\sqrt{6}\)

Question 3Hard10 marks
Relative to a fixed origin \(O\), the points \(A\), \(B\) and \(C\) have position vectors\[\overrightarrow{OA} = 5\mathbf{i} - 3\mathbf{k}, \qquad \overrightarrow{OB} = \mathbf{i} + 2\mathbf{j} - \mathbf{k}, \qquad \overrightarrow{OC} = 5\mathbf{i} + 3\mathbf{j} + \mathbf{k}\]respectively.
(a) Find the exact lengths of \(AB\), \(BC\) and \(AC\).
[3]
(b) Find the size of angle \(ABC\). Give your answer in degrees to one decimal place.
[3]
(c) Find the area of triangle \(ABC\), giving your answer to 3 significant figures.
[2]
(d) Hence find the shortest distance from \(A\) to the line through \(B\) and \(C\), giving your answer to 3 significant figures.
[2]
Show the answer and mark scheme
(a) Answer: \(AB = 2\sqrt{6}, \ BC = \sqrt{21}, \ AC = 5\)
  • M1 for a correct method for one length, e.g. \(AB = \sqrt{(-4)^2 + 2^2 + 2^2}\)
  • A1 for two lengths correct
  • A1 for all three correct

Worked solution: \(\overrightarrow{AB} = -4\mathbf{i} + 2\mathbf{j} + 2\mathbf{k} \Rightarrow AB = \sqrt{(-4)^2 + 2^2 + 2^2} = \sqrt{24} = 2\sqrt{6}\)
\(\overrightarrow{BC} = 4\mathbf{i} + \mathbf{j} + 2\mathbf{k} \Rightarrow BC = \sqrt{4^2 + 1^2 + 2^2} = \sqrt{21}\)
\(\overrightarrow{AC} = 3\mathbf{j} + 4\mathbf{k} \Rightarrow AC = \sqrt{0^2 + 3^2 + 4^2} = \sqrt{25} = 5\)

(b) Answer: \(63.5^\circ\) °
  • M1 for the cosine rule with \(AC\) opposite angle \(B\): \(\cos ABC = \frac{AB^2 + BC^2 - AC^2}{2 \times AB \times BC}\)
  • A1 for \(\cos ABC = \frac{20}{2 \times 2\sqrt{6} \times \sqrt{21}}\) (\(0.4454\ldots\))
  • A1 for \(63.5^\circ\)

Worked solution: \(\cos ABC = \frac{24 + 21 - 25}{2 \times 2\sqrt{6} \times \sqrt{21}} = 0.4454\ldots\)⁠, so angle \(ABC = 63.5^\circ\)

(c) Answer: \(10.0\)
  • M1 for \(\tfrac{1}{2} \times 2\sqrt{6} \times \sqrt{21} \times \sin ABC\) with their angle
  • A1 for 10.0 (awrt)

Worked solution: \(\text{Area} = \tfrac{1}{2} \times AB \times BC \times \sin ABC = \tfrac{1}{2} \times 2\sqrt{6} \times \sqrt{21} \times \sin 63.5^\circ = 10.0\) (3 s.f.)

(d) Answer: \(4.39\)
  • M1 for \(\tfrac{1}{2} \times BC \times h = \text{Area}\) or \(h = AB\sin ABC\)
  • A1 for 4.39 (awrt)

Worked solution: The shortest distance is the perpendicular height from \(A\) to \(BC\): \(h = \frac{2 \times \text{Area}}{BC} = \frac{2 \times 10.05}{\sqrt{21}} = 4.39\) (3 s.f.)

More in Vectors

Stuck? Get 1-to-1 help.

Chhetri Academy tutors GCSE and A level Maths and Science online, with a free 30-minute trial lesson.