Equations of Circles

Watch the video explainer

Learning goals

  • Justify a circle equation by measuring distance from its center
  • Recover circle geometry and recognize point or empty graphs from equations
  • Classify points by comparing squared distance with the squared radius
  • Find all common points of a line and a circle
  • Verify tangency using incidence and a perpendicular contact radius

Distance gives the equation its meaning

A circle equation describes a fixed distance from a center. You met its algebra in Intro to Algebra; here the equation becomes a tool for checking geometric claims.

Worked example 1 Build the equation from a radius

Problem. A circle has center CC at (−1,−3)(-1,-3) and passes through PP at (2,2)(2,2). Write its equation and justify why it describes exactly that circle.

Solution. The horizontal and vertical gaps from CC to PP are 33 and 55 units. The squared radius is

r2=32+52,r2=34.\begin{aligned} r^2&=3^2+5^2,\\ r^2&=34. \end{aligned}
Coordinate gaps justify a radiusCoordinate gaps justify a radius. Both coordinate axes have the same unit scale. C is at (-1, -3); P is at (2, 2); H is at (2, -3). Straight segments join the marked points.xyCPH
The two perpendicular coordinate gaps form the legs; CP is the radius.

A point (x,y)(x,y) has squared distance (x+1)2+(y+3)2(x+1)^2+(y+3)^2 from CC. Requiring that distance to equal the positive radius 34\sqrt{34} gives

(x+1)2+(y+3)2=34.(x+1)^2+(y+3)^2=34.

Every point on the circle satisfies this equation. Conversely, any real point satisfying it has distance 34\sqrt{34} from CC, so it belongs to the circle. The distance condition works in both directions.

The center-radius equation describes a circle#

The same reasoning works for any center CC at (h,k)(h,k) and positive radius rr. The horizontal and vertical gaps to PP at (x,y)(x,y) give

CP2=(x−h)2+(y−k)2.CP^2=(x-h)^2+(y-k)^2.

This distance identity also holds when one gap is zero. Therefore the center-radius equation is

(x−h)2+(y−k)2=r2.(x-h)^2+(y-k)^2=r^2.

Points at distance rr satisfy it. Any point satisfying it has that distance, because both CPCP and rr are nonnegative. Nothing in the numerical argument depended on the chosen center or radius.

Try moving the center and the point on the rim separately. Predict which parts of the equation will change, then compare the readout. Finally, put the two marked points together: the graph then has one point, rather than a positive-radius circle.

Distance determines the circle equation

Center (0, 0), point on the circle (1, 2). Legs 1 and 2, so r² = 1² + 2² = 5 and r = √5. Equation: x² + y² = 5. A coordinate plane with a circle on it, its center marked, one point marked on the circle itself, and the right triangle between them with its two legs labeled. Drag either marked point, or use the controls below the figure, to move the center or resize the circle. -2 2 -2 2 1 2
Center x Center y Point x Point y

Center (0, 0), point on the circle (1, 2). Legs 1 and 2, so r² = 1² + 2² = 5 and r = √5. Equation: x² + y² = 5.

The readout relates the marked points to their distance condition. Coincident points give no positive-radius circle; any curve outside the window is clipped.

Check your understanding

A circle has center (−6,1)(-6,1) and passes through (−2,2)(-2,2). Which equation follows from the distance condition?

Answer choices

Recover the geometry before drawing

Completing the square rewrites an equation without changing its real solutions. Once it has center-radius form, read the center and take the positive square root of the right side.

Worked example 2 Recover and graph a circle

Problem. Find the center and radius of the following graph. Sketch it using four points horizontally or vertically aligned with its center.

x2+y2−2x+8y+1=0.x^2+y^2-2x+8y+1=0.

Solution. Move the constant, then add 11 and 1616 to complete the two squares.

(x2−2x)+(y2+8y)=−1,(x−1)2+(y+4)2=16.\begin{aligned} (x^2-2x)+(y^2+8y)&=-1,\\ (x-1)^2+(y+4)^2&=16. \end{aligned}

The center is (1,−4)(1,-4) and the radius is 44. Four radius steps give L at (−3,−4)(-3,-4), R at (5,−4)(5,-4), U at (1,0)(1,0), and D at (1,−8)(1,-8). Draw a round curve through them with equal coordinate scales.

Four radius steps locate the graphFour radius steps locate the graph. Both coordinate axes have the same unit scale. C is at (1, -4); L is at (-3, -4); R is at (5, -4); U is at (1, 0); D is at (1, -8). The circle boundary is solid.xyCLRUD
The solution uses four radius steps from C. The axes have equal scales.

Each of these points makes one square zero and the other 1616, checking the sketch against the equation.

The sign of the completed-square right side matters. For example,

(x−3)2+(y+5)2=0(x-3)^2+(y+5)^2=0

forces both squares to be zero, so its graph is the single point (3,−5)(3,-5). Replacing the right side by −2-2 gives no real points, since real squares cannot have a negative sum. A circle needs a positive radius. A zero or negative completed-square right side does not describe a positive-radius circle.

Check your understanding

What real graph is described by x2+y2+10x−4y+30=0x^2+y^2+10x-4y+30=0?

Answer choices

Compare a point with the radius

A point lies inside, on, or outside a positive-radius circle according to whether its center distance is less than, equal to, or greater than the radius. Compare squared distances directly: squaring preserves the order of nonnegative numbers, so you can avoid square roots.

Worked example 3 Prove three point positions

Problem. Classify each point relative to the circle below, using exact squared distances.

(x−4)2+(y−1)2=10.(x-4)^2+(y-1)^2=10.

Point A is (5,3)(5,3).

Point B is (7,2)(7,2).

Point D is (2,−2)(2,-2).

Solution. The center is C=(4,1)C=(4,1). For A,

CA2=12+22,CA2=5.\begin{aligned} CA^2&=1^2+2^2,\\ CA^2&=5. \end{aligned}

Since 5<105<10, A is inside.

For B,

CB2=32+12,CB2=10.\begin{aligned} CB^2&=3^2+1^2,\\ CB^2&=10. \end{aligned}

The equality puts B on the circle.

For D,

CD2=(−2)2+(−3)2,CD2=13.\begin{aligned} CD^2&=(-2)^2+(-3)^2,\\ CD^2&=13. \end{aligned}

Since 13>1013>10, D is outside.

Squared distance distinguishes three positionsSquared distance distinguishes three positions. Both coordinate axes have the same unit scale. C is at (4, 1); A is at (5, 3); B is at (7, 2); D is at (2, -2). The circle boundary is solid.xyCABD
The calculations establish the positions of A, B, and D; the drawing illustrates them.

Check your understanding

Where is (−1,−1)(-1,-1) relative to (x−2)2+(y+3)2=20(x-2)^2+(y+3)^2=20?

Answer choices

A line adds a second condition

Intersections must satisfy both equations. For a nonvertical line, substitute its expression for yy into the circle equation. For a vertical line, substitute its fixed xx instead. Solve, then recover and check both coordinates of each point.

Worked example 4 Find both intersections exactly

Problem. Find every common point of the circle and line below.

(x+1)2+(y−2)2=8,y=x+1.\begin{aligned} (x+1)^2+(y-2)^2&=8,\\ y&=x+1. \end{aligned}

Solution. Substitute the line expression for yy.

(x+1)2+(x−1)2=8,2x2+2=8,x2=3.\begin{aligned} (x+1)^2+(x-1)^2&=8,\\ 2x^2+2&=8,\\ x^2&=3. \end{aligned}

The two points are

A=(−3,1−3),B=(3,1+3).\begin{aligned} A&=(-\sqrt3,1-\sqrt3),\\ B&=(\sqrt3,1+\sqrt3). \end{aligned}

Each pair satisfies the line. For either root, the circle’s left side simplifies to 2x2+22x^2+2, which is 88. Both are genuine intersections, and the equation for xx has no other roots.

Two points satisfy both equationsTwo points satisfy both equations. Both coordinate axes have the same unit scale. C is at (-1, 2); A is at (negative square root of 3, 1 minus the square root of 3); B is at (square root of 3, 1 plus the square root of 3). Solid blue circle boundaries and dashed red lines have different line styles.xyCAB
The solution points A and B lie on the solid circle and the dashed line.

For a positive-radius circle, a line has zero, one, or two common points. A tangent meets it once; a secant meets it twice. These are distinct points, so a repeated algebraic root still gives one intersection.

For the circle centered at (0,1)(0,1) with radius 22, substituting the three horizontal lines in the figure gives the following cases.

Line at height 44 gives x2=−5x^2=-5, with no real roots.

Line at height 33 gives x2=0x^2=0, with just one real root.

Line at height 11 gives x2=4x^2=4, with two real roots.

A line can miss, touch, or cut a circleSeparate panels use equal scales. Each circle has radius two. The dashed line has height four, three, or one, respectively. Their intersection counts are zero, one, and two.y = 40 intersectionsy = 31 intersectiony = 12 intersections
Three separate line positions on the same circle give zero, one, and two intersections.

Check your understanding

Find every common point of the circle and line.

(x−2)2+(y+1)2=9,x=5.\begin{aligned}(x-2)^2+(y+1)^2&=9,\\x&=5.\end{aligned}
Answer choices

Verify the contact radius

The tangent-radius theorem from Circle Geometry gives a second way to check a tangent: the line must pass through a point on the circle and be perpendicular to the radius ending there. Checking slopes without checking the contact point leaves part of the argument missing.

Worked example 5 Verify a slanted tangent

Problem. Verify that the line below is tangent to the circle at T=(4,2)T=(4,2).

(x−2)2+(y+2)2=20,x+2y=8.\begin{aligned} (x-2)^2+(y+2)^2&=20,\\ x+2y&=8. \end{aligned}

Solution. The circle has center C=(2,−2)C=(2,-2). The point T is on it because

(4−2)2+(2+2)2=20.(4-2)^2+(2+2)^2=20.

T also lies on the line because 4+2(2)=84+2(2)=8. The contact radius has slope

mCT=2−(−2)4−2.m_{CT}=\frac{2-(-2)}{4-2}.

This is 22. The line can be written as

y=−12x+4.y=-\frac12x+4.

Both slopes are defined and nonzero, and their product is −1-1. Thus the line is perpendicular to CT at its circle endpoint, proving tangency.

A contact radius is perpendicular to the tangentA contact radius is perpendicular to the tangent. Both coordinate axes have the same unit scale. C is at (2, -2); T is at (4, 2). Solid blue circle boundaries and dashed red lines have different line styles.xyCT
The checked contact T is on both objects. The right-angle mark records the established perpendicularity.

A horizontal radius instead has a vertical tangent at its endpoint. A vertical radius has a horizontal tangent. Handle these orientations directly; an undefined slope is not a number you can multiply.

Check your understanding

Which line is tangent to (x+4)2+(y−2)2=9(x+4)^2+(y-2)^2=9 at its rightmost point?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

The Roman writer Cicero tells a story about searching for Archimedes’ tomb while serving as an official in Sicily. Local people told him that no such monument remained. Cicero had a clue they had overlooked: he remembered hearing that the grave carried a sphere and a cylinder.

Among the crowded monuments near a city gate, he noticed a small column rising above the bushes with those shapes on it. Workers cut a path through the growth. Once the party could reach the pedestal, Cicero found an inscription, although parts of its verses had already worn away.

This is Cicero’s own account, written long after Archimedes’ lifetime. In his telling, a remembered geometric carving led him to a monument that the city had forgotten. Read sections 64 to 66 of the Tusculan Disputations in C. D. Yonge’s 1877 translation, hosted by Attalus.

Your progress

See all your progress →