Circles in the Coordinate Plane

Part 9, Chapter 9: The Coordinate Plane

Learning objectives

  • Write the equation of a circle given its center and radius
  • Identify the center and radius from a circle equation in standard form
  • Convert from general form to standard form by completing the square

What is a circle, algebraically? A circle is a one-line idea: the set of points at a fixed distance from a given centre. With the distance formula in hand, that one-line idea becomes a single, beautiful equation that captures every circle in the plane, from a point on a planetary orbit to the rim of a pizza box. The equation (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2 is one of the most-used formulas in all of mathematics, science, and engineering.

Building the equation

Fix a centre C=(h,k)C = (h, k) and a radius r>0r > 0. A point (x,y)(x, y) lies on the circle exactly when its distance from CC equals rr. By the distance formula:

sqrt(xh)2+(yk)2;=;r.\sqrt{(x - h)^2 + (y - k)^2} \;=\; r.

Squaring both sides (both are non-negative, so this is safe) gives the standard form:

(xh)2+(yk)2;=;r2.(x - h)^2 + (y - k)^2 \;=\; r^2.

When the centre is the origin (h=k=0h = k = 0), the equation collapses to the cleanest form: x2+y2=r2x^2 + y^2 = r^2. The unit circle is x2+y2=1x^2 + y^2 = 1.

Where this shows up
  • Computer Graphics: Rasterising a circle uses the implicit equation (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2; Bresenham's circle algorithm computes which pixels satisfy this most closely, integer-only, without trigonometry.
  • Astronomy: Orbits are approximately circular (or elliptical for higher eccentricity); fitting an orbital path to telescope observations begins by fitting a circle equation to the angular positions over time.
  • Manufacturing: CNC mills cut circular pockets by following the equation (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2 parameterised in time; the standard-form parameters (h,k,r)(h, k, r) are the inputs the operator enters directly.

Drag the centre. Adjust the radius slider. Watch the equation update live as (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2. The radius line marks the distance from the centre to any point on the circle.

Reading off the centre and radius

Given (x3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25, you can read the centre and radius directly: the xx-shift gives h=3h = 3 (note the minus sign in (xh)(x - h); if you see (y+2)(y + 2), that is (y(2))(y - (-2)) so k=2k = -2), and r2=25r^2 = 25 means r=5r = 5. Centre (3,2)(3, -2), radius 55.

The general form, and completing the square

If you expand the standard form, you get the general form:

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

where D=2hD = -2h, E=2kE = -2k, and F=h2+k2r2F = h^2 + k^2 - r^2. To recover the centre and radius, you must complete the square: group the xx-terms and yy-terms, add and subtract the right constants. For example,

x2+y26x+4y12=0x^2 + y^2 - 6x + 4y - 12 = 0

rearranges to (x26x)+(y2+4y)=12(x^2 - 6x) + (y^2 + 4y) = 12. Adding (6/2)2=9(6/2)^2 = 9 to the first group and (4/2)2=4(4/2)^2 = 4 to the second (also to the right side to balance):

(x3)2+(y+2)2=12+9+4=25.(x - 3)^2 + (y + 2)^2 = 12 + 9 + 4 = 25.

Centre (3,2)(3, -2), radius 55. Completing the square is the algebraic inverse of expansion, and is your main computational tool throughout coordinate geometry.

Try it

  • Predict first: what equation describes a circle of radius 11 centred at the origin? Place the centre at the origin, set r=1r = 1, and verify the readout shows x2+y2=1x^2 + y^2 = 1.
  • Before adjusting: what is the equation of a circle of radius 33 centred at (2,1)(2, -1)? Drag the centre and slider to verify the readout shows (x2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9.
  • Confirm (5,1)(5, -1) lies on (x2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9: (52)2+(1+1)2=9+0=9(5-2)^2 + (-1+1)^2 = 9 + 0 = 9. Yes.

A trap to watch for

The signs in the standard form fool many beginners. The equation is (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2, with minus signs in both groups. A circle centred at (3,4)(-3, 4) has equation (x(3))2+(y4)2=r2(x - (-3))^2 + (y - 4)^2 = r^2, which becomes (x+3)2+(y4)2=r2(x + 3)^2 + (y - 4)^2 = r^2. The plus in (x+3)(x + 3) corresponds to a negative centre coordinate. Always flip the sign when reading off hh and kk. Also: r2=25r^2 = 25 means r=5r = 5, not 2525, do not forget the square root.

What you now know

You can write down the equation of any circle from its centre and radius, convert between standard and general form using completing-the-square, and verify whether a given point lies on a circle. The next section asks a deeper question: which points on a circle have rational coordinates? The answer connects circles to Pythagorean triples and number theory.

Quick check

Mark section complete →

References

  • Lang, S. (1971). Basic Mathematics. Springer. Chapter 8, §3, the equation of a circle in standard form.
  • Stewart, J. (2015). Calculus, 8th ed. Cengage. Appendix B reviews circle equations as a setup for calculus.
  • Coxeter, H. S. M. (1969). Introduction to Geometry, 2nd ed. Wiley. Chapter 1 covers circles via the synthetic axioms.
  • Apostol, T. M. (1967). Calculus, Volume 1, 2nd ed. Wiley. §1.5 develops circle equations and the parametrisation (costheta,sintheta)(\cos\theta, \sin\theta).

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.