064Mathematics · Coordinate geometry

Two circles and their intersections

Two circles and their intersections

Two circles and their intersections · status,x₁,y₁,[x₂],[y₂]

  • 276 bytes
  • COMP mode
01

Worked examples

Example 1

Two circular boundaries are C₁: x²+y²=25 and C₂: (x−6)²+y²=25, with coordinates in units. Which option gives their complete intersection set? Find the exact coordinates and justify the number of common points.

  1. A.∅
  2. B.{(3,0)}
  3. C.{(3,4),(3,−4)}
  4. D.C₁=C₂
Answer
C — exactly two intersections: (3,4) and (3,−4).
Standard solution (without a calculator)
  1. Classify the circles: Their centres are (0,0) and (6,0), both with radius 5. Since |5−5|=0<6<10=5+5, they meet at two points.
  2. Eliminate y: Subtract the equations: x²−(x−6)²=0, so 12x−36=0 and x=3.
  3. Find both ordinates: Substitute x=3 into x²+y²=25: 9+y²=25, hence y²=16 and y=±4.
  4. Check and conclude: For both points, 3²+(±4)²=25 and (3−6)²+(±4)²=25. The exact intersection set is {(3,4),(3,−4)}, so choose C.
Do it on the calculator

Example 2

Two circular boundaries are C₁: x²+y²=9 and C₂: (x−5)²+y²=4, with coordinates in units. Which option correctly describes their relative position and complete intersection set? Give exact coordinates.

  1. A.d>r₁+r₂; ∅
  2. B.d=|r₁−r₂|; {(3,0)}
  3. C.d=r₁+r₂; {(3,0)}
  4. D.{(3,2),(3,−2)}
Answer
C — externally tangent at (3,0).
Standard solution (without a calculator)
  1. Find the centre distance: O₁=(0,0), r₁=3, O₂=(5,0), r₂=2, so d=5.
  2. Classify the contact: Since d=5=3+2=r₁+r₂, the circles are externally tangent and have exactly one common point.
  3. Solve the equations: Subtraction gives x²−(x−5)²=9−4, hence 10x−25=5 and x=3. Then y²=9−3²=0, so y=0.
  4. Verify and choose: (3,0) satisfies 3²+0²=9 and (3−5)²+0²=4. The repeated root gives one point, so choose C.
Do it on the calculator

Example 3

A circular boundary has centre O₁(2,−1) and radius 7 units. Another has centre O₂(5,3) and radius 2 units. Determine their relative position and find every common point exactly. Explain why a second intersection is impossible.

Answer
Internally tangent at (31/5,23/5) = (6.2,4.6).
Standard solution (without a calculator)
  1. Compare distances: d=√((5−2)²+(3−(−1))²)=√(9+16)=5. Since 5=7−2=|r₁−r₂|, the circles are internally tangent.
  2. Locate the contact point: Internal tangency puts O₁, O₂ and T on the same ray. The unit direction from O₁ to O₂ is (3/5,4/5), so T=(2,−1)+7(3/5,4/5)=(31/5,23/5).
  3. Check both radii: OT from O₁ has squared length (21/5)²+(28/5)²=49; from O₂ the squared length is (6/5)²+(8/5)²=4. Thus T lies on both circles.
  4. Explain uniqueness: At d=r₁−r₂, equality in the triangle inequality forces every common point onto that same centre line and ray. There is only one such point, so no second intersection exists.
Do it on the calculator
02

When to use it

For circles (x−h₁)²+(y−k₁)²=r₁² and (x−h₂)²+(y−k₂)²=r₂², compare the centre distance d with r₁+r₂ and |r₁−r₂|. When common points exist, the program calculates their coordinates.

Enter the two circles

  • Enter A = h₁, B = k₁, C = r₁, then X = h₂, Y = k₂, M = r₂. Use the same length unit and coordinate axes for both circles.
  • Enter all six numbers explicitly, including zeros. A blank EXE reuses the stored variable; it does not mark an unknown. Complete the square first if a circle is given in general form.

Read the position and coordinates

  • Codes: 0 = externally separate; 1 = one strictly inside the other; 2 = internally tangent; 3 = externally tangent; 4 = two intersections; 5 = coincident; 9 = invalid radius.
  • Codes 2 and 3 are followed by x, y of the unique contact point. Code 4 is followed by x₁, y₁, x₂, y₂. Codes 0, 1, 5 and 9 end after the code; coordinates are not supplied.

Question types

  • Original HKDSE Mathematics Compulsory Part practice: simultaneous circle equations, number of intersections and internal or external tangency. Show the geometric or algebraic reasoning in written answers.

Before you start

  • Use COMP / Deg / Norm 1 and an empty P1 with at least 276 bytes available; P1–P4 share 680 bytes. A, B, C, D, X, Y and M are overwritten.
  • Both radii must be strictly positive. A zero or negative radius gives code 9; this program does not treat a point as a circle.
  • Coincident circles give code 5 and infinitely many common points. Concentric circles of unequal radii give code 1 and no common point.
  • For D = d², tangency is accepted when |D−(r₁±r₂)²| < D × 10⁻¹⁰. This numerical tolerance can turn a very close pair of intersections or a very small gap into one approximate contact point.
  • Keep each displayed x with the following y; swapping the two complete coordinate pairs is harmless. The code is a classification, not a coordinate or intersection count.
  • Use the original input precision. Very large squares can overflow; extreme radius ratios or nearly tangent circles can lose accuracy. Check exact tangency separately and investigate any Math ERROR.
  • The program answers only circle position and common-point questions; it does not test additional claims about other points or lines.

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.