Mathematics/Lessons/Circle Geometry/The Equation of a Circle
Pure · Circle Geometry · Year 1

The Equation of a Circle

A circle's equation is nothing but Pythagoras in disguise — the distance from the centre, set equal to the radius. See that, and centre, radius and every circle problem become one idea.

10 min read 3 worked examples

A circle is the set of all points a fixed distance — the radius $r$ — from a fixed point, the centre. That definition is geometric, but with coordinates we can turn it into algebra, and the bridge between them is a tool you already own: Pythagoras' theorem. The entire equation of a circle is just the distance formula, rearranged.

A circle centred at (a, b) with radius r drawn on Cartesian axes. A radius to a point P(x, y) on the circle is the hypotenuse of a right-angled triangle whose horizontal leg is x minus a and vertical leg is y minus b.
Every point (x, y) on the circle sits a distance r from the centre (a, b). The horizontal gap (x − a) and vertical gap (y − b) form a right-angled triangle, so Pythagoras gives the circle's equation directly.

Take a centre $(a, b)$ and any point $(x, y)$ on the circle. Drop a horizontal and a vertical line to form a right-angled triangle: its legs have lengths $(x - a)$ and $(y - b)$, and its hypotenuse is the radius $r$. Pythagoras says the squares of the legs add to the square of the hypotenuse — and that's the equation, immediately.

Why the equation looks the way it does

The standard form $(x - a)^2 + (y - b)^2 = r^2$ isn't something to memorise as a shape — it is Pythagoras' theorem for the distance from $(x,y)$ to the centre $(a,b)$, set equal to $r^2$. Read it aloud: "horizontal gap squared, plus vertical gap squared, equals radius squared." Once you see the equation as the distance formula in disguise, you can reconstruct it any time, and you'll never confuse the signs: the centre coordinates appear with a minus inside the brackets.

The two forms you'll meet

Standard (completed) form: $(x - a)^2 + (y - b)^2 = r^2$ — centre $(a,b)$, radius $r$, both readable at a glance.
Expanded form: $x^2 + y^2 + 2gx + 2fy + c = 0$ — what you get if you multiply the brackets out. Exams often hand you this form, and the job is to complete the square to convert it back and read off the centre and radius.

Strategy — expanded form means "complete the square"

If you see $x^2$ and $y^2$ terms with $x$ and $y$ terms scattered about, the circle is hiding in expanded form. Group the $x$-terms, group the $y$-terms, and complete the square on each separately. This is exactly the completing-the-square skill from quadratics — now applied twice, once per variable.

Worked example 1

Write down a circle's equation
A circle has centre $(3, -2)$ and radius $5$. Write down its equation, and determine whether the point $(7, 1)$ lies on it.
MethodSubstitute into standard form, then test the point
1
Standard form with $a=3$, $b=-2$, $r=5$: $(x-3)^2 + (y-(-2))^2 = 5^2$.
Centre coordinates go in with a minus.
2
Tidy the signs: $(x-3)^2 + (y+2)^2 = 25$.
$y-(-2)$ becomes $y+2$.
3
Test $(7,1)$: $(7-3)^2 + (1+2)^2 = 4^2 + 3^2 = 16 + 9 = 25$.
Substitute the point into the left side.
4
This equals $25 = r^2$, so the point does lie on the circle.
It's exactly distance 5 from the centre.
▪ solved
Examiner's eye

The sign trap is $y+2$: because the centre's $y$-coordinate is $-2$, the bracket is $(y-(-2)) = (y+2)$. Testing a point is just checking whether its distance from the centre equals $r$ — if the left side comes to less than $r^2$ the point is inside, more and it's outside.

Worked example 2

Find the centre and radius · from expanded form
A circle has equation $x^2 + y^2 - 6x + 8y - 11 = 0$. Find its centre and radius.
MethodComplete the square in x and in y
1
Group: $(x^2 - 6x) + (y^2 + 8y) - 11 = 0$.
Collect x-terms and y-terms.
2
Complete the square on $x$: $x^2-6x = (x-3)^2 - 9$.
Half of $-6$ is $-3$.
3
Complete the square on $y$: $y^2+8y = (y+4)^2 - 16$.
Half of $8$ is $4$.
4
Substitute back: $(x-3)^2 - 9 + (y+4)^2 - 16 - 11 = 0$.
Replace both groups.
5
Tidy the constants: $(x-3)^2 + (y+4)^2 = 36$.
$-9-16-11=-36$, moved to the right.
6
Read off: centre $(3, -4)$, radius $\sqrt{36} = 6$.
Standard form reveals both.
▪ solved
The key insight

Completing the square is the reverse of expanding the brackets — it rewinds the expanded circle back to the Pythagoras form where the centre and radius are visible. Note the radius is $\sqrt{36}=6$, not $36$: the right-hand side is always $r^2$, so take the square root at the end. Forgetting that root is the single most common slip in this topic.

Worked example 3

A circle from a diameter · midpoint meets distance
The points $A(1, 2)$ and $B(7, 10)$ are the ends of a diameter of a circle. Find the equation of the circle.

The two ends of a diameter tell you everything: the centre is the midpoint of the diameter, and the radius is half the diameter's length — both computable from $A$ and $B$.

MethodCentre by midpoint, radius by distance
1
Centre = midpoint of $AB$: $\left(\dfrac{1+7}{2}, \dfrac{2+10}{2}\right) = (4,\,6)$.
The centre bisects the diameter.
2
Radius = distance from centre to $A$: $r = \sqrt{(4-1)^2 + (6-2)^2} = \sqrt{9+16} = \sqrt{25} = 5$.
Distance formula, centre to either end.
3
Substitute into standard form with $(a,b)=(4,6)$, $r=5$: $(x-4)^2 + (y-6)^2 = 25$.
Radius squared is $25$.
4
So the circle is $(x-4)^2 + (y-6)^2 = 25$.
Centre and radius both found from A and B.
▪ solved
Look deeper — the distance formula is Pythagoras again

Notice step 2 is the same right-angled triangle from the top of this lesson: the distance between two points is $\sqrt{(\Delta x)^2 + (\Delta y)^2}$, which is Pythagoras on the horizontal and vertical gaps. The circle equation, the distance formula, and Pythagoras are three faces of one idea — which is why this topic rewards understanding the triangle rather than memorising three separate formulas.

Common mistake

The right-hand side of the standard form is $r^2$, not $r$. A circle written $(x-1)^2+(y-3)^2 = 49$ has radius $7$, not $49$. Going the other way, a radius of $4$ gives a right-hand side of $16$. Always square when writing the equation, and always square-root when reading the radius off.

Check yourself

Find the centre and radius of the circle $x^2 + y^2 + 4x - 10y + 13 = 0$.
(Hint: group and complete the square on x and y separately, then take the square root at the end.)

Method
1
Group: $(x^2+4x) + (y^2-10y) + 13 = 0$.
2
Complete the square: $x^2+4x=(x+2)^2-4$ and $y^2-10y=(y-5)^2-25$.
3
So $(x+2)^2 - 4 + (y-5)^2 - 25 + 13 = 0$, giving $(x+2)^2+(y-5)^2 = 16$.
$-4-25+13=-16$.
4
Centre $(-2,\,5)$, radius $\sqrt{16}=4$.
Root the right-hand side.
▪ solved

Completing the square twice rewinds the expanded form back to Pythagoras form, where centre $(-2,5)$ and radius $4$ read straight off — remembering $16$ is $r^2$, so $r=4$.