General and standard form of a circle

A circle's equation is sometimes given in an expanded general form. From x2+y26x+4y3=0x^2 + y^2 - 6x + 4y - 3 = 0 we convert to the standard form, from which the centre and radius can be read off1.

Completing the square

We complete the square in xx and in yy separately, using x26x=(x3)29x^2 - 6x = (x - 3)^2 - 9 and y2+4y=(y+2)24y^2 + 4y = (y + 2)^2 - 4.

(x3)29+(y+2)243=0(x3)2+(y+2)2=16\begin{align*} (x - 3)^2 - 9 + (y + 2)^2 - 4 - 3 &= 0 \\ (x - 3)^2 + (y + 2)^2 &= 16 \end{align*}

Comparing with the standard form, the centre is (3,2)(3, -2) and the radius is 44.

Why the standard form reads so easily

It is the definition of a circle written out: the set of points at distance rr from the centre. Squaring both sides of the distance formula (xa)2+(yb)2=r\sqrt{(x - a)^2 + (y - b)^2} = r produces it directly.

Half of the xx-coefficient 6-6 is 3-3, and half of the yy-coefficient 44 is 22; these are the centre coordinates with signs flipped.

Not every such equation is a circle

After completing the square, the right-hand side decides everything.

Constant termRight-hand sideThe locus
3-31616a circle of radius 44
+13+1300the single point (3,2)(3, -2)
+14+141-1no real points at all

A sum of squares is never negative, so the last case has no solution.

Two further conditions

  • The coefficients of x2x^2 and y2y^2 must be equal
  • There must be no xyxy term

Unequal coefficients give an ellipse, and an xyxy term tilts the figure.

The large dots on the graph are the centre and a point on the circle, a radius to its right.

  1. Completing the square, Wikipedia