Equations of Circles
The bridge from geometry to algebra: how the distance formula becomes $(x-h)^2+(y-k)^2=r^2$, how to read center and radius off an equation, complete the square, and test where a point lies.
§1 Describing a Circle Algebraically
Every circle on the coordinate plane can be captured by a single equation. Once you know the center and radius, you can write it; and from the equation, you can read the center and radius right back. This two-way translation between a picture and an algebraic sentence is one of the great unifying ideas of the course — and it rests entirely on the distance formula you already know.
A point $(x,y)$ lies on the circle of center $(h,k)$ and radius $r$ exactly when its distance from the center is $r$. Square the distance formula and you get the standard form $(x-h)^2+(y-k)^2=r^2$. Everything in 9.5 is reading, writing, or rearranging that one equation.
§2 Standard Form
The distance from $(x,y)$ to $(h,k)$ is $\sqrt{(x-h)^2+(y-k)^2}$. Setting that equal to $r$ and squaring gives the standard form.
| Form | Equation | Reads as |
|---|---|---|
| Standard | $(x-h)^2+(y-k)^2=r^2$ | center $(h,k)$, radius $r$ |
| Center at origin | $x^2+y^2=r^2$ | center $(0,0)$, radius $r$ |
| General | $x^2+y^2+Dx+Ey+F=0$ | center hidden — complete the square |
§3 Writing the Equation From Center and Radius
Substitute $h$, $k$, and $r$ straight into standard form, watching the signs.
- Center $(2,-3)$, radius $5$: $(x-2)^2+(y+3)^2=25$.
- Center $(-1,4)$, radius $\sqrt7$: $(x+1)^2+(y-4)^2=7$.
- Center $(0,0)$, radius $6$: $x^2+y^2=36$.
Standard form subtracts the center: $(x-h)$. A negative coordinate flips the sign you write. For center $x$-coordinate $-1$, you get $(x-(-1)) = (x+1)$. And the right side is $r^2$, not $r$ — radius $\sqrt7$ gives a right side of $7$, not $\sqrt7$.
§4 Reading Center and Radius Back
Given standard form, pattern-match. The numbers subtracted from $x$ and $y$ are $h$ and $k$; the right side is $r^2$.
Example: $(x-4)^2+(y+1)^2=36$. Here $h=4$ and, since $(y+1)=(y-(-1))$, $k=-1$, so the center is $(4,-1)$. And $r^2=36$ gives $r=6$.
The sign trap is everywhere: $(y+1)^2$ means $k=-1$, not $+1$. Always rewrite a plus as a minus-of-a-negative before reading the coordinate, and always take the square root of the right side to get $r$ — students who report $r=36$ have stopped one step too soon.
§5 Completing the Square
To turn general form $x^2+y^2+Dx+Ey+F=0$ into standard form, complete the square on $x$ and on $y$.
| Step | Action |
|---|---|
| 1 | Group the $x$-terms and $y$-terms; move $F$ to the right. |
| 2 | Add $\left(\tfrac{D}{2}\right)^2$ and $\left(\tfrac{E}{2}\right)^2$ to both sides. |
| 3 | Factor each group as a perfect square; the right side becomes $r^2$. |
Example: $x^2+y^2-4x+6y-3=0$ becomes $(x^2-4x+4)+(y^2+6y+9)=3+4+9=16$, i.e. $(x-2)^2+(y+3)^2=16$ — center $(2,-3)$, radius $4$.
§6 Point Tests and Line Intersections
Two common follow-up questions: is a given point inside, on, or outside the circle, and where does a line cross it?
Point test
Compute the distance $d$ from the point to the center and compare to $r$: $d
Line ∩ circle
Substitute the line's equation into the circle's, then solve the quadratic. $0$ roots = miss, $1$ root = tangent, $2$ roots = secant.
Example: $x^2+y^2=25$ and $y=x+1$. Substituting, $x^2+(x+1)^2=25 \Rightarrow 2x^2+2x-24=0 \Rightarrow (x+4)(x-3)=0$, so the line meets the circle at $(-4,-3)$ and $(3,4)$ — two roots, a secant.
§7 Don't Confuse These
| Pair | Correct idea | Common trap |
|---|---|---|
| Sign of center | $(x+3)^2$ means $h=-3$. | Reading the visible $+3$ as the center coordinate. |
| $r$ vs. $r^2$ | Right side is $r^2$; take the root for $r$. | Reporting the right side as the radius. |
| Add to one side vs. both | When completing the square, add to both sides. | Adding only on the left, changing the equation. |
| Inside / on / outside | Compare $d$ to $r$: $<,=,>$. | Comparing $d^2$ to $r$ instead of $r^2$. |
| Standard vs. general | Standard reveals center/radius; general hides them. | Trying to read center off general form without completing the square. |
§8 Worked Examples
One skill per example.
Write from center/radius
Center $(2,-3)$, radius $5$.
Answer: $(x-2)^2+(y+3)^2=25$.
Read center/radius
$(x-4)^2+(y+1)^2=36$.
Answer: center $(4,-1)$, $r=6$.
Origin circle
$x^2+y^2=49$.
Answer: center $(0,0)$, $r=7$.
Complete the square
$x^2+y^2-4x+6y-3=0$.
Answer: $(x-2)^2+(y+3)^2=16$; center $(2,-3)$, $r=4$.
Point test
Is $(5,1)$ inside $(x-3)^2+(y+2)^2=16$?
Answer: $d=\sqrt{4+9}=\sqrt{13}\approx3.6<4$, so inside.
Line intersection
$x^2+y^2=25$, $y=x+1$.
Answer: $(-4,-3)$ and $(3,4)$ — a secant.
Convert $x^2+y^2-6x+4y-3=0$. Completing the square: $(x^2-6x+9)+(y^2+4y+4)=3+9+4=16$, so $(x-3)^2+(y+2)^2=16$ — center $(3,-2)$, $r=4$. Test $(5,1)$: $d=\sqrt{(5-3)^2+(1+2)^2}=\sqrt{4+9}=\sqrt{13}\approx3.6$. Since $3.6<4$, the point is inside. Three skills, one problem.
§9 Self-Check
Answer each before opening the explanations.
- Write the equation of the circle with center $(-2,5)$ and radius $3$.
- Give the center and radius of $(x+7)^2+(y-1)^2=49$.
- Convert $x^2+y^2+8x-2y+8=0$ to standard form; state the center and radius.
- Is the point $(1,2)$ inside, on, or outside $(x-1)^2+(y-2)^2=9$? (Hint: test the center distance.)
- How many times does the line $y=5$ meet $x^2+y^2=25$, and where?
- Explain why the right side of standard form is $r^2$ and not $r$.
Show Answers
- $(x+2)^2+(y-5)^2=9$.
- Center $(-7,1)$; $r=\sqrt{49}=7$.
- $(x^2+8x+16)+(y^2-2y+1)=-8+16+1=9$, so $(x+4)^2+(y-1)^2=9$; center $(-4,1)$, $r=3$.
- The point is the center, so $d=0<3$: it is inside the circle.
- Once: substituting $y=5$ gives $x^2=0$, so $x=0$. The line is tangent at $(0,5)$.
- Standard form comes from squaring the distance formula $\sqrt{(x-h)^2+(y-k)^2}=r$; squaring both sides puts $r^2$ on the right, so you must square-root to recover $r$.