Skip to content

The equation of a circle

The equation of a circle

The equation of a circle
The equation of a circle is the definition of the circle as a locus, written in algebra: all the points at distance R\displaystyle R from the centre.

A point (x,y)\displaystyle (x,y) is on the circle with centre (a,b)\displaystyle (a,b) and radius R\displaystyle R exactly when its distance from the centre is R\displaystyle R:

(x−a)2+(y−b)2=R\sqrt{(x-a)^{2}+(y-b)^{2}}=R

We square both sides and get the general equation of a circle:

(x−a)2+(y−b)2=R2\displaystyle (x-a)^{2}+(y-b)^{2}=R^{2}

When the centre is the origin, a=0\displaystyle {a}={0} and b=0\displaystyle {b}={0}, and we get the canonical equation:

x2+y2=R2\displaystyle x^{2}+y^{2}=R^{2}
The centre and the radius from the equation

The centre and the radius are read from the general equation. Mind the signs: the equation is written with minus signs, (x−a)\displaystyle (x-a) and (y−b)\displaystyle (y-b).

  • (x+1)2+(y−3)2=25\displaystyle {(x+1)^{2}+(y-3)^{2}}={25}: here x+1=x−(−1)\displaystyle {x+1}={x-(-1)}, so the centre is (−1,3)\displaystyle (-1,3) and the radius 25=5\displaystyle {\sqrt{25}}={5}.
  • x2+y2=4\displaystyle {x^{2}+y^{2}}={4}: the centre is (0,0)\displaystyle (0,0) and the radius 2\displaystyle 2 (the dashed one).
  • x2+(y−4)2=7\displaystyle {x^{2}+(y-4)^{2}}={7}: the centre is (0,4)\displaystyle (0,4) and the radius 7\displaystyle \sqrt{7}.
(x+1)2+(y−3)2=25\displaystyle (x+1)^{2}+(y-3)^{2}=25
x2+y2=4\displaystyle x^{2}+y^{2}=4
M=(−1,3)\displaystyle M=(-1,3)
A point on the circle

A point is on the circle if its coordinates satisfy the equation. Substitute them and compare with R2\displaystyle R^{2}: equal – on the circle; less – inside it; more – outside it.

Example: the circle (x−2)2+(y−5)2=25\displaystyle {(x-2)^{2}+(y-5)^{2}}={25} and the point A(6,2)\displaystyle A(6,2).

(6−2)2+(2−5)2=16+9=25(6-2)^{2}+(2-5)^{2}=16+9=25

The result equals 25\displaystyle 25, so A\displaystyle A is on the circle.

The equation from the centre and a point

When the centre and a point on the circle are known, the radius is the distance between them. Usually no root is needed: the equation needs R2\displaystyle R^{2}.

Example: the centre of the circle is (3,−2)\displaystyle (3,-2), and the circle passes through (6,2)\displaystyle (6,2).

R2=(6−3)2+(2+2)2=9+16=25R^{2}=(6-3)^{2}+(2+2)^{2}=9+16=25

The equation of the circle: (x−3)2+(y+2)2=25\displaystyle {(x-3)^{2}+(y+2)^{2}}={25}.

The equation from the ends of a diameter

The centre of a circle is the midpoint of every diameter, and the radius is half the diameter.

Example: AB\displaystyle AB is a diameter, A(6,2)\displaystyle A(6,2) and B(−2,8)\displaystyle B(-2,8).

  • The centre is the midpoint of AB\displaystyle AB: (6+(−2)2,2+82)=(2,5)\displaystyle {\left(\frac{6+(-2)}{2},\frac{2+8}{2}\right)}={(2,5)}.
  • The diameter: AB=(6+2)2+(2−8)2=100=10\displaystyle {AB}={\sqrt{(6+2)^{2}+(2-8)^{2}}}={\sqrt{100}}={10}, so R=5\displaystyle {R}={5}.
  • The equation of the circle: (x−2)2+(y−5)2=25\displaystyle {(x-2)^{2}+(y-5)^{2}}={25}.
(x−2)2+(y−5)2=25\displaystyle (x-2)^{2}+(y-5)^{2}=25
A=(6,2)\displaystyle A=(6,2)
B=(−2,8)\displaystyle B=(-2,8)
M=(2,5)\displaystyle M=(2,5)
Exercise 1

Find the centre and the radius of each circle.

a

(x−4)2+(y+1)2=16\displaystyle {(x-4)^{2}+(y+1)^{2}}={16}

R\displaystyle R

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

    / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

    b

    (x+5)2+y2=3\displaystyle {(x+5)^{2}+y^{2}}={3}

    R\displaystyle R

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

      / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

      c

      x2+y2=49\displaystyle {x^{2}+y^{2}}={49}

      R\displaystyle R

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

        / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

        Exercise 2

        Write the equation of the circle in the drawing. Its centre and radius are whole numbers.

        ?\displaystyle ?

        Exercise 3

        The circle: (x−2)2+(y+3)2=25\displaystyle {(x-2)^{2}+(y+3)^{2}}={25}.

        a
        Substitute the point (5,1)\displaystyle (5,1).

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

          / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

          b
          Substitute the point (0,1)\displaystyle (0,1).

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – check and a new line · * – times · ^ – power, ↓ – end of the power

            / – fraction bar · Tab or the arrows – between numerator and denominator, then a note above or below · Enter – a new line · * – times · ^ – power, ↓ – end of the power

            c

            Which of the points is on the circle, and which is inside it? Explain.

            Exercise 4
            Your row is drawn on the board, so you can see whether the circle passes through P\displaystyle P.

            The centre of the circle is M(−3,2)\displaystyle M(-3,2), and the circle passes through the point P(1,5)\displaystyle P(1,5).
            Write the equation of the circle.

            M=(−3,2)\displaystyle M=(-3,2)
            P=(1,5)\displaystyle P=(1,5)

            Exercise 5

            AB\displaystyle AB is a diameter of a circle: A(−1,4)\displaystyle A(-1,4) and B(5,−4)\displaystyle B(5,-4).
            Write the equation of the circle.

            A=(−1,4)\displaystyle A=(-1,4)
            B=(5,−4)\displaystyle B=(5,-4)