On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Advanced Functions · Grade 9-12

Equation of a Circle

The equation of a circle states that every point is the same distance r from a center (h,k), written (x−h)2+(y−k)2=r2.

(x−h)2+(y−k)2=r2
General form: x2+y2+Dx+Ey+F=0 (complete the square to convert to standard form).

Quick Answer

The equation of a circle states that every point is the same distance r from a center (h,k), written (x−h)2+(y−k)2=r2. Use it to read off a circle's center and radius, to write the equation from a center and one point on the circle, or to decide whether a point is inside, on, or outside it by comparing its squared distance from the center with r2. When the equation arrives expanded, like x2+y2−6x+4y−12=0, complete the square in x and in y to get back to this form: here (x−3)2+(y+2)2=25.

Why This Matters

The equation turns a shape into a test you can compute: a point (x,y) lies on the circle exactly when the left side equals r2, inside when it is smaller, outside when it is larger. That is how a map app decides whether you are inside a delivery zone, and how a game detects that two round objects touched. Misread the signs and the whole circle lands in the wrong quadrant.

Intuitive Explanation

Put a compass point at (2,1) and open it to 5. Every point the pencil touches is 5 from (2,1). Take one such point, (5,5): it is 3 to the right and 4 up, and the Pythagorean theorem gives 32+42=25=52. For a general point (x,y) the horizontal gap is x−2 and the vertical gap is y−1, so the same theorem gives (x−2)2+(y−1)2=25. That is the circle's equation: Pythagoras applied to every point at once.

The brackets subtract the center, so their signs read backwards at a glance. (x+4)2 is (x−(−4))2, which puts the center at x=−4. The right side is the radius squared: (x+4)2+y2=9 has center (−4,0) and radius 3, not 9. Expanding that equation gives the general form x2+y2+8x+7=0, where the center and radius stay hidden until you complete the square again.

Not every equation with x2 and y2 is a circle. In x2+4y2=16 the y-direction counts four times as much, so the curve reaches x=±4 but only y=±2: that is an ellipse. In x2−y2=16 the minus sign makes a hyperbola. And (x−1)2+(y+2)2=−4 describes no points at all, since two squares cannot add to a negative number. A real circle needs matching coefficients on x2 and y2 and a positive number for r2.

Think of it like this. A circle's equation is a dog on a leash tied to a stake: the stake is (h,k), the leash length is r, and the equation lists every spot the dog reaches with the leash pulled tight. Spots where the leash would hang slack make the left side smaller than r2; those are inside the circle.

Core idea. (x−h)2+(y−k)2=r2 collects every point exactly r from (h,k).


When to Use

Use the circle equation when a problem gives a center and radius, a center and one point on the circle, or the two ends of a diameter (the center is their midpoint). It also settles within a distance questions, such as whether a house is inside a tower's 3 km range. If x2 and y2 have different coefficients, use the Ellipse; if they have opposite signs, the Hyperbola; if only one variable is squared, it is a parabola. For the length between two given points, the distance formula alone is enough.

Tip. Ask: Are x2 and y2 present with equal positive coefficients and a constant on the other side?

How to Recognize It

Before writing or reading a circle equation, check what you know about the center and the radius, and whether the equation is in squared form or expanded.

  1. Are you given a center and a distance, or a center and one point the curve passes through?

    If yes, the radius is that distance, or the center-to-point distance: center (2,−1) through (5,3) gives r=5, so (x−2)2+(y+1)2=25. Two points and no center need only the distance formula.

  2. Are you given the two ends of a diameter instead of the center?

    If yes, the center is their midpoint and the radius is half their distance: ends (−1,2) and (5,10) give center (2,6) and radius 5. Using the whole diameter as r makes the circle twice as wide.

  3. Is the equation expanded, with first-power x and y terms beside x2 and y2?

    If yes, complete the square in each variable: x2+y2+8x−2y+8=0 becomes (x+4)2+(y−1)2=9, center (−4,1), radius 3. Unequal x2 and y2 coefficients mean an ellipse or hyperbola.

  4. After completing the square, is the number on the right side zero or negative?

    If it is zero, the equation describes a single point, the center; if negative, no points at all, since squares cannot add to a negative. Only a positive right side gives a real circle, with radius its square root.

Equation of a Circle compared with Ellipse, Distance formula, and General-form quadratic in x and y

All four rows deal with distances in the plane, and an expanded circle can look like any of them. Ask whether there is one center with every point equally far from it, two foci with a fixed total, a single distance to compute, or an equation still untidied.

Equation of a Circle

Meaning
Use this when you have (or want) all points equidistant from a center, with x2 and y2 sharing one positive coefficient.
Key test
Are x2 and y2 present with equal positive coefficients and a constant on the other side?
Formula
(x−h)2+(y−k)2=r2
General form: x2+y2+Dx+Ey+F=0 (complete the square to convert to standard form).
Example
Identify the center and radius of (x−2)2+(y+3)2=25.

Ellipse

Meaning
Points whose summed distance to TWO foci is constant; x2,y2 have different denominators.
Key test
Use when the two squared terms have unequal positive denominators.
Formula
(x−h)2a2+(y−k)2b2=1
Example
x29+y24=1

Distance formula

Meaning
Computes the distance between two given points; the circle squares and fixes it to r.
Key test
Use to measure a length, not to define a locus.
Formula
d=(x2−x1)2+(y2−y1)2
Example
Distance from (0,0) to (3,4) is 5

General-form quadratic in x and y

Meaning
x2+y2+Dx+Ey+F=0 — a circle in disguise needing completing the square.
Key test
Use as the starting point before converting to standard form.
Formula
x2+y2+Dx+Ey+F=0
Example
x2+y2−6x+4=0

Formula & Notation

(x−h)2+(y−k)2=r2
General form: x2+y2+Dx+Ey+F=0 (complete the square to convert to standard form).
{(x,y)∈R2∣(x−h)2+(y−k)2=r2}: the locus of points at distance r from center (h,k)

How to read it: Center (h,k), radius r. Note the signs: (x−h) means the center's x-coordinate is +h.

Worked Examples

Example 1 — Find center and radius

Easy

Identify the center and radius of (x−2)2+(y+3)2=25.
Show the steps and the answer
  1. Match (x−2) to (x−h): h=2.

    The form subtracts the center's coordinate, so x−2 means the center is at x=+2.

  2. Rewrite (y+3) as (y−(−3)): k=−3.

    A plus sign inside the bracket means the center's coordinate is negative.

  3. Square-root the right side: r=25=5.

    The constant is r2, the squared radius.

  4. Check with a point: (7,−3) is 5 to the right of the center, and (7−2)2+(−3+3)2=25.

    A point exactly one radius from the center must satisfy the equation.

Answer: Center (2,−3), radius 5

Takeaway: Flip the signs inside the brackets to get the center, and square-root the constant to get the radius.

Example 2 — Unequal denominators make it an ellipse

Standard

Is (x−2)29+(y+3)24=1 a circle?
Show the steps and the answer
  1. Compare the denominators: 9 under the x-term, 4 under the y-term.

    A circle written this way would need the same number, r2, under both.

  2. Find the reach from the center (2,−3): y=−3 gives (x−2)2=9, so x=2±3; x=2 gives (y+3)2=4, so y=−3±2.

    The horizontal reach is 3 and the vertical reach is 2, so the points are not all one distance from the center.

  3. Name it: an ellipse centered at (2,−3) with semi-axes 9=3 across and 4=2 up and down.

    Unequal denominators stretch the curve more in one direction than the other.

Answer: No — it is an ellipse with semi-axes 3 and 2

Takeaway: Divide a circle's equation by r2 and both denominators equal r2; different denominators mean an ellipse.

Example 3 — Find the mistake: reading the center and radius

Application

Find the center and radius of x2+y2+6x−10y+18=0. Kai completes the square to get (x+3)2+(y−5)2=16 and writes: "Center (3,−5), radius 16." Find the mistake and correct it.
Show the steps and the answer
  1. Verify the completed square: (x2+6x+9)+(y2−10y+25)=−18+9+25, so (x+3)2+(y−5)2=16.

    Kai's equation is right; the errors are in reading it.

  2. Read the center: (x+3)=(x−(−3)) and (y−5) give (h,k)=(−3,5).

    The form subtracts the center, so both signs Kai read must be flipped.

  3. Read the radius: r=16=4.

    16 is r2; a radius of 16 would make the circle four times as wide as it really is.

  4. Check: (1,5) is 4 to the right of (−3,5), and 1+25+6−50+18=0.

    A point one radius from the corrected center satisfies the original equation.

Answer: Center (−3,5), radius 4

Takeaway: The center's coordinates have the opposite signs to the numbers in the brackets, and the radius is the square root of the constant.

Where You'll See It

  • A pizza shop's delivery zone

    A shop at (2,3) on a city grid in km delivers within 4 km, so its zone is (x−2)2+(y−3)2≤16. A house at (5,6) gives 9+9=18>16: it is just outside, about 18≈4.24 km away.

  • Finding a phone from two towers

    A phone 5 km from a tower at (0,0) lies on x2+y2=25; 5 km from a tower at (6,0), on (x−6)2+y2=25. Subtracting the equations gives x=3, so y=±4. A third tower picks between (3,4) and (3,−4), the idea behind GPS positioning.

  • Collision checks in video games

    Two round sprites touch when the distance between centers is at most the sum of their radii. Games compare squares to skip the slow square root: coins of radius 10 and 15 at (100,100) and (120,115) give 202+152=625=252, so they are just touching.

Common Mistakes

  1. The slip: Reading the center sign backwards

    Instead: (x−h) gives center +h, so (x+2)2 means center at −2.

  2. The slip: Forgetting to square-root the right side

    Instead: the equation gives r2, so radius is r2.

  3. The slip: Treating it as an ellipse

    Instead: a circle requires equal coefficients on x2 and y2.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Find the centre and radius of (x+4)2+(y−1)2=49.

    Hint: Match each bracket to (x−h) and (y−k).

  2. Write the equation of the circle with centre (3,−2) that passes through (6,2).

    Hint: The radius is the distance from the centre to the given point.

  3. Complete the square to find the centre and radius of x2+y2−6x+8y=0.

    Hint: Add the square of half of each linear coefficient to both sides.

  4. Is the point (1,5) inside, on, or outside the circle (x−2)2+(y−1)2=20?

    Hint: Substitute the point into the left side and compare with 20.

  5. Is 4x2+4y2=36 a circle or an ellipse? Give its centre and radius or semi-axes.

    Hint: Compare the coefficients of x2 and y2.

  6. A student writes: "(x−5)2+(y+1)2=16 has centre (−5,1) and radius 16." Correct both parts.

    Hint: Compare with (x−h)2+(y−k)2=r2 term by term.

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is the equation of a circle a function?

No. A vertical line through the inside of a circle crosses it twice, so one xx-value gives two yy-values: for x2+y2=25x^2 + y^2 = 25 and x=3x = 3, yy is 4 or −4-4. To graph it on a calculator that only accepts functions, split it into two halves, y=25−x2y = \sqrt{25 - x^2} for the top and y=−25−x2y = -\sqrt{25 - x^2} for the bottom.

How do I find where a line crosses a circle?

Substitute the line into the circle. For x2+y2=25x^2 + y^2 = 25 and y=x+1y = x + 1, you get x2+(x+1)2=25x^2 + (x + 1)^2 = 25, which simplifies to x2+x−12=0x^2 + x - 12 = 0, so x=3x = 3 or x=−4x = -4. The crossing points are (3,4)(3, 4) and (−4,−3)(-4, -3). Two solutions mean the line cuts the circle, one means it just touches it as a tangent, and none means it misses.

Why is a tangent line perpendicular to the radius?

The touching point is the closest point of the line to the center, because every other point of the line lies outside the circle and so is farther away. The shortest path from a point to a line meets it at a right angle, so the radius does too. That gives a quick method: for x2+y2=25x^2 + y^2 = 25 at (3,4)(3, 4), the radius has slope 43\frac{4}{3}, so the tangent has slope −34-\frac{3}{4}.

How do GPS receivers use circles?

A receiver works out its distance from several satellites from how long their signals take to arrive. In a flat picture, each distance puts it on a circle around one satellite. Two circles usually cross at two points, and a third distance picks the right one. On a grid, being 5 units from (0,0)(0, 0) and 5 units from (8,0)(8, 0) leaves (4,3)(4, 3) or (4,−3)(4, -3), and a third circle decides between them.

Learning Path

Equation of a Circle

You are here

You need the Pythagorean Theorem, since the equation is a2+b2=c2 with the legs measured from the center, and Domain, which tells you x can only run from h−r to h+r. This topic adds reading and writing circles in standard and general form. Next, the Ellipse stretches a circle in one direction, the Hyperbola subtracts instead of adding, and the Conic Sections Overview classifies them all from one general equation.

See Also