A compass draws a circle by keeping the pencil a fixed distance from the pin. To turn that into an equation you need a way to measure the distance between two points of the plane, and the Pythagorean theorem gives one. Once you have it, the equation of a circle simply says that a point sits at the right distance from the center.
Key terms
Distance formula
Definition The distance between the points and in the coordinate plane is
It comes from the Pythagorean theorem applied to the right triangle whose legs have lengths and and whose hypotenuse is the segment from to . When the two points lie on one horizontal or vertical line there is no triangle, and the formula gives the plain gap or , as it should. The order of the points does not matter, because squaring removes the signs.
In plain words Go across, then go up. The straight path between the points is the hypotenuse of that triangle.
Example From to the legs are and , so
Midpoint formula
Definition The midpoint of the segment with endpoints and is
It lies on the segment, and its distance to each endpoint is half the length of the segment.
In plain words Average the first coordinates and average the second coordinates.
Example For the endpoints and the midpoint is
The distance formula confirms it. From to either endpoint the distance is , half of the full length .
Circle, center and radius
Definition Let be a point of the plane and a positive real number. The circle with center and radius is the set of all points in the plane with . The word radius also names any segment from the center to a point of the circle. A diameter is a segment through the center with both endpoints on the circle. Every diameter has length , and the center is the midpoint of every diameter. The center itself is not a point of the circle.
In plain words A circle is every point at one fixed distance from a center. It is only the rim, not the disk inside it.
Example Take the center and radius . The points , , and , three units right, up, left and down from the center, all lie on the circle. The point does not. Its distance from the center is , which is less than , so it lies inside the circle.
Standard equation
Definition A point lies on the circle with center and radius exactly when
This is the standard equation of the circle. It is the distance formula with both sides squared, which loses nothing because a distance and are both nonnegative. Points with lie inside the circle and points with lie outside. The unit circle has center and radius .
In plain words The horizontal gap squared plus the vertical gap squared equals the radius squared. The signs inside the parentheses are the opposites of the coordinates of the center.
Example The circle with center and radius has the equation
It passes through the origin, since .
General equation
Definition Expanding a standard equation and moving everything to one side gives an equation of the form
with real numbers , and , called the general equation of the circle. Conversely, every equation of this form describes one of three sets.
- When it is the circle with center and radius .
- When it is the single point .
- When no point of the plane satisfies it.
These formulas come from completing the square, as the next section shows. An equation with can first be divided by . In this form and have the same coefficient and there is no term, which is how you recognize a possible circle.
In plain words The expanded form hides the center and the radius. It is often what you get after some algebra, so you need a way back to the standard form.
Example Expanding the circle from the previous example gives
Here , and . The formulas give back the center and the radius .
Completing the square
Definition To find the center and radius from a general equation, group the terms and the terms, move the constant to the other side, and complete the square in each variable with
adding the same amounts to both sides. The result has the form . It is a circle exactly when , and then its radius is .
In plain words It is the same move as for a quadratic function, done twice, once for and once for .
Example Start from . Half of is and half of is , so add and to both sides.
This is , the circle with center and radius . As a check, the point satisfies the original equation, since , and it is units from the center.
Check yourself
- A diameter of a circle has endpoints and . Find the standard equation of the circle.
Show the answer
The center is the midpoint . The diameter has length , so the radius is and the equation is
- Find the center and radius of the circle .
Show the answer
Divide by to get . Completing the square in and in gives
so the center is and the radius is .
- Does the equation describe a circle?
Show the answer
No. Completing the square gives
A sum of squares is never negative, so no point satisfies the equation. With the constant in place of the right side would be , and the equation would describe only the point .