Skip to content

Mathematics · Ch 12 — Conic Sections

General Equation of a Circle

3

General Equation of a Circle

Expanding the standard equation (x−h)2+(y−k)2=r2(x-h)^2+(y-k)^2=r^2 gives

x2−2hx+h2+y2−2ky+k2−r2=0,x^2-2hx+h^2+y^2-2ky+k^2-r^2=0,

which can be rewritten, after collecting terms, as

x2+y2+2gx+2fy+c=0,where g=−h, f=−k, c=h2+k2−r2.x^2+y^2+2gx+2fy+c=0, \qquad \text{where } g=-h,\ f=-k,\ c=h^2+k^2-r^2.

This is the general equation of a circle -- the equation of every circle can be written this way, and (subject to a condition below) every equation of this form represents a circle.

Recovering the centre and radius. Given a general equation x2+y2+2gx+2fy+c=0x^2+y^2+2gx+2fy+c=0, the centre and radius are recovered by reversing the substitution above: since g=−hg=-h and f=−kf=-k,

centre=(−g, −f).\text{centre}=(-g,\,-f).

For the radius, rearrange c=h2+k2−r2=g2+f2−r2c=h^2+k^2-r^2=g^2+f^2-r^2 to get r2=g2+f2−cr^2=g^2+f^2-c, so

r=g2+f2−c.r=\sqrt{g^2+f^2-c}.

Equivalently, this can be obtained directly by completing the square on x2+2gxx^2+2gx and y2+2fyy^2+2fy: (x+g)2−g2+(y+f)2−f2+c=0⇒(x+g)2+(y+f)2=g2+f2−c(x+g)^2-g^2+(y+f)^2-f^2+c=0 \Rightarrow (x+g)^2+(y+f)^2=g^2+f^2-c, matching the standard form with centre (−g,−f)(-g,-f) and r2=g2+f2−cr^2=g^2+f^2-c.

Condition for a real circle. Since r2r^2 must be positive for an actual circle to exist, the quantity g2+f2−cg^2+f^2-c must be positive:

  • If g2+f2−c>0g^2+f^2-c>0, the equation represents a genuine circle of radius g2+f2−c\sqrt{g^2+f^2-c}.
  • If g2+f2−c=0g^2+f^2-c=0, the "radius" is 00: the equation degenerates to the single point (−g,−f)(-g,-f) (matching the point degenerate conic of Section 1).
  • If g2+f2−c<0g^2+f^2-c<0, no real point satisfies the equation at all. …