Skip to content
Gioi Toan
Start learning
Two vectors joined head to tail on a grid, and their sum

Notes on Lesson 5: Equation of a circle (Maths 10 Canh Dieu, Chapter VII)

Lesson summary

In the coordinate plane OxyOxy, the circle (C)(C) with centre I(a;b)I(a; b) and radius RR is the set of points M(x;y)M(x; y) satisfying IM=RIM = R.

Expand the equation (x−a)2+(y−b)2=R2(x - a)^2 + (y - b)^2 = R^2, and we get x2+y2−2ax−2by+(a2+b2−R2)=0x^2 + y^2 - 2ax - 2by + (a^2 + b^2 - R^2) = 0.

This formula is just the definition of a circle written in coordinates: a circle is the set of points at a distance from the centre II exactly equal to RR.

This content is not yet available in English. It is shown below in the original Vietnamese.

  • Lập phương trình đường tròn, xác định tâm và bán kính, phương trình tiếp tuyến

In the coordinate plane, if you place a loudspeaker at the point I(2;3)I(2; 3) with a broadcast radius of 5 km, then the boundary of the area where it can be heard is a circle with the equation (x−2)2+(y−3)2=25(x - 2)^2 + (y - 3)^2 = 25. Today's lesson will help you write the equation of a circle when you know its centre and radius, read back from the equation to find the centre and radius, form an equation of a circle passing through three non-collinear points, and write the equation of the tangent to a circle at a point. These are the basic skills for solving many coordinate geometry problems and real-life applications.

Practise similar problems

Key ideas: what do you need to know?

Equation of a circle when the centre and radius are known

  • In the coordinate plane OxyOxy, the circle (C)(C) with centre I(a;b)I(a; b) and radius RR is the set of points M(x;y)M(x; y) satisfying IM=RIM = R.
  • From that, the point M(x;y)M(x; y) belongs to (C)(C) if and only if (x−a)2+(y−b)2=R2(x - a)^2 + (y - b)^2 = R^2. This relation is called the equation of the circle (C)(C).
  • Example: the circle with centre I(2;−1)I(2; -1) and radius R=3R = 3 has the equation (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9.
  • In particular, the circle with centre O(0;0)O(0; 0) and radius RR has the equation x2+y2=R2x^2 + y^2 = R^2.
  • So the point M(x0;y0)M(x_0; y_0) lies on the circle if and only if (x0−a)2+(y0−b)2=R2(x_0 - a)^2 + (y_0 - b)^2 = R^2.

In plain words: This formula is just the definition of a circle written in coordinates: a circle is the set of points at a distance from the centre II exactly equal to RR. The distance from M(x;y)M(x; y) to I(a;b)I(a; b) is (x−a)2+(y−b)2\sqrt{(x - a)^2 + (y - b)^2}. Set that distance equal to RR and square both sides, and you get the equation of the circle. Remember well: the centre's coordinates are subtracted inside the brackets, and the radius is squared on the right-hand side. Seeing (x−2)2(x - 2)^2 means the centre has x-coordinate 2, seeing (y+1)2(y + 1)^2 means the centre has y-coordinate −1-1.

Phrase by phrase
(x−a)2+(y−b)2=R2(x - a)^2 + (y - b)^2 = R^2
The equation of the circle with centre I(a;b)I(a; b) and radius RR.Example: Centre I(1;4)I(1; 4), R=2R = 2: (x−1)2+(y−4)2=4(x - 1)^2 + (y - 4)^2 = 4.
radius RR
The distance from the centre to every point on the circle, a positive number.Example: R=5R = 5 then the right-hand side is 25.
x2+y2=R2x^2 + y^2 = R^2
The special case when the centre is the origin O(0;0)O(0; 0).Example: x2+y2=16x^2 + y^2 = 16 is the circle with centre OO and radius 4.

Find the centre and radius from the equation of a circle

  • Expand the equation (x−a)2+(y−b)2=R2(x - a)^2 + (y - b)^2 = R^2, and we get x2+y2−2ax−2by+(a2+b2−R2)=0x^2 + y^2 - 2ax - 2by + (a^2 + b^2 - R^2) = 0. Setting c=a2+b2−R2c = a^2 + b^2 - R^2, the equation becomes x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0.
  • Conversely, the equation x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0 is equivalent to (x−a)2+(y−b)2=a2+b2−c(x - a)^2 + (y - b)^2 = a^2 + b^2 - c.
  • Therefore, the equation x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0 is the equation of a circle if and only if a2+b2−c>0a^2 + b^2 - c > 0. Then the circle has centre I(a;b)I(a; b) and radius R=a2+b2−cR = \sqrt{a^2 + b^2 - c}.
  • If a2+b2−c=0a^2 + b^2 - c = 0 then the set of points satisfying the equation consists of only one point I(a;b)I(a; b); if a2+b2−c<0a^2 + b^2 - c < 0 then that set is the empty set. In both cases, the given equation is not the equation of a circle.
  • Example: the equation x2+y2−4x+6y−3=0x^2 + y^2 - 4x + 6y - 3 = 0 has a=2a = 2, b=−3b = -3, c=−3c = -3, so a2+b2−c=4+9+3=16>0a^2 + b^2 - c = 4 + 9 + 3 = 16 > 0. So it is the circle with centre I(2;−3)I(2; -3) and radius R=4R = 4.

In plain words: The expanded form looks strange, but it is just the standard form after removing brackets and collecting terms. Just think of reversing the steps: group x2−2axx^2 - 2ax into (x−a)2−a2(x - a)^2 - a^2, group y2−2byy^2 - 2by into (y−b)2−b2(y - b)^2 - b^2, move the constant to the right-hand side and the center and the square of the radius appear. The condition a2+b2−c>0a^2 + b^2 - c > 0 is exactly so that the right-hand side is positive, because the square of the radius cannot be negative or equal to 0. A quick way to read it: the coefficient of xx is −2a-2a, so aa equals the coefficient of xx divided by −2-2; similarly bb is the coefficient of yy divided by −2-2.

Phrase by phrase
x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0
The expanded form of the equation of a circle.Example: x2+y2−2x+4y−4=0x^2 + y^2 - 2x + 4y - 4 = 0.
a2+b2−c>0a^2 + b^2 - c > 0
The condition for the given equation to be the equation of a circle.Example: a=1a = 1, b=−2b = -2, c=−4c = -4: 1+4+4=9>01 + 4 + 4 = 9 > 0, it is a circle.
R=a2+b2−cR = \sqrt{a^2 + b^2 - c}
The radius is computed from the coefficients, remember to take the square root.Example: R=9=3R = \sqrt{9} = 3.

Equation of the circle passing through three collinear points

  • The circle passing through three collinear points AA, BB, CC is the circumcircle of triangle ABCABC. Its center II is equidistant from the three points, so it is the point of intersection of the perpendicular bisectors, and the radius is IAIA.
  • How to form an equation: suppose the circle has equation x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0. Substitute the coordinates of each point AA, BB, CC into the equation, and we get a system of three linear equations with three unknowns aa, bb, cc. Solve this system to find aa, bb, cc, then check the condition a2+b2−c>0a^2 + b^2 - c > 0.
  • Example: form an equation of the circle passing through three points A(1;2)A(1; 2), B(5;2)B(5; 2), C(1;−2)C(1; -2). Call the equation x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0. Substitute the coordinates:

+ A(1;2)A(1; 2): 1+4−2a−4b+c=0⇒2a+4b−c=51 + 4 - 2a - 4b + c = 0 \Rightarrow 2a + 4b - c = 5.
+ B(5;2)B(5; 2): 25+4−10a−4b+c=0⇒10a+4b−c=2925 + 4 - 10a - 4b + c = 0 \Rightarrow 10a + 4b - c = 29.
+ C(1;−2)C(1; -2): 1+4−2a+4b+c=0⇒2a−4b−c=51 + 4 - 2a + 4b + c = 0 \Rightarrow 2a - 4b - c = 5.
Solve the system: subtract the third equation from the first to get 8b=0⇒b=08b = 0 \Rightarrow b = 0; subtract the first equation from the second to get 8a=24⇒a=38a = 24 \Rightarrow a = 3; substitute into the first equation to get c=1c = 1. Check a2+b2−c=9+0−1=8>0a^2 + b^2 - c = 9 + 0 - 1 = 8 > 0. So the circle has center I(3;0)I(3; 0), radius R=8R = \sqrt{8}, equation (x−3)2+y2=8(x - 3)^2 + y^2 = 8.

In plain words: Three collinear points determine exactly one circle, just like three non-collinear stakes let you stretch exactly one loop of string. Why use a system with three unknowns? Because the equation of a circle has three unknown numbers aa, bb, cc, and each point gives us one equation. You can also do it geometrically: write the equations of two perpendicular bisectors and find their point of intersection, this takes less computation when the coordinates are nice. But substituting coordinates usually turns out to be more effective and less error-prone.

Phrase by phrase
circumcircle of a triangle
The circle passing through all three vertices of the triangle.Example: The circle through AA, BB, CC is the circumcircle of triangle ABCABC.
substitute the coordinates of each point
Each point gives one equation in aa, bb, cc.Example: Point (1;2)(1; 2) gives 1+4−2a−4b+c=01 + 4 - 2a - 4b + c = 0.
three collinear points
The condition for exactly one circle to pass through three points.Example: If three points are collinear, no circle passes through all three.

Equation of the tangent to a circle at a point

  • Given the circle (C)(C) with center I(a;b)I(a; b) and a point M0(x0;y0)M_0(x_0; y_0) on the circle. Let Δ\Delta be the tangent to (C)(C) at M0M_0. Then Δ\Delta passes through M0M_0 and has normal vector IM0→=(x0−a;y0−b)\overrightarrow{IM_0} = (x_0 - a; y_0 - b).
  • The equation of the tangent Δ\Delta is:

(x0−a)(x−x0)+(y0−b)(y−y0)=0.(x_0 - a)(x - x_0) + (y_0 - b)(y - y_0) = 0.

  • Example: given the circle (C):(x−1)2+(y−2)2=5(C): (x - 1)^2 + (y - 2)^2 = 5. The point M(2;4)M(2; 4) belongs to (C)(C) because (2−1)2+(4−2)2=1+4=5(2 - 1)^2 + (4 - 2)^2 = 1 + 4 = 5. The tangent at MM has normal vector IM→=(1;2)\overrightarrow{IM} = (1; 2), equation: 1(x−2)+2(y−4)=0⇔x+2y−10=01(x - 2) + 2(y - 4) = 0 \Leftrightarrow x + 2y - 10 = 0.

In plain words: A tangent is like a road surface touching a wheel at exactly one point: the radius drawn to the point of contact is perpendicular to the road surface. So you only need to know the center and the point of tangency to know the direction of the tangent right away, with nothing else to find. Remember to check that the point of tangency really lies on the circle: substitute its coordinates into the equation, and only if the two sides are equal can you use this formula. If the point does not belong to the circle, there is no tangent at that point.

Phrase by phrase
tangent at M0M_0
The straight line touching the circle exactly at point M0M_0.Example: The tangent at M(2;4)M(2; 4) to the circle with center I(1;2)I(1; 2).
normal vector IM0→\overrightarrow{IM_0}
The vector from the center to the point of tangency, perpendicular to the tangent.Example: IM→=(1;2)\overrightarrow{IM} = (1; 2) is the normal vector of the tangent at MM.
(x0−a)(x−x0)+(y0−b)(y−y0)=0(x_0 - a)(x - x_0) + (y_0 - b)(y - y_0) = 0
Equation of the tangent to the circle with center I(a;b)I(a; b) at point M0(x0;y0)M_0(x_0; y_0).Example: With I(1;2)I(1; 2), M(2;4)M(2; 4): (2−1)(x−2)+(4−2)(y−4)=0(2 - 1)(x - 2) + (4 - 2)(y - 4) = 0.

Common mistakesUsing the tangent formula at MM even though MM does not belong to the circle, or mistaking IM→\overrightarrow{IM} for a direction vector of the tangent and so writing the straight line perpendicular to the tangent (which is the diameter IMIM).

TipTangent at the point of tangency: the normal vector is exactly IM→\overrightarrow{IM}, take the coordinates of the point of tangency minus the coordinates of the center, no need to look for anything else.

Worked examples

Example 1

Write the equation of the circle in the following cases:
a) Center I(2;−1)I(2; -1), radius R=3R = 3.
b) Center I(−1;4)I(-1; 4) and passing through point A(2;0)A(2; 0).
c) Center I(3;3)I(3; 3) and passing through the origin O(0;0)O(0; 0).

Show the solution to example 1

Step 1: a) Apply the formula (x−a)2+(y−b)2=R2(x - a)^2 + (y - b)^2 = R^2 with a=2a = 2, b=−1b = -1, R=3R = 3.
Why: The coordinates of the centre are subtracted inside the brackets, so y−(−1)y - (-1) is written as y+1y + 1.
Step 2: Equation: (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9.
Step 3: b) The radius is the distance from the centre to a point belonging to the circle: R=IA=(2+1)2+(0−4)2=9+16=5R = IA = \sqrt{(2 + 1)^2 + (0 - 4)^2} = \sqrt{9 + 16} = 5.
Step 4: Equation: (x+1)2+(y−4)2=25(x + 1)^2 + (y - 4)^2 = 25.
Step 5: c) R=IO=32+32=18R = IO = \sqrt{3^2 + 3^2} = \sqrt{18}, so R2=18R^2 = 18. Equation: (x−3)2+(y−3)2=18(x - 3)^2 + (y - 3)^2 = 18.
Result: a) (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9; b) (x+1)2+(y−4)2=25(x + 1)^2 + (y - 4)^2 = 25; c) (x−3)2+(y−3)2=18(x - 3)^2 + (y - 3)^2 = 18.

Common mistakesWriting the sign of the centre coordinates wrongly: the circle (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9 is read as having centre I(−2;1)I(-2; 1) instead of I(2;−1)I(2; -1). Remember: the x-coordinate of the centre is the opposite number of the constant term inside the brackets, and so is the y-coordinate of the centre.

TipReading the center with the "change the sign inside the brackets" rule: (x−a)2(x - a)^2 gives the x-coordinate aa, (y−b)2(y - b)^2 gives the y-coordinate bb.

Example 2

Find the centre and radius of each circle:
a) x2+y2−4x+6y−3=0x^2 + y^2 - 4x + 6y - 3 = 0.
b) x2+y2+2x−8y+8=0x^2 + y^2 + 2x - 8y + 8 = 0.
c) x2+y2−2x+4y+6=0x^2 + y^2 - 2x + 4y + 6 = 0.

Show the solution to example 2

Step 1: a) We have −2a=−4-2a = -4 so a=2a = 2; −2b=6-2b = 6 so b=−3b = -3; c=−3c = -3. Check a2+b2−c=4+9+3=16>0a^2 + b^2 - c = 4 + 9 + 3 = 16 > 0.
Why: The coefficient of xx must be divided by −2-2 to get the x-coordinate of the centre, do not take the coefficient as it is.
Step 2: R=16=4R = \sqrt{16} = 4, centre I(2;−3)I(2; -3).
Step 3: b) a=−1a = -1, b=4b = 4, c=8c = 8; a2+b2−c=1+16−8=9>0a^2 + b^2 - c = 1 + 16 - 8 = 9 > 0. Centre I(−1;4)I(-1; 4), R=3R = 3.
Step 4: c) a=1a = 1, b=−2b = -2, c=6c = 6; a2+b2−c=1+4−6=−1<0a^2 + b^2 - c = 1 + 4 - 6 = -1 < 0.
Why: The square of the radius cannot be negative, so this is not the equation of a circle.
Result: a) centre I(2;−3)I(2; -3), R=4R = 4; b) centre I(−1;4)I(-1; 4), R=3R = 3; c) not the equation of a circle.

Common mistakesTaking the coefficient of xx as it is for the x-coordinate of the centre: the equation x2+y2−4x+6y−3=0x^2 + y^2 - 4x + 6y - 3 = 0 is read as having centre (4;6)(4; 6) instead of (2;−3)(2; -3). You must divide the coefficient of xx and yy by −2-2.

Common mistakesForgetting the condition a2+b2−c>0a^2 + b^2 - c > 0, still calling x2+y2−2x+4y+6=0x^2 + y^2 - 2x + 4y + 6 = 0 a circle even though a2+b2−c=−1<0a^2 + b^2 - c = -1 < 0.

Common mistakesFinding the radius from the expanded equation but forgetting to take the square root: seeing a2+b2−c=16a^2 + b^2 - c = 16 and writing R=16R = 16 instead of R=4R = 4.

TipFor the expanded form, take the coefficient of xx and of yy, divide by −2-2 to get the coordinates of the center, then the square of the radius equals a2+b2−ca^2 + b^2 - c.

Example 3

Form the equation of the circle passing through the three points A(1;2)A(1; 2), B(5;2)B(5; 2), C(1;−2)C(1; -2).

Show the solution to example 3

Step 1: Let the equation of the circle be x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0.
Step 2: Substitute A(1;2)A(1; 2): 1+4−2a−4b+c=01 + 4 - 2a - 4b + c = 0, that is 2a+4b−c=52a + 4b - c = 5.
Step 3: Substitute B(5;2)B(5; 2): 25+4−10a−4b+c=025 + 4 - 10a - 4b + c = 0, that is 10a+4b−c=2910a + 4b - c = 29.
Step 4: Substitute C(1;−2)C(1; -2): 1+4−2a+4b+c=01 + 4 - 2a + 4b + c = 0, that is 2a−4b−c=52a - 4b - c = 5.
Step 5: Subtract the first equation from the third: 8b=08b = 0, so b=0b = 0. Subtract the second equation from the first: 8a=248a = 24, so a=3a = 3. Substitute into the first equation: 6+0−c=56 + 0 - c = 5, so c=1c = 1.
Why: Three points give three equations, three unknowns aa, bb, cc, so the system has a unique solution when the three points are not collinear.
Step 6: Check a2+b2−c=9+0−1=8>0a^2 + b^2 - c = 9 + 0 - 1 = 8 > 0, centre I(3;0)I(3; 0), R=8R = \sqrt{8}.
Result: (x−3)2+y2=8(x - 3)^2 + y^2 = 8.

Example 4

Given the circle (C)(C): (x−1)2+(y−2)2=5(x - 1)^2 + (y - 2)^2 = 5.
a) Show that the point M(2;4)M(2; 4) lies on (C)(C).
b) Write the equation of the tangent to (C)(C) at MM.

Show the solution to example 4

Step 1: Substitute M(2;4)M(2; 4) into the left-hand side: (2−1)2+(4−2)2=1+4=5(2 - 1)^2 + (4 - 2)^2 = 1 + 4 = 5, equal to the right-hand side, so MM belongs to (C)(C).
Why: The tangent formula at the point of tangency can only be used when the point of tangency really lies on the circle.
Step 2: Centre I(1;2)I(1; 2), so IM→=(2−1;4−2)=(1;2)\overrightarrow{IM} = (2 - 1; 4 - 2) = (1; 2). This is a normal vector of the tangent.
Step 3: The tangent passes through M(2;4)M(2; 4) with normal vector (1;2)(1; 2): 1(x−2)+2(y−4)=01(x - 2) + 2(y - 4) = 0, that is x+2y−10=0x + 2y - 10 = 0.
Step 4: Check again: the distance from I(1;2)I(1; 2) to the straight line equals ∣1+4−10∣1+4=55=5=R\frac{|1 + 4 - 10|}{\sqrt{1 + 4}} = \frac{5}{\sqrt{5}} = \sqrt{5} = R, it matches.
Result: x+2y−10=0x + 2y - 10 = 0.

Example 5

A lucky wheel in the shape of a circle has centre I(3;4)I(3; 4), radius 5 (unit: dm) on the coordinate plane.
a) Write the equation of the circle of the wheel.
b) An arrow points at the point M(6;8)M(6; 8) on the rim. Write the equation of the tangent to the wheel at MM, given that this tangent is the support of the arrow.
c) Does the point N(3;9)N(3; 9) lie on the rim of the wheel?

Show the solution to example 5

Step 1: a) Equation of the wheel: (x−3)2+(y−4)2=25(x - 3)^2 + (y - 4)^2 = 25.
Step 2: b) Check that MM belongs to the circle: (6−3)2+(8−4)2=9+16=25(6 - 3)^2 + (8 - 4)^2 = 9 + 16 = 25, true.
Step 3: IM→=(6−3;8−4)=(3;4)\overrightarrow{IM} = (6 - 3; 8 - 4) = (3; 4) is a normal vector of the tangent.
Step 4: Tangent at MM: 3(x−6)+4(y−8)=03(x - 6) + 4(y - 8) = 0, that is 3x+4y−50=03x + 4y - 50 = 0.
Why: The tangent is perpendicular to the radius IMIM, so it takes IM→\overrightarrow{IM} as its normal vector.
Step 5: c) Substitute N(3;9)N(3; 9): (3−3)2+(9−4)2=0+25=25(3 - 3)^2 + (9 - 4)^2 = 0 + 25 = 25, so NN lies on the rim.
Step 6: Check b) again using the distance from II to the tangent: ∣9+16−50∣9+16=255=5=R\frac{|9 + 16 - 50|}{\sqrt{9 + 16}} = \frac{25}{5} = 5 = R, it matches.
Result: a) (x−3)2+(y−4)2=25(x - 3)^2 + (y - 4)^2 = 25; b) 3x+4y−50=03x + 4y - 50 = 0; c) NN lies on the rim of the wheel.

Terms

Equation of a circle
The relation linking the coordinates xx, yy of every point on the circle.Example: (x−2)2+(y−3)2=25(x - 2)^2 + (y - 3)^2 = 25.
Center
The point equidistant from every point on the circle, denoted I(a;b)I(a; b).Example: The circle (x−2)2+(y−3)2=25(x - 2)^2 + (y - 3)^2 = 25 has center I(2;3)I(2; 3).
Radius
The distance from the center to any point on the circle, denoted RR.Example: R=5R = 5.
Expanded form
The equation x2+y2−2ax−2by+c=0x^2 + y^2 - 2ax - 2by + c = 0 with a2+b2−c>0a^2 + b^2 - c > 0.Example: x2+y2−4x+6y−3=0x^2 + y^2 - 4x + 6y - 3 = 0.
Circumcircle of a triangle
The circle passing through the three vertices of the triangle.Example: The circle through A(1;2)A(1; 2), B(5;2)B(5; 2), C(1;−2)C(1; -2).
Tangent
The straight line that touches the circle at exactly one point.Example: x+2y−10=0x + 2y - 10 = 0 is tangent to the circle at M(2;4)M(2; 4).
Point of tangency
The point where the tangent touches the circle.Example: M(2;4)M(2; 4) is the point of tangency.
Normal vector of the tangent
The vector IM→\overrightarrow{IM} from the center to the point of tangency, perpendicular to the tangent.Example: IM→=(1;2)\overrightarrow{IM} = (1; 2).