Intersection of two circles
Introduction
In this article it will be explained how to calculate the coordinates of the points () where two circles intersect each other. The required equations will be derived and an interactive application is provided to calculate the intersection points of two given circles. Two circles have no intersection points (one circle completely outside or inside the other), one intersection point (circles touch each other), two intersection points (circles truly intersect) or an infinite number of intersection points (circles are coincident). 🤔.
JavaScript application
Next an other interactive image of two circles intersecting. Drag either green center dot to move a circle.
Derivation of the formulas
Let and be the two circle centers and let and be the two circle radii (see the two figures above). Let be an intersection point of the two circles.
Let d be the distance between the two circle centers. According to Pythagoras:
Pythagoras again:
[1]
Subtract both equations displayed in expression [1]:
Hence:
Then substituting a in [1] yields:
Now we construct some similar triangles in order to be able to derive the xy-coordinates :
:
Or for the other intersection point (not visible in the figure above):
Hence:
:
Hence:
And substituting in the previous equation for results in:
We can follow a similar procedure for the y-coordinates , which yields:
Summary
Let and be the two circle centers and let and be the two circle radii. Let be an intersection point of the two circles. Then:
With:
- If , then no solutions; one circle completely outside the other.
- If , then no solutions; one circle completely inside the other.
- If or , then and , then one solution; circles are kissing 😘 each other in one point, i.e., .
- If and , then an infinite number of solutions; circles are coincident.
- In any other instance the two circles are truly intersecting, at two points.
Tasks
- Prove that if .
- What happens with the given formulas if ? Why are there no solutions in that case?
Tips
Look at the formula for h. The square root of a negative number has no (real) solutions.