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 .
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 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.
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 .
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.
- If the result is less than , the point is closer to C than the circle is. It is inside.
- If the result equals , the point is on the circle.
- If the result is more than , the point is farther away. It is outside.
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, .
- For the terms: half of is , so . The removes the extra 9 that the square brings.
- For the terms: half of 4 is 2, so .
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.
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.
| c | After completing the squares | Draws |
|---|---|---|
| −12 | (x − 3)² + (y + 2)² = 25 | circle, r = 5 |
| −3 | (x − 3)² + (y + 2)² = 16 | circle, r = 4 |
| 4 | (x − 3)² + (y + 2)² = 9 | circle, r = 3 |
| 12 | (x − 3)² + (y + 2)² = 1 | circle, r = 1 |
| 13 | (x − 3)² + (y + 2)² = 0 | the point (3, −2) |
| 20 | (x − 3)² + (y + 2)² = −7 | no 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.
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.
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
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.
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.
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.
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.
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
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.
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.
For , writing is wrong. The method needs with coefficient 1. Divide by 2 first: , so . The centre is , not .
Work each one on paper first. Open a hint only when you are stuck.
-
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.
-
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.
-
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 .
-
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.
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.
- A circle is the set of points at distance from a centre , so by Pythagoras its equation is .
- The centre is the point that makes both brackets zero, so means the centre's -coordinate is .
- An opened equation can be a circle only if and have the same coefficient and there is no term.
- Completing both squares gives the centre, and the right-hand side gives : positive means a circle, zero a single point, and negative no points.
- Putting a point into the left-hand side gives its squared distance from the centre, which shows whether it is inside, on or outside the circle.