Mathwords logoMathwords

Equation of a Circle — Definition, Formula & Examples

The equation of a circle is an algebraic equation that describes all the points at a fixed distance (the radius) from a central point (the center) on a coordinate plane. In standard form, it is written as (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2, where (h,k)(h, k) is the center and rr is the radius.

A circle is the locus of all points (x,y)(x, y) in the Cartesian plane that are equidistant from a fixed point called the center. If the center is (h,k)(h, k) and the constant distance is r>0r > 0, the standard equation is (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2. This equation is derived directly from the distance formula. An equivalent representation, called the general form, is x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0, obtained by expanding and rearranging the standard form.

Key Formula

(xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2
Where:
  • xx = the x-coordinate of any point on the circle
  • yy = the y-coordinate of any point on the circle
  • hh = the x-coordinate of the center
  • kk = the y-coordinate of the center
  • rr = the radius of the circle (must be positive)

How It Works

Start with the standard form (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2. The values hh and kk tell you where the center sits on the coordinate plane, and rr tells you how far every point on the circle is from that center. To write the equation, you need two pieces of information: the center and the radius (or enough data to find them). If you are given the general form x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0, you can convert it to standard form by completing the square on both xx and yy. A point (a,b)(a, b) lies on the circle if and only if substituting x=ax = a and y=by = b into the equation produces a true statement. When the center is at the origin, the equation simplifies to x2+y2=r2x^2 + y^2 = r^2.

Worked Example

Problem: Write the equation of a circle with center (3, −2) and radius 5.
Step 1: Identify the center and radius. Here h=3h = 3, k=2k = -2, and r=5r = 5.
Step 2: Substitute these values into the standard form (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2.
(x3)2+(y(2))2=52(x - 3)^2 + (y - (-2))^2 = 5^2
Step 3: Simplify. Subtracting a negative becomes addition, and 52=255^2 = 25.
(x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25
Answer: (x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25

Another Example

This example starts from the general form and requires completing the square — a key skill when the equation is not already in standard form.

Problem: Find the center and radius of the circle given by x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0.
Step 1: Group the xx terms and yy terms together, and move the constant to the right side.
(x26x)+(y2+4y)=12(x^2 - 6x) + (y^2 + 4y) = 12
Step 2: Complete the square for xx. Take half of 6-6, which is 3-3, and square it to get 99. Add 99 to both sides.
(x26x+9)+(y2+4y)=12+9(x^2 - 6x + 9) + (y^2 + 4y) = 12 + 9
Step 3: Complete the square for yy. Take half of 44, which is 22, and square it to get 44. Add 44 to both sides.
(x26x+9)+(y2+4y+4)=12+9+4(x^2 - 6x + 9) + (y^2 + 4y + 4) = 12 + 9 + 4
Step 4: Factor each perfect-square trinomial and simplify the right side.
(x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25
Step 5: Read off the center and radius. The center is (3,2)(3, -2) and r2=25r^2 = 25, so r=5r = 5.
Answer: Center (3,2)(3, -2), radius 55.

Why It Matters

The equation of a circle appears throughout Geometry, Algebra II, and Precalculus courses, and it is a staple on the SAT and ACT. Engineers and physicists use circle equations when modeling orbits, designing gears, and computing signal ranges. It also serves as the gateway to studying all conic sections — ellipses, parabolas, and hyperbolas.

Common Mistakes

Mistake: Mixing up the signs of hh and kk. For example, seeing (x+3)2(x + 3)^2 and writing the center's xx-coordinate as +3+3.
Correction: The standard form uses subtraction: (xh)2(x - h)^2. If you see (x+3)2(x + 3)^2, rewrite it as (x(3))2(x - (-3))^2, so h=3h = -3.
Mistake: Using rr instead of r2r^2 on the right side of the equation.
Correction: The standard form has r2r^2 on the right. If the radius is 5, the right side should be 25, not 5.
Mistake: Forgetting to add the completing-the-square constant to both sides.
Correction: When you add a value inside one set of parentheses on the left, you must add the same value to the right side to keep the equation balanced.

Check Your Understanding

Write the standard-form equation of a circle centered at (1,4)(-1, 4) with radius 33.
Hint: Remember that (x(1))(x - (-1)) simplifies to (x+1)(x + 1).
Answer: (x+1)2+(y4)2=9(x + 1)^2 + (y - 4)^2 = 9
Find the center and radius: x2+y2+10x2y+17=0x^2 + y^2 + 10x - 2y + 17 = 0.
Hint: Half of 10 is 5 (square it to get 25); half of 2-2 is 1-1 (square it to get 1).
Answer: Center (5,1)(-5, 1), radius 33. After completing the square: (x+5)2+(y1)2=9(x+5)^2 + (y-1)^2 = 9.
Is the point (7,2)(7, -2) inside, on, or outside the circle (x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25?
Hint: Compute the left side and compare to 25.
Answer: On the circle, because (73)2+(2+2)2=16+0=16(7-3)^2 + (-2+2)^2 = 16 + 0 = 16. Wait — 16<2516 < 25, so the point is actually inside the circle.

Related Terms