Equation of a circle

A circle is the set of all points at the same distance r from the center. If you make a right triangle from the horizontal and vertical differences between the center (a,b)(a, b) and a point (x,y)(x, y) on the circle, the Pythagorean theorem gives (horizontal)² + (vertical)² = r².

Chalcack concept card · Reviewed by the Chalcack team ·

In the right triangle made from the center (a, b) and a point (x, y) on the circle, the hypotenuse is the radius r.

Formulas

  • (x−a)2+(y−b)2=r2(x-a)^2+(y-b)^2=r^2
  • x2+y2=r2(center at the origin)x^2+y^2=r^2 \quad (\text{center at the origin})

When to use it

Use it when you write the equation of a circle from its center and radius, or read the center and radius off a circle equation.

Worked example

Find the equation of the circle with center (2,−1)(2, -1) and radius 3. Step 1: plug a=2, b=−1, r=3a=2,\ b=-1,\ r=3 into the formula to get (x−2)2+(y−(−1))2=32(x-2)^2+(y-(-1))^2=3^2. Step 2: simplify to (x−2)2+(y+1)2=9(x-2)^2+(y+1)^2=9. Step 3: check with the point (5,−1)(5, -1), 3 to the right of the center: 32+02=93^2+0^2=9, so it works.

Common mistake

If the center is (2,−1)(2, -1), the signs inside the parentheses look flipped: (x−2)2+(y+1)2(x-2)^2+(y+1)^2. Also, the 9 on the right is the radius squared, so the radius is 3, not 9.

Related concepts

All 181 math concepts