Circle
A circle is the most elementary conic section and the only one you can write down from a centre and a radius alone. This lesson derives its equation from the distance formula, expands that equation into the general form, and develops the two skills every circle question asks for: reading the centre and radius out of a general equation, and deciding whether a given point lies inside, on or outside the circle. Completing the square is the workhorse, so it is shown in full.
What You'll Learn
- 1Derive the standard equation of a circle from the distance formula
- 2Expand the standard form into the general form and identify g, f and c
- 3Recover the centre and radius of a circle from its general equation
- 4Decide the position of a point relative to a circle by comparing distance with radius
Deriving the Standard Equation
Let be an arbitrary point on the circle. Requiring the distance from to the centre to equal and squaring both sides removes the square root immediately:
That is the standard form, and it reads off the centre and radius without any further work. The centre sits inside the brackets with reversed signs, because the expression is built from differences and . A point lies on the circle exactly when it satisfies the equation, which is the quickest test available:
For the special case of a circle centred at the origin, and the equation collapses to , which is the form most often seen in trigonometry and in the unit circle.
Expanding into the General Form
Expanding the two squares and collecting terms gives a quadratic in and with equal coefficients and no cross term:
Comparing with the general equation identifies every constant at once:
Two conditions follow at once. The radius exists only when is positive; if it is zero the equation degenerates to a single point, and if it is negative the equation represents no real circle at all. Also note that and must appear with identical coefficients â if they differ, the equation is not a circle and no amount of rearranging will make it one.
Completing the Square by Hand
When the general equation contains awkward numbers, completing the square is more reliable than memorising the formula. Group the terms, halve the coefficient of , add its square, and do the same for :
The two numbers added on the right are exactly and , which is why the formula and the completion route always agree. The route also makes the geometric reading immediate: centre and radius .
| Question being asked | Form to use | What you read off |
|---|---|---|
| Equation from centre and radius | substitute directly | |
| Equation from a point on the circle | standard form, solve for | radius squared |
| Centre and radius from coefficients | and | |
| Position of a point | compare distance with radius | inside, on or outside |
| Equation from a diameter | centre is the midpoint of the ends | midpoint and half-length |
Four Worked Problems
Verifying Circles in Python
Extracting the centre and radius is pure arithmetic, and classifying a point is a comparison â both are worth checking numerically.
from math import sqrt
def circle_from_general(A, B, C, D, E, F):
"""Handle A x^2 + B y^2 + C x + D y + E = 0 for a circle."""
assert A == B != 0, "not a circle: x^2 and y^2 coefficients differ"
g, f = C / (2 * A), D / (2 * A)
c = F / A
r2 = g * g + f * f - c
return (-g, -f), r2
centre, r2 = circle_from_general(1, 1, -4, 6, 0, -12)
print("centre =", centre, "radius =", sqrt(r2)) # (2.0, -3.0) 5.0
centre, r2 = circle_from_general(1, 1, 0, 0, 0, -49)
print("centre =", centre, "radius =", sqrt(r2)) # (0.0, 0.0) 7.0
The second snippet classifies points against a circle by comparing squared distances, which avoids square roots entirely.
def classify(A, B, C, D, E, F, p):
x, y = p
value = A * x * x + B * y * y + C * x + D * y + E
return "on" if abs(value) < 1e-9 else ("inside" if value < 0 else "outside")
eq = (1, 1, -4, 6, 0, -12) # x^2 + y^2 - 4x + 6y - 12 = 0
for p in [(2, -3), (7, -3), (0, 0), (6, 1)]:
print(p, "->", classify(*eq, p))
What CBSE Asks on This Topic
The standard three-mark question hands you a general equation and asks for the centre and radius; the method mark is attached to the line where you identify , and , so write it explicitly even if you use the formula. A second pattern gives a centre and a point on the circle, expecting you to compute the radius first. Objective items frequently ask for the position of a given point, which is decided by one comparison of distances â never by attempting to solve the circle equation. The recurring error is a sign slip when reading the centre: from the value of is and the centre coordinate is , so the centre coordinate always carries the opposite sign to the coefficient of . When an equation contains , remember that the factor of two is already present in the general form.
Common Mistakes
Reading the centre with the same sign as the coefficients
Fix: The centre is minus g and minus f, so a coefficient of minus 4x contributes plus 2 to the x-coordinate.
Forgetting to halve the coefficient before squaring
Fix: Complete the square by adding the square of half the coefficient of x on both sides of the equation.
Accepting a negative value under the radius square root
Fix: A negative g squared plus f squared minus c means the equation does not represent any real circle.
Key Takeaways
- The standard form comes straight from the distance formula and hides the radius squared on the right
- Expanding the standard form gives the general form with centre minus g, minus f and radius root g squared plus f squared minus c
- Completing the square and the coefficient formula always give the same centre and radius
- A point is inside, on or outside a circle according as its substituted value is negative, zero or positive
Practice Problems
- Write the equation of a circle with centre and radius .
- Find the centre and radius of .
- Check whether lies on .
- Find the equation of a circle with centre passing through .
- Find the equation of the circle on the diameter whose ends are and .