Geometry Core circle equationcoordinate geometrydistance

The Equation of a Circle

The distance formula, rearranged into a locus.

Video by Khan Academy — “Radius and center for a circle equation in standard form | Algebra II | Khan Academy” Watch on YouTube

The explanation

Key idea (x − h)² + (y − k)² = r² for centre (h, k) and radius r.

A circle is every point sitting a fixed distance from the centre. Writing that with the distance formula and squaring both sides gives:

(x − h)² + (y − k)² = r²

with centre (h, k) and radius r.

Two things to watch. The signs flip: (x − 3)² means h = 3, and (y + 2)² means k = −2. And the right side is r², so a 25 there means the radius is 5, not 25.

If the equation is expanded instead — something like x² + y² − 6x + 4y − 12 = 0 — complete the square on the x terms and the y terms separately to get back to the useful form.

To test whether a point is inside, on, or outside, substitute it: less than r² is inside, equal is on, greater is outside.

Worked example

Write the equation of the circle with centre (−3, 4) passing through (1, 7).

  1. Radius = distance from centre to the point: √((1+3)² + (7−4)²).
  2. = √(16 + 9) = 5.
  3. Centre (−3, 4) gives (x + 3)² + (y − 4)².
  4. Right side is r² = 25.

Answer: (x + 3)² + (y − 4)² = 25

Common mistakes

  • Reading the radius directly off the right-hand side without taking the square root.
  • Getting the centre's signs backwards, reading (x + 3)² as h = 3.