Position vectors and distances

AS Maths (Edexcel) · Edexcel 8MA0 · P10.4 · Pure mathematics › Vectors

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

Or take a quick quiz: 6 questions on this subtopic in AS 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, 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 + (z_2 - z_1)^2}\)
  • 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, z)\) is \(\mathbf{a} = \overrightarrow{OA} = 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, 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, 5)\) and \((-4, 1, 2)\). Find \(\overrightarrow{AB}\) and the distance \(AB\)

Show the model answerHide the model answer
\(\overrightarrow{AB} = \mathbf{b} - \mathbf{a} = -6\mathbf{i} + 2\mathbf{j} - 3\mathbf{k}\)
M1 A1
\(AB = \sqrt{36 + 4 + 9} = 7\)
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, 0)\), \((4, 3, -1)\) and \((6, 0, 2)\).
Find the coordinates of \(D\)

Show the model answerHide the model answer
\(\overrightarrow{AD} = \overrightarrow{BC} = 2\mathbf{i} - 3\mathbf{j} + 3\mathbf{k}\), so \(\mathbf{d} = \mathbf{a} + \overrightarrow{BC}\)
M1
\(D\) is \((3, -1, 3)\)
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, 2)\) has position vector \(3\mathbf{i} - \mathbf{j} + 2\mathbf{k}\)
  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 + (z_2 - z_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} = -6\mathbf{i} + 5\mathbf{j}, \qquad \overrightarrow{OB} = 4\mathbf{i} + 4\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} = 10\mathbf{i} - \mathbf{j}\)
  • M1 for \(\overrightarrow{OB} - \overrightarrow{OA}\) with at least one component correct
  • A1 for \(10\mathbf{i} - \mathbf{j}\)

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

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

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

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

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

Question 2Hard9 marks
Relative to a fixed origin \(O\), the points \(A\), \(B\) and \(C\) have position vectors \(-6\mathbf{i}\), \(-8\mathbf{i} - 4\mathbf{j}\) and \(-3\mathbf{i} - 9\mathbf{j}\) respectively, where \(\mathbf{i}\) and \(\mathbf{j}\) are perpendicular unit vectors.
The point \(P\), with position vector \(x\mathbf{i} + y\mathbf{j}\), is the same distance from each of \(A\), \(B\) and \(C\).
(a) Use \(PA = PB\) to show that \(x + 2y = -11\).[3]
(b) Find the position vector of \(P\).[4]
(c) Find the exact distance \(PA\).[2]
Show the answer and mark scheme
(a) Answer: \(PA^2 = (x + 6)^2 + y^2\) and \(PB^2 = (x + 8)^2 + (y + 4)^2\); equating and simplifying gives \(x + 2y = -11\).
  • M1 for \(\overrightarrow{AP} = (x + 6)\mathbf{i} + y\mathbf{j}\) and a correct expression for \(PA^2\) or \(PB^2\)
  • M1 for setting \(PA^2 = PB^2\) and expanding, with the \(x^2\) and \(y^2\) terms cancelling
  • A1* for \(x + 2y = -11\) with no errors

Worked solution: \(PA^2 = (x + 6)^2 + y^2, \qquad PB^2 = (x + 8)^2 + (y + 4)^2\)
Setting \(PA^2 = PB^2\): the \(x^2\) and \(y^2\) terms cancel, leaving \(12x + 36 = 16x + 8y + 80\)
\(\Rightarrow -4x - 8y = 44 \Rightarrow x + 2y = -11\)

(b) Answer: \(\overrightarrow{OP} = -3\mathbf{i} - 4\mathbf{j}\)
  • M1 for using \(PA = PC\) (or \(PB = PC\)) to form a second linear equation
  • A1 for a correct equation, e.g. \(x - 3y = 9\)
  • dM1 for solving the two linear equations simultaneously
  • A1 for \(\overrightarrow{OP} = -3\mathbf{i} - 4\mathbf{j}\)

Worked solution: Similarly, \(PA^2 = PC^2\) with \(PC^2 = (x + 3)^2 + (y + 9)^2\) gives \(x - 3y = 9\).
Solving \(x + 2y = -11\) and \(x - 3y = 9\) simultaneously: \(x = -3, \ y = -4\).
\(\overrightarrow{OP} = -3\mathbf{i} - 4\mathbf{j}\)

(c) Answer: \(PA = 5\)
  • M1 for \(\overrightarrow{PA} = -3\mathbf{i} + 4\mathbf{j}\) and its magnitude
  • A1 for \(5\)

Worked solution: \(\overrightarrow{PA} = -3\mathbf{i} + 4\mathbf{j}\), so \(PA = \sqrt{(-3)^2 + 4^2} = \sqrt{25} = 5\)

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.