060Mathematics · Coordinate geometry

Circle through three points

Circle through three points

Circle through three points · h,k,r²,r

  • 175 bytes
  • COMP mode
01

Worked examples

Example 1

In a Cartesian plane with equal axis scales, a circle Γ passes through A(0,0), B(8,0) and C(0,6). Which option is its exact equation?

  1. A.(x−4)²+(y−3)²=25
  2. B.(x−4)²+(y−3)²=13
  3. C.(x+4)²+(y+3)²=25
  4. D.(x−4)²+(y−3)²=5
Answer
A — (x−4)²+(y−3)²=25; centre (4,3), r=5 units.
Standard solution (without a calculator)
  1. Recognise a right angle: AB is horizontal and AC is vertical, so ∠BAC=90° and BC is a diameter of the circumcircle.
  2. Find the centre: the midpoint of BC is ((8+0)/2,(0+6)/2)=(4,3).
  3. Find the squared radius: GA²=(4−0)²+(3−0)²=16+9=25, so r=5 units.
  4. Write the equation: (x−4)²+(y−3)²=25, matching option A exactly.
Do it on the calculator

Example 2

On a plan with coordinates in metres, stations P(1,1), Q(5,1) and R(2,4) lie on one circle with centre G. Find the exact centre, radius and equation. A receiver is at T(3,4); determine whether it is inside, on or outside the circle, showing your calculation.

Answer
G=(3,2), r=√5 m; (x−3)²+(y−2)²=5; T is inside.
Standard solution (without a calculator)
  1. Use a perpendicular bisector: PQ is horizontal with midpoint (3,1), so its perpendicular bisector is x=3. Write G=(3,k).
  2. Equate distances: GP²=GR² gives (3−1)²+(k−1)²=(3−2)²+(k−4)².
  3. Solve for k: 4+k²−2k+1=1+k²−8k+16 gives 6k=12, hence k=2 and G=(3,2).
  4. Find the circle: r²=GP²=(3−1)²+(2−1)²=5 m². Thus r=√5 m and (x−3)²+(y−2)²=5; √5≈2.236067977 is only a display approximation.
  5. Classify T: GT²=(3−3)²+(4−2)²=4 m²<5 m²=r², so T is inside the circle.
Do it on the calculator

Example 3

On a survey plan with coordinates in metres, landmarks A(−2,8), B(1,7) and C(−6,0) lie on circle Γ. Find its exact centre and radius, write its centre-radius and general equations, and give its area and circumference in terms of π.

Answer
G=(−2,3), r=5 m; (x+2)²+(y−3)²=25; x²+y²+4x−6y−12=0; area 25π m², circumference 10π m.
Standard solution (without a calculator)
  1. Set up the general equation: let x²+y²+dx+ey+f=0. Substitution gives 68−2d+8e+f=0, 50+d+7e+f=0 and 36−6d+f=0.
  2. Eliminate f: subtract the second equation from the first to get 18−3d+e=0, so e=3d−18. Subtract the third from the second to get 14+7d+7e=0, so d+e=−2.
  3. Solve the coefficients: d+(3d−18)=−2 gives d=4, then e=−6. From 36−6(4)+f=0, f=−12. Hence x²+y²+4x−6y−12=0.
  4. Complete the squares: (x+2)²+(y−3)²=25. Thus G=(−2,3), r²=25 m² and r=5 m.
  5. Find area and circumference: πr²=25π m² and 2πr=10π m; retain π for exact answers.
  6. Check all three points: GA²=0²+5²=25, GB²=3²+4²=25 and GC²=(−4)²+(−3)²=25, confirming the same circle.
Do it on the calculator
02

When to use it

The centre of a circle through three points is equally distant from all three. Subtracting squared-distance equations gives two linear equations for the centre; the program solves them and finds the radius.

Enter three points

  • Enter the coordinates in point pairs: A = x₁, B = y₁, C = x₂, D = y₂, X = x₃ and Y = y₃. Press EXE after each value; use the same length unit on both axes.
  • Enter all six values explicitly, including zeros and negatives. Blank EXE retains a stored value; later calculations overwrite these variables, so an old value may no longer be a coordinate.

Read the four results

  • Read h, k, r² and r in that order. Press EXE at each Disp pause, then AC after the final radius. Write the equation yourself as (x−h)²+(y−k)²=r².
  • Coincident or collinear points cannot determine a unique circle. A relative determinant check rejects some nearly collinear sets with Math ERROR; a numerically unstable set must not be accepted merely because a result appears.

Question types

  • Original HKDSE Mathematics Compulsory Part practice: circumcircles, circle equations through landmarks and comparison of a test point’s distance with the radius.

Before you start

  • Use COMP / Deg / Norm 1 and an empty P1 with at least 175 bytes available. P1–P4 share 680 bytes. A, B, C, D, X, Y, M and Ans are overwritten.
  • Three distinct non-collinear points determine a unique circle. Repeated or exactly collinear points lead to Math ERROR, either through the guard or a subsequent zero division.
  • The squared translated lengths C²+D² and X²+Y² set a tolerance equal to 1E−10 times their sum. M holds twice the displacement determinant (CY−DX); if its absolute value is below that tolerance, the input is rejected. This can exclude nearly collinear triples even when a mathematical circle exists.
  • A conservative working range is ordinary DSE coordinates, for example each absolute coordinate at most 10⁶, avoiding extreme decimal precision. This is a numerical recommendation, not the hardware range limit.
  • The outputs contain no general coefficients, area, circumference or test-point classification. Calculate those separately and supply any geometric proof required by the question.
  • Coordinates, centre and radius use one length unit; r² uses its square. Keep exact fractions or √(r²) where possible; the LCD shows only about ten significant digits.
  • No angle function is used, so Deg and Rad give the same mathematical answer. Deg is the walkthrough convention. Nearly collinear or extreme coordinates can still lose precision or overflow.

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.

Checking access…

Sign in to unlock the full programme

Checking access…

The programme code and appendix unlock together.