Skip to content
One hour with George, then a written plan the next working day. Book yours.

Circle equations, solved exercises

Put the center at (a, b) and the radius at r, and the circle's equation is (x - a)^2 + (y - b)^2 = r^2. It states that each point (x, y) of the circle sits exactly r from the center, which is the distance formula squared on both sides. Find the center and the radius, then fill them in, and watch the signs: the center's coordinates are subtracted.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
What you are given and how to get the center and radius
You are givenCenterRadius
The center and the radiusAs givenAs given
The center and a point on the circleAs givenThe distance from the center to the point
The ends of a diameterThe midpoint of the endsHalf the distance between the ends
The center and a tangent lineAs givenThe perpendicular distance from the center to the line
An equation in general formComplete the square in x and in yThe square root of the number on the right

Our own guide. The equation comes from the distance formula and the midpoint formula in OpenStax, Algebra and Trigonometry 2e, section 2.1.

How do you write the equation from the center and the radius?

Exercise 1. Center (2, -3), radius 5. Here a = 2 and b = -3, so (x - 2)^2 + (y + 3)^2 = 25. The plus sign in the second bracket comes from subtracting -3. If the center is the origin, the equation is x^2 + y^2 = r^2, so a radius of 7 gives x^2 + y^2 = 49.

What if you know a point on the circle instead of the radius?

Exercise 2. Center (1, 4), and the circle passes through (4, 8). The radius squared equals the squared distance between those two points: (4 - 1)^2 + (8 - 4)^2 = 9 + 16 = 25. You never need the square root, because the equation uses r^2. So (x - 1)^2 + (y - 4)^2 = 25.

How does the midpoint help with a diameter?

Exercise 3. A diameter runs from (1, -2) to (7, 6). The center is the midpoint: ((1 + 7) / 2, (-2 + 6) / 2) = (4, 2). The length of the diameter is the square root of 6^2 + 8^2, which is 10, so the radius is 5. The equation is (x - 4)^2 + (y - 2)^2 = 25. A shortcut is to take either end as the "point on the circle" and use Exercise 2: from (4, 2) to (1, -2) the squared distance is 9 + 16 = 25.

What does tangent to an axis tell you?

A circle that touches the x-axis has a radius equal to the center's distance from that axis, which is the size of the y-coordinate.

Exercise 4. Center (4, -3), tangent to the x-axis. The distance to the axis is 3, so r = 3 and the equation is (x - 4)^2 + (y + 3)^2 = 9.

Exercise 5. Center (-5, 2), tangent to the y-axis. The distance to that axis is the size of the x-coordinate, 5. So (x + 5)^2 + (y - 2)^2 = 25.

How do you read a circle from general form?

Complete the square on both variables.

Exercise 6. Find the center and radius of x^2 + y^2 - 6x + 4y - 12 = 0. Group: (x^2 - 6x) + (y^2 + 4y) = 12. Half of -6 is -3, so add 9. Half of 4 is 2, so add 4. Add both to the right side as well: (x - 3)^2 + (y + 2)^2 = 12 + 9 + 4 = 25. The center is (3, -2) and the radius is 5. If the right side comes out zero, the "circle" is a single point, and if it is negative there is no circle at all.

Is a point on, inside or outside?

Substitute the point into the left side and compare with r^2. Equal means on the circle, smaller means inside, larger means outside.

Exercise 7. For (x - 1)^2 + (y + 2)^2 = 25, test three points. (4, 2) gives 9 + 16 = 25, so it is on the circle. (3, 1) gives 4 + 9 = 13, so it is inside. (6, 3) gives 25 + 25 = 50, so it is outside.

Where does a line meet a circle?

Exercise 8. Find where x^2 + y^2 = 25 meets y = x + 1. Substitute: x^2 + (x + 1)^2 = 25, so 2x^2 + 2x - 24 = 0 and x^2 + x - 12 = 0. That factors as (x + 4)(x - 3) = 0, so x = -4 or x = 3, with y = -3 or y = 4. Both points satisfy the circle: 16 + 9 = 25 and 9 + 16 = 25. A line can meet a circle twice, once as a tangent, or not at all, depending on the discriminant of the equation you get.

What if the circles share a center?

Exercise 9. Write the circle with the same center as (x + 1)^2 + (y - 2)^2 = 9 that passes through (2, 6). The center is (-1, 2). The squared distance to (2, 6) is 3^2 + 4^2 = 25, so the new circle is (x + 1)^2 + (y - 2)^2 = 25.

Original practice

These items were written for this page.

  1. A circle is centered at (-2, 5) with radius 3. Write its equation.
  2. A circle is centered at (0, 3) and passes through (4, 0). Write its equation.
  3. Find the center and radius of x^2 + y^2 + 8x - 2y - 8 = 0.
  4. A diameter runs from (-3, 1) to (5, 7). Write the equation.
  5. Is (2, 2) inside x^2 + y^2 = 9?

Answers: 1. (x + 2)^2 + (y - 5)^2 = 9. 2. x^2 + (y - 3)^2 = 25. 3. Center (-4, 1) and radius 5, because the completed square gives 8 + 16 + 1 = 25. 4. (x - 1)^2 + (y - 4)^2 = 25. 5. Yes, because 4 + 4 = 8, which is less than 9. We teach the method and do not complete graded work. Our original math practice has more, and the SAT® exam and ACT® exam math tutoring page shows how a session works.

Common questions

What is the equation of a circle?

(x - a)^2 + (y - b)^2 = r^2, with the center at (a, b) and the radius r. Some books name the center (h, k).

Why is the center's sign flipped in the equation?

The equation subtracts the center's coordinates, so a center at -3 shows up as x + 3. Read the center as the opposite of the signs in the brackets.

How do I find the radius from the equation?

Root the number on the right-hand side. A right-hand side of 49 means a radius of 7, not 49.

How do I turn general form into standard form?

Gather the x pieces together and the y pieces together, complete each square, and add what you added to the other side too.

Sources