Cambridge IGCSE · Topic 3.4
IGCSE Maths 0580 / Topic 3 / IGCSE

How far, and halfway.

Extended. Two coordinates are all you need. Pythagoras turns the steps across and up into the length of the segment, and averaging the coordinates gives the point exactly halfway.

The key idea

For \(A(x_1, y_1)\) and \(B(x_2, y_2)\): length \(AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}\), and the midpoint is \(\left(\dfrac{x_1 + x_2}{2}, \dfrac{y_1 + y_2}{2}\right)\). Length uses differences; midpoint uses sums.

−3 −2 −1 1 2 3 4 5 −1 1 2 3 4 5 6 7 8 9 10 x y A(−2, 1) B(4, 9) M(1, 5) 6 8 length AB = √(6² + 8²) = √100 = 10 midpoint M x: (−2 + 4) ÷ 2 = 1 y: (1 + 9) ÷ 2 = 5 M = (1, 5)
Fig. 1: from A(-2, 1) to B(4, 9) is 6 across and 8 up, so AB = 10; the midpoint M(1, 5) averages the coordinates
Section 01

Pythagoras on a grid.

In the lab, drag the end points and watch the right-angled triangle under the segment. Read off the steps across and up, square them, add, and square-root. Then check your answer against the length the lab shows. Try a segment that runs downhill: do the negative steps matter?

Worked example A whole-number length
Find the length of the line segment joining \(A(-2, 1)\) and \(B(4, 9)\).
  1. Change in \(x\): \(4 - (-2) = 6\).
  2. Change in \(y\): \(9 - 1 = 8\).
  3. \(AB = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100}\).
Answer: \(AB = 10\) units (Fig. 1)
Worked example Negative steps
Find the length of \(PQ\), where \(P(3, -2)\) and \(Q(-1, 5)\). Give your answer to 3 significant figures.
  1. Change in \(x\): \(-1 - 3 = -4\).
  2. Change in \(y\): \(5 - (-2) = 7\).
  3. \(PQ = \sqrt{(-4)^2 + 7^2} = \sqrt{16 + 49} = \sqrt{65}\).
  4. \(\sqrt{65} = 8.062\ldots\)
Answer: \(PQ = 8.06\) units (3 s.f.)
Examiner trap

Adding before squaring. \(\sqrt{6^2 + 8^2}\) is 10, but \(6 + 8 = 14\) and \(\sqrt{6 + 8} = 3.74\) are both wrong. Square each step first, add, then take the square root of the total.

Section 02

Halfway between.

The midpoint sits halfway across and halfway up, so each of its coordinates is the mean of the two end coordinates: add and halve.

Worked example Midpoint from two points
Find the midpoint of the line segment joining \((-3, 8)\) and \((9, -2)\).
  1. \(x\): \(\dfrac{-3 + 9}{2} = \dfrac{6}{2} = 3\).
  2. \(y\): \(\dfrac{8 + (-2)}{2} = \dfrac{6}{2} = 3\).
Answer: \((3, 3)\)
Worked example Working backwards to an end point
\(M(2, -1)\) is the midpoint of \(AB\), where \(A\) is \((-3, 4)\). Find the coordinates of \(B\).
  1. From \(A\) to \(M\): \(x\) goes from \(-3\) to \(2\), a step of \(+5\); \(y\) goes from \(4\) to \(-1\), a step of \(-5\).
  2. \(B\) is the same step again beyond \(M\): \(x = 2 + 5 = 7\), \(y = -1 - 5 = -6\).
  3. Check: \(\dfrac{-3 + 7}{2} = 2\) and \(\dfrac{4 + (-6)}{2} = -1\). Correct.
Answer: \(B(7, -6)\)
Your turn
Find the midpoint of \((-5, 6)\) and \((1, -4)\).
Examiner trap

Halving the difference instead of the sum. For \((-3, 8)\) and \((9, -2)\), \(\dfrac{9 - (-3)}{2} = 6\) is half the run, not the midpoint's \(x\)-coordinate. The midpoint is an average: ADD, then halve.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

What is the length of the line segment joining \((1, 1)\) and \((4, 5)\)?

Quick check+10 XP

What is the midpoint of \((2, 6)\) and \((8, 0)\)?

Quick check+10 XP

Which calculation gives the length of \(AB\), where \(A(-2, 3)\) and \(B(4, -5)\)?

Quick check+10 XP

\(M(3, 7)\) is the midpoint of \(AB\), where \(A\) is \((1, 4)\). What are the coordinates of \(B\)?

Section 03

Putting them together.

Exam questions often combine both skills: the centre of a circle is the midpoint of a diameter, the radius is half its length, and a known distance can be turned into an equation for a missing coordinate.

Worked example Centre and radius of a circle
\(AB\) is a diameter of a circle, with \(A(1, 2)\) and \(B(7, 10)\). Find the centre and the radius.
  1. Centre = midpoint of \(AB\) \(= \left(\dfrac{1 + 7}{2}, \dfrac{2 + 10}{2}\right) = (4, 6)\).
  2. Length \(AB = \sqrt{6^2 + 8^2} = \sqrt{100} = 10\).
  3. Radius = half the diameter \(= 10 \div 2 = 5\).
Answer: Centre \((4, 6)\), radius 5 units
Worked example A missing coordinate from a length
The point \(C(k, 5)\) is 13 units from \(D(2, -7)\). Find the two possible values of \(k\).
  1. Change in \(y\): \(5 - (-7) = 12\). Change in \(x\): \(k - 2\).
  2. \((k - 2)^2 + 12^2 = 13^2\), so \((k - 2)^2 = 169 - 144 = 25\).
  3. \(k - 2 = 5\) or \(k - 2 = -5\).
Answer: \(k = 7\) or \(k = -3\)
Examiner trap

Forgetting the negative square root. \((k - 2)^2 = 25\) gives \(k - 2 = \pm 5\): a point 13 units away can be on either side, so there are usually two answers.

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 2 and Paper 4 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

Find the length of \(PQ\), where \(P(-3, 4)\) and \(Q(5, -2)\).

Exam style+20 XP

Find the midpoint of the line segment joining \((-5, 7)\) and \((9, -3)\).

Exam style+20 XP

\(AB\) is a diameter of a circle, where \(A(-1, 3)\) and \(B(7, 9)\). Find the centre and radius of the circle.

Exam style+20 XP

The point \(C(k, 1)\) is 13 units from \(D(2, -11)\), and \(k > 0\). Find \(k\).

Skill unlocked

Lengths and midpoints, found.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Lengths by Pythagoras, midpoints by averaging, end points from a midpoint, an isosceles triangle proof and a map problem.