Fractal Lab

Circle packing

Apollonian gasket

Start with four mutually tangent circles. In every gap, by Descartes’ Circle Theorem (1643), there are exactly two new circles tangent to the three surrounding ones; place them. Recurse. The closure of all the circles produced is the Apollonian gasket, named after Apollonius of Perga’s problem of finding tangent circles to three given.

Apollonian gasket built recursively from Descartes' Circle Theorem.

At a glance

DiscoveredApollonius of Perga (3rd century BCE) / Descartes (1643)
Hausdorff dimension≈ 1.30568 (McMullen, 1998)
Topological dimension1

Descartes’ Circle Theorem

For four mutually tangent circles with signed curvatures k1, k2, k3, k4 (curvature = 1 / radius, negative for the outer circle enclosing the others):

(k1 + k2 + k3 + k4)² = 2 (k1² + k2² + k3² + k4²)

Treating the equation as a quadratic in k4 gives two solutions, the two new tangent circles in any gap.

Integer Apollonian gaskets

If four mutually tangent starting circles have integer curvatures, Descartes’ theorem implies that every subsequent curvature is also an integer. The arithmetic of such gaskets has been the focus of major number-theoretic work since the 2000s (Graham-Lagarias-Mallows-Wilks-Yan, Bourgain-Kontorovich, and others).

Hausdorff dimension

Curtis McMullen computed dimH ≈ 1.30568 in 1998 using thermodynamic formalism. No closed form is known.

References

Try it

Run an interactive playground at /tools/apollonian.

Quick quiz

Test yourself on apollonian-gasket

5 multiple-choice questions. Pick an answer for each, then submit to see explanations.

  1. Q1.The Apollonian gasket starts from how many mutually tangent circles?

  2. Q2.Descartes' Circle Theorem relates the curvatures of four mutually tangent circles by:

  3. Q3.The Hausdorff dimension of the Apollonian gasket is approximately:

  4. Q4.An integer Apollonian gasket has integer curvatures because:

  5. Q5.Apollonius of Perga (3rd century BCE) studied which problem?

0 of 5 answered