Mathwords logoMathwords

Apollonian Sphere Packing — Definition, Formula & Example

Apollonian sphere packing is the fractal you get by starting with five mutually touching spheres and then filling every leftover gap with the largest sphere that fits, forever. Its flat, circle-based version is the Apollonian gasket.

Begin with five mutually tangent spheres in R3\mathbb{R}^3. One may be a bounding sphere that encloses the others, or a plane. Any four mutually tangent spheres have exactly two spheres tangent to all four. Recursively add, for every such quadruple, the tangent sphere not yet present. The Apollonian sphere packing is the resulting countable collection of spheres. The uncovered residual set has zero volume and Hausdorff dimension about 2.4742.474. (The value is a numerical estimate.)

Key Formula

(k1+k2+k3+k4+k5)2=3(k12+k22+k32+k42+k52)\left(k_1+k_2+k_3+k_4+k_5\right)^2 = 3\left(k_1^2+k_2^2+k_3^2+k_4^2+k_5^2\right)
Where:
  • kik_i = Curvature of sphere ii, equal to 1/ri1/r_i. It is negative for a bounding sphere that contains the others, and 00 for a plane.
  • 33 = The dimension. The 2D Descartes circle theorem for the gasket uses 4 circles and a factor of 2 instead.

Worked Example

Problem: A hollow sphere of radius 30 inches contains four balls, all mutually tangent and tangent to the shell. Two balls have radius 15 inches and two have radius 10 inches. Remove one 15-inch ball. What is the radius of the other ball that touches the shell, the remaining 15-inch ball, and both 10-inch balls?
Step 1: Convert the radii to curvatures. The shell gets a negative sign because it encloses the others. Then confirm that the five spheres satisfy the Soddy–Gosset theorem.
(−130+115+115+110+110)2=(310)2=9100,3(1900+2225+2100)=3⋅3100=9100\left(-\tfrac{1}{30}+\tfrac{1}{15}+\tfrac{1}{15}+\tfrac{1}{10}+\tfrac{1}{10}\right)^2=\left(\tfrac{3}{10}\right)^2=\tfrac{9}{100},\qquad 3\left(\tfrac{1}{900}+\tfrac{2}{225}+\tfrac{2}{100}\right)=3\cdot\tfrac{3}{100}=\tfrac{9}{100}
Step 2: Fix the four spheres that stay. The theorem becomes a quadratic in the fifth curvature. Its two roots add to the sum of the four fixed curvatures, so subtract the old root to get the new one.
knew=(−130+115+110+110)−115=730−230=16k_{\text{new}} = \left(-\tfrac{1}{30}+\tfrac{1}{15}+\tfrac{1}{10}+\tfrac{1}{10}\right) - \tfrac{1}{15} = \tfrac{7}{30}-\tfrac{2}{30} = \tfrac{1}{6}
Step 3: Take the reciprocal of the curvature to get the radius.
rnew=1knew=6 inchesr_{\text{new}} = \frac{1}{k_{\text{new}}} = 6 \text{ inches}
Answer: The other tangent ball has radius 6 inches. The packing applies this swap to every gap, again and again, which produces the fractal.

Why It Matters

Choosing all five starting curvatures as integers makes every sphere in the packing have an integer curvature. This makes the packing a research topic in number theory and in the study of Kleinian groups. Materials scientists use Apollonian-type packings to model the densest possible mixes of particle sizes, such as powders and high-strength concrete.

Common Mistakes

Mistake: Applying the 2D gasket rules in 3D. Students use the factor 2 from Descartes' circle theorem, or the swap rule k′=2(k1+k2+k3)−kk' = 2(k_1+k_2+k_3) - k.
Correction: In 3D, five spheres are involved and the factor is 3. The swap rule becomes k′=(k1+k2+k3+k4)−kk' = (k_1+k_2+k_3+k_4) - k. Also give any enclosing sphere a negative curvature.

Related Terms

  • Sphere Packing — Equal-sphere lattices, unlike this packing's infinitely many sizes
  • Circle Packing — Planar setting where the Apollonian gasket lives
  • Koch Snowflake — Another self-similar fractal with non-integer dimension
  • Chaos Game — Random iteration method that can render Apollonian fractals
  • Sphere — Basic shape whose radius gives each curvature