Math Lab

Circle

A circle is the set of points equidistant from a fixed point (the centre). The fixed distance is the radius. It is the simplest conic , eccentricity 00 , and the building block for many later results.

Standard form

If the centre is the origin and the radius is r>0r > 0, then a point (x,y)(x, y) on the circle satisfies x2+y2=r2.\boxed{x^2 + y^2 = r^2.}

If the centre is (h,k)(h, k), shift coordinates: (xh)2+(yk)2=r2.\boxed{(x - h)^2 + (y - k)^2 = r^2.}

General form

Expanding (xh)2+(yk)2=r2(x - h)^2 + (y - k)^2 = r^2: x2+y22hx2ky+(h2+k2r2)=0.x^2 + y^2 - 2 h x - 2 k y + (h^2 + k^2 - r^2) = 0.

In general: x2+y2+2gx+2fy+c=0,\boxed{x^2 + y^2 + 2 g x + 2 f y + c = 0,} with centre (g,f)(-g, -f) and radius g2+f2c\sqrt{g^2 + f^2 - c} (provided g2+f2c>0g^2 + f^2 - c > 0).

If g2+f2c=0g^2 + f^2 - c = 0, the "circle" degenerates to a single point (g,f)(-g, -f). If g2+f2c<0g^2 + f^2 - c < 0, no real circle.

Finding a circle

Three points determine a circle (provided they are not collinear). Substitute each point into the general form; you get three linear equations in g,f,cg, f, c. Solve.

Equation of a circle in diameter form. If A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) are endpoints of a diameter: (xx1)(xx2)+(yy1)(yy2)=0.(x - x_1)(x - x_2) + (y - y_1)(y - y_2) = 0.

(Reason: angle in a semicircle is a right angle.)

Position of a point relative to a circle

For a circle x2+y2+2gx+2fy+c=0x^2 + y^2 + 2 g x + 2 f y + c = 0 and a point P(x0,y0)P(x_0, y_0), compute S=x02+y02+2gx0+2fy0+c.S = x_0^2 + y_0^2 + 2 g x_0 + 2 f y_0 + c.

  • S>0S > 0: PP is outside.
  • S=0S = 0: PP is on the circle.
  • S<0S < 0: PP is inside.

Worked examples

Example 1. Find the centre and radius of x2+y26x+8y11=0x^2 + y^2 - 6 x + 8 y - 11 = 0.

Compare: 2g=6g=32 g = -6 \Rightarrow g = -3; 2f=8f=42 f = 8 \Rightarrow f = 4; c=11c = -11. Centre: (g,f)=(3,4)(-g, -f) = (3, -4). Radius: 9+16+11=36=6\sqrt{9 + 16 + 11} = \sqrt{36} = 6.

Example 2. Equation of the circle with centre (2,3)(2, -3) and radius 55.

(x2)2+(y+3)2=25x2+y24x+6y12=0(x - 2)^2 + (y + 3)^2 = 25 \Rightarrow x^2 + y^2 - 4 x + 6 y - 12 = 0.

Example 3. Find the circle passing through (0,0),(3,0),(0,4)(0, 0), (3, 0), (0, 4).

General form x2+y2+2gx+2fy+c=0x^2 + y^2 + 2 g x + 2 f y + c = 0. At (0,0)(0,0): c=0c = 0. At (3,0)(3, 0): 9+6g=0g=3/29 + 6 g = 0 \Rightarrow g = -3/2. At (0,4)(0, 4): 16+8f=0f=216 + 8 f = 0 \Rightarrow f = -2.

Equation: x2+y23x4y=0x^2 + y^2 - 3 x - 4 y = 0. Centre (3/2,2)(3/2, 2), radius 9/4+4=5/2\sqrt{9/4 + 4} = 5/2.

Example 4. Equation of the circle with diameter endpoints (1,2)(1, 2) and (5,6)(5, 6).

(x1)(x5)+(y2)(y6)=0x26x+5+y28y+12=0x2+y26x8y+17=0(x - 1)(x - 5) + (y - 2)(y - 6) = 0 \Rightarrow x^2 - 6 x + 5 + y^2 - 8 y + 12 = 0 \Rightarrow x^2 + y^2 - 6 x - 8 y + 17 = 0.

Example 5. Is the point (2,3)(2, 3) inside the circle x2+y2=16x^2 + y^2 = 16?

S=4+916=3<0S = 4 + 9 - 16 = -3 < 0. Yes, inside.

Try it yourself

  1. Find the centre and radius of (x+1)2+(y2)2=9(x + 1)^2 + (y - 2)^2 = 9.
  2. Find the centre and radius of x2+y24x6y12=0x^2 + y^2 - 4 x - 6 y - 12 = 0.
  3. Equation of circle with centre (3,5)(-3, 5) and radius 7\sqrt{7}.
  4. Find the circle through (0,0),(4,0),(0,6)(0, 0), (4, 0), (0, 6).
  5. Equation of circle with diameter from (1,2)(-1, 2) to (3,4)(3, -4).
  6. Is (1,1)(1, 1) inside, on, or outside x2+y22x2y7=0x^2 + y^2 - 2 x - 2 y - 7 = 0?
  7. Find the circle of radius 55 touching the xx-axis at (3,0)(3, 0).
  8. Find the circle passing through (1,0),(1,0),(0,1)(1, 0), (-1, 0), (0, 1).
  9. If a circle's centre is on y=xy = x and passes through (2,3)(2, 3) and (0,1)(0, 1), find its equation.
  10. Find the equation of the circle with centre (0,0)(0, 0) that passes through (3,4)(3, 4).
  11. A circle has equation x2+y28x+6y+c=0x^2 + y^2 - 8 x + 6 y + c = 0. For what range of cc does it represent a real circle?
  12. Find the largest circle contained inside the rectangle with vertices (±5,±3)(\pm 5, \pm 3).

Pitfalls / Tricks

  • Coefficients of x2x^2 and y2y^2 must be equal (and same sign) for an equation to represent a circle.
  • There is no xyxy term in a circle (otherwise it is rotated , not standard).
  • For an equation to be a real circle, g2+f2c>0g^2 + f^2 - c > 0.
  • Insight. A circle is a special ellipse with a=ba = b. Many problems on ellipses degenerate cleanly when a=ba = b.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Circle
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6