A circle is the set of all points at a fixed distance, the radius, from a fixed point, the centre. Coordinate geometry turns this definition into an equation. With it you can find a circle’s centre and radius from its equation, decide whether a point lies inside or outside it, find where a line cuts it, and write the equation of a tangent. This lesson covers the standard and general forms of the circle equation used in HSC Higher Mathematics.
In this lesson you will learn
- The centre–radius form (x − h)² + (y − k)² = r²
- The general form x² + y² + 2gx + 2fy + c = 0
- Finding the centre and radius by completing the square
- Circles from a diameter, and the position of a point
- Intersections with a line and tangents
You should know the distance formula and the equation of a straight line.
The Centre–Radius Form
A point (x, y) is on the circle with centre (h, k) and radius r exactly when its distance from the centre is r. Squaring the distance formula gives:
Equation of a circle
(x − h)² + (y − k)² = r². With the centre at the origin: x² + y² = r².
Centre (2, −3), radius 5:
(x − 2)² + (y + 3)² = 25
Expanding: x² − 4x + 4 + y² + 6y + 9 = 25
x² + y² − 4x + 6y − 12 = 0
The General Form
General equation
x² + y² + 2gx + 2fy + c = 0 has centre (−g, −f) and radius √(g² + f² − c).
x² + y² − 6x + 8y = 0
2g = −6 → g = −3; 2f = 8 → f = 4; c = 0
Centre (3, −4), radius √(9 + 16 − 0) = 5
Or complete the square:
(x² − 6x + 9) + (y² + 8y + 16) = 9 + 16
(x − 3)² + (y + 4)² = 25
An equation is a circle only if the x² and y² terms have equal coefficients, there is no xy term, and g² + f² − c > 0. If the coefficients are equal but not 1, divide through first.
Circle From a Diameter
A diameter has ends A(1, 2) and B(7, 10).
Centre = midpoint = (4, 6)
Radius = ½ × AB = ½ √(36 + 64) = 5
Equation: (x − 4)² + (y − 6)² = 25
Shortcut: (x − x₁)(x − x₂) + (y − y₁)(y − y₂) = 0
(x − 1)(x − 7) + (y − 2)(y − 10) = 0 (expands to the same equation)
Inside, On or Outside?
Substitute the point into the left side of x² + y² + 2gx + 2fy + c (= 0 form):
- Result < 0: inside the circle.
- Result = 0: on the circle.
- Result > 0: outside the circle.
Circle x² + y² − 6x + 8y = 0, point (1, 1):
1 + 1 − 6 + 8 = 4 > 0, so (1, 1) is outside.
Lines and Tangents
Where does y = x + 1 meet x² + y² = 13?
x² + (x + 1)² = 13 → 2x² + 2x − 12 = 0 → x² + x − 6 = 0
(x + 3)(x − 2) = 0 → x = 2 or −3
Points: (2, 3) and (−3, −2)
Tangent to x² + y² = r² at the point (x₁, y₁): x·x₁ + y·y₁ = r²
Tangent to x² + y² = 25 at (3, 4): 3x + 4y = 25
Substituting the line into the circle gives a quadratic. Two real roots mean the line cuts the circle (a secant); a repeated root means it touches it (a tangent); no real roots mean it misses. A tangent is always perpendicular to the radius at the point of contact.
Common Mistakes
- Sign errors in the centre: (x + 3)² means h = −3.
- Forgetting to square the radius: radius 5 gives 25 on the right.
- Using the general-form formula without dividing when x² and y² have a coefficient other than 1.
- Reading the radius from c directly. The radius is √(g² + f² − c).
Practice Exercises
Exercise 1. Find the centre and radius of x² + y² + 4x − 10y + 20 = 0.
Show answer
g = 2, f = −5, c = 20. Centre (−2, 5); radius √(4 + 25 − 20) = 3.
Exercise 2. Find the equation of the circle with centre (1, 1) passing through (4, 5).
Show answer
r = √(9 + 16) = 5. Equation: (x − 1)² + (y − 1)² = 25, or x² + y² − 2x − 2y − 23 = 0.
Exercise 3. Write the tangent to x² + y² = 10 at (1, 3).
Show answer
x(1) + y(3) = 10, i.e. x + 3y = 10.
Frequently Asked Questions
How many points determine a circle?
Three points not on one line. Substituting each into x² + y² + 2gx + 2fy + c = 0 gives three equations for the three unknowns g, f and c.
What are the parametric equations of a circle?
x = h + r cos θ and y = k + r sin θ. As θ goes from 0 to 2π, the point travels once round the circle. They are useful in physics for circular motion.
Summary
- (x − h)² + (y − k)² = r² has centre (h, k) and radius r.
- x² + y² + 2gx + 2fy + c = 0 has centre (−g, −f) and radius √(g² + f² − c).
- The sign of the left side at a point shows whether it is inside, on or outside.
- Substitute a line to find intersections; the tangent to x² + y² = r² at (x₁, y₁) is xx₁ + yy₁ = r².
