1.3 - Equations of circles

1.3 - Equations of circles

A circle is made of points that are all the same distance from one fixed point. In this part of 1.3, that simple description will become an equation, and completing the square will uncover a hidden centre and radius. You will also use diameters, right angles and symmetry to connect circle geometry with coordinates.

Centre and radius

Take a fixed point C(a,b)C(a,b) and a point P(x,y)P(x,y). Their horizontal and vertical separations are x−ax-a and y−by-b. Pythagoras says that CP2=(x−a)2+(y−b)2CP^2=(x-a)^2+(y-b)^2, so fixing the distance CP=rCP=r gives a circle.

Circle

A circle is the set of points in a plane at a fixed positive distance, its radius, from a fixed point, its centre. A diameter joins two points on the circle through its centre and has length 2r2r.

The equation records the squared distance, so the number on its right is the radius squared.

Standard circle equation

For a circle with centre (a,b)(a,b) and radius r>0r>0,

(x−a)2+(y−b)2=r2.(x-a)^2+(y-b)^2=r^2.

This equation is not listed in MF19: learn it from the distance formula.

Read the centre by finding the values that make both brackets zero. For example, (x+2)2(x+2)^2 measures displacement from x=−2x=-2.

Worked example 1: a centre and one point

Question. A circle has centre (2,−1)(2,-1) and passes through (5,3)(5,3). Find its radius and equation.

Plan. Use the centre-to-point distance to find r2r^2; put that value into standard form.

r2=(5−2)2+(3−(−1))2=32+42=25.r^2=(5-2)^2+(3-(-1))^2=3^2+4^2=25.

Thus r=5r=5, and

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

Answer. Radius 55; equation (x−2)2+(y+1)2=25(x-2)^2+(y+1)^2=25.

Check. The point (2,4)(2,4), five units vertically above the centre, satisfies the equation: 02+52=250^2+5^2=25.

The reverse task starts with the equation. You can then decide whether a stated point belongs to the circle.

Worked example 2: reading and testing an equation

Question. State the centre and radius of (x+2)2+(y−1)2=13(x+2)^2+(y-1)^2=13. Determine whether (1,3)(1,3) lies on the circle.

Plan. Match each bracket to a displacement from the centre, then substitute the proposed point.

The centre is (−2,1)(-2,1), and r2=13r^2=13, so r=13r=\sqrt{13}. At (1,3)(1,3),

(1+2)2+(3−1)2=9+4=13.(1+2)^2+(3-1)^2=9+4=13.

Answer. Centre (−2,1)(-2,1), radius 13\sqrt{13}. The point lies on the circle.

Check. Its horizontal and vertical distances from the centre are 33 and 22, giving distance 32+22=13\sqrt{3^2+2^2}=\sqrt{13}, as required.

More generally, compare a point's squared distance from the centre with r2r^2. Smaller means inside; equal means on the circle; larger means outside. This avoids unnecessary square roots.

Completing two squares

Expanding a circle equation hides its centre, but the squared terms retain equal coefficients. Complete one square in xx and one in yy to recover the distance interpretation. Keep the constant corrections from both squares.

Starting from x2+y2+2gx+2fy+c=0x^2+y^2+2gx+2fy+c=0, group the terms and use the completing-square identity:

(x+g)2−g2+(y+f)2−f2+c=0.(x+g)^2-g^2+(y+f)^2-f^2+c=0.

Expanded circle equation

x2+y2+2gx+2fy+c=0⟺(x+g)2+(y+f)2=g2+f2−c.x^2+y^2+2gx+2fy+c=0 \quad\Longleftrightarrow\quad (x+g)^2+(y+f)^2=g^2+f^2-c.

The centre is (−g,−f)(-g,-f). A circle exists when g2+f2−c>0g^2+f^2-c>0, with radius g2+f2−c\sqrt{g^2+f^2-c}. This result is not listed in MF19.

The left side of the completed form is a sum of real squares. If the right side is zero, the equation describes just the centre point, rather than a circle of positive radius. If it is negative, there are no real points at all.

Worked example 3: uncovering a circle

Question. Find the centre and radius of x2+y2−6x+4y−12=0x^2+y^2-6x+4y-12=0.

Plan. Complete the xx-square and yy-square separately, then collect their corrections.

(x−3)2−9+(y+2)2−4−12=0(x−3)2+(y+2)2=25.\begin{aligned} (x-3)^2-9+(y+2)^2-4-12&=0\\ (x-3)^2+(y+2)^2&=25. \end{aligned}

Answer. Centre (3,−2)(3,-2), radius 55.

Check. Expanding the answer gives x2−6x+9+y2+4y+4=25x^2-6x+9+y^2+4y+4=25, hence the original constant term −12-12 after rearrangement.

Changing the constant can change whether a circle exists, even when the two bracket centres remain the same.

Worked example 4: no real circle

Question. Determine whether x2+y2+4x−2y+9=0x^2+y^2+4x-2y+9=0 represents a circle.

Plan. Complete the squares and examine the sign of the proposed squared radius.

(x+2)2−4+(y−1)2−1+9=0,(x+2)^2-4+(y-1)^2-1+9=0, (x+2)2+(y−1)2=−4.(x+2)^2+(y-1)^2=-4.

Answer. There is no real circle and no real point satisfying the equation, because two non-negative squares cannot sum to −4-4.

Check. The smallest possible value of the original left side is 44, attained at (−2,1)(-2,1), so it cannot equal zero.

With the same xx- and yy-terms but constant 55, the right side would be zero and only (−2,1)(-2,1) would remain. With a constant less than 55, the right side would be positive. Existence is a condition to check before taking a square root.

Watch out

In expanded form, halve each linear coefficient before reading the centre. The centre has the opposite signs to the constants inside the completed brackets.

Test the positive-radius condition with an unknown constant.

Circle geometry in coordinates

A diameter gives both the centre and the radius: its midpoint is the centre, and half its length is the radius. Other circle facts become useful once you can express their distances and directions in coordinates.

Key idea

An angle subtended by a diameter at any other point on the circle is a right angle: the angle in a semicircle. The line from the centre to the midpoint of a chord is perpendicular to that chord, provided the chord is not itself a diameter.

Here is why these facts fit the geometry. Joining a point on a semicircle to the centre makes two isosceles triangles. If their base angles at the point are α\alpha and β\beta, the two central angles sum to 180∘180^\circ; hence 2α+2β=180∘2\alpha+2\beta=180^\circ, giving α+β=90∘\alpha+\beta=90^\circ. For a chord midpoint, the two triangles formed have equal radii, equal half-chords and the same centre-to-midpoint side. They are congruent, so their adjacent angles at the midpoint are equal and sum to 180∘180^\circ: each is 90∘90^\circ.

Worked example 5: a diameter and a right angle

Question. A circle has diameter endpoints A(−2,−1)A(-2,-1) and B(6,5)B(6,5). Find its equation. Verify that P(5,−2)P(5,-2) lies on it and that APAP and BPBP are perpendicular.

Plan. Find the diameter's midpoint and half-length; then check the point and the two gradients.

C=(−2+62,−1+52)=(2,2),AB=82+62=10.C=\left(\frac{-2+6}{2},\frac{-1+5}{2}\right)=(2,2), \qquad AB=\sqrt{8^2+6^2}=10.

Thus r=5r=5, giving (x−2)2+(y−2)2=25(x-2)^2+(y-2)^2=25. For PP, (5−2)2+(−2−2)2=9+16=25(5-2)^2+(-2-2)^2=9+16=25. Also,

mAP=−2+15+2=−17,mBP=−2−55−6=7,mAPmBP=−1.m_{AP}=\frac{-2+1}{5+2}=-\frac17, \qquad m_{BP}=\frac{-2-5}{5-6}=7, \qquad m_{AP}m_{BP}=-1.

Answer. (x−2)2+(y−2)2=25(x-2)^2+(y-2)^2=25; PP lies on the circle and AP⊥BPAP\perp BP.

Check. AP2=50AP^2=50, BP2=50BP^2=50 and AB2=100AB^2=100. Pythagoras independently confirms the right angle at PP.

The same circle also shows how a chord's midpoint controls its direction.

[DIAGRAM: asset_name: A diameter and a chord; asset_slug: circle-diameter-and-chord; caption: A diameter produces a right angle on the circle, while a chord is symmetric about the perpendicular from the centre; description: Two equal-scale panels show the circle with centre C at 2 comma 2 and radius 5. Left: diameter A minus 2 comma minus 1 to B 6 comma 5 and the point P 5 comma minus 2 form a right triangle, with its right angle marked at P. Right: the vertical chord x equals 5 has endpoints 5 comma 6 and 5 comma minus 2, midpoint M 5 comma 2 and horizontal segment CM of length 3. Its two half-chords are length 4.]
A diameter produces a right angle on the circle, while a chord is symmetric about the perpendicular from the centre

Use the centre-to-chord distance to find the half-chord length.

Worked example 6: chord symmetry

Question. Find the endpoints and length of the chord x=5x=5 on (x−2)2+(y−2)2=25(x-2)^2+(y-2)^2=25.

Plan. The chord is vertical. Its midpoint is level with the centre (2,2)(2,2); use Pythagoras to find its two symmetric endpoints.

The midpoint is M(5,2)M(5,2), so CM=3CM=3. If a half-chord has length hh,

h2+32=52⟹h=4.h^2+3^2=5^2\quad\Longrightarrow\quad h=4.

The endpoints are (5,2+4)=(5,6)(5,2+4)=(5,6) and (5,2−4)=(5,−2)(5,2-4)=(5,-2).

Answer. Endpoints (5,6)(5,6) and (5,−2)(5,-2), chord length 88.

Check. Substituting x=5x=5 directly gives 9+(y−2)2=259+(y-2)^2=25, so y−2=±4y-2=\pm4, confirming both endpoints.

Reflection in the horizontal line y=2y=2 exchanges these endpoints and leaves the circle unchanged. The positive half-length matters: h=4h=4; the two signs belong to the coordinates above and below the midpoint.

Quick Recap

  • A circle equation is a fixed squared distance from its centre.
  • Complete both squares to recover the centre and squared radius from expanded form.
  • A positive squared radius gives a circle; zero gives one point; a negative value gives no real points.
  • Diameter midpoints, right angles and chord symmetry turn geometric information into coordinates.