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
A circle of radius 5 centered at (0,0) is all the points (x,y) at a distance of 5 from the origin. Dropping a vertical line from (x,y) to the x-axis makes that distance the hypotenuse of a right triangle, so the Pythagorean theorem gives us the circle's equation:
bottom2x2+height2y2=radius225
This equation checks whether a point (x,y) has a distance of 5 from the origin. Let's check (3,4) and (4,4):
Text solution:
Plug (3,4) into x2+y2: Square the horizontal and vertical legs and compare the total with 25.
32+42=9+16=25
Since x2+y2 equals 25,(3,4) lies right on the circle.
Plug (4,4) into x2+y2: Compare the new total with 25.
42+42=16+16=32>25
Since 32 is greater than 25, the distance from the center is longer than the radius, so (4,4) lies outside the circle.
For any point (x,y) on the grid, x2+y2 equals 25 when the point is on the circle, is less than 25 inside the circle, and is greater than 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 only works when the circle is centered at (0,0), where the triangle's legs start at 0. Now we want the equation of the same circle of radius 5 when its center is moved to (2,3).
Moving the Center
When the center is at (2,3) instead of (0,0), subtracting the center's coordinates gives the horizontal and vertical coordinate differences from the center to (x,y). Squaring these differences gives the squared lengths of the right triangle's legs:
We don't have to worry about points to the left of 2 or below 3 giving a negative number when we subtract: squaring turns both +4 and −4 into +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=36
Finding the Center and Radius
(x+4)2+(y−1)2=36
center=?r=?
Text solution:
Find the x and y that make the brackets zero: At the center, both the horizontal gap and the vertical gap are zero.
x+4=0⟹x=−4,y−1=0⟹y=1
Take the square root of the right side for the radius: The number on the right is r2, so take its square root.
r2=36⟹r=6
So the circle has center (−4,1) and 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=10
Text solution:
Find the x and y that make each squared term zero: A plain x2 is zero when x=0, and (y+5)2 is zero when y=−5.
x=0,y+5=0⟹y=−5
Take the square root of 10 for the radius: Remember the right side is r2, not 2r, so don't divide 10 by 2.
r2=10⟹r=10
So this circle has center (0,−5) and radius 10.
In (x−a)2+(y−b)2=36, subtracting the center (a,b) makes the signs inside the brackets opposite to the center's coordinates. Whenever a coordinate of the center is 0, its bracket simplifies to x2 or y2, 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) that passes through the point (4,6).
Writing the Equation from Points
Text solution:
Write the left side using the center (1,2): Put the center's coordinates into the brackets.
(x−1)2+(y−2)2=r2
Plug in (4,6) to find r2: Since (4,6) is on the circle, plugging x=4 and y=6 into the left side gives r2 directly.
(4−1)2+(6−2)232+429+16=r2=r2=25
Putting 25 on the right side gives the equation (x−1)2+(y−2)2=25. Notice that you don't need to take the square root of 25 to find r=5, because the circle's equation has r2 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) and (8,10).
Text solution:
Find the center halfway between the diameter's endpoints: Halfway between x=2 and x=8 is 5, and halfway between y=2 and y=10 is 6, so the center is (5,6).
(x−5)2+(y−6)2=r2
Plug in one endpoint to find r2: Find the horizontal and vertical gaps from the center (5,6) to (8,10) and square them.
(8−5)2+(10−6)232+429+16=r2=r2=25
Putting 25 on the right side gives (x−5)2+(y−6)2=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=0
We want to find the center and radius, which means rewriting the x and y terms as squared brackets. Whenever you multiply out a squared bracket like (x−3)2, the middle number is double the number in the bracket, and the last number is that number squared:
(x−3)2=x2double −3−6x+(−3)29
Completing the Square
x2−6x+y2+4y−3=0
center=?r=?
Text solution:
Move the −3 to the right and group x and y: Add 3 to both sides and leave space at the end of each group.
(x2−6x)+(y2+4y)=3
Take half of each middle number and add its square to both sides: Half of −6 is −3 (which squares to 9), and half of +4 is +2 (which squares to 4).
(x2−6x+9)+(y2+4y+4)=3+9+4
Rewrite each group as a squared bracket: Combine the numbers on the right side.
(x−3)2+(y+2)2=16
From this equation, the center is (3,−2) and the radius is 16=4.
Every circle with center (a,b) and radius r comes down to the Pythagorean theorem on the right triangle from the center to (x,y):
Every circle has the equation (x−a)2+(y−b)2=r2, which comes from the Pythagorean theorem on a right triangle from the center (a,b) to a point (x,y). Plugging any point (x,y) into the left side gives its squared distance from the center (a,b): if the result equals r2 the point is on the circle (like (3,4) in x2+y2=25), if it is smaller the point is inside, and if it is larger the point is outside (like (4,4), which gives 32>25).
When the equation is already written with squared brackets, don't multiply them out. Read the center as the (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, the center is (0,−5) and the radius is 10 (not 5). 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, stopping before the square root since the equation uses r2: for center (1,2) through (4,6),(x−1)2+(y−2)2=32+42=25. If you are given diameter endpoints like (2,2) and (8,10), find their halfway point (5,6) to get the center first. Only complete the square when x and y terms are multiplied out, as in x2−6x+y2+4y−3=0: move the −3 to the right, put half of each middle number into the bracket, and add its square to both sides so x2−6x+9 becomes (x−3)2.
6
Practice
1
Write the equation of a circle with center (−3,5) and radius 7.
What numbers inside (x−?)2 and (y−?)2 make the brackets zero when x=−3 and y=5?
Write the brackets using the center (−3,5)Subtracting −3 turns into +3, and subtracting 5 gives −5. (Keeping the center's original signs is a common mistake that gives (x−3)2+(y+5)2=49.)
(x+3)2+(y−5)2=r2
Square the radius for the right sidePut 72=49 on the right, not 7 or 14.
(x+3)2+(y−5)2=49
2
Find the center and radius of the circle (x−6)2+y2=14.
What values of x and y make each squared term zero, and what does the 14 on the right represent?
Find the x and y that make both squared terms zerox−6=0 gives x=6, and y2=0 gives y=0. (Don't mistake y2 having no bracket for y=1, which would give (6,1).)
Center=(6,0)
Take the square root of the right side for the radiusThe right side is r2=14; dividing by 2 instead of taking the square root is a common mistake that gives r=7.
Center (6,0), radius 14
3
Does the point (−1,5) lie inside, on, or outside the circle (x−3)2+(y−2)2=20?
Plug x=−1 and y=5 into the left side and compare the result with 20.
Plug (−1,5) into the left sideWatch the negative sign in −1−3=−4; turning it into −1+3=2 gives 22+32=13<20 and wrongly puts the point inside.
(−1−3)2+(5−2)2=(−4)2+32=16+9=25
Compare with r2=20Since 25>20, the point's distance from the center is greater than the radius.
Outside
4
Write the equation of the circle with center (−2,1) that passes through the point (3,13).
Write the left side using the center (−2,1), then find the horizontal and vertical gaps from (−2,1) to (3,13).
Write the left side from the center (−2,1)
(x+2)2+(y−1)2=r2
Plug in (3,13) to find r2From −2 to 3 is a gap of 5, not 3−2=1 (which would give 12+122=145). Also leave r2=169 as it is rather than taking its square root to write 13 on the right.
(3+2)2+(13−1)252+12225+144=r2=r2=169
(x+2)2+(y−1)2=169
5
Write the equation of the circle whose diameter has endpoints (−1,4) and (7,−2).
Find the point halfway between (−1,4) and (7,−2) to get the center first.
Find the center halfway between the endpointsHalfway between −1 and 7 is 3, and halfway between 4 and −2 is 1, so the center is (3,1).
(x−3)2+(y−1)2=r2
Plug in (7,−2) to find r2Measure the horizontal and vertical gaps from the center (3,1) to an endpoint, not between the two endpoints (−1,4) and (7,−2) (using the full diameter gives 82+(−6)2=100 instead of 25).
(7−3)2+(−2−1)242+(−3)216+9=r2=r2=25
(x−3)2+(y−1)2=25
6
Find the center and radius of the circle x2+8x+y2−10y+5=0.
Subtract 5 from both sides first, then use half of +8 and half of −10 to complete both squares.
Subtract 5 from both sides and group x and y
(x2+8x)+(y2−10y)=−5
Take half of the middle numbers and add their squares to both sidesHalf of +8 is +4 (which squares to 16) and half of −10 is −5 (which squares to 25). Remember to add +16 and +25 to the right side too, or you'll still have −5 on the right.
(x2+8x+16)+(y2−10y+25)=−5+16+25
Rewrite as squared brackets and find the center and radiusThe values that make the brackets zero are (−4,5), not (4,−5).