Command Palette

Search for a command to run...

Analytic Geometry

Equation of Circle

Understanding Circle Equations

Circle equation is a mathematical formula that describes all points forming a circle on a coordinate plane. Imagine you have a compass and want to draw a circle on coordinate paper. Well, the circle equation tells us which coordinates the compass pencil tip will pass through.

Why is this useful? Because by knowing the circle equation, we can immediately tell where the center of the circle is and what its radius is without having to draw the circle first.

Circle Centered at Origin

Let's start with the easiest case first: a circle whose center is at the origin O(0,0)O(0,0).

If we have a circle with center at O(0,0)O(0,0) and radius rr, then every point (x,y)(x,y) on that circle has the same distance from the center, which is rr.

Using the distance formula, we get:

x2+y2=r\sqrt{x^2 + y^2} = r

If we square both sides, we get the circle equation with center at origin:

x2+y2=r2x^2 + y^2 = r^2

Let's visualize this first.

Circle with Center at Origin
Circle with center O(0,0)O(0,0) and radius 3.

For the circle above, the equation is x2+y2=9x^2 + y^2 = 9 because the radius is 3, so r2=32=9r^2 = 3^2 = 9.

Circle with Arbitrary Center

Now what if the center isn't at the origin? Say the circle center is at point P(a,b)P(a,b) with radius rr.

Every point (x,y)(x,y) on this circle must have the same distance rr from center P(a,b)P(a,b). Using the distance formula:

(xa)2+(yb)2=r\sqrt{(x-a)^2 + (y-b)^2} = r

After squaring, we get the general circle equation:

(xa)2+(yb)2=r2(x-a)^2 + (y-b)^2 = r^2

If we visualize this, it will look like this:

Circle with Arbitrary Center
Circle with center P(2,1)P(2,-1) and radius 2.

The equation of the circle above is (x2)2+(y+1)2=4(x-2)^2 + (y+1)^2 = 4 because the center is P(2,1)P(2,-1) and the radius is 2, so r2=22=4r^2 = 2^2 = 4.

General Form of Circle Equation

Sometimes we find circle equations that have already been expanded into general form. For example, from the equation (x1)2+(y2)2=9(x-1)^2 + (y-2)^2 = 9, if we expand it:

(x1)2+(y2)2=9(x-1)^2 + (y-2)^2 = 9
x22x+1+y24y+4=9x^2 - 2x + 1 + y^2 - 4y + 4 = 9
x2+y22x4y+5=9x^2 + y^2 - 2x - 4y + 5 = 9
x2+y22x4y4=0x^2 + y^2 - 2x - 4y - 4 = 0

This last form is called the general form of circle equation:

x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0

If we have an equation in general form, we can convert it back to standard form using completing the square technique.

Not all equations of the form x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0 are circle equations. The condition is D2+E24F>0D^2 + E^2 - 4F > 0. If this value is zero, then it's just a single point, and if negative, then there's no curve at all.

Determining Center and Radius

From the standard form (xa)2+(yb)2=r2(x-a)^2 + (y-b)^2 = r^2, we can directly know:

The center is at (a,b)(a,b) and the radius is rr (obtained from r=r2r = \sqrt{r^2}).

While from the general form x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0, we can determine:

Center: (D2,E2)\text{Center: } \left(-\frac{D}{2}, -\frac{E}{2}\right)
Radius: r=12D2+E24F\text{Radius: } r = \frac{1}{2}\sqrt{D^2 + E^2 - 4F}

Practice Problems

  1. Determine the equation of a circle centered at (3,2)(3,-2) with radius 5.

  2. Given a circle with equation x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0. Determine the center and radius of the circle.

  3. A circle passes through point (6,8)(6,-8) and is centered at O(0,0)O(0,0). Determine the equation of the circle.

  4. Determine the equation of a circle that has a diameter with endpoints at A(1,3)A(1,3) and B(7,1)B(7,-1).

Answer Key

  1. Solution:

    Given center (a,b)=(3,2)(a,b) = (3,-2) and radius r=5r = 5.

    Using the circle equation formula:

    (xa)2+(yb)2=r2(x-a)^2 + (y-b)^2 = r^2
    (x3)2+(y(2))2=52(x-3)^2 + (y-(-2))^2 = 5^2
    (x3)2+(y+2)2=25(x-3)^2 + (y+2)^2 = 25

    So the circle equation is (x3)2+(y+2)2=25(x-3)^2 + (y+2)^2 = 25.

  2. Solution:

    From the equation x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0, we identify the coefficients:

    D=6D = -6, E=4E = 4, F=12F = -12

    Center: (D2,E2)=((6)2,42)=(3,2)\text{Center: } \left(-\frac{D}{2}, -\frac{E}{2}\right) = \left(-\frac{(-6)}{2}, -\frac{4}{2}\right) = (3, -2)
    r=12D2+E24F=12(6)2+424(12)r = \frac{1}{2}\sqrt{D^2 + E^2 - 4F} = \frac{1}{2}\sqrt{(-6)^2 + 4^2 - 4(-12)}
    r=1236+16+48=12100=12×10=5r = \frac{1}{2}\sqrt{36 + 16 + 48} = \frac{1}{2}\sqrt{100} = \frac{1}{2} \times 10 = 5

    So the circle center is at (3,2)(3,-2) with radius 5.

  3. Solution:

    Since the circle is centered at O(0,0)O(0,0) and passes through point (6,8)(6,-8), the radius is the distance from the center to that point.

    r=(60)2+(80)2=62+(8)2=36+64=100=10r = \sqrt{(6-0)^2 + (-8-0)^2} = \sqrt{6^2 + (-8)^2} = \sqrt{36 + 64} = \sqrt{100} = 10

    The circle equation: x2+y2=r2=102=100x^2 + y^2 = r^2 = 10^2 = 100

  4. Solution:

    The circle center is the midpoint of diameter ABAB:

    Center=(xA+xB2,yA+yB2)=(1+72,3+(1)2)=(82,22)=(4,1)\text{Center} = \left(\frac{x_A + x_B}{2}, \frac{y_A + y_B}{2}\right) = \left(\frac{1+7}{2}, \frac{3+(-1)}{2}\right) = \left(\frac{8}{2}, \frac{2}{2}\right) = (4, 1)

    The radius is half the diameter length:

    Length AB=(xBxA)2+(yByA)2=(71)2+(13)2\text{Length } AB = \sqrt{(x_B-x_A)^2 + (y_B-y_A)^2} = \sqrt{(7-1)^2 + (-1-3)^2}
    =62+(4)2=36+16=52=4×13=213= \sqrt{6^2 + (-4)^2} = \sqrt{36 + 16} = \sqrt{52} = \sqrt{4 \times 13} = 2\sqrt{13}
    r=diameter2=2132=13r = \frac{\text{diameter}}{2} = \frac{2\sqrt{13}}{2} = \sqrt{13}

    The circle equation: (x4)2+(y1)2=(13)2=13(x-4)^2 + (y-1)^2 = (\sqrt{13})^2 = 13