Coordinate geometry & circles · Lesson 2 of 2

The equation of a circle

The circle with a given centre and radius, reading the centre and radius from the general equation, tangents, circles through three points, and where a line meets a circle.

20 minYou should already know: Coordinate geometry
  1. 1
  2. 2

Centre and radius

A point P(x,y)P(x, y) is on the circle with centre (a,b)(a, b) and radius rr when its distance from the centre is rr. By Pythagoras:

xy(a, b)rP
A circle(x − a)² + (y − b)² = r²
(x−a)2+(y−b)2=r2(x - a)^2 + (y - b)^2 = r^2

Expanding gives the general form x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0, with centre (−g,−f)(-g, -f) and radius g2+f2−c\sqrt{g^2 + f^2 - c}. The x2x^2 and y2y^2 terms must have the same coefficient: divide through first if they are both 3, say.

Worked example · NECO 2023

NECO 2023 · Paper 2 · Q2 (a)

Find the equation of the circle whose centre is (4,−5)(4, -5) and which passes through (−3,2)(-3, 2).

  1. The radius

    • r2=(4+3)2+(−5−2)2=49+49=98{r^2 = (4 + 3)^2 + (-5 - 2)^2 = 49 + 49 = 98}.

    Think first. r is the distance from (4, −5) to (−3, 2).

  2. The equation

    • (x−4)2+(y+5)2=98{(x - 4)^2 + (y + 5)^2 = 98}.
    • Expand: x2−8x+16+y2+10y+25=98{x^2 - 8x + 16 + y^2 + 10y + 25 = 98}.
    • So x2+y2−8x+10y−57=0{x^2 + y^2 - 8x + 10y - 57 = 0}.

More: centre and radius

Tangents

The tangent at a point PP on a circle is perpendicular to the radius to PP. So find the radius’s gradient, then use −1÷-1 \div that gradient:

xy(a, b)rPtangent
The tangent at Pgradient of tangent = −1 ÷ gradient of radius
Centre, radius and tangentSet g, f and c, then move P
−7−5−3−11357−6−4−2246xyP
(1, −0.5)centre (−g, −f)2.5radius−1.19tangent gradient at P
x² + y² − 2x + 1y − 5 = 0: centre (1, −0.5), r² = g² + f² − c = 1 + 0.25 + 5 = 6.25, so r = 2.5. At P(2.92, 1.11) the radius has gradient 0.84, so the tangent has gradient −1.19.

Worked example · NECO 2023

NECO 2023 · Paper 2 · Q9 (a, b)

Find the centre and radius of the circle 3x2+3y2+12x−6y−45=03x^2 + 3y^2 + 12x - 6y - 45 = 0.

Find the equation of the tangent to the circle at (2,3)(2, 3) (give yy in terms of xx).

  1. Centre and radius

    • x2+y2+4x−2y−15=0{x^2 + y^2 + 4x - 2y - 15 = 0}, so g=2{g = 2} and f=−1{f = -1}.
    • The centre is (−2,1){(-2, 1)} and r=4+1+15=20=25{r = \sqrt{4 + 1 + 15} = \sqrt{20} = 2\sqrt5}.

    Think first. Divide by 3 first, so x² has coefficient 1.

  2. The radius to (2, 3)

    • Its gradient is 3−12+2=12{\frac{3 - 1}{2 + 2} = \frac12}.
  3. The tangent

    • Its gradient is −2{-2}: y−3=−2(x−2){y - 3 = -2(x - 2)}.
    • So y=−2x+7{y = -2x + 7}.

More: tangents

A circle through three points

Put each point into x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0. That gives three equations in gg, ff and cc.

Worked example · WAEC 2018

WAEC 2018 · Paper 2 · Q9

A circle is drawn through the points (3,2)(3, 2), (−1,−2)(-1, -2) and (5,−4)(5, -4). Find the:

coordinates of the centre of the circle;

radius of the circle;

equation of the circle.

  1. Three equations

    • (3,2){(3, 2)}: 6g+4f+c=−13{6g + 4f + c = -13}.
    • (−1,−2){(-1, -2)}: −2g−4f+c=−5{-2g - 4f + c = -5}.
    • (5,−4){(5, -4)}: 10g−8f+c=−41{10g - 8f + c = -41}.

    Think first. Substitute (3, 2), (−1, −2) and (5, −4).

  2. Remove c

    • First minus second: 8g+8f=−8{8g + 8f = -8}, so g+f=−1{g + f = -1}.
    • Third minus first: 4g−12f=−28{4g - 12f = -28}, so g−3f=−7{g - 3f = -7}.
    • Subtract: 4f=6{4f = 6}, so f=32{f = \frac32} and g=−52{g = -\frac52}.

    Think first. Subtract the equations in pairs.

  3. c, the centre and the radius

    • c=−13−6(−52)−4(32)=−13+15−6=−4{c = -13 - 6\left(-\frac52\right) - 4\left(\frac32\right) = -13 + 15 - 6 = -4}.
    • The centre is (−g,−f)=(52,−32){(-g, -f) = \left(\frac52, -\frac32\right)}.
    • r=254+94+4=12.5≈3.536{r = \sqrt{\frac{25}{4} + \frac94 + 4} = \sqrt{12.5} \approx 3.536}.
    • The equation is x2+y2−5x+3y−4=0{x^2 + y^2 - 5x + 3y - 4 = 0}.

Where a line meets a circle

Make xx or yy the subject of the line’s equation and substitute into the circle. The quadratic gives the points where they meet:

xyMN
A line cutting a circleSubstitute the line into the circle and solve

Worked example · WAEC 2013

WAEC 2013 · Paper 2 · Q4

The line 2y=x+32y = x + 3 meets the circle x2+y2−2x+6y−15=0x^2 + y^2 - 2x + 6y - 15 = 0 at points MM and NN, where NN is in the first quadrant. Find the coordinates of MM and NN.

  1. Substitute

    • (2y−3)2+y2−2(2y−3)+6y−15=0{(2y - 3)^2 + y^2 - 2(2y - 3) + 6y - 15 = 0}.
    • Expand: 4y2−12y+9+y2{4y^2 - 12y + 9 + y^2} −4y+6+6y−15=0{- 4y + 6 + 6y - 15 = 0}.
    • 5y2−10y=0{5y^2 - 10y = 0}, so 5y(y−2)=0{5y(y - 2) = 0}.

    Think first. From the line, x = 2y − 3.

  2. The points

    • y=0{y = 0}: x=−3{x = -3}. y=2{y = 2}: x=1{x = 1}.
    • NN is in the first quadrant: N(1,2){N(1, 2)} and M(−3,0){M(-3, 0)}.

    Think first. y = 0 or y = 2. Which point is in the first quadrant?

Your turn

WAEC 2019 · Paper 2 · Q3

  1. (a)

    Find the equation of the circle centre (2,3)(2, 3) which passes through the yy-intercept of the line 3x−2y+6=03x - 2y + 6 = 0.

    Show the answer

    x2+y2−4x−6y+9=0x^2 + y^2 - 4x - 6y + 9 = 0

Worked solution (try it first)
  1. The yy-intercept is where x=0x = 0: −2y+6=0-2y + 6 = 0, so y=3y = 3: the point (0,3)(0, 3).
  2. r2=(0−2)2+(3−3)2=4r^2 = (0 - 2)^2 + (3 - 3)^2 = 4.
  3. (x−2)2+(y−3)2=4(x - 2)^2 + (y - 3)^2 = 4.
  4. Expand: x2−4x+4+y2−6y+9=4x^2 - 4x + 4 + y^2 - 6y + 9 = 4, so x2+y2−4x−6y+9=0x^2 + y^2 - 4x - 6y + 9 = 0.

Report a problem with this question