Worked Example · Coordinate Geometry of the Circle · Paper 2 · 5 marks

Equation of a Circle from a Diameter

Rig, founder of IGCSE Add Math Malaysia

Written by Rig, our founder

8 years teaching IGCSE & SPM maths · Updated 16 August 2026

Two diameter endpoints hand you everything: the centre is their midpoint, and the radius is half the distance between them. Feed both into the standard form and the equation follows. The one thing to watch is halving the diameter to get the radius.

The points A(1,2)A(1, 2) and B(7,10)B(7, 10) are the ends of a diameter of a circle. Find the equation of the circle. [5]

The working

Step 1, centre = midpoint of ABAB: (1+72, 2+102)=(4,6)(M1, A1)\left(\frac{1 + 7}{2}, \ \frac{2 + 10}{2}\right) = (4, 6) \quad \text{(M1, A1)}

Step 2, radius = half the length of ABAB. First the length: AB=(71)2+(102)2=62+82=36+64=100=10(M1)AB = \sqrt{(7 - 1)^2 + (10 - 2)^2} = \sqrt{6^2 + 8^2} = \sqrt{36 + 64} = \sqrt{100} = 10 \quad \text{(M1)}

So the radius is r=12(10)=5r = \frac{1}{2}(10) = 5.

Step 3, substitute into (xa)2+(yb)2=r2(x - a)^2 + (y - b)^2 = r^2 with centre (4,6)(4, 6) and r=5r = 5: (x4)2+(y6)2=25(A1)(x - 4)^2 + (y - 6)^2 = 25 \quad \text{(A1)}

A useful check: the radius also equals the distance from the centre (4,6)(4,6) to A(1,2)A(1,2): 32+42=5\sqrt{3^2 + 4^2} = 5 ✓.

Where the marks are won and lost

  • The radius is half of ABAB. Using r=10r = 10 (the diameter) gives r2=100r^2 = 100 and a wrong circle, this is the single most common error.
  • The right-hand side is r2=25r^2 = 25, not r=5r = 5.
  • Centre signs go straight in as (4,6)(4, 6), giving brackets (x4)(x - 4) and (y6)(y - 6).

Common mistakes

  • Writing r2=100r^2 = 100 by using the full diameter as the radius.
  • Midpoint slips (adding but forgetting to divide by 22).
  • Putting r=5r = 5 on the right instead of r2=25r^2 = 25.

Full method: Equation of a Circle notes. See also Gradient, Midpoint & Length. Topic home: Circle Geometry pillar.

Common questions

How do the diameter endpoints give me the centre and radius?
The centre is the midpoint of the diameter, so average the two x-coordinates and the two y-coordinates. The radius is half the diameter's length, or equivalently the distance from the centre to either endpoint. Once you have the centre (a, b) and radius r, substitute into (x − a)² + (y − b)² = r². Using the full diameter length as the radius by mistake, instead of half of it, is the classic slip.

Keep going

See the teaching work on your own child. Then decide.

Every student starts with a 1-hour trial class taught by the vetted tutor your child would actually have. Real teaching, a diagnostic on real exam questions, and a straight answer on the gap to target. One hour at your tutor's rate (RM80–90/hr), no package and no deposit, and you decide afterwards whether to book a weekly slot. Online anywhere in Malaysia.