On this page
Three circles each touch the other two. How big is a fourth circle that touches all three? The answer is one line of algebra. Mutually tangent circles are also called kissing circles. According to the Wikipedia article on Descartes' theorem, René Descartes discussed the problem in 1643 in two letters to Princess Elisabeth of the Palatinate. The result was rediscovered several times; in 1936 the chemist Frederick Soddy published it as a poem, The Kiss Precise, in Nature.
What does Descartes' circle theorem say?
Work with curvature instead of radius: the curvature of a circle is k = 1/r, so small circles have large curvature.
The theorem, as stated by Lagarias, Mallows and Wilks in the American Mathematical Monthly: if four circles are mutually tangent with disjoint interiors, their curvatures satisfy (k₁+k₂+k₃+k₄)² = 2(k₁²+k₂²+k₃²+k₄²).
Two sign rules extend it. A circle that encloses the other three gets a negative curvature, and a straight line counts as a circle of curvature 0. The four circles must touch at six distinct points (Descartes' theorem, Wikipedia).
Solving the equation for the fourth curvature gives the form you actually use, listed on Wolfram MathWorld: k₄ = k₁+k₂+k₃ ± 2√(k₁k₂+k₂k₃+k₃k₁). The two signs give the two circles that touch the same three.
How do you find the fourth kissing circle? A worked example
Take a big circle of radius 1. Inside it, put two circles of radius 1/2 side by side, centred at x = 1/2 and x = −1/2. They touch each other at the centre and the big circle at both ends.
Write the curvatures with signs. The big circle encloses the others, so k₁ = −1. The small ones give k₂ = k₃ = 2.
Compute the product term: k₁k₂ + k₂k₃ + k₃k₁ = (−2) + 4 + (−2) = 0.
Apply the formula: k₄ = −1 + 2 + 2 ± 2√0 = 3. The square root vanishes, so both solutions have curvature 3: one circle of radius 1/3 above the pair and its mirror image below.
Check with the original equation: (−1+2+2+3)² = 36, and 2(1+4+4+9) = 36.
Check the geometry. A centre at height 2/3 sits 1 − 1/3 = 2/3 from the big circle's centre, and √(1/4 + 4/9) = 5/6 = 1/2 + 1/3 from each small centre. Every pair touches.
Why are all the curvatures in the Apollonian gasket integers?
Fill every curved gap with the circle that touches its three sides, forever, and you get an Apollonian gasket, pictured above. The Apollonian gasket article shows the packing built on −1, 2, 2, 3 and states that if four mutually tangent circles in a gasket have integer curvatures, every circle in it does.
The reason is in the formula. Its two roots add up to 2(k₁+k₂+k₃), so if you know one circle in a gap, the other is k₄′ = 2(k₁+k₂+k₃) − k₄. Adding and doubling keep integers integers. Graham and co-authors studied which integers appear in these integral packings.
Try it on our gasket. The gap between −1, 2 and 3 already holds the other 2, so the new circle is 2(−1+2+3) − 2 = 6. The gap between 2, 2 and 3 already holds −1, so the new one is 2(2+2+3) + 1 = 15. Repeat and you get 11, 14, 23 and so on, never a fraction.
How does the complex Descartes theorem find the centres?
Write each centre as a complex number z = x + iy. Lagarias, Mallows and Wilks proved a complex Descartes theorem in which the products kz obey the same rule: (k₁z₁+k₂z₂+k₃z₃+k₄z₄)² = 2(k₁²z₁²+k₂²z₂²+k₃²z₃²+k₄²z₄²). Solving it, as the Wikipedia article does, gives k₄z₄ = k₁z₁+k₂z₂+k₃z₃ ± 2√(k₁k₂z₁z₂ + k₂k₃z₂z₃ + k₃k₁z₃z₁).
In our example z₁ = 0, z₂ = 1/2 and z₃ = −1/2. The first part is 0 + 1 − 1 = 0. Under the root: 0 + 4(1/2)(−1/2) + 0 = −1. So k₄z₄ = ±2√(−1) = ±2i, and with k₄ = 3 the centres are z₄ = ±2i/3, both circles in one step. The same gap rule for centres, k₄′z₄′ = 2(k₁z₁+k₂z₂+k₃z₃) − k₄z₄, puts the curvature-15 circle at 4i/15.
A five-line check for any kissing-circle problem
Mark which circle, if any, encloses the rest, and give it a minus sign.
Replace any straight line by curvature 0.
Use the ± form for a new circle, or k₄′ = 2(k₁+k₂+k₃) − k₄ when one answer is already known.
Substitute back into (Σk)² = 2Σk² before trusting the number.
For positions, switch to complex numbers and confirm one distance equals the sum or difference of radii.
For the tools behind most proofs, see our posts on inversion in a circle, Möbius transformations and the Steiner chain.
If curvature, tangency or complex numbers in geometry still feel shaky, the Fermi Concept Library gives every mathematics concept its own lesson and its place in the map. To practise, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer.



