Academy
Formulas/maths/Circles/General Equation

General Equation

General second-degree equation representing a circle. Coefficients of x² and y² must be equal and non-zero; no xy term.
Derivation

Expand the standard form (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2:

x22hx+h2+y22ky+k2=r2x^2 - 2hx + h^2 + y^2 - 2ky + k^2 = r^2

Rearranging:

x2+y22hx2ky+(h2+k2r2)=0x^2 + y^2 - 2hx - 2ky + (h^2 + k^2 - r^2) = 0

Setting g=hg = -h, f=kf = -k, c=h2+k2r2c = h^2 + k^2 - r^2:

x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0

Conditions for a valid circle: A general second-degree equation ax2+bxy+cy2+dx+ey+f=0ax^2 + bxy + cy^2 + dx + ey + f = 0 represents a circle if and only if:

  1. Coefficient of x2x^2 = coefficient of y2y^2 (both equal, non-zero)
  2. The xyxy coefficient is zero (no rotation)
  3. g2+f2c>0g^2 + f^2 - c > 0 (non-imaginary radius)