How do you find the equation of a circle?
The equation of a circle with centre (a, b) and radius r is (x - a)<sup>2</sup> + (y - b)<sup>2</sup> = r<sup>2</sup>. Read off the centre and radius, or find them from a diameter or by completing the square. For a tangent, use the fact that it is perpendicular to the radius. This is SQA Higher Maths, Algebraic and geometric skills. Example: Find the equation of the circle with centre (2, -3) and radius 5. (x - 2)<sup>2</sup> + (y + 3)<sup>2</sup> = 25 Answer: (x - 2)<sup>2</sup> + (y + 3)<sup>2</sup> = 25, which expands to x<sup>2</sup> + y<sup>2</sup> - 4x + 6y - 12 = 0.
Quick answer: The equation of a circle with centre (a, b) and radius r is (x - a)2 + (y - b)2 = r2. If the centre is the origin it simplifies to x2 + y2 = r2. To find it, work out the centre and the radius first, then substitute. This page is for SQA Higher Maths.
What the specification expects
This topic is in the SQA Higher Mathematics course specification (v3.0), Algebraic and geometric skills, under Applying algebraic skills to circles and graphs. The course specification states:
- determining and using the equation of a circle
- using properties of tangency in the solution of a problem
- determining the intersection of circles or a line and a circle
- Suggested learning and teaching contexts: develop the equation of a circle (centre the origin) from Pythagoras, and extend this to a circle with centre (a, b)
Method
- Find the centre (a, b), for example as the midpoint of a diameter.
- Find the radius r, as the distance from the centre to a point on the circle.
- Write (x - a)2 + (y - b)2 = r2.
- If asked, expand to the form x2 + y2 + 2gx + 2fy + c = 0.
- For tangent problems, use the fact that a tangent is perpendicular to the radius at the point of contact.
Worked example 1: finding the equation of a circle from its centre and radius
Find the equation of the circle with centre (2, -3) and radius 5. Expand your answer.
- Use (x - a)2 + (y - b)2 = r2 with a = 2, b = -3, r = 5.
- (x - 2)2 + (y + 3)2 = 25.
- Expand: x2 - 4x + 4 + y2 + 6y + 9 = 25.
- Collect terms: x2 + y2 - 4x + 6y - 12 = 0.
Answer: (x - 2)2 + (y + 3)2 = 25, or x2 + y2 - 4x + 6y - 12 = 0.
Worked example 2: centre and radius from an expanded equation
Find the centre and radius of the circle x2 + y2 - 6x + 4y - 12 = 0.
- Complete the square in x: x2 - 6x = (x - 3)2 - 9.
- Complete the square in y: y2 + 4y = (y + 2)2 - 4.
- So (x - 3)2 - 9 + (y + 2)2 - 4 - 12 = 0, giving (x - 3)2 + (y + 2)2 = 25.
- The centre is (3, -2) and r = √25 = 5.
Answer: Centre (3, -2), radius 5.
Worked example 3: circle from a diameter
A(1, 2) and B(7, 10) are the ends of a diameter. Find the equation of the circle.
- The centre is the midpoint of AB: ((1 + 7)/2, (2 + 10)/2) = (4, 6).
- The radius is the distance from (4, 6) to A: r2 = (4 - 1)2 + (6 - 2)2 = 9 + 16 = 25.
- So the equation is (x - 4)2 + (y - 6)2 = 25.
- Check with B: (7 - 4)2 + (10 - 6)2 = 9 + 16 = 25.
Answer: (x - 4)2 + (y - 6)2 = 25.
Worked example 4: a tangent to a circle
The circle (x - 1)2 + (y + 2)2 = 25 passes through T(4, 2). Find the equation of the tangent at T.
- Check T is on the circle: (4 - 1)2 + (2 + 2)2 = 9 + 16 = 25.
- The centre is C(1, -2). Gradient of CT = (2 - (-2))/(4 - 1) = 4/3.
- The tangent is perpendicular to the radius, so its gradient is -3/4.
- Use y - b = m(x - a): y - 2 = -3/4 (x - 4). Multiply by 4: 4y - 8 = -3x + 12, so 3x + 4y = 20.
Answer: 3x + 4y = 20.
Common mistakes
- Writing (x + a) when the centre is (a, b). The signs inside the brackets are the opposite of the centre coordinates.
- Giving r2 as the radius. Remember to square root at the end.
- Forgetting to add the numbers back after completing the square.
- Using the gradient of the radius as the gradient of the tangent.
FAQs
What is the equation of a circle with centre the origin?
x2 + y2 = r2, which comes from Pythagoras' theorem.
How do I show a line is a tangent to a circle?
Substitute the line into the circle equation. If the discriminant of the resulting quadratic is zero, the line touches the circle at one point only.
Do I need to complete the square?
Yes, when the equation is given in expanded form and you need the centre and radius.
Want one-to-one help? Find an online Maths tutor with ExpertTutor.
Want one-to-one support?
One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.
Find a TutorLearn face to face in Glasgow
Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.
See the centre