MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Pre-University
MathematicsPre-University

The equation of a circle — centre and radius form

P1 — Pure Algebra and Functions › P1.4 — Coordinate Geometry and ParametricsLecture 1 of 4~2910 words

Two equations that look like twins

Look at these two equations:

They differ only in the last number. You might expect them to draw two similar shapes. They do not. The first one draws a circle of radius 4. The second one draws nothing at all. No point in the whole plane makes it true.

Nothing on the surface warns you. Both have an , a , an term and a term. So to read an equation like this, you cannot just look at it. You need to know where a circle's equation comes from. Then you can turn any such equation back into a form that shows its centre, its radius, or the fact that it has no points.

This lecture also keeps a promise. In the lecture on distance problems, we marked the 12 grid points at distance 5 from the origin O, and saw that each one obeys . That lecture said this would become the equation of a circle at Pre-University. This is where it happens.

A circle is a rule about distance

Forget the drawing for a moment and think about the definition. A circle with centre C and radius is the set of all points that are exactly away from C. Nothing else. Every fact about circles follows from this one rule.

Now put the circle on coordinate axes. Let the centre be , and let be any point. To find the distance CP, use Pythagoras with the two gaps, as in the distance lecture. The across gap is , finish minus start. The up gap is .

x y O C(a, b) P(x, y) x − a y − b r
Figure 1. A circle with centre C(a, b) and radius r. Take any point P(x, y) on it. The across gap x − a and the up gap y − b are the two shorter sides of a right-angled triangle, and its hypotenuse is r.

Figure 1 shows the right-angled triangle. Its hypotenuse is CP, so

The point P is on the circle exactly when CP equals . So the circle's rule becomes . Square both sides, and the root disappears.

Is squaring safe here? Squaring can sometimes add false answers. For example, has one solution, but has two. The danger comes from a negative side. Here both sides are lengths, so neither can be negative. Two non-negative numbers are equal exactly when their squares are equal. So squaring keeps every point and adds none.

The equation of a circle

The circle with centre and radius has the equation

This is called the centre–radius form. When the centre is the origin, it becomes .

The words "exactly when" matter. They work in both directions. Every point on the circle satisfies the equation. And every pair that satisfies the equation is a point on the circle. So the equation does not just describe the circle. It is the circle, written in algebra.

x y O −5 5 (1, √24) (4, 3)
Figure 2. The circle x² + y² = 25. The 12 dark dots are its grid points. The open dot (1, √24) is also on the circle, like infinitely many other points with coordinates that are not whole numbers.

Figure 2 shows what this means for , the circle with centre O and radius 5. The 12 grid points from the distance lecture are all on it: , , and . But they are only the points with whole-number coordinates. Between them are infinitely many others. The point is one of them, because . The equation catches all of them.

You have also met the special case before. The unit circle of the trigonometry lectures has centre O and radius 1, so its equation is .

Stop and think

What are the centre and radius of ?

Show the answer

The centre is , not . The bracket is the across gap from the centre, so it must be " minus the centre's -coordinate". And , so that coordinate is . Check: the point makes both brackets zero, as the centre should. It is at distance zero from itself. The radius is , not 9, because the right-hand side is .

The equation measures distance, so it can tell inside from outside

Read the left-hand side again. For any point , the number is the square of its distance from the centre. So you can test any point by putting it into the left-hand side.

Do not learn these as three rules. They are one fact: the left-hand side is a squared distance. Squares keep the order of positive numbers, so comparing squares is the same as comparing distances.

When the brackets are opened

The equation is often given with the brackets already opened. Expand the circle from the hook, centre and radius 4:

That is the first hook equation. The centre and radius are still in there, but they are hidden. The came from the 3, and the came from the . The is a mix of 9, 4 and 16.

Expanding the general case shows the same pattern:

Notice two things that every circle's equation has. The and have the same coefficient, because both came from a square with coefficient 1. And there is no term, because and were never in the same bracket. An equation without these two features is not a circle. If the coefficients of and are equal but not 1, such as , divide the whole equation by that number first.

Many books write the opened form as . Then the centre is and . You do not need to learn this as a separate formula. It is what completing the square gives every time, as you will now see.

Completing the square, twice

To get the centre back, reverse the expansion. Group the terms and the terms, and complete the square on each group. This is the method from the completing-the-square lecture, used twice in one equation.

Start with the first hook equation, .

Put both back:

The centre is and the radius is 4.

Now do exactly the same steps for the second hook equation. The squares are the same. Only the constant changes:

The left-hand side is a sum of two squares. A square is never negative, so the sum is never negative. It can never equal . No point satisfies the equation. It is not a circle with a strange radius. It is an empty set of points.

That is it. That is the whole idea. After completing the squares, the right-hand side is the squared distance every point must have from the centre. If it is positive, you get a circle. If it is zero, only the centre itself is at distance zero, so you get a single point. If it is negative, no point can manage it.

Try it yourself on the explorer below. Start with the first hook equation, then raise the constant slowly.

Explore — complete the squares and see what the equation draws

The equation is x² + y² + px + qy + c = 0. Move p, q and c. The readouts complete the squares for you. Watch the right-hand side: it decides whether you get a circle, a single point or nothing at all.

The table keeps p = −6 and q = 4, so the squares are always (x − 3)² + (y + 2)² and the centre is always (3, −2). Only the constant c changes. The right-hand side is 3² + 2² − c = 13 − c.

cAfter completing the squaresDraws
−12(x − 3)² + (y + 2)² = 25circle, r = 5
−3(x − 3)² + (y + 2)² = 16circle, r = 4
4(x − 3)² + (y + 2)² = 9circle, r = 3
12(x − 3)² + (y + 2)² = 1circle, r = 1
13(x − 3)² + (y + 2)² = 0the point (3, −2)
20(x − 3)² + (y + 2)² = −7no points

As c rises, the circle keeps its centre and shrinks. At c = 13 it has shrunk to its centre. After that, nothing is left.

You should have seen the circle keep its centre while the constant changed. The and coefficients fix the centre. The constant only sets how large the right-hand side is. At the circle shrank to the single point . One step further, it was gone.

Stop and think

Is a circle of radius ?

Show the answer

No. Written in centre–radius form it is . The right-hand side should be , and it is negative. Two squares cannot add to , so no point satisfies it. A common slip is to see the number 10 and take its square root without checking which side it is on.

Now use both tests together: first the shape test (equal squares, no ), then the sign of the right-hand side.

Sort — a circle, a single point, no points, or not a circle?

Put each equation in a box. Work on paper first: check the shape, then complete the squares. Read the reason after each card.

Ten equations, sorted, with the deciding step for each.

  • A circle. x² + y² − 4x + 6y − 12 = 0 gives (x − 2)² + (y + 3)² = 25: centre (2, −3), radius 5. 2x² + 2y² − 8x + 4y − 8 = 0, divided by 2, gives (x − 2)² + (y + 1)² = 9: radius 3. 3x² + 3y² − 12 = 0, divided by 3, gives x² + y² = 4: radius 2.
  • A single point. x² + y² + 2x − 4y + 5 = 0 gives (x + 1)² + (y − 2)² = 0: only (−1, 2). x² + y² = 0: only (0, 0).
  • No points. x² + y² − 6x + 10 = 0 gives (x − 3)² + y² = −1. (x − 1)² + (y + 1)² + 4 = 0 gives (x − 1)² + (y + 1)² = −4.
  • Not a circle. x² + 2y² − 4 = 0 (unequal squares). x² + y² + xy − 1 = 0 (an xy term). x² − y² + 2x − 3 = 0 (y² has coefficient −1, not 1).

Worked examples

Worked Example 1 — Reading an exact radius

Find the centre and radius of .

The equation is already in centre–radius form. The brackets are and , so the centre is .

The right-hand side is , so .

Check: the point is to the right of the centre, so it should be on the circle. Its left-hand side is . It is.

Worked Example 2 — Divide first, then complete the squares

Find the centre and radius of .

The squares have the same coefficient, 2, and there is no term, so this may be a circle. Divide by 2 first:

Half of 3 is 1.5, so . Half of is , so . Then

The centre is and the radius is .

Check by expanding back: . Doubling gives the original equation.

Worked Example 3 — A circle from its diameter

The points and are the ends of a diameter. Find the equation of the circle.

An equation needs a centre and a radius. The centre is halfway along any diameter, so it is the midpoint of AB. Each coordinate of the midpoint is the average of the two ends:

The radius is half the diameter. AB has gaps 6 across and 8 up, so and . The circle is

Check: A gives , and B gives . Both ends are on the circle, as they must be.

Worked Example 4 — Where a line crosses the circle

Find where the line meets the circle .

A meeting point lies on both, so it satisfies both equations. This is the "one linear, one quadratic" method. Substitute , so :

So or . The line gives and . The meeting points are and .

Check each in the circle: and . Both work. The quadratic tells you more than the points. Two answers mean the line cuts the circle. No real answers would mean it misses. One repeated answer would mean it just touches. The next lecture uses that last case for tangents.

Worked Example 5 — Inside or outside, from the opened form

An invented garden: a sprinkler waters the region inside the circle , in metres. Is a plant at watered? Is one at ?

Complete the squares: . The sprinkler is at and reaches 6 m.

For : . The plant is inside, so it is watered. Its distance is m.

For : . This plant is outside, about m away.

There is a shortcut, and it has a reason. The opened form is the centre–radius form with moved to the left. So its left-hand side equals (squared distance) . Put in : , negative, so inside. Put in : , positive, so outside. The answers agree: and .

Traps

Trap 1 — The sign of the centre

From , the centre is , not . The bracket is " minus the centre's coordinate". Check any centre by putting it in: both brackets must become zero.

Trap 2 — Reading r² as r

In , the radius is 4, not 16. When the right-hand side is not a perfect square, leave the root exact: gives . And before taking any root, check that the right-hand side is positive.

Trap 3 — Completing the square before dividing

For , writing is wrong. The method needs with coefficient 1. Divide by 2 first: , so . The centre is , not .

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Find the centre and radius of .

    Hint 1

    Group the terms and the terms, then complete the square on each.

    Hint 2

    and .

    Full answer

    , so . The centre is and the radius is 3. Check: the point is 3 to the right of the centre. In the original equation it gives . It is on the circle.

  2. A circle has centre and passes through the origin. Find its equation, and write it in opened form.

    Hint 1

    The radius is the distance from the centre to a point on the circle.

    Hint 2

    From to , the gaps are and , so .

    Full answer

    , so the circle is . Expanding: , so . Check: there is no constant term. That is right, because must satisfy the equation, and it makes every other term zero.

  3. For which values of does draw a circle? For which is the radius 2?

    Hint 1

    Complete the squares and find the right-hand side in terms of .

    Hint 2

    The right-hand side is . A circle needs it to be positive.

    Full answer

    . This is a circle when , so when . At it is the single point , and for there are no points. Radius 2 needs , so . Check: with , the point , 2 to the right of the centre, gives .

  4. Find the equation of the circle through , and . What do you notice about its centre?

    Hint 1

    Write the circle as and put each point in. Each point gives one equation.

    Hint 2

    The origin gives . Then gives .

    Full answer

    The origin gives . The point gives , so . The point gives , so . The circle is , or : centre , radius 5. Check: gives , and gives . The centre is the midpoint of and . So the line from to is a diameter. This is the semicircle theorem seen from the other side. The angle at the origin is 90°, so the side facing it must be a diameter.

The bigger idea

This lecture translated a picture into an equation, and then read pictures back out of equations. That two-way translation is called coordinate geometry. Two French mathematicians found it independently. Pierre de Fermat wrote it up around 1636, but his work was not printed until 1679, after his death. René Descartes published it in 1637, in La Géométrie, an appendix to his Discourse on Method. That is why the axes are called Cartesian, after Descartes.

Fermat also saw the wider pattern. An equation of degree two in and always draws one of a small family of curves: a circle, an ellipse, a parabola or a hyperbola, or a degenerate case like a single point or nothing. The sorter showed some of that family. The circle is the member whose squares are equal and which has no term.

The same distance rule works in three dimensions. A sphere with centre and radius is , with one more gap for the third direction. Nothing new had to be invented. Once the circle is understood as a rule about distance, the sphere comes free.

Key concepts in this lesson