# 9.7: Extension: Writing and Graphing the Equations of Circles

**At Grade**Created by: CK-12

## Learning Objectives

- Graph a circle.
- Find the equation of a circle in the coordinate plane.
- Find the radius and center, given the equation of a circle and vice versa.
- Find the equation of a circle, given the center and a point on the circle.

## Graphing a Circle in the Coordinate Plane

Recall that the definition of a circle is the set of all points that are the same distance from a point, called the center. This definition can be used to find an equation of a circle in the coordinate plane.

Let’s start with the circle centered at the origin, (0, 0). If \begin{align*}(x, y)\end{align*} is a point on the circle, then the distance from the center to this point would be the radius, \begin{align*}r\end{align*}. \begin{align*}x\end{align*} is the horizontal distance of the coordinate and \begin{align*}y\end{align*} is the vertical distance. Drawing those in, we form a right triangle. Therefore, the equation of a circle, *centered at the origin* is \begin{align*}x^2+y^2=r^2\end{align*}, by the Pythagorean Theorem.

**Example 1:** Graph \begin{align*}x^2+y^2=9\end{align*}.

**Solution:** This circle is centered at the origin. It’s radius is the square root of 9, or 3. The easiest way to graph a circle is to plot the center, and then go out 3 units in every direction and connect them to form a circle.

The center does not always have to be on (0, 0). If it is not, then we label the center \begin{align*}(h, k)\end{align*} and would use the distance formula to find the length of the radius.

\begin{align*}r=\sqrt{(x-h)^2+(y-k)^2}\end{align*}

If you square both sides of this equation, then we would have the standard equation of a circle.

**Standard Equation of a Circle:** The standard equation of a circle with center \begin{align*}(h, k)\end{align*} and radius \begin{align*}r\end{align*} is \begin{align*}r^2=(x-h)^2+(y-k)^2\end{align*}.

**Example 2:** Find the center and radius of the following circles.

a) \begin{align*}(x-3)^2+(y-1)^2=25\end{align*}

b) \begin{align*}(x+2)^2+(y-5)^2=49\end{align*}

**Solution:**

a) Rewrite the equation as \begin{align*}(x-3)^2+(y-1)^2=5^2\end{align*}. Therefore, the center is (3, 1) and the radius is 5.

b) Rewrite the equation as \begin{align*}(x-(-2))^2+(y-5)^2=7^2\end{align*}. From this, the center is (-2, 5) and the radius is 7.

When finding the center of a circle always take the ** opposite sign** of what the value is in the equation.

**Example 3:** Find the equation of the circle below.

**Solution:** First locate the center. Draw in a couple diameters. It is easiest to use the horizontal and vertical diameters.

From the intersecting diameters, we see that the center is (-3, 3). If we count the units from the center to the circle on either of these diameters, we find that the radius is 6. Plugging this information into the equation of a circle, we get \begin{align*}(x-(-3))^2+(y-3)^2=6^2\end{align*} or \begin{align*}(x+3)^2+(y-3)^2=36\end{align*}.

## Finding the Equation of a Circle

**Example 4:** Find the equation of the circle with center (4, -1) and passes through (-1, 2).

**Solution:** To find the equation, first plug in the center to the standard equation.

\begin{align*}(x-4)^2+(y-(-1))^2 = r^2\end{align*} or \begin{align*}(x-4)^2+(y+1)^2=r^2\end{align*}

Now, plug in (-1, 2) for \begin{align*}x\end{align*} and \begin{align*}y\end{align*} and solve for \begin{align*}r\end{align*}.

\begin{align*}(-1-4)^2+(2+1)^2 &= r^2\\ (-5)^2+(3)^2 &= r^2\\ 25+9 &= r^2\\ 34 &= r^2\end{align*}

At this point, we don’t need to solve for \begin{align*}r\end{align*} because \begin{align*}r^2\end{align*} is what is in the equation. Substituting in 34 for \begin{align*}r^2\end{align*}, we have \begin{align*}(x-4)^2+(y+1)^2=34\end{align*}.

## Review Questions

Find the center and radius of each circle. Then, graph each circle.

- \begin{align*}(x+5)^2+(y-3)^2=16\end{align*}
- \begin{align*}x^2+(y+8)^2=4\end{align*}
- \begin{align*}(x-7)^2+(y-10)^2=20\end{align*}
- \begin{align*}(x+2)^2+y^2=8\end{align*}

Find the equation of the circles below.

- Determine if the following points are on \begin{align*}(x+1)^2+(y-6)^2=45\end{align*}.
- (2, 0)
- (-3, 4)
- (-7, 3)

Find the equation of the circle with the given center and point on the circle.

- center: (2, 3), point: (-4, -1)
- center: (10, 0), point: (5, 2)
- center: (-3, 8), point: (7, -2)
- center: (6, -6), point: (-9, 4)
- Now let’s find the equation of a circle using three points on the circle. Do you remember how we found the center and radius of a circle given three points on the circle in problem 30 of Section 9-3? We used the fact that the perpendicular bisector of any chord in the circle will pass through the center. By finding the perpendicular bisectors of two different chords and their intersection we can find the center of the circle. Then we can use the distance formula with the center and a point on the circle to find the radius. Finally, we will write the equation. Given the points \begin{align*}A(-12, -21), B(2, 27)\end{align*} and \begin{align*}C(19, 10)\end{align*} on the circle (an arc could be drawn through these points from \begin{align*}A\end{align*} to \begin{align*}C\end{align*}), follow the steps below.
- Since the perpendicular bisector passes through the midpoint of a segment we must first find the midpoint between \begin{align*}A\end{align*} and \begin{align*}B\end{align*}.
- Now the perpendicular line must have a slope that is the opposite reciprocal of the slope of \begin{align*}\overleftrightarrow{AB}\end{align*}. Find the slope of \begin{align*}\overleftrightarrow{AB}\end{align*} and then its opposite reciprocal.
- Finally, you can write the equation of the perpendicular bisector of \begin{align*}\overline{AB}\end{align*} using the point you found in part a and the slope you found in part b.
- Repeat steps a-c for chord \begin{align*}\overline{BC}\end{align*}.
- Now that we have the two perpendicular bisectors of the chord we can find their intersection. Solve the system of linear equations to find the center of the circle.
- Find the radius of the circle by finding the distance from the center (point found in part \begin{align*}e\end{align*}) to any of the three given points on the circle.
- Now, use the center and radius to write the equation of the circle.

Find the equations of the circles which contain three points in problems 15 and 16.

- \begin{align*}A(-2, 5), B(5, 6)\end{align*} and \begin{align*}C(6, -1)\end{align*}
- \begin{align*}A(-11, -14), B(5, 16)\end{align*} and \begin{align*}C(12, 9)\end{align*}