HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Circles on the Coordinate Plane and Radians
  1. 1The equation of a circle
  2. 2Lines, tangents and two circles
  3. 3Radians, arcs and sectors
  1. Mathematics
  2. /Circles on the Coordinate Plane and Radians
  3. /The equation of a circle

Course 22.1·Lesson 1 of 3

The equation of a circle

A circle is every point at one distance from a centre, and the distance formula turns that into an equation. You write the equation from a centre and a radius. You read the centre and radius from the expanded form by completing the square. You decide whether a point is inside, on or outside, and you find the equation from a diameter or a circle that touches an axis.

about 25 min1 simulation1 practice question
Lesson 1 of 3Show all lessonsHide
Circles on the Coordinate Plane and Radians
  1. 1The equation of a circle
  2. 2Lines, tangents and two circles
  3. 3Radians, arcs and sectors

Try the code and the simulations beside the lesson.

This lesson is Additional Mathematics, unit 8 of Cambridge IGCSE Additional Mathematics 0606. That course has one level, so there is no Core and Extended split here. You need the distance formula and the midpoint formula from the coordinate geometry chapter, and completing the square from the chapter on quadratic equations.

Every point at the same distance

A bicycle wheel keeps every point of the rim at the same distance from the hub. A circle on the plane is the same idea: all the points at distance rrr from a fixed point, the centre C(a,b)C(a, b)C(a,b).

Take a point P(x,y)P(x, y)P(x,y) on the circle. The distance CPCPCP is rrr, and the distance formula gives

(x−a)2+(y−b)2=r.\displaystyle \sqrt{(x - a)^2 + (y - b)^2} = r.(x−a)2+(y−b)2​=r.

Square both sides and we get the equation that the List of formulas gives:

(x−a)2+(y−b)2=r2.\displaystyle (x - a)^2 + (y - b)^2 = r^2.(x−a)2+(y−b)2=r2.

If the centre is the origin, then a=b=0a = b = 0a=b=0 and the equation is x2+y2=r2x^2 + y^2 = r^2x2+y2=r2.

Example. Centre (3,−2)(3, -2)(3,−2) and radius 555. The equation is (x−3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25(x−3)2+(y+2)2=25. Notice the signs: the centre has y=−2y = -2y=−2, so the bracket is y−(−2)=y+2y - (-2) = y + 2y−(−2)=y+2.

A graph with a circle of radius 5 and centre (3, minus 2). A dashed radius runs from the centre to the point (6, 2) on the circle. The point (5, 1) is inside the circle and the point (7, 3) is outside it.

Inside, on or outside

Put a point into (x−a)2+(y−b)2(x - a)^2 + (y - b)^2(x−a)2+(y−b)2 and compare the answer with r2r^2r2. The number is the square of the distance from the centre.

  • On the circle: the number equals r2r^2r2. The point (6,2)(6, 2)(6,2) gives 9+16=259 + 16 = 259+16=25.
  • Inside: the number is less than r2r^2r2. The point (5,1)(5, 1)(5,1) gives 4+9=134 + 9 = 134+9=13.
  • Outside: the number is more than r2r^2r2. The point (7,3)(7, 3)(7,3) gives 16+25=4116 + 25 = 4116+25=41.

The expanded form

Expand (x−3)2+(y+2)2=25(x - 3)^2 + (y + 2)^2 = 25(x−3)2+(y+2)2=25:

x2−6x+9+y2+4y+4=25,sox2+y2−6x+4y−12=0.\displaystyle x^2 - 6x + 9 + y^2 + 4y + 4 = 25, \quad\text{so}\quad x^2 + y^2 - 6x + 4y - 12 = 0.x2−6x+9+y2+4y+4=25,sox2+y2−6x+4y−12=0.

The syllabus writes this form as

x2+y2+2gx+2fy+c=0.\displaystyle x^2 + y^2 + 2gx + 2fy + c = 0.x2+y2+2gx+2fy+c=0.

Match the numbers: 2g=−62g = -62g=−6, 2f=42f = 42f=4 and c=−12c = -12c=−12. The centre is (−g,−f)=(3,−2)(-g, -f) = (3, -2)(−g,−f)=(3,−2). The radius comes from r2=g2+f2−c=9+4+12=25r^2 = g^2 + f^2 - c = 9 + 4 + 12 = 25r2=g2+f2−c=9+4+12=25.

Some books write x2+y2+Dx+Ey+F=0x^2 + y^2 + Dx + Ey + F = 0x2+y2+Dx+Ey+F=0. It is the same idea with D=2gD = 2gD=2g, E=2fE = 2fE=2f and F=cF = cF=c.

Reading the centre and radius by completing the square. Take x2+y2+8x−6y+9=0x^2 + y^2 + 8x - 6y + 9 = 0x2+y2+8x−6y+9=0.

  1. Group the letters. (x2+8x)+(y2−6y)+9=0(x^2 + 8x) + (y^2 - 6y) + 9 = 0(x2+8x)+(y2−6y)+9=0.
  2. Complete each square. (x+4)2−16+(y−3)2−9+9=0(x + 4)^2 - 16 + (y - 3)^2 - 9 + 9 = 0(x+4)2−16+(y−3)2−9+9=0.
  3. Move the number. (x+4)2+(y−3)2=16(x + 4)^2 + (y - 3)^2 = 16(x+4)2+(y−3)2=16.
  4. Read it. The centre is (−4,3)(-4, 3)(−4,3) and the radius is 444.

Check with the formulas: g=4g = 4g=4 and f=−3f = -3f=−3, so the centre is (−4,3)(-4, 3)(−4,3), and r2=16+9−9=16r^2 = 16 + 9 - 9 = 16r2=16+9−9=16.

Two warnings. The terms x2x^2x2 and y2y^2y2 must have the same coefficient, and it must be 111. If you see 2x2+2y2+…2x^2 + 2y^2 + \ldots2x2+2y2+…, divide the whole equation by 222 first. And r2r^2r2 must come out positive. For x2+y2+2x+4y+10=0x^2 + y^2 + 2x + 4y + 10 = 0x2+y2+2x+4y+10=0 we get r2=1+4−10=−5r^2 = 1 + 4 - 10 = -5r2=1+4−10=−5, so there is no circle at all.

Finding the equation

  • From the centre and a point on the circle. The radius is the distance between them. Centre (2,−1)(2, -1)(2,−1) and the point (5,3)(5, 3)(5,3): r2=32+42=25r^2 = 3^2 + 4^2 = 25r2=32+42=25.
  • From the ends of a diameter. The centre is the midpoint, and the radius is half the diameter. For A(−1,2)A(-1, 2)A(−1,2) and B(5,6)B(5, 6)B(5,6) the centre is (2,4)(2, 4)(2,4). The length AB2=36+16=52AB^2 = 36 + 16 = 52AB2=36+16=52, so r2=524=13r^2 = \tfrac{52}{4} = 13r2=452​=13, and the equation is (x−2)2+(y−4)2=13(x - 2)^2 + (y - 4)^2 = 13(x−2)2+(y−4)2=13.
  • From a circle that touches an axis. A circle with centre (4,3)(4, 3)(4,3) that touches the xxx-axis has r=3r = 3r=3, the height of the centre. If it touches the yyy-axis instead, then r=4r = 4r=4. In the first quadrant, a circle that touches both axes has its centre at (r,r)(r, r)(r,r).

Practise with new numbers

Try it in Python

The program reads the centre and radius from the numbers ggg, fff and ccc, then tests three points.

Read it first. Then run it. Why does the last line say there is no circle?

1. Change the point (7, 3) to (3, 3). Is it inside, on or outside?

2. Call circle_from_general(-4, 1, 1). What are the centre and the radius?

Common mistakes

  • Wrong signs in the brackets. The centre (3,−2)(3, -2)(3,−2) gives (x−3)2+(y+2)2(x - 3)^2 + (y + 2)^2(x−3)2+(y+2)2, not (x+3)2+(y−2)2(x + 3)^2 + (y - 2)^2(x+3)2+(y−2)2.
  • Writing rrr instead of r2r^2r2. The right side of the equation is the radius squared.
  • Reading the centre as (g,f)(g, f)(g,f). The centre is (−g,−f)(-g, -f)(−g,−f).
  • Forgetting to divide. Divide by the coefficient of x2x^2x2 before you read the centre.

Remember these

  • The circle with centre (a,b)(a, b)(a,b) and radius rrr is (x−a)2+(y−b)2=r2(x - a)^2 + (y - b)^2 = r^2(x−a)2+(y−b)2=r2.
  • The form x2+y2+2gx+2fy+c=0x^2 + y^2 + 2gx + 2fy + c = 0x2+y2+2gx+2fy+c=0 has centre (−g,−f)(-g, -f)(−g,−f) and r2=g2+f2−cr^2 = g^2 + f^2 - cr2=g2+f2−c.
  • Compare (x−a)2+(y−b)2(x - a)^2 + (y - b)^2(x−a)2+(y−b)2 with r2r^2r2 to decide inside, on or outside.
  • A diameter gives the centre as its midpoint.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. Write the equation of the circle with centre (−1,4)(-1, 4)(−1,4) and radius 666.
  1. State the centre and the radius of (x−5)2+(y+3)2=49(x - 5)^2 + (y + 3)^2 = 49(x−5)2+(y+3)2=49.
  1. Find the centre and the radius of x2+y2−6x+10y+18=0x^2 + y^2 - 6x + 10y + 18 = 0x2+y2−6x+10y+18=0.
  1. Is the point (4,7)(4, 7)(4,7) inside, on or outside the circle (x−1)2+(y−3)2=36(x - 1)^2 + (y - 3)^2 = 36(x−1)2+(y−3)2=36?
  1. A circle has a diameter from A(−2,3)A(-2, 3)A(−2,3) to B(4,11)B(4, 11)B(4,11). Find its equation.

References

  • Cambridge International, IGCSE Additional Mathematics 0606 syllabus (2025, 2026 and 2027), unit 8, outcome 8.1, and the List of formulas.

Enroll free in Circles on the Coordinate Plane and Radians

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

A circle has the equation x² + y² - 10x + 6y + 9 = 0…Easy · High School (9–10) · by StemPy Lab
The points A(-2, 1) and B(6, 7) are the ends of a diameter of a circle…Medium · High School (9–10) · by StemPy Lab
A circle in the first quadrant touches both axes and passes through the point (8, 1)…Hard · High School (9–10) · by StemPy Lab
Next: lesson 2Lines, tangents and two circles
← Circles on the Coordinate Plane and Radians
← PreviousLines, tangents and two circles →

Discussion (0)

Log in to join the discussion.

Loading…

1 Python program
5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.