GeometryCircles7 of 7
Circles · 7

Equations of Circles

1

Circle at the Origin

We want to write an equation for a circle on a coordinate grid using the horizontal and vertical distances we can measure directly.

Circle at the Origin
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0,0)(0, 0)
5\htmlClass{lc-blue}{5}
(x,y)(x, y)
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0,0)(0, 0)
(x,y)(x, y)
x\htmlClass{lc-pink}{x}
y\htmlClass{lc-green}{y}
5\htmlClass{lc-blue}{5}

A circle of radius 5\radius{5} centered at (0,0)(0, 0) is all the points (x,y)(x, y) at a distance of 5\radius{5} from the origin. Dropping a vertical line from (x,y)(x, y) to the xx-axis makes that distance the hypotenuse of a right triangle, so the Pythagorean theorem gives us the circle's equation:

x2⏟bottom2+y2⏟height2\displaystyle \hgap{\underbrace{x^2}_{\text{bottom}^2}} + \vgap{\underbrace{y^2}_{\text{height}^2}} =25⏟radius2\displaystyle = \radius{\underbrace{25}_{\text{radius}^2}}

This equation checks whether a point (x,y)(x, y) has a distance of 5\radius{5} from the origin. Let's check (3,4)(3, 4) and (4,4)(4, 4):

Text solution:

For any point (x,y)(x, y) on the grid, x2+y2\hgap{x^2} + \vgap{y^2} equals 25\radius{25} when the point is on the circle, is less than 25\radius{25} inside the circle, and is greater than 25\radius{25} outside the circle.

See how the sum of the squared legs compares to 25 when you move a point inside, outside, or right onto a radius-5 circle.
2

Moving the Center

The equation x2+y2=25\hgap{x^2} + \vgap{y^2} = \radius{25} only works when the circle is centered at (0,0)(0, 0), where the triangle's legs start at 00. Now we want the equation of the same circle of radius 5\radius{5} when its center is moved to (2,3)(2, 3).

Moving the Center
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(0,0)\htmlClass{lc-mute}{(0, 0)}
(2,3)(2, 3)
5\htmlClass{lc-blue}{5}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(2,3)(2, 3)
(x,y)(x, y)
x−2\htmlClass{lc-pink}{x - 2}
y−3\htmlClass{lc-green}{y - 3}
5\htmlClass{lc-blue}{5}

When the center is at (2,3)(2, 3) instead of (0,0)(0, 0), subtracting the center's coordinates gives the horizontal and vertical coordinate differences from the center to (x,y)(x, y). Squaring these differences gives the squared lengths of the right triangle's legs:

(x−2)2⏟horizontal gap2+(y−3)2⏟vertical gap2\displaystyle \hgap{\underbrace{(x - 2)^2}_{\text{horizontal gap}^2}} + \vgap{\underbrace{(y - 3)^2}_{\text{vertical gap}^2}} =52⏟radius2\displaystyle = \radius{\underbrace{5^2}_{\text{radius}^2}}

We don't have to worry about points to the left of 22 or below 33 giving a negative number when we subtract: squaring turns both +4\hgap{+4} and −4\hgap{-4} into +16\hgap{+16}, so the equation only cares about the distance from the center, not the direction.

3

Finding the Center and Radius

Now let's go the other way: given a circle's equation, we want to find its center and radius. Take the circle

(x+4)2+(y−1)2\displaystyle \hgap{(x + 4)^2} + \vgap{(y - 1)^2} =36\displaystyle = \radius{36}
Finding the Center and Radius
(x+4)2+(y−1)2\displaystyle \hgap{(x+4)^2} + \vgap{(y-1)^2} =36\displaystyle = \radius{36}
center\displaystyle \text{center} =  ?r\displaystyle = \;? \qquad \radius{r} =  ?\displaystyle = \;?

Text solution:

So the circle has center (−4,1)(-4, 1) and radius 6\radius{6}.

Now an equation where one coordinate has no bracket and the right side isn't a whole-number square:

x2+(y+5)2\displaystyle \hgap{x^2} + \vgap{(y + 5)^2} =10\displaystyle = \radius{10}

Text solution:

So this circle has center (0,−5)(0, -5) and radius 10\radius{\sqrt{10}}.

In (x−a)2+(y−b)2=36\hgap{(x - a)^2} + \vgap{(y - b)^2} = \radius{36}, subtracting the center (a,b)(a, b) makes the signs inside the brackets opposite to the center's coordinates. Whenever a coordinate of the center is 00, its bracket simplifies to x2\hgap{x^2} or y2\vgap{y^2}, and the center is still the point that makes both squared terms zero.

Subtracting the center's coordinates sets the signs in the parentheses, and the center is always the point that makes both parentheses zero.
4

Writing the Equation from Points

In most problems, we aren't given both the center and the radius right away. First, we want to write the equation of the circle with center (1,2)(1, 2) that passes through the point (4,6)(4, 6).

Writing the Equation from Points
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(1,2)(1, 2)
(4,6)(4, 6)
(x−1)2+(y−2)2=r2r2=  ?\begin{aligned} \hgap{(x-1)^2} + \vgap{(y-2)^2} &= \radius{r^2} \\ \radius{r^2} &= \;? \end{aligned}

Text solution:

Putting 25\radius{25} on the right side gives the equation (x−1)2+(y−2)2=25\hgap{(x - 1)^2} + \vgap{(y - 2)^2} = \radius{25}. Notice that you don't need to take the square root of 25\radius{25} to find r=5\radius{r} = \radius{5}, because the circle's equation has r2\radius{r^2} on the right side anyway.

Next, we want the equation of a circle when we are only given the two endpoints of a diameter, (2,2)(2, 2) and (8,10)(8, 10).

Text solution:

Putting 25\radius{25} on the right side gives (x−5)2+(y−6)2=25\hgap{(x - 5)^2} + \vgap{(y - 6)^2} = \radius{25}.

5

Completing the Square

Sometimes someone has already multiplied out the brackets and combined the numbers, giving us an equation like

x2−6x+y2+4y−3\displaystyle \hgap{x^2 - 6x} + \vgap{y^2 + 4y} - 3 =0\displaystyle = 0

We want to find the center and radius, which means rewriting the xx and yy terms as squared brackets. Whenever you multiply out a squared bracket like (x−3)2\hgap{(x - 3)^2}, the middle number is double the number in the bracket, and the last number is that number squared:

(x−3)2\displaystyle \hgap{(x - 3)^2} =x2−6x⏟double −3+9⏟(−3)2\displaystyle = x^2 \underbrace{\hgap{{} - 6x}}_{\text{double } \hgap{-3}} + \underbrace{\hgap{9}}_{(\hgap{-3})^2}
Completing the Square
x2−6x+y2+4y−3\displaystyle \hgap{x^2 - 6x} + \vgap{y^2 + 4y} - 3 =0\displaystyle = 0
center\displaystyle \text{center} =  ?r\displaystyle = \;? \qquad \radius{r} =  ?\displaystyle = \;?

Text solution:

From this equation, the center is (3,−2)(3, -2) and the radius is 16=4\radius{\sqrt{16}} = \radius{4}.

x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
(a,b)(a, b)
(x,y)(x, y)
x−a\htmlClass{lc-pink}{x - a}
y−b\htmlClass{lc-green}{y - b}
r\htmlClass{lc-blue}{r}

Every circle with center (a,b)(a, b) and radius r\radius{r} comes down to the Pythagorean theorem on the right triangle from the center to (x,y)(x, y):

(x−a)2⏟horizontal gap2+(y−b)2⏟vertical gap2=r2⏟radius2\displaystyle \begin{array}{|c|} \hline \\[-6pt] \quad \hgap{\underbrace{(x - a)^2}_{\text{horizontal gap}^2}} + \vgap{\underbrace{(y - b)^2}_{\text{vertical gap}^2}} = \radius{\underbrace{r^2}_{\text{radius}^2}} \quad \\[10pt] \hline \end{array}

Key concepts

Every circle has the equation (x−a)2+(y−b)2=r2\hgap{(x - a)^2} + \vgap{(y - b)^2} = \radius{r^2}, which comes from the Pythagorean theorem on a right triangle from the center (a,b)(a, b) to a point (x,y)(x, y). Plugging any point (x,y)(x, y) into the left side gives its squared distance from the center (a,b)(a, b): if the result equals r2\radius{r^2} the point is on the circle (like (3,4)(3, 4) in x2+y2=25\hgap{x^2} + \vgap{y^2} = \radius{25}), if it is smaller the point is inside, and if it is larger the point is outside (like (4,4)(4, 4), which gives 32>2532 > \radius{25}).

When the equation is already written with squared brackets, don't multiply them out. Read the center as the (x,y)(x, y) values that make both brackets zero, and take the square root of the right side for the radius: in x2+(y+5)2=10\hgap{x^2} + \vgap{(y + 5)^2} = \radius{10}, the center is (0,−5)(0, -5) and the radius is 10\radius{\sqrt{10}} (not 55). When you are writing the equation from a center and a point on the circle, put the center into the brackets first and plug the point in to get r2\radius{r^2}, stopping before the square root since the equation uses r2\radius{r^2}: for center (1,2)(1, 2) through (4,6)(4, 6), (x−1)2+(y−2)2=32+42=25\hgap{(x - 1)^2} + \vgap{(y - 2)^2} = \hgap{3^2} + \vgap{4^2} = \radius{25}. If you are given diameter endpoints like (2,2)(2, 2) and (8,10)(8, 10), find their halfway point (5,6)(5, 6) to get the center first. Only complete the square when xx and yy terms are multiplied out, as in x2−6x+y2+4y−3=0\hgap{x^2 - 6x} + \vgap{y^2 + 4y} - 3 = 0: move the −3-3 to the right, put half of each middle number into the bracket, and add its square to both sides so x2−6x+9\hgap{x^2 - 6x + 9} becomes (x−3)2\hgap{(x - 3)^2}.

6

Practice

1

Write the equation of a circle with center (−3,5)(-3, 5) and radius 7\radius{7}.

What numbers inside (x−?)2\hgap{(x - \text{?})^2} and (y−?)2\vgap{(y - \text{?})^2} make the brackets zero when x=−3x = -3 and y=5y = 5?

Write the brackets using the center (−3,5)(-3, 5)Subtracting −3-3 turns into +3\hgap{+3}, and subtracting 55 gives −5\vgap{-5}. (Keeping the center's original signs is a common mistake that gives (x−3)2+(y+5)2=49\hgap{(x - 3)^2} + \vgap{(y + 5)^2} = \radius{49}.)
(x+3)2+(y−5)2\displaystyle \hgap{(x + 3)^2} + \vgap{(y - 5)^2} =r2\displaystyle = \radius{r^2}
Square the radius for the right sidePut 72=49\radius{7^2} = \radius{49} on the right, not 77 or 1414.
(x+3)2+(y−5)2\displaystyle \hgap{(x + 3)^2} + \vgap{(y - 5)^2} =49\displaystyle = \radius{49}
2

Find the center and radius of the circle (x−6)2+y2=14\hgap{(x - 6)^2} + \vgap{y^2} = 14.

What values of xx and yy make each squared term zero, and what does the 1414 on the right represent?

Find the xx and yy that make both squared terms zerox−6=0\hgap{x - 6} = 0 gives x=6x = 6, and y2=0\vgap{y^2} = 0 gives y=0y = 0. (Don't mistake y2\vgap{y^2} having no bracket for y=1y = 1, which would give (6,1)(6, 1).)
Center\displaystyle \text{Center} =(6,0)\displaystyle = (6, 0)
Take the square root of the right side for the radiusThe right side is r2=14\radius{r^2} = \radius{14}; dividing by 22 instead of taking the square root is a common mistake that gives r=7\radius{r} = 7.
Center (6,0), radius 14\displaystyle \text{Center } (6, 0), \text{ radius } \radius{\sqrt{14}}
3

Does the point (−1,5)(-1, 5) lie inside, on, or outside the circle (x−3)2+(y−2)2=20\hgap{(x - 3)^2} + \vgap{(y - 2)^2} = \radius{20}?

Plug x=−1x = -1 and y=5y = 5 into the left side and compare the result with 20\radius{20}.

Plug (−1,5)(-1, 5) into the left sideWatch the negative sign in −1−3=−4\hgap{-1 - 3 = -4}; turning it into −1+3=2\hgap{-1 + 3 = 2} gives 22+32=13<20\hgap{2^2} + \vgap{3^2} = 13 < \radius{20} and wrongly puts the point inside.
(−1−3)2+(5−2)2=(−4)2+32=16+9=25\displaystyle \begin{aligned} \hgap{(-1 - 3)^2} + \vgap{(5 - 2)^2} &= \hgap{(-4)^2} + \vgap{3^2} \\ &= \hgap{16} + \vgap{9} \\ &= 25 \end{aligned}
Compare with r2=20\radius{r^2} = \radius{20}Since 25>2025 > \radius{20}, the point's distance from the center is greater than the radius.
Outside\displaystyle \text{Outside}
4

Write the equation of the circle with center (−2,1)(-2, 1) that passes through the point (3,13)(3, 13).

Write the left side using the center (−2,1)(-2, 1), then find the horizontal and vertical gaps from (−2,1)(-2, 1) to (3,13)(3, 13).

Write the left side from the center (−2,1)(-2, 1)
(x+2)2+(y−1)2\displaystyle \hgap{(x + 2)^2} + \vgap{(y - 1)^2} =r2\displaystyle = \radius{r^2}
Plug in (3,13)(3, 13) to find r2\radius{r^2}From −2-2 to 33 is a gap of 5\hgap{5}, not 3−2=1\hgap{3 - 2 = 1} (which would give 12+122=145\hgap{1^2} + \vgap{12^2} = 145). Also leave r2=169\radius{r^2} = \radius{169} as it is rather than taking its square root to write 13\radius{13} on the right.
(3+2)2+(13−1)2=r252+122=r225+144=169\displaystyle \begin{aligned} \hgap{(3 + 2)^2} + \vgap{(13 - 1)^2} &= \radius{r^2} \\ \hgap{5^2} + \vgap{12^2} &= \radius{r^2} \\ \hgap{25} + \vgap{144} &= \radius{169} \end{aligned}
(x+2)2+(y−1)2\displaystyle \hgap{(x + 2)^2} + \vgap{(y - 1)^2} =169\displaystyle = \radius{169}
5

Write the equation of the circle whose diameter has endpoints (−1,4)(-1, 4) and (7,−2)(7, -2).

Find the point halfway between (−1,4)(-1, 4) and (7,−2)(7, -2) to get the center first.

Find the center halfway between the endpointsHalfway between −1-1 and 77 is 33, and halfway between 44 and −2-2 is 11, so the center is (3,1)(3, 1).
(x−3)2+(y−1)2\displaystyle \hgap{(x - 3)^2} + \vgap{(y - 1)^2} =r2\displaystyle = \radius{r^2}
Plug in (7,−2)(7, -2) to find r2\radius{r^2}Measure the horizontal and vertical gaps from the center (3,1)(3, 1) to an endpoint, not between the two endpoints (−1,4)(-1, 4) and (7,−2)(7, -2) (using the full diameter gives 82+(−6)2=100\hgap{8^2} + \vgap{(-6)^2} = 100 instead of 25\radius{25}).
(7−3)2+(−2−1)2=r242+(−3)2=r216+9=25\displaystyle \begin{aligned} \hgap{(7 - 3)^2} + \vgap{(-2 - 1)^2} &= \radius{r^2} \\ \hgap{4^2} + \vgap{(-3)^2} &= \radius{r^2} \\ \hgap{16} + \vgap{9} &= \radius{25} \end{aligned}
(x−3)2+(y−1)2\displaystyle \hgap{(x - 3)^2} + \vgap{(y - 1)^2} =25\displaystyle = \radius{25}
6

Find the center and radius of the circle x2+8x+y2−10y+5=0\hgap{x^2 + 8x} + \vgap{y^2 - 10y} + 5 = 0.

Subtract 55 from both sides first, then use half of +8\hgap{+8} and half of −10\vgap{-10} to complete both squares.

Subtract 55 from both sides and group xx and yy
(x2+8x )+(y2−10y )\displaystyle \hgap{(x^2 + 8x \quad\ )} + \vgap{(y^2 - 10y \quad\ )} =−5\displaystyle = -5
Take half of the middle numbers and add their squares to both sidesHalf of +8\hgap{+8} is +4\hgap{+4} (which squares to 16\hgap{16}) and half of −10\vgap{-10} is −5\vgap{-5} (which squares to 25\vgap{25}). Remember to add +16\hgap{+16} and +25\vgap{+25} to the right side too, or you'll still have −5-5 on the right.
(x2+8x+16)+(y2−10y+25)\displaystyle \hgap{(x^2 + 8x + 16)} + \vgap{(y^2 - 10y + 25)} =−5+16+25\displaystyle = -5 + \hgap{16} + \vgap{25}
Rewrite as squared brackets and find the center and radiusThe values that make the brackets zero are (−4,5)(-4, 5), not (4,−5)(4, -5).
(x+4)2+(y−5)2\displaystyle \hgap{(x + 4)^2} + \vgap{(y - 5)^2} =36\displaystyle = \radius{36}
Center (−4,5), radius 6\displaystyle \text{Center } (-4, 5), \text{ radius } \radius{6}