arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the...

47
The sensual Apollonian circle packing KATHERINE E. STANGE Abstract. The curvatures of the circles in integral Apollonian circle packings, named for Apollonius of Perga (262-190 BC), form an infinite collection of integers whose Diophantine properties have recently seen a surge in interest. Here, we give a new description of Apollonian circle packings built upon the study of the collection of bases of Z[i] 2 , inspired by, and intimately related to, the ‘sensual quadratic form’ of Conway. 1. Introduction In their delightful monograph entitled The Sensual Quadratic Form [8], Conway and Fung draw the following picture of P 1 (Q). u v u - v u + v 2u - v 3u - v 3u - 2v u - 2v 2u + v u +2v 2u +3v u +3v 3u +2v 3u + v 2u - 3v u - 3v The elements of P 1 (Q) can be viewed as the primitive vectors 1 of Z 2 , considered up to sign, so that u in the image above represents ±u; such an equivalence class is called a lax vector. These lax vectors label an infinite froth of planar regions demarcated by an infinite tree of valence three. More precisely, this branching topograph is the graph whose edges correspond to bases of Z 2 and whose vertices correspond to superbases, i.e. triples of lax vectors, any two of which form a basis. The fact that an edge connects Date : October 23, 2019, Draft #1. 2010 Mathematics Subject Classification. Primary: 52C26, 11E39, Secondary: 11E12, 11E16. Key words and phrases. Apollonian circle packings, projective linear group, topo- graph, Hermitian form. The author’s research has been supported by NSF MSPRF 0802915. 1 vectors which are not integer multiples of any other 1 arXiv:1208.4836v2 [math.NT] 21 Oct 2012

Transcript of arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the...

Page 1: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing

KATHERINE E. STANGE

Abstract. The curvatures of the circles in integral Apollonian circlepackings, named for Apollonius of Perga (262-190 BC), form an infinitecollection of integers whose Diophantine properties have recently seen asurge in interest. Here, we give a new description of Apollonian circlepackings built upon the study of the collection of bases of Z[i]2, inspiredby, and intimately related to, the ‘sensual quadratic form’ of Conway.

1. Introduction

In their delightful monograph entitled The Sensual Quadratic Form [8],Conway and Fung draw the following picture of P1(Q).

u

v

u− v u + v

2u− v

3u− v

3u− 2v

u− 2v

2u + v

u + 2v

2u + 3v

u + 3v

3u + 2v

3u + v

2u− 3v

u− 3v

The elements of P1(Q) can be viewed as the primitive vectors1 of Z2,considered up to sign, so that u in the image above represents ±u; such anequivalence class is called a lax vector. These lax vectors label an infinitefroth of planar regions demarcated by an infinite tree of valence three. Moreprecisely, this branching topograph is the graph whose edges correspond tobases of Z2 and whose vertices correspond to superbases, i.e. triples of laxvectors, any two of which form a basis. The fact that an edge connects

Date: October 23, 2019, Draft #1.2010 Mathematics Subject Classification. Primary: 52C26, 11E39, Secondary: 11E12,

11E16.Key words and phrases. Apollonian circle packings, projective linear group, topo-

graph, Hermitian form.The author’s research has been supported by NSF MSPRF 0802915.1vectors which are not integer multiples of any other

1

arX

iv:1

208.

4836

v2 [

mat

h.N

T]

21

Oct

201

2

Page 2: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

2 KATHERINE E. STANGE

two vertices reflects the fact that any basis is contained in exactly twopossible superbases. That is, {±u,±v} is contained in {±u,±v,±(u+ v)}and {±u,±v,±(u− v)}. One then shows that the graph is a single infinitevalence-three tree which can be made planar in such a way that it breaksup the plane into regions, the boundary of each consisting of exactly thoseedges and vertices containing a single lax vector: we label the region withthis vector. In the picture above, all the regions are labelled in terms of onearbitrary choice of basis, u and v.

Just as a linear form is determined by its values on a basis, a binaryquadratic form is determined by its values on a superbasis. The topographprovides lovely visual evidence of this fact for forms on Z2. Evaluate thequadratic form f on the lax vector labelling each region. The parallelogramlaw,

f(u+ v) + f(u− v) = 2f(u) + 2f(v),

relates the values on the four regions surrounding an edge of the topograph.Hence knowing the values surrounding any one vertex allows one, iteratively,to deduce every other value in the topograph.

Imagining f as altitude, Conway classifies integral quadratic forms (asindefinite, positive definite, and so on) by their topographical terrain, de-scribing their lakes, wells, weirs and river valleys.

A different, but equally beautiful picture named for geometer Apolloniusof Perga (262-190 BC), looks something like this.

To form such an Apollonian circle packing, one starts with three mutuallytangent circles of disjoint interiors (sometimes the “interior” of a circle maybe defined to be the outside). Given such a triple, there are exactly two

Page 3: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 3

ways to complete it to a collection of four mutually tangent circles, againof disjoint interiors, which is called a Descartes quadruple. In the followingpicture, a triple is drawn in solid lines, and the two possible completionsare dotted.

To form an Apollonian circle packing, start with any three mutuallytangent circles, and add in the missing completions, thereby growing theset of circles. Repeat this process ad infinitum, at each stage adding all themissing completions of all triples in the collection.

. . .

The interest for the number theorist lies in the quadratic Descartes re-lation between the curvatures (inverse radii) a, b, c, d of four circles in aDescartes quadruple:

2(a2 + b2 + c2 + d2) = (a+ b+ c+ d)2. (1)

(For circles whose “interior is outside,” curvature is negative.) This relation,which has been traced by Pedoe [18] to Descartes, in a letter to PrincessElisabeth of Bohemia [10, p.49], entails that the two possible curvatures dand d′ which complete a triple of curvatures a, b, c to a Descartes quadruplesatisfy the linear Descartes relation:

d+ d′ = 2(a+ b+ c). (2)

In particular, an Apollonian circle packing seeded with a Descartes quadru-ple of integer curvatures a, b, c, d consists entirely of circles of integer cur-vature! Such a packing is called integral. Furthermore, it is primitive if itscurvatures have no common factor.

The pheromones exuded by such a mysterious collection of integers haveinevitably attracted number theorists, with some remarkable results. See[3, 4, 11, 15, 19] for theorems on the density of the set in the integers, theoccurrence of prime curvatures, and much more.

Perhaps the reader has, at this point, noticed a similarity in the storiesof Conway and Apollonius. In the first story, each basis (pair of vectors)can be completed to a superbasis (triple of vectors) in exactly two ways,

Page 4: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

4 KATHERINE E. STANGE

Figure 1. A primitive integral Apollonian circle packing inwhich each circle is labelled with its curvature. The outercircle has curvature −6.

and the values of f on the two new possibilities sum to twice the sum onthe original pair:

f(u+ v) + f(u− v) = 2(f(u) + f(v)).

In the second story, each triple of tangent circles can be completed to aDescartes quadruple in exactly two ways, and the curvatures of the twonew possibilities sum to twice the sum on the original triple:

d+ d′ = 2(a+ b+ c).

Just as Conway labels the topograph with a quadratic form whose valuessatisfy the parallelograph law, it is natural to ask if there is a corresponding‘Apollonian topograph,’ which we can label with some type of form toobtain the curvatures of an Apollonian circle packing. We aim to describejust such an object: where Conway’s topograph was essentially a picture of

Page 5: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 5

P1(Q), we describe an object intimately related to P1(Q(i)). Where Conwaylabelled the topograph with values of a binary quadratic form, we considerHermitian forms.

Figure 2. A portion of an Apollonian superpacking (red),together with its dual (blue). The image shows those circlesof curvature less than 20 within a square with side-length 2,centred on 1 + i. See Section 13.

The ‘Apollonian topograph’ described in this paper is a forest. It consistsof infinitely many trees of valence four, each of which is, in a concretesense, an Apollonian circle packing: its vertices correspond to Descartesquadruples, and two quadruples are adjacent when they share three circlesin common (Theorem 4.1). The Apollonian forest, in a different form calledthe ‘Apollonian city’ (formed of infinitely many ‘palaces’), can be labelledwith the imaginary part of any Hermitian form. For a particular choice ofform, we obtain the curvatures of the circles in the corresponding packings;it is also possible to obtain the centres in this manner (Theorem 4.2).

With this perspective comes a natural way to associate a full rank sub-lattice of Z2 to each circle in any Apollonian circle packing, and there isa corresponding ‘lattice Descartes rule’ (Theorem 4.5) which describes thelattices of the two completing circles for a triple. To each circle we alsodiscover an associated equivalence class of quadratic forms, whose values,

Page 6: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

6 KATHERINE E. STANGE

translated, give the curvatures of its tangent circles (Theorem 4.6). Thatsuch forms existed was known [3, 11]; here we obtain a precise descriptionof these forms in terms of circle lattices, which, in particular, describes theform of a circle in terms of the forms of its neighbours (Theorem 4.7).

Taking the entire forest as one object, we obtain a union of packingscalled an Apollonian superpacking, first introduced in [13], and shown inFigure 2. The superpacking contains copies of every possible primitiveApollonian circle packing. Through its connection to the Apollonian forest,the superpacking can be viewed as a beautiful picture of the collectionof full-rank sublattices of Z2, a picture of PGL2(Z[i])/PSL2(Z), or, fromanother perspective, a piece of a picture of P1(Q(i)). Another piece of thepicture of P1(Q(i)) inspired by Conway’s topograph was studied by Bestvinaand Savin in [2] (see Section 17).

Acknowledgements. The author would like to thank Lionel Levine for draw-ing her attention to Apollonian circle packings, and would especially liketo thank David Wilson for sharing data he had collected associating cir-cles and lattices in the context of abelian sandpiles. It was an examinationof his data that led to this study. For more on this connection, see [17].The author owes a debt of gratitude to the invaluable and detailed sugges-tions provided by Jeffrey Lagarias, Andrew Granville, Jonathan Wise andan anonymous referee on an earlier draft. The images in this paper wereproduced using IPE [6] and Sage Mathematics Software [20].

2. The Apollonian city

Our central object is the Apollonian city and its labelling by lax vertexlattices. After defining these in two brief sections, we can then state theMain Bijection relating the Apollonian city to Apollonian circle packings.Later, we will see how this labelled object is the analogue of Conway’stopograph.

Extending terminology from Conway and Fung’s monograph, a lax vectoris an equivalence class {u,−u, iu,−iu} for some primitive2 u ∈ Z[i]2. Asuperbasis3 is a collection of three lax vectors {u, v, w}, any two of whichform a basis for Z[i]2. This entails that ε1u + ε2v + ε3w = 0, for someappropriate choice of units εi.

The 2-cells of the Apollonian city will consist of the collection of allsuperbases of Z[i]2, in the form of triangles whose sides are labelled withthe superbasis elements u, v and w:

2i.e. not a Gaussian integer multiple of another vector of Z[i]2.3If we consider P1(Q(i)) as P1(Z[i]) over SpecZ[i], then a superbasis can be defined

as three distinct Z[i]-points of P1(Z[i]).

Page 7: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 7

u v

w

We will call the 2-cells walls.An ultrabasis is a collection of six lax vectors {u, v, w, x, y, z} such that

the four subsets {u, v, w}, {u, y, z}, {v, x, z} and {w, x, y} are superbases(as it turns out, if a set of six lax vectors is an ultrabasis, it is an ultrabasisin exactly two ways; we consider these distinct). Whenever the union of foursuperbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identified according to their labels, and the Apollonian city includesa tetrahedral 3-cell whose boundary consists of the four triangles:

u v

w

y x

z

We will call the 3-cells chambers.This information is sufficient to define the Apollonian city as a 3-dimensional

cell complex whose edges are labelled with lax vectors: simply glue the col-lection of all 2-cells according to their formation into superbasis 3-cells.According to the construction, a given lax vector may appear as a labelon more than one edge, but a given superbasis or ultrabasis has a uniqueappearance as a 2-cell or 3-cell respectively.

Each component of the Apollonian city is called a palace.We will see that each chamber is adjacent to exactly four others, sharing

one wall with each; the valence-four graph whose vertices are chambersconnected according to adjacency is called the Apollonian Forest (describedin more detail in Section 5); we will see that it consists of infinitely manytrees.

Page 8: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

8 KATHERINE E. STANGE

3. The Vertices of the Apollonian city

Suppose we have a superbasis represented by vectors u, v, w with theconvention that u+v+w = 0 (i.e., representatives u, v and w are chosen sothat no unit multiples are required to cause the sum to vanish). Then thereare exactly two ways to form an ultrabasis containing this superbasis4:

u v

w

w + iu v + iw

u+ iv and u v

w

w − iu v − iw

u− iv

For example, the leftmost triangle is a superbasis because

u− i(u+ iv) + (w + iu) = u+ v + w = 0.

These two ultrabases share the face u, v, w in the Apollonian city. Anyultrabasis is of the form of one of these two standard ultrabases, for someu, v, w; and any pair of chambers sharing a wall in the city is of the form ofthis pair.

We will now label each vertex of the standard ultrabases above with anordered pair of vectors, according to the following picture:

(u, iv)

(v, iw)(w, iu)

(w − iv, iu− v)

(u, iv)

(v, iw)(w, iu)

(w + iv, iu + v)

Definition 3.1. Considering Z[i]2 as a Z-module of rank four, let L be anoriented Z-submodule of rank two generated by an oriented Z[i]-basis forZ[i]2. The lattice L is called a vertex lattice and the pair {L, iL} is calleda lax vertex lattice.

4Note that the three edges touching a single vertex in an ultrabasis also form a su-perbasis (see Section 17 for more about this ‘duality’).

Page 9: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 9

For example, the lattice {a(−i,−2 − i) + b(−1,−1 + i) : a, b ∈ Z} is

a vertex lattice, since the matrix

(−i −1−2− i −1 + i

)has determinant −1.

This vertex lattice, together with the vertex lattice {a(1, 1−2i)+b(−i,−1−i) : a, b ∈ Z} form a lax vertex lattice.

We will attach to each vertex of the Apollonian city the lax vertex latticegenerated by the labels in the picture above (i.e. label each ultrabasis as astandard ultrabasis for some u, v, w, and then attach labels as shown).

Proposition 3.2. The lax vertex lattice attached to a vertex in the Apollo-nian city is well-defined.

The proof can be found in Section 7.

4. From a city to a packing: main results

The space P1(C) is defined as the collection of non-zero vectors in C2

modulo multiplication by non-zero scalars. We identify P1(C) with pointsof C∪{∞} by the map (a, b) 7→ a/b. The subset P1(Q(i)) consists of thoseequivalence classes of vectors containing a vector in Q(i)2; one may identifythis with the collection of primitive vectors of Z[i]2 up to sign (i.e. laxvectors).

Mobius transformations act on P1(C) via the matrix action of GL2(C)on vectors in C2. Since matrices which are scalar multiples have the sameaction, we can may consider instead the action of equivalence classes of ma-trices up to non-zero scalar multiple; this is the group PGL2(C). The groupPGL2(Z[i]) is taken to be the subgroup of PGL2(C) formed of equivalenceclasses containing a matrix with entries in Z[i] and determinant a unit inZ[i]. Those with such a representative whose determinant is ±1 form thesmaller subgroup PSL2(Z[i]). Finally, within this group, some may have arepresentative with entries in Z and determinant 1; this is PSL2(Z). Weobtain a chain of subgroups:

PGL2(C) > PGL2(Z[i]) > PSL2(Z[i]) > PSL2(Z).

In what follows we will frequently refer to an equivalence class of PGL2(C)by a matrix representative. The group PGL2(Z[i]) takes elements of P1(Q(i))to itself, so it can be considered to act on the lax primitive vectors of Z[i]2,which will sometimes be identified with elements of Q(i)∪{∞} via the map(a, b) 7→ a/b above.

As described in the introduction, an Apollonian circle packing is a col-lection of infinitely many circles in P1(C) ∼= C ∪ {∞} (where lines areconsidered circles passing through ∞) with disjoint interiors, formed froman initial triple of three mutually tangent circles by an iterative process.At each stage, for every triple of mutually tangent circles already included,one adds to the collection the two circles which complete that triple to a

Page 10: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

10 KATHERINE E. STANGE

Figure 3. An Apollonian circle packing (in black) with theApollonian city (in grey) shown as an overlay; the verticesof the city are located at the centre of the corresponding cir-cles. (Only circles and vertices of the Apollonian city withcurvatures below a small bound are shown; the vertex corre-sponding to the outermost circle is ommitted.)

Descartes quadruple (we will call these the completing circles). In the limit,we obtain a well-defined infinite collection of circles.

Such a packing, or a subset of one, is called integral if all of its curvaturesare integral, and strongly integral if, in addition, the centre of each circle,multiplied by the curvature, is a Gaussian integer. It is called primitive ifthe collection of curvatures has no non-trivial common factor.

Each circle comes with a designated interior; equivalently, we can considerthe circle oriented so that the interior is the region to the right as one travelsaround the circle in the direction of orientation.

The central theorem (the ‘Main Bijection’) describes the relationship be-tween the Apollonian city and Apollonian circle packings: we show that theApollonian city comes in infinitely many connected components, or palaces,the vertices of a particular palace being in bijection with the circles in aparticular primitive strongly integral Apollonian circle packing, where ad-jacent vertices correspond to tangent circles. Placing each vertex of the cityat the centre of the corresponding circle of the packing, we obtain pictures

Page 11: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 11

like Figure 3. As a consequence of the Main Bijection, the Apollonian cityis an example of a class of graphs named Apollonian networks after thisconnection [1].

Theorem 4.1 (Summary of Theorems 8.1 and 12.1). We have a PGL2(Z[i])-equivariant bijection (the ‘Main Bijection’) between the following sets:

oriented circles and lines in Cwhich are images of the real lineunder Mobius transformations

in

(√2 0

0 1√2

)PGL2(Z[i])

lPGL2(Z[i])/PSL2(Z)

l{lax vertex lattices}

l{vertices of the Apollonian city}

Under the bijection, circles which are tangent within an Apollonian circlepacking correspond to vertices connected by an edge in the Apollonian city,and these properties are preserved by the action. In particular, the verticesof a chamber in the city correspond to a primitive strongly integral Descartesquadruple of circles.

Furthermore, the Apollonian city consists of infinitely many components,each of which corresponds to a unique primitive strongly integral Apolloniancircle packing. Finally, every primitive Apollonian circle packing appears,up to rigid motions.

The bijection is mediated through the lax vertex lattice: its basis vectorsform the columns of the corresponding element of PGL2(Z[i]).

It may be informative to carry along an example of this bijection. Choos-ing u = (i, 1) and v = (0, 1), by convention we set w = (−i,−2) (so thatu+v+w = 0). We obtain the following ultrabasis tetrahedron, with vertexlattices shown (as matrices whose column vectors generate the lattice):

Page 12: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

12 KATHERINE E. STANGE

( −1− i−2 + i

)

(i1

) (01

)

( −i−2

)

(1

1− 2i

)

(i

1 + i

)

( −i −1−2 i

) (0 11 −2i

)

( −i −1−2− i −1 + i

)

(i 01 i

)

The corresponding images of R in S1 form a Descartes quadruple:

The circles of S1 fill the complex plane densely. Figure 2 shows thosecircles that have curvature less than 20. The red circles, no two of whichcross transversely, correspond to the subgroup PSL2(Z[i]) of PGL2(Z[i]);the blue circles correspond to its nontrivial coset.

Page 13: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 13

Just as Conway’s topograph could be labelled with various quadraticforms, we will label the Apollonian city with the imaginary part of a Her-mitian form at each vertex (evaluated via the vertex lattice). These valuessatisfy the linear Descartes rule, and for a special choice of Hermitian form,we obtain the curvatures, and the products of the centres and curvaturesof the circles.

Theorem 4.2 (Summary of Propositions 10.2 and 11.1). Let H : C×C→ Rbe the imaginary part of a Hermitian form. Then H takes a well-definedvalue on a lax vertex lattice, and hence on a vertex of the Apollonian city,where this value is obtained by evaluating H on any Z-basis of the lattice.Consider the values A, B and C of H on the vertices of the common wallbetween a pair of adjacent chambers in the Apollonian city. Let D and D′

be the values at the other two vertices of the chambers. Then

D +D′ = 2(A+B + C).

In particular, consider the following imaginary parts of Hermitian forms:

H1((α, β), (γ, δ)) = Im(βδ),

H2((α, β), (γ, δ)) = Im(βγ + αδ

),

H3((α, β), (γ, δ)) = Im(iβγ − iαδ

).

The value of H1 is the curvature of the corresponding circle under the MainBijection, and H2 + iH3 is the curvature times the center of the circle.

Continuing the example quadruple above, we find the centres and curva-tures of the Descartes quadruple as follows:

Page 14: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

14 KATHERINE E. STANGE

Because H1 of Theorem 4.2, whose values give curvatures, depends onlyon the second coordinates of its vector inputs, one may choose to restrictattention at a vertex of the Apollonian city from its vertex lattice to theZ-module generated just by the second coordinates of the vertex lattice.

Definition 4.3. Considering Z[i] as a Z-module of rank two, let L be afull-rank Z-submodule. The lattice L is called a circle lattice. If L has basis(a, b) and (c, d), then the pair {L,L′} where L′ has basis (b,−a), (d,−c), iscalled a lax circle lattice.

For example, the vertex lattice {a(−i,−2− i) + b(−1,−1 + i) : a, b ∈ Z},corresponds to the circle lattice {a(−2,−1) + b(−1, 1); a, b ∈ Z}.

Thus we associate to each vertex of the Apollonian city a lax circle lattice.This is no longer a bijection; each lax circle lattice may appear many times.

Proposition 4.4 (See Proposition 15.1). The determinant of a circle latticeis the negative of the curvature of the associated circle.

Just as there is a Descartes rule for curvatures, we can now record a‘Descartes rule for circle lattices’.

Theorem 4.5 (Theorem 15.2). Consider three mutually tangent circles inan Apollonian circle packing. For some integers a, b, c, d, they have thefollowing circle lattices (represented by matrices whose column vectors forma basis):

A =

(a cb d

), B =

(d b− c−c −a− d

), C =

(−a− d −b−b+ c a

).

The two completing circles have the following circle lattices:

D1 =

(−b− d c+ a+ da+ c d+ b− c

), D2 =

(c− a d− b+ cd− b −c+ a+ d

).

Figure 4 shows the circle lattices associated to the circles in an exampleApollonian circle packing. In the example we have been following, the circlelattices are as follows:

Page 15: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 15

The relationship to Conway’s topograph and the Apollonian city extendsbeyond an analogy: one obtains infinitely many copies of the topograph (ina slightly different form) within the Apollonian city.

Theorem 4.6 (Introductory form of Theorem 14.1). Fix a vertex of theApollonian city with vertex lattice L. Then the adjacent vertices may be putin bijection with the primitive elements x ∈ L in such a way that any twosuch vertices are connected by an edge of the Apollonian city if and only iftheir corresponding x, x′ ∈ L form a basis for L. Furthermore, for H theimaginary part of a Hermitian form, the values of H at the vertices are thevalues of a translated binary quadratic form on L.

If H is the curvature form H1 of Theorem 4.2, then the quadratic formdescribed in this theorem is given by the circle lattice of the fixed vertexin a simple way: if M is a matrix representation of the circle lattice, thenMTM is the matrix of the quadratic form. As a consequence, the form hasdiscriminant negative four times the square of the curvature of the circle.

Theorem 4.7 (Corollary 16.2). We have an explicitly computable bijection:

{lax circle lattices}l{

equivalence classes of primitive positive definiteintegral binary quadratic forms

of discriminant negative four times a square

}

To any circle in an Apollonian circle packing are associated a lax circlelattice and hence a quadratic form; the values of the form, translated by

Page 16: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

16 KATHERINE E. STANGE

Figure 4. An Apollonian circle packing with circle lattices.(Only circles with curvatures below a small bound are shown.)

the determinant of the lax circle lattice, are exactly the curvatures of allthe circles in the Apollonian circle packing which are tangent to the givencircle.

For example, fixing the lower circle of curvature 2 in Figure 4 gives riseto the quadratic form X2 + 4Y 2. The curvatures of the tangent circles are:

−1, 2, 3, 6, 11, 15, 18, . . .

which list, when translated by 2 (the curvature of the fixed circle), areexactly the values

1, 4, 5, 8, 13, 17, 20, . . .

of the quadratic form.This recovers a relationship between Apollonian circle packings and qua-

dratic forms that has already been studied; see for example [12]. In fact,

Page 17: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 17

it is one of the main ingredients in the proof of several major Diophan-tine results concerning the curvatures of an Apollonian circle packing [3, 4].Through Theorems 4.5 and 4.7, we obtain a simple new rule for relatingthe quadratic forms of tangent circles.

5. The Apollonian forest

The Apollonian forest, shortly to be defined as a type of dual to theApollonian city, is at times more convenient, and it is more clearly ananalogue to Conway’s topograph.

The forest is a graph whose vertices and edges are the collection of ul-trabases and superbases of Z[i]2, respectively. Their adjacency is definedby the property of an ultrabasis containing a superbasis as one of its fourdefining superbases. Hence we obtain a valence-four graph. A small pieceof the Apollonian forest looks like this, where U represents an ultrabasisvertex, and S−−− represents a superbasis edge:

U U U

UU

U

U U

S S

S

S S

SS

Superimposing the forest on the city, the forest’s vertices can be consid-ered to lie in the center of the corresponding chambers of the city, and itsedges to pierce the walls of the chambers (this is the ‘duality’ referred toabove).

Once we have established the Main Bijection, each component of theApollonian forest will be in bijection with an Apollonian circle packing;the tree is in fact the graph whose vertices are the Descartes quadruples ofthe packing, and whose edges connect pairs of Descartes quadruples whichshare a common triple of circles.

The Apollonian forest is the true analogue of Conway’s topograph. Sup-pose we form a 2-dimensional cell complex based on the topograph, whereeach face gives rise to a vertex, and faces which touch become vertices

Page 18: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

18 KATHERINE E. STANGE

connected by an edge. Each vertex of the topograph gives rise to a 2-dimensional triangular face. In this new picture, each vertex is labelledwith a vector up to sign, each edge denotes a basis, and each face (triangle)denotes a superbasis. This new object, shown in black against the greytopograph in the following picture, is the analogue to the Apollonian city.

u

v

u− v u + v

2u− v

3u− v

3u− 2v

u− 2v

2u + v

u + 2v

2u + 3v

u + 3v

3u + 2v

3u + v

2u− 3v

u− 3v

It is possible, although we do not prove it here, to embed the Apollonianforest in three-dimensional space in such a way that it breaks the space upinto regions, each corresponding to a lax vertex lattice, i.e. a vertex of theApollonian city.

6. The Apollonian forest consists of trees

The following will be needed to prove Proposition 3.2, among others.

Proposition 6.1. Every component of the Apollonian forest is a tree.

Proof. Consider the form f : Z[i]2 → Z given by

f(a+ bi, c+ di) = a2 + b2.

This induces a labelling on the vertices (ultrabases) of the forest as follows:label an ultrabasis of the form

u v

w

y x

z

with the integer

f(u) + f(v) + f(w) + f(x) + f(y) + f(z),

Page 19: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 19

which we will call the height of the ultrabasis. This is well defined sincef(u) = f(−u) = f(iu) = f(−iu).

We will shortly show that at any vertex, at least three of the four adjacentvertices have a strictly greater height. If this is the case, then, startingout at any vertex and travelling upward, we must travel upward at everysubsequent step, unless we double back. From this, one concludes that thereare no non-trivial loops.

We consider one of the standard ultrabases and its four neighbours (inparticular, u+ v + w = 0), shown in Figure 5.

u v

w

u+ iv

w + iu v + iw

u v − iu

w + iu

u− 2iu

2u− iw

u + iv v

w − iv

2v − iu

u− v w − 2iv

u v

w

u− iv

w − iu v − iw

u− iw v + iw

w

v − w

u− 2iw 2w − iv

+iw − iu

w − u+iu− iv +iv − iw

Figure 5. A portion of an Apollonian tree.

Suppose that u has first coordinate a+bi, v has first coordinate c+di, andw has first coordinate (−a− c) + (−b− d)i. Then the height of the centralultrabasis minus the heights, respectively, of each of the four neighbours is,clockwise from top:

− 12(ad− bc), −12(c2 + d2 − ad+ bc),

− 12((a+ c)2 + (b+ d)2 − ad+ bc), −12(a2 + b2 − ad+ bc).

Page 20: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

20 KATHERINE E. STANGE

Since u, v form a basis for Z[i], their first coordinates, a + bi and c + di,must be coprime, hence ad− bc 6= 0. If the first of the four quantities listedabove is non-negative, then all the others are negative. In other words, ifone of the four neighbours has an equal or lower height than the centralultrabasis, then the other three are higher. The proof for the other standardultrabasis is much the same. Without loss of generality, this proves thegeneral case. �

We will see later that the Apollonian forest consists of infinitely manytrees.

7. Lax Vertex Lattices

This section contains the proof of Proposition 3.2 showing that the vertexlattices associated to a vertex of the Apollonian city are well-defined; asa consequence of the proof, we also discover that each lax vertex latticeappears exactly once in the Apollonian city.

Proof of Proposition 3.2. As a means of proof, we will give an equivalentdefinition of the labelling of the vertices which is clearly well-defined. Thisinvolves adding a little extra structure to the labelling of the Apolloniancity.

Given an edge in the city labelled with u, representing an equivalenceclass of vectors modulo units, we instead label each end of the edge (i.e.we label the edge together with a choice of one of its two vertices; weplace the label closer to the chosen vertex) with an equivalence class ofvectors modulo sign. The two sign-equivalence classes have as their unionthe original unit-equivalence class, so that the edge

u

becomes

±u ±iu

There are, of course, two ways to do this (differing by multiplication by i).This splitting of labels can be performed for every edge of a tetrahedral

chamber in such a way that surrounding a vertex, the three nearby labelsx, y and z satisfy x + y + z = 0 for some choice of signs (instead of unitmultiples). Up to multiplication of every label by i, there is a unique wayto do this. For example, here is a standard ultrabasis tetrahedron beforeand after splitting (signs are suppressed).

Page 21: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 21

u v

w

w + iu v + iw

u+ iv

iu v

w

u iv

iw

u+ iv

iu− v

iw − u iv − w

w + iu v + iw

Since the forest has no loops (Proposition 6.1), this shows that, oncea single label has been split, there is a unique way to split labels on allthe ultrabases in a single palace simultaneously and consistently. Multi-plying every label simultaneously by i allows us to move from one of thetwo possible global splittings to the other. (Choosing one of these twoglobal splittings is an arbitrary choice we will make for the moment; thisdiscomfiture will be resolved shortly.)

Now each vertex in the Apollonian city has many proximal labels on itsadjacent edges, but any three arising from one tetrahedron satisfy x+y+z =0 for some choice of signs. This implies that, having selected two suchproximal labels (from a single tetrahedron among those sharing that vertex),say u and iv, all other proximal labels are Z-linear combinations of u and iv.This defines a rank two Z-submodule of Z[i]2, where the latter is consideredas a free Z-module of rank 4; this will be the vertex lattice. The submoduleis generated by two primitive vectors forming a Z[i]-basis for Z[i]2.

All that remains is to explain how to determine the orientation of thevertex lattice. Any triangular side which touches the vertex has proximallabels x and y and distal labels ix and iy (up to sign) on the two edgesconnected to that vertex. Choose the signs of the labels on the entiretriangle so that two things hold:

(1) if multiplication by −i is considered to orient an edge, the triangleis a cycle,

(2) the ‘forward’ labels on the three edges sum to zero.

For example, if u+ v + w = 0, then there are exactly four ways to do this:

u iv

v

iww

iu

−u −iv

−v

−iw−w

−iu

−u iv

−v

iw−w

iu

u −iv

v

−iww

−iu

At this point the labels represent vectors, not vectors up to unit or sign.Now, put an order on the basis generating the submodule of our chosen

vertex according to the orientation of the triangle. In this case, the ordered

Page 22: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

22 KATHERINE E. STANGE

basis at the upper vertex is (u, iv), (−u,−iv), (iv,−u) or (−iv, u), for thefour pictures, respectively, but they all represent the same oriented lattice.It remains to verify that if we do this with another wall of the same chamber(under the same global splitting), we obtain the same oriented lattice at acommon vertex. It suffices to check this for one other wall of a standardultrabasis5:

u u+ iv

−iu+ v

iw − uw + iu

iu

At this point we have now defined a vertex lattice attached to the specifiedvertex of the Apollonian city. However, we made one arbitrary binary choicein the process, resulting in two possible global labellings of the vertices ofeach palace, differing by multiplication by i.

Hence, what we have actually defined, without making an arbitrarychoice, is a lax vertex lattice.

Finally, the lax vertex lattices associated to the standard ultrabases areexactly those defined in Section 3. �

In some circumstances, for a single palace, it will be convenient to makethe arbitrary binary choice described in the proof above, and talk aboutthe (non-lax) vertex lattice at a vertex.

We can summarize the ‘meaning’ of the various pieces of the Apolloniancity or forest in a table.

Apollonian forest Apollonian city meaning (up to unit)vertex lax vertex latticeedge primitive vector of Z[i]2

edge triangle (wall) superbasis of Z[i]2

vertex tetrahedron (chamber) ultrabasis of Z[i]2

Proposition 7.1. With the lax vertex lattice labelling described above, eachlax vertex lattice appears exactly once in the Apollonian city.

Proof. For every basis u, v of Z[i]2, there are exactly four possible lax vertexlattices (exemplified by bases (u, v), (u, iv), (u,−v) and (u,−iv)). All fourappear somewhere in the Apollonian city. For example, the lattice generatedby u, iv appears on one vertex of the superbasis u, v,−u−v, while the latticegenerated by u, v appears on one vertex of the superbasis u,−iv,−u+iv. Infact, each lax vertex lattice appears only once, since the Z-bases (u, v) are

5Note that this sign-refinement of the split labelling and orienting of edges cannot beperformed in a single consistent way simultaneously throughout a palace. But it is notnecessary to do so.

Page 23: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 23

in bijection with the superbasis walls u, iv,−u− iv which share that vertex(this follows from the proof of Proposition 3.2), and hence the lax vertexlattice uniquely determines the collection of superbasis walls it touches. �

8. The main bijection

Theorem 8.1. Consider the following sets with actions by PGL2(Z[i]):

(1)

S1 =

oriented circles and lines in Cwhich are images of the real lineunder Mobius transformations(√

2 00 1√

2

)M for M ∈ PGL2(Z[i])

with action by left multiplication on M .(2) S2 = PGL2(Z[i])/PSL2(Z) with action by left multiplication.(3) S3 = {lax vertex lattices} with action on the lax vertex lattice.(4) S4 = {vertices of the Apollonian city} with action on the lax vertex

lattice labelling the vertex.

These four sets with action are in PGL2(Z[i])-equivariant bijection. In par-ticular, M ∈ S2 corresponds to

(1) the image of

(√2 0

0 1√2

)M in S1,

(2) the lax vertex lattice generated by the column vectors of M in S3,(3) the vertex labelled with the lax vertex lattice generated by the column

vectors of M in S4.

Proof. Represent a lax vertex lattice by a matrix M whose column vectorsform an ordered Z-basis for the lattice. Matrices whose column vectorsform a basis for the same lax vertex lattice must be considered equivalent.In particular,

(1) M is equivalent to MN for N ∈ PSL2(Z),(2) M is equivalent to iM , −M and −iM .

Hence, a lax vertex lattice is in bijection with an element of

PGL2(Z[i])/PSL2(Z)

(here the quotient is by right multiplication).The group of Mobius transformations PGL2(Z[i]) takes circles to circles in

P1(C) (where as usual, straight lines are considered circles passing through∞). Since PSL2(Z) is the group of Mobius transformations in PGL2(Z[i])that fix the real line, preserving its orientation, to specify an element M ∈PGL2(Z[i])/PSL2(Z) is to specify an oriented circle which is the image ofthe real line (oriented to the right, say) under M .

Clearly, these bijections preserve the actions of PGL2(Z[i]). Finally, wehave already seen that lax vertex lattices are in bijection with vertices of theApollonian city (Proposition 7.1). We have defined the action of PGL2(Z[i])

Page 24: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

24 KATHERINE E. STANGE

on the vertices by its action on the vertex lattices, so the action is preservedby the bijection. �

9. The action of PGL2(Z[i]) on the Apollonian city

Proposition 9.1. The action of PGL2(Z[i]) in Theorem 8.1 preserves ad-jacencies in the Apollonian city, or equivalently, the Apollonian forest. TheApollonian forest consists of infinitely many trees, and the subgroup takingany one tree to itself is a conjugate of

Γ =

⟨(1 0i 1

),

(0 −11 −1

)⟩< PGL2(Z[i]).

Proof. The group PGL2(Z[i]) acts on P1(Q(i)) in such a way that a super-basis is taken to another superbasis, and an ultrabasis is taken to anotherultrabasis. This gives an action of PGL2(Z[i]) on the Apollonian forest,or equivalently, on the Apollonian city, preserving adjacencies. This actionis conjugate to the action in Theorem 8.1 on the vertices of the Apollo-nian city, because the action of M on a basis u, v corresponds to the action

of

(1 00 i

)−1M

(1 00 i

)on the lax vertex lattice with ordered basis u, iv.

The remainder of the proof will discuss this action in lieu of the action inTheorem 8.1. It will suffice that the actions are conjugate.

Consider a superbasis u + v + w = 0. The subgroup fixing this edge ofthe forest, in terms of basis u, v, is generated by the two elements

F2 =

(0 11 0

), F3 =

(0 −11 −1

).

The matrix Fi is of order i, and this group of order 6 corresponds to thepermutations of the elements u, v and w. Although these elements fix theedge, they do not fix the entire forest. Instead, they correspond to flippingthe edge (swapping its two vertices), and rotating the edge (acting cyclicallyon the three adjacent edges at each of its vertices).

One edge has six adjacent edges. Representative elements moving theedge to each of these adjacent edges are

M =

(1 0i 1

), F3MF 2

3 =

(1 + i −ii 1− i

), F 2

3MF3 =

(1 −i0 1

),

M−1 =

(1 0−i 1

), F3M

−1F 23 =

(1− i i−i 1 + i

), F 2

3M−1F3 =

(1 i0 1

).

Therefore, the tree in the forest containing a given superbasis consistsof the orbit of that superbasis under the group Γ generated by all thesematrices. Since F2 = F 2

3MF3M−1F 2

3MF3, we have

Γ = 〈M,F3〉.

Page 25: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 25

The first generator is parabolic and the second elliptic of order 3. Thissubgroup has infinite index in PGL2(Z[i]) [7, Table 4], hence the Apollonianforest has infinitely many connected components. By Proposition 6.1, theyare all trees. �

The action of a certain group called the Apollonian group on the col-lection of ordered, oriented Descartes quadruples of curvatures has been aprinciple tool in the study of Apollonian circle packings [12, 14]. The MainBijection shows that each tree in the Apollonian forest is associated to anApollonian circle packing in such a way that the vertices correspond toDescartes quadruples and edges indicate quadruples which share a commontriple of circles. The action described above is different than the action ofthe Apollonian group. For example, the quadruples are unordered, and theaction above does not take every vertex to an adjacent vertex.

10. Labelling the Apollonian city with a Hermitian form

In order to establish the rest of the properties of the bijection in Theorem4.1, we must establish several results relating to Hermitian forms. We willdescribe a method to display the values of a Hermitian form on both theedges and vertices of the Apollonian city, in analogy to the values of aquadratic form displayed on Conway’s topograph.

A Hermitian form is a pairing

h : Cn × Cn → C

satisfying for any u, v, w ∈ Cn and a ∈ C,

(1) h(au+ v, w) = ah(u,w) + h(v, w)(2) h(u, av + w) = ah(u, v) + h(u,w)

(3) h(u, v) = h(v, u)

We will study H, the imaginary part of h (i.e. the coefficient of i). ThenH has the following important property:

H(au+ bv, cu+ dv) = (ad− bc)H(u, v) for a, b, c, d ∈ R. (H1)

(Note: since ih(u, v) = h(u,−iv), we may have equivalently chosen to studythe collection of real parts of h; in fact, h is determined by H.)

From now on, we will assume h is integer valued on Z[i]2 × Z[i]2, i.e. ittakes values in Z[i].

We can evaluate H at a vertex of the Apollonian city by applying H toa basis of the lax vertex lattice. Properties (H1) and conjugate linearitytogether guarantee that the H-value is well-defined. We can also evaluateH on an edge of the Apollonian city by applying the map H(ix, x) to theedge label x (also well-defined by conjugate linearity).

As a demonstration, here is the usual superbasis triangle labelled with u,v and w (where, as always, u+v+w = 0). A split labelling and orientation

Page 26: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

26 KATHERINE E. STANGE

(as in the proof of Proposition 3.2) are also shown, to demonstrate thatthey align nicely with the H-labelling.

iu

iv

iw

u

v

w

H(u, iv)

H(v, iw)H(w, iu)

H(iu, u) H(iv, v)

H(iw, w)

Figure 6 shows the Hermitian labels on the first and second standardultrabasis tetrahedra.

Lemma 10.1. If u+ v + w = 0, then the following quantities are real:

(1) h(u, iv) + h(v, iw)− h(iv, v)(2) h(w− iv, iu− v) + h(w + iv, iu+ v)− h(iv, v)− h(iw, w)− h(iu, u)

Proof. The proof is by direct calculation. It is convenient to note that fora Hermitian form, the following quantities are real:

h(u, u), h(u, v) + h(v, u), i(h(u, v)− h(v, u)).

Note also that h(ix, iy) = h(x, y) and that h(ix, y) = −h(x, iy) for allx, y. �

As a consequence, we discover that the H-labels on the pair of standardultrabase tetrahedra have the following relationships:

Proposition 10.2. With the H-labelling described above, the followinghold:

• the label on an edge is the sum of the labels at its endpoints, i.e.

H(u, iv) +H(v, iw) = H(iv, v) (H2)

A

B

C

A +B = C

• if the two standard ultrabases are considered together, the labels ontheir common edges add up to the sum of the labels of their non-common vertices, i.e.

H(w−iv, iu−v)+H(w+iv, iu+v) = H(iv, v)+H(iw, w)+H(iu, u) (H3)

Page 27: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 27

H(iu, u) H(iv, v)

H(iw, w)

H(iw − u,w + iu) H(v + iw,w − iv)

H(iu− v, u+ iv)

H(u, iv)

H(v, iw)H(w, iu)

H(w − iv, iu− v)

H(iu, u) H(iv, v)

H(iw, w)

H(iw + u,w − iu) H(v − iw,w + iv)

H(iu+ v, u− iv)

H(u, iv)

H(v, iw)H(w, iu)

H(w + iv, iu+ v)

Figure 6. The first and second standard ultrabasis tetrahe-dra, labelled with the imaginary part of a Hermitian form.Note that the labels on the second are the same as the first,except that sums become differences and differences becomesums.

Page 28: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

28 KATHERINE E. STANGE

A AB B

C C

D D′

D +D′ = A +B + C

• if the two standard ultrabases are considered together, the labels ontheir common vertices, doubled, add up to the sum of the labels oftheir non-common vertices, i.e.

H(w−iv, iu−v)+H(w+iv, iu+v) = 2(H(u, iv)+H(v, iw)+H(w, iu)) (H4)

A A

B BC C

D D′

D +D′ = 2(A +B + C)

By Proposition 7.1, the collection of Hermitian values

{H(u, v) : u, v form a Z[i]-basis for Z[i]2}is now displayed on the vertices of the Apollonian city. Property (H4) canbe considered the linear Descartes rule for Hermitian forms.

11. The curvature and centre of a circle in P1(C)

By oriented curvature of an oriented circle, we mean a quantity that ispositive if the circle is oriented clockwise, negative if oriented counterclock-wise, and is equal to the usual curvature in absolute value.

Proposition 11.1. Let

M =

(√2 0

0 1√2

)(α γβ δ

).

Then the oriented curvature of the oriented circle which is the image of thereal axis (oriented to the right) under M , is given by

Im(βδ).

Page 29: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 29

Furthermore, the product of the curvature and centre of the circle is givenby

i(γβ − αδ) = Im(βγ + αδ

)+ i Im

(iβγ − iαδ

)

Furthermore, this value has even real part and odd imaginary part wheneverM ∈ PSL2(Z[i]); it has odd real part and even imaginary part wheneverM ∈ PGL2(Z[i]) r PSL2(Z[i]).

Finally, the circles in S1 of Theorem 8.1 have integer curvature, and theproduct of curvature and centre is a Gaussian integer.

Proof of Proposition 11.1. Define functions on elementsN =( α γβ δ

)of PGL2(Z[i])

by

H1(N) = Im(2βδ),

H2(N) = Im(βγ + αδ

),

H3(N) = Im(iβγ − iαδ

).

Then each Hi is the imaginary part of a Hermitian form on the columnvectors of the matrix N (note that H1 is twice the form in the statementof the Proposition). We will show that the image of the real line under Nhas curvature H1(N) and center×curvature H2(N) + iH3(N), from whichthe statement of the Proposition follows (since the image of M is the circleobtained from the image of N by dilating the complex plane by a factor oftwo).

Each Hi, and the image circle itself, is invariant under replacing N byany other transformation N ′ = NP for some P ∈ PSL2(R) (see property(H1) of the imaginary part of a Hermitian form in Section 10). If we change

the orientation of the circle, replacing N with N

(−1 00 1

), then the values

of the Hi change sign.Keeping track of the possible change of orientation and sign, we can

replace N by a transformation of the following form (using an appropriate

P ∈ PSL2(R) and possibly

(−1 00 1

)as above), whose image is the same

circle:

N ′ =

(k+b√2k

i k−b√2k

1√2k

−i√2k

)∈ PGL2(C), b ∈ Q(i), k ∈ Q.

The image of the real axis under this N ′ is the clockwise circle with centreb and radius k. To verify these statements, compose the transformation(

1/√

2 i/√

2

1/√

2 −i/√

2

)taking R (oriented to the right) to the clockwise unit

circle, with a dilation

(√k 0

0 1/√k

)and a translation

(1 b0 1

), all given by

elements of PGL2(C).

Page 30: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

30 KATHERINE E. STANGE

For this N ′, H1(N′) = 1/k, and b/k = H2(N

′) + iH3(N′). Note that

i(γβ − αδ) = Im(βγ + αδ

)+ i Im

(iβγ − iαδ

).

Finally,

αδ − γβ − (αδ − γβ) = α(δ − δ)− γ(β − β) ≡ 0 (mod 2)

Since αδ − γβ is a unit, this means the real and imaginary parts of thecentre-times-curvature i(γβ−αδ) consist of one even, and one odd, integer.In particular, if N is in PSL2(Z[i]), then the real part is even, and theimaginary part is odd. If N is in the nontrivial coset of PSL2(Z[i]) inPGL2(Z[i]), then the opposite is true. �

12. Descartes Quadruples correspond to Apollonianchambers

The goal of this section is to prove the following theorem, which willcomplete the proof of Theorem 4.1.

Theorem 12.1. Under the bijection of Theorem 8.1, primitive Descartesconfigurations of circles in S1 are in bijection with chambers of the Apollo-nian city. Furthermore, the palaces of the Apollonian city are in bijectionwith the collection of primitive Apollonian circle packings in S1. Finally, upto rigid motions, every primitive Descartes configuration of circles appearsin S1, as does every primitive Apollonian circle packing.

We require a sequence of propositions and lemmas.

Proposition 12.2. The circles of S1 in bijection with two adjacent verticesof the Apollonian city (as in Theorem 8.1) are tangent.

Proof. The lax vertex lattices at two adjacent vertices can be given in theform

〈u, iv〉 and 〈iv, u+ v〉.Therefore, the corresponding circles both contain the point iv (consideringa primitive vector of Z[i] as an element of P1(C)).

Suppose the circles have two distinct points in common. The new pointcan be viewed as a non-zero primitive vector x in the Z-span of u and iv.Then either x or ix is in the span of iv and u+v. We will show that neitheris possible.

If x is in the span of iv and u+ v, then the two (non-lax) vertex lattices〈u, iv〉 and 〈iv, u + v〉 have two independent vectors iv and x in common.Hence they have the sum in common, and the two circles contain at leastthree distinct points in common, and are therefore the same circle (up toorientation). Hence the two lax vertex lattices are equal up to orientation.But then v = niv for n ∈ Z, which is not possible.

So it must be that it is ix, and not x, that is in the span of iv and u+ v.But then x is a common vector in 〈u, iv〉 and 〈−v, iu+ iv〉. This implies the

Page 31: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 31

existence of a Z-linear combination of u, v, iu, iv. By the Z[i]-independenceof u and v, the coefficients of this combination must vanish; and this impliesx = 0, which is contrary to our assumption.

Therefore the two circles have exactly one point in common: they aretangent. �

Proposition 12.3. The circles of S1 in bijection with the vertices of achamber of the Apollonian city form a primitive strongly integral Descartesquadruple. Furthermore, every primitive Descartes quadruple appears inS1, up to a rigid motion.

The proof relies on a lemma.

Lemma 12.4. If A,B,C,D ∈ Z have no common factor, A,C ≥ 0, andAC = B2 +D2, then there are u, v ∈ Z[i] with gcd(u, v) = 1 such that

A = uu, B =uv + uv

2, C = vv, D =

uv − uv2i

. (3)

Conversely, if u, v ∈ Z[i] are coprime, then A,B,C,D given by (3) areintegers with no common factor.

Proof. First, we show that there is a bijection

P1(Q(i))→ X = {[A,B,C,D] : AC = B2 +D2} ⊂ P3(Q)

given by

[u, v] 7→[uu,

uv + uv

2, vv,

uv − uv2i

].

In fact, a brief calculation verifies that the image of the map falls in X. Aninverse map is given by

[A,B,C,D] 7→ [A,B −Di] = [B +Di,C].

(At least one of these is always defined, and they are equal when bothdefined since AC = B2 +D2.)

Now assume that xu+ yv = 1, for some x, y ∈ Z[i]. Then

xxuu+ xyuv + xyuv + yyvv = 1,

or equivalently,

xxuu+ (xy + xy)

(uv + uv

2

)+ i (xy − xy)

(uv − uv

2i

)+ yyvv = 1.

Hence if u, v ∈ Z[i] are coprime, then A,B,C,D have no common factor.Therefore if we start with A,B,C,D without a common factor, A,C ≥ 0,AC = B2 + D2, and we choose some u, v ∈ Z[i] which are coprime suchthat [u, v] 7→ [A,B,C,D], then (3) must hold exactly. �

Page 32: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

32 KATHERINE E. STANGE

Proof of Proposition 12.3. Consider a chamber of the Apollonian city. Propo-sition 11.1 implies that the corresponding circles are strongly integral. FromProposition 12.2, the circles form a Descartes quadruple. Suppose

u =

(αβ

), v =

(γδ

), w = −u− v.

where u and v form a basis for Z[i]2.

Let B

(ε ηζ θ

)= Im(ζθ) give the curvature of the circle which is the image

of R under

(√2 0

0 1√2

)(ε ηζ θ

), as in Proposition 11.1. Write β = a + bi

and δ = d− ci respectively.One checks that then the curvatures corresponding the standard ultra-

basis vertices for u, v, w are given by

b1 = −(ad− bc) = B(u, iv), (4)

b2 = c2 + d2 + (ad− bc) = B(w, iu), (5)

b3 = (a+ c)2 + (b+ d)2 + (ad− bc) = B(v, iw), (6)

b4 = a2 + b2 + (ad− bc) = B(w − iv, iu− v). (7)

It is apparent that any common factor of all the bi must divide the normsof a + bi, c + di and (a + c) + (b + d)i, which in turn implies that thesethree Gaussian integers have a common factor. Since u, iv form a basis forZ[i]2, this cannot occur. Hence the bi are coprime, and the quadruple isprimitive.

Now consider curvatures b1, b2, b3, b4 ∈ Z satisfying the Descartes relation(1), and having no common factor. Without loss of generality assume thatb1 + b4, b2 + b4 > 0. Rearranging (1) gives

1

4(b1 + b2 − b3 + b4)

2 + b24 = (b1 + b4)(b2 + b4).

Note that (1) also entails that b1 + b2− b3 + b4 ≡ 0 (mod 2). By primitivity,the integers b1 + b4, b2 + b4, b4 and (b1 + b2 − b3 + b4)/2 have no commonfactor. Therefore we are in the case of Lemma 12.4, and there are somea, b, c, d ∈ Z such that

(a− bi)(−c− di) =b1 + b2 − b3 + b4

2+ b4i, (8)

N(a− bi) = b1 + b4, (9)

N(−c− di) = b2 + b4, (10)

such that a+ bi and c+ di are coprime.We may choose u to have second coordinate a+ bi and v to have second

coordinate d− ci, while the first coordinates may be chosen so that u and v

Page 33: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 33

form a basis for Z[i]2. This is possible because a+bi and d−ci are coprime.Let w = −u− v. Then, from (8)–(10),

b1 + b2 − b3 + b42

= −(ac+ bd), b4 = −(ad− bc)b1 + b4 = a2 + b2, b2 + b4 = c2 + d2.

and so equations (4)–(7) hold, which demonstrates that we have founda chamber giving the necessary curvatures. Finally, any two Descartesquadruples with the same set of oriented curvatures must be related by arigid motion. �

The following lemma is a variation on Lemma 12.4.

Lemma 12.5. Suppose that A,B,C,D ∈ Z[i] are such that AC = B2 +D2

and both A and C are divisible by 2. Then there are a, b, c, d ∈ Z[i] suchthat

A = 2cd, B = i(ad− bc), C = 2ab, D = ad+ bc.

Proof. We begin by showing there is a bijection

P1(Q(i))× P1(Q(i))→ X = {[A,B,C,D] : AC = B2 +D2} ⊂ P3(Q(i))

given by

[a, c]× [b, d] 7→ [2cd, i(ad− bc), 2ab, ad+ bc]

A brief calculation verifies that the image of the map falls in X. Aninverse map is given by

[A,B,C,D] 7→ [C,Bi−D]× [C,−Bi−D] = [−Bi−D,A]× [Bi−D,A].

(At least one of these is always defined, and they are equal when bothdefined since AC = B2 +D2.)

Now suppose one has A,B,C,D ∈ Z[i] where A and C are divisible by2, and AC = B2 + D2. Let G = Bi − D and let G′ = −Bi − D. SinceAC = GG′, we can find Gaussian integers A1, A2, B1 and B2 such that

G = A1C1, G′ = A2C2, A = A1A2, C = C1C2.

Then taking

a =C

C1

= C2, c =G

C1

= A1, b =C

C2

= C1, d =G′

C2

= A2.

gives

(2cd, i(ad− bc), 2ab, ad+ bc) = (2A, 2B, 2C, 2D).

Since 2 = (1 + i)(1 − i) divides A and C, it divides cd and ab. We alsohave that ad and bc are congruent modulo 2. Let π = 1 + i. It must be,therefore, that π divides a and c or else b and d. In the former case, wemay replace a with a/π and c with c/π; this now gives

(2cd, i(ad− bc), 2ab, ad+ bc) = ((1− i)A, (1− i)B, (1− i)C, (1− i)D).

Page 34: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

34 KATHERINE E. STANGE

The latter case is similar. Repeating the argument with π′ = 1 − i, weobtain the necessary a, b, c, d. �

Lemma 12.6. If z1, z2, z3, z4 ∈ Z[i] are centre-curvatures of a primitiveDescartes configuration in S1, then z1 ≡ z2 ≡ z3 ≡ z4 (mod 2).

Proof. By the last statement of Proposition 11.1, it suffices to show thatwhenever two distinct circles in S1 are tangent, they are in bijection withelements of the same coset of PSL2(Z[i])/PSL2(Z) in PGL2(Z[i])/PSL2(Z).Without loss of generality, we can assume one of the circles is the real line.Then it suffices to show that any image of R under M ∈ PGL2(Z[i]) whichis tangent to R satisfies M ∈ PSL2(Z[i]). Since the point of tangencycorresponds to a primitive vector of Z[i]2 with coordinates in Z, we canalso assume without loss of generality, by pre-composing with an elementof PSL2(Z), that the point of tangency is fixed by M . Conjugating M byan element of PSL2(Z), we may assume the point of tangency is the origin.Then M has the form (

α 0β 1

).

Since M has determinant α, it must be that α is a unit. By precomposingwith an element of PSL2(Z), we can make β purely imaginary. Since α/βis not on the real line, it must be that α is ±1, and we are done. �

A criterion for four circles to form a Descartes configuration has alreadybeen described in [12, Theorem 3.1] and [16, Theorem 2.2], and it subsumesthe usual Descartes relation. We cite it here, but in another form (under achange of basis). Let the product of the centre and curvature of a circle becalled the centre-curvature.

Theorem 12.7 (Theorem 3.1 of [12]). Let

R =1

2

0 0 −1 00 2 0 0−1 0 0 00 0 0 2

, S =

1

2

2 0 0 21 1 −1 10 2 0 20 0 0 2

.

Suppose we have four circles of oriented curvatures (b1, b2, b3, b4) and centre-curvatures (z1, z2, z3, z4). Define the curvature-centre-conjugate matrix

M =

b1 z1 z1b2 z2 z2b3 z3 z3b4 z4 z4

.

If the circles form a Descartes configuration, then M has nonzero first col-umn and satisfies

MTSTRSM =

0 0 00 0 20 2 0

. (11)

Page 35: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 35

Conversely, any solution M to (11) with nonzero first column, and conju-gate second and third columns is the curvature-centre-conjugate matrix of aunique ordered, oriented Descartes configuration.

Corollary 12.8. If z1, z2, z3, z4 ∈ Z[i] are the centre-curvatures of fourcircles in a primitive Descartes configuration, then there are generically twopossible choices for the collection of curvatures b1, b2, b3, b4. These solutionscorrespond to two Descartes quadruples of circles which are carried to oneanother by the map z 7→ −2/z.

Proof. By assumption, there is at least one primitive Descartes configura-tion having given centre-curvatures, hence at least one possible collectionof bi. If the zi are known, the bi must satisfy the three conditions corre-sponding to the entries in the first row of the matrix in (11). The matrix

STRS =1

4

1 −1 −1 −1−1 1 −1 −1−1 −1 1 −1−1 −1 −1 1

,

is full rank. The vectors (z1, z2, z3, z4) and (z1, z2, z3, z4) are independentsince (Re(zi))

4i=1 and (Im(zi))

4i=1 are (otherwise the quadruple would con-

sist of circles with collinear centres). Therefore the two homogeneous linearconditions are independent. Hence there is a two-parameter family of solu-tions which must satisfy a homogeneous quadratic condition. The conditionthat the bi are integers with no common factor determines the two solutionsuniquely.

Furthermore, if one applies the map z 7→ −2/z to a Descartes quadru-ple of circles, then one obtains another Descartes quadruple. By Propo-sition 11.1, the centre-curvatures do not change. If the two quadruplesare distinct, the curvatures must change (since the centre-curvatures andcurvatures together determine the quadruple). �

Proof of Theorem 12.1. Proposition 12.3 shows that all possible Descartesquadruples (and hence Apollonian circle packings) occur in S1, up to rigidmotions. It also shows that to each chamber is associated a primitiveDescartes quadruple. It remains to show the converse.

Since by Proposition 11.1 all circles in S1 are strongly integral, let z1, z2, z3, z4 ∈Z[i] represent the centre-curvatures of four circles of S1 in Descartes con-figuration, and let b1, b2, b3, b4 ∈ Z represent the oriented curvatures,respectively. Let

A = z1 + z4, B =z1 + z2 − z3 + z4

2, C = z2 + z4, D = z4.

By Theorem 12.7, B2+D2 = AC and B is a Gaussian integer. Furthermore,the numbers Re(zi) must all be congruent modulo 2, as must the numbersIm(zi), by Lemma 12.6. Hence A/2 and C/2 are Gaussian integers.

Page 36: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

36 KATHERINE E. STANGE

We are in the case of Lemma 12.5, and there are some α, β, γ, δ ∈ Z[i]such that

2αβ = A, i(αδ − γβ) = B, 2γδ = C, αδ + γβ = D. (12)

Set

u =

(αβ

), v =

(iγiδ

), w = −u− v.

Let Z

(ε ηζ θ

)= i(ηζ − εθ) give the centre-curvature of the circle which

is the image of R under

(√2 0

0 1√2

)(ε ηζ θ

), as in Proposition 11.1. One

checks that

z1 = 2αβ − αδ − γβ = Z(v, iw), (13)

z2 = 2γδ − αδ − γβ = Z(w, iu), (14)

z3 = 2γδ + 2αβ − 2iγβ + 2iαδ − αδ − γβ = Z(w − iv, iu− v), (15)

z4 = αδ + γβ = Z(u, iv). (16)

Also a consequence of Theorem 12.7 is that

BB +DD − 1

2AC − 1

2AC = 2.

However, we have found expressions for A,B,C,D in terms of α, β, γ, δ;plugging these in, we obtain

BB +DD − 1

2AC − 1

2AC = 2NQ(i)/Q(αδ − γβ),

where NQ(i)/Q is the Gaussian norm. This implies that αδ − γβ is a unit.Therefore, u and v form a Z[i]-basis of Z[i]2, and the values z1, z2, z3, z4 arethe values of Z at the corners of one chamber of the Apollonian city, i.e.we have found a Descartes quadruple with the required centre-curvatures.

If we replace (α, β, γ, δ) with (δ, γ, β, α) in (12), then we recover thevalues (C,B,A,D) instead of (A,B,C,D); this corresponds to the sameset of centre-curvatures in a new order z2, z1, z3, z4. Then we define instead

u =

(δγ

), v =

(iβiα

), w = −u− v.

Then instead of (13)–(16) we have

z2 = 2γδ − αδ − γβ = Z(v, iw),

z1 = 2αβ − αδ − γβ = Z(w, iu),

z3 = 2γδ + 2αβ − 2iγβ + 2iαδ − αδ − γβ = Z(w − iv, iu− v),

z4 = αδ + γβ = Z(u, iv).

Page 37: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 37

As before, u and v form a Z[i]-basis of Z[i]2. This represents a second cham-ber with the same centre-curvatures, but generically different curvatures.These two different chambers correspond to quadruples which are relatedby applying the map z 7→ −2/z on C.

Corollary 12.8 implies that these two primitive Descartes quadruples cor-respond to the two possible quadruples with given centre-curvatures. There-fore, one of the two chambers we’ve found is exactly the quadruple we beganwith.

An Apollonian circle packing is formed by completing all triples of circles,beginning with a specific originating quadruple; correspondingly, each of thecompleting circles is obtained as the vertex of an adjacent chamber. Henceall the circles in the packing correspond to vertices in the same palace asthe originating chamber, and all the vertices in the palace give rise to circlesin the Apollonian circle packing. �

13. Apollonian Circle Packings

Consider the group

Γ′ =

(1 00 i

)−1Γ

(1 00 i

).

This group acts by right multiplication on lax vertex lattice matrices. Ifwe consider the palace containing the lax vertex lattice (1, 0), (0, 1) corre-sponding to the real line, then Γ′ takes a lax vertex lattice in this palace toall other lax vertex lattices in the same palace (by the proof of Proposition9.1).

Hence the following is a corollary to Proposition 9.1 and Theorem 12.1.

Corollary 13.1. The collection of images of the real line under the Mobius

transformations

(√2 0

0 1√2

)NΓ′ for some N ∈ PGL2(Z[i]) form a primitive

integral Apollonian circle packing.

Figure 7, which is obtained as all images of the real line under Γ′, showsall the lax vertex lattices in the palace containing the lax vertex lattice(1, 0), (0, 1). We obtain the horizontal Apollonian strip packing (it fills aninfinite horizontal strip with this repeating pattern; the horizontal lines arecircles of zero curvature).

The curvatures of all the circles shown in this packing are even, whichexplains the convention of dilating6 these pictures by a factor of 2 in The-orem 8.1. Hence, we obtain the more usual strip packing (with an infinite

string of unit circles) by taking all images of R under

(√2 0

0 1√2

)Γ′.

6This is the lesser of several evils, each of which results in a proliferation of terribletwos.

Page 38: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

38 KATHERINE E. STANGE

Figure 7. The Apollonian strip packing, obtained as all im-ages of R under Γ′.

If we use instead a left coset NΓ′ of Γ′, for some N ∈ PGL2(Z[i]), weobtain other Apollonian circle packings. Figure 8 is obtained upon using

N =

(i 01 i

).

If we take together all the left cosets

(√2 0

0 1√2

)NΓ′ of Γ′ for N ∈

PSL2(Z[i]), drawing all the images of the real line, we obtain an Apolloniansuperpacking, as studied by Graham, Lagarias, Mallows, Wilks and Yan[13]. This picture, which those authors call the standard strongly integralsuper-packing, is shown in red in Figure 2. This repeating pattern containsone copy of every Apollonian circle packing in its unit square (except thestrip packing). For details, see [13].

From the explicit bijection between lax circle lattices and certain equiv-alence classes of binary quadratic forms which we will see in Section 14,it will be apparent that a class number counting quadratic forms of givendiscriminant can be used to count the number of distinct occurrences of agiven curvature in a region of the super-packing. This was already stud-ied in an earlier paper by Graham, Lagarias, Mallows, Wilks and Yan [11,Theorem 4.2].

The Apollonian superpacking has a dual, which consists of the images

of the real line under all

(√2 0

0 1√2

)NΓ′ for N ∈

(i 00 1

)PSL2(Z[i]), and

is shown in blue in Figure 2. The superpacking together with its dual,

consist of all images of the real line under

(√2 0

0 1√2

)PGL2(Z[i]). The

resulting riot of circles can be considered a picture of the collection of full

Page 39: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 39

Figure 8. The Apollonian (−1, 2, 2, 3) packing, obtained as

all images of R under(√2 0

0 1√2

)(i 01 i

)Γ′ .

rank sublattices of Z2 (modulo lax equivalence), as described in the nextsection, or, simply, a picture of PGL2(Z[i])/PSL2(Z).

14. The view from a vertex: Conway’s sensual quadratic form

The Apollonian city is not only formed in analogy to Conway’s topo-graph, but it in fact includes infinitely many copies of the topograph. Thetopograph can be highlighted by choosing any one vertex of the Apolloniancity and restricting attention only to those vertices at distance one from thechosen vertex.

Theorem 14.1. Fix a vertex of the Apollonian city with vertex lattice L.Then the adjacent vertices may be put in bijection with the primitive ele-ments x ∈ L in such a way that the following hold.

(1) Two such vertices are connected by an edge of the Apollonian city ifand only if their corresponding x, x′ ∈ L form a basis for L.

Page 40: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

40 KATHERINE E. STANGE

(2) Let H be the imaginary part of a Hermitian form. Then the verticeshave H-values

H(ix, x)−H(L).

Furthermore, H(ix, x) is a binary quadratic form on the Z-moduleL of discriminant

4(H(u, v)2 −H(iu, u)H(iv, v)

),

where u, iv is any ordered basis of L.

Proof. Fix any one vertex of the Apollonian city, which we will call themother vertex. Suppose it is labelled with the vertex lattice L generatedby u and iv, and suppose that we have labelled this palace with one of thetwo possible global split labellings, as in the proof of Proposition 3.2. Nowsurvey the motherland : those vertices at distance one from the mother,which we will call subjects, together with the edges which connect them.

Fix a subject. Consider the split labelling on the edge joining the motherto the subject. The label closest to the mother is a vector x which isin the mother’s vertex lattice. Thus we associate each subject with thiscorresponding x.

Two vertices in the motherland are joined by an edge if and only if,together with the mother, they form a wall in the Apollonian city. This isthe case if and only if together, they form a Z-basis for L (see the proof ofProposition 3.2).

The function

g : Z[i]2 → Z, g(x) = H(ix, x) = h(x, x),

satisfies the parallelogram law g(x + y) + g(x − y) = 2(g(x) + g(y)). Re-stricting g to L, we obtain a binary quadratic form. It takes values on thecollection of edges connecting the mother with her subjects, so it can beviewed as a form on the motherland. The values it takes are exactly theH-labels of those edges in the Apollonian city. The discriminant of the formcan be calculated as

4(H(u, v)2 −H(iu, u)H(iv, v)

).

This association of a subject in the motherland to a primitive vectorx ∈ L implies that there exists some basis x, iy of L. Let z be such thatx + y + z = 0. Then the subject has vertex lattice generated by z, ix.Property (H2) of H implies that

H(z, ix) = g(x)− Cwhere the constant C = H(x, iy) is the H-label of the mother. In otherwords, the H-labelling of the collection of vertices in the motherland is atranslated quadratic form.

Finally, note that the definition of the quadratic form is actually onlydependent on the lax vertex lattice. �

Page 41: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 41

With reference to the language of the proof, suppose we illustrate justthose edges of the Apollonian city which connect vertices in the motherland,and label the vertices by the vector of L associated to them. Then we obtainsomething very familiar (compare the first picture in Section 5):

u

iv

u− iv u + iv

2u− iv

3u− iv

3u− 2iv

u− 2iv

2u + iv

u + 2iv

2u + 3iv

u + 3iv

3u + 2iv

3u + iv

2u− 3iv

u− 3iv

In other words, the motherland is a copy of Conway’s topograph (in its‘dual’ triangular form).

15. Circle lattices

The curvature form

B((α, β), (γ, δ)) = Im(βδ),

of Proposition 11.1 depends only on the second coordinates of its arguments.Considering β = a+bi, δ = c+di ∈ Z[i] as vectors (a, b), (c, d) ∈ Z2, we canthink of each vertex of the Apollonian city as being labelled by an orientedfull-rank sublattice of Z2 generated by (a, b) and (c, d), instead of a vertexlattice generated by (α, β) and (γ, δ). This is a circle lattice, as in Definition4.3. The corresponding lax circle lattice is an equivalence class of two circlelattices: (

a cb d

),

(b d−a −c

).

Proposition 15.1. Given a circle in S1, there is a unique lax circle latticethat may be associated to it. Furthermore, the circle has oriented curvatureequal to the negative of the determinant of the circle lattice.

A circle lattice determines the oriented curvatures of the Descartes quadru-ples and the Apollonian circle packing in S1 containing any circle to whichit is associated.

Page 42: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

42 KATHERINE E. STANGE

Proof. The first statement is a consequence of Theorem 8.1, since the circle

lattice is determined by the vertex lattice. The circle lattices

(a cb d

)and

(b d−a −c

)both have determinant

ad− bc = −B((α, β), (γ, δ)),

which is the negative of the curvature of the circle associated it.For the last statement, the bases of the circle lattice are the second co-

ordinates of the bases u and iv of the associated vertex lattice. This, inturn, determines the curvatures of any Descartes quadruple associated toa chamber containing that vertex, by the proof of Proposition 12.3. Inparticular, if the second coordinates of u and v are a+ bi and d− ci, respec-tively (corresponding to the form of the circle lattice above), then for thefirst standard ultrabasis chamber associated to superbasis u, v, w = −u−v,these are

b1 = −(ad− bc) = B(u, iv),

b2 = c2 + d2 + (ad− bc) = B(w, iu),

b3 = (a+ c)2 + (b+ d)2 + (ad− bc) = B(v, iw),

b4 = a2 + b2 + (ad− bc) = B(w − iv, iu− v).

Since Descartes quadruples in S1 are in bijection with chambers (Theorem12.1), this determines the curvatures of any Descartes quadruple containinga circle with that circle lattice. The curvatures of one Descartes quadrupledetermine the curvatures of the entire Apollonian circle packing of which itis a member. �

A given lax circle lattice may occur more than once in an Apollonian circlepacking, but only if a given Descartes quadruple occurs repeatedly: the onlyexample in which it may occur infinitely often is the strip packing, where,for example, each of the infinitely many circles of radius one necessarily hascircle lattice Z2. All other Apollonian circle packings contain at most finitelymany circles of curvature below a given bound (see [5, 11] for countingestimates).

The packing shown in Figure 8 has a symmetry, and therefore the samelax circle lattice often occurs twice or four times. In Figure 4, we show acircle lattice associated to each circle in that packing.

It is nice to record the resulting lattice Descartes rule, which gives, forany three circle lattices which appear in an Apollonian circle packing, thecircle lattices attached to the two circles completing the triple to a Descartesquadruple.

Theorem 15.2. Consider three mutually tangent circles in an Apolloniancircle packing. For some a, b, c, d, they have the following circle lattices

Page 43: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 43

(represented by matrices whose column vectors form a basis):

A =

(a cb d

), B =

(d b− c−c −a− d

), C =

(−a− d −b−b+ c a

).

The two completing circles have the following circle lattices:

D1 =

(−b− d c+ a+ da+ c d+ b− c

), D2 =

(c− a d− b+ cd− b −c+ a+ d

).

Proof. By Theorem 12.1, the triple of circles is associated to a superbasisin the Apollonian city. Choose vectors u, v, w representing the superbasissuch that u + v + w = 0, choose a global split labelling (as in the proofof Proposition 3.2), and hence a labelling by non-lax vertex lattices, whereone vertex has vertex lattice generated by u, iv. For the first coordinates ofu and iv, write a+ bi and c+ di respectively. The result follows. �

In practical application, to find the matrix forms for A,B,C above, sothat one may apply this theorem, one may use the proofs of Proposition12.3 and Lemma 12.4.

16. Quadratic forms in curvatures

Besides a circle lattice, each circle also has an associated quadratic form,as described in Section 14. In this section we consider the quadratic formobtained in Theorem 14.1 by using the curvature form B as in the lastsection.

Graham, Lagarias, Mallows, Wilks and Yan have already described a qua-dratic form associated to a root quadruple of an Apollonian circle packingin [11, Theorem 4.2]; their form lies in the equivalence class associated tothe ‘outer’ circle of a packing in what follows. Bourgain and Fuchs have alsodescribed the same form in terms of a quadruple of curvatures [3]. Theseare all essentially the same form.

For a circle associated to a vertex lattice with basis u, iv having secondcoordinates β and δ respectively, this quadratic form obtained from thecurvature Hermitian form is

g(Xu+ Y iv) = NQ(i)/Q(Xβ + Y δ).

Using the convention that β = a + bi and δ = c + di, the discriminant ofthis form is related to the curvature of the circle:

−4H((α, β), (γ, δ))2 = −4(ad− bc)2,A representative of the equivalence class is given by

ββX2 + 2 Re(βδ)XY + δδY 2

= (a2 + b2)X2 + 2(ac+ bd)XY + (c2 + d2)Y 2.

Page 44: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

44 KATHERINE E. STANGE

Figure 9. The Apollonian strip packing, with curvatures.

The matrix form Q of this quadratic form is related to the matrix M of thecircle lattice (whose column vectors are the first coordinates of u and iv).In particular, MTM = Q:

(a bc d

)(a cb d

)=

(a2 + b2 ac+ bdac+ bd c2 + d2

).

Note that the resulting quadratic form is a primitive form: gcd(a2 +b2, ac+bd, c2 + d2) = 1 (otherwise a+ bi and c+ di are not coprime).

The circles which are tangent to a fixed circle of lattice β, δ form themotherland, as in Section 14. They have curvatures

NQ(i)/Q(Xβ + Y δ)− ad+ bc.

For example, consider the unit circle in the strip packing (Figure 7, drawn

dilated by a factor of two). It has circle lattice

(1 00 1

). The circles tangent

to it have values X2 + Y 2 − 1, for all primitive vectors (X, Y ) ∈ Z2. Forexample, one sees n2 for all n ∈ Z but n2 − 1 only when n = 1 or n is thelargest member of a pythagorean triple. These values are

0, 1, 4, 9, 12, 16, 24, 25, 28, 33, 36, 40, . . .

See Figure 9.

Proposition 16.1. If matrix

Q =

(A BB C

)

represents a primitive positive definite quadratic form, whose discriminantis −4n2 for some n ∈ Z, then

Q = MTM

Page 45: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 45

for some integral matrix M of determinant ±n. Furthermore, there areexactly four solutions for M , of the form(

a cb d

),

(−a −c−b −d

),

(b d−a −c

),

(−b −da c

).

Conversely, if

M =

(a cb d

)

is any integral lattice, then MTM is the matrix of a primitive positive def-inite quadratic form with discriminant −4(ad− bc)2.Proof of Proposition 16.1. The existence of M amounts to solving the equa-tions

A = a2 + b2, B = ac+ bd, C = c2 + d2, D = ad− bc, AC −B2 = D2.

Since the discriminant is negative, AC > 0. But since the form is positivedefinite, A,C > 0. From primitivity, A,B,C,D have no common factor.The result follows from Lemma 12.4.

The converse is immediate. A form with negative discriminant butA,C >0 is positive definite. �

Hence a primitive quadratic form of the type of Proposition 16.1 arisesfrom some circle lattice, and is part of a Descartes quadruple of some pack-ing. One can recover a Descartes quadruple simply be evaluating the qua-dratic form on a superbasis.

Corollary 16.2. We have an explicitly computable bijection:

{lax circle lattice}l{

equivalence class of primitive positive definiteintegral binary quadratic forms

of discriminant negative four times a square

}

The lattice Descartes rule of Theorem 15.2 gives rise to a correspondingquadratic form Descartes rule.

17. Appendix: Bestvina and Savin’s topograph

Bestvina and Savin [2] study a complex formed of bases and superbasesin Z[i]2. Because a basis is contained in four superbases, each basis isassociated to a square 2-cell, whose edges are the superbases. Square 2-cells are glued three along each edge, reflecting the fact that a superbasiscontains three bases. The link of a vertex is the 1-skeleton of a cube, whichdescribes which superbases share common bases.

To compare Bestvina and Savin’s complex to the Apollonian city studiedhere, consider the six faces of the cubical link. These correspond to vectors

Page 46: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

46 KATHERINE E. STANGE

u, v, w, u+ iv, v+ iw, w+ iu, the edges of a tetrahedron in the Apolloniancity. The eight vertices of the cube can be broken up into two collectionsof four, each of which forms the vertices of a tetrahedron: the collection ofdiagonals of each face which connect the four vertices gives the edges of thetetrahedron.

In this way, each vertex of Bestvina and Savin’s complex contains twodual tetrahedra. As mentioned briefly in Section 3, an ultrabasis tetrahe-dron has a natural dual, since the vectors labelling the edges adjacent to avertex form a superbasis. This corresponds to the dual Descartes quadrupledescribed by Coxeter [9].

There are other pieces of the vector/basis/superbasis/ultrabasis descrip-tion of P1(Q(i)) that remain to be studied; these complexes are only some ofthe possible complexes formed by the relationships between these objects.

18. Final comments

A future paper will study the relationships between the reduction of qua-dratic forms, continued fractions in the Gaussian integers, and reductionin Apollonian circle packings. Other natural questions include the study ofother quadratic number fields (noteably the field with unit group of ordersix), as well as a wide range of questions concerning the arrangement oflattices into circle packings.

References

[1] R. F. S. Andrade and J. G. V. Miranda. Spectral properties of the Apolloniannetwork. Phys. A, 356(1):1–5, 2005.

[2] Mladen Bestvina and Gordan Savin. Geometry of integral binary hermitian forms.Journal of Algebra, 360(0):1 – 20, 2012.

[3] Jean Bourgain and Elena Fuchs. A proof of the positive density conjecture for integerApollonian circle packings. J. Amer. Math. Soc., 24(4):945–967, 2011.

[4] Jean Bourgain and Alex Kontorovich. On the strong density conjecture for integralapollonian circle packings, 2012. arXiv:1205.4416.

[5] David W. Boyd. The sequence of radii of the Apollonian packing. Math. Comp.,39(159):249–254, 1982.

[6] Otfried Cheong. The Ipe Extensible Drawing Editor (Version 7.1.1), 2012.http://ipe7.sourceforge.net/.

[7] M. D. E. Conder, C. Maclachlan, G. J. Martin, and E. A. O’Brien. 2-generatorarithmetic Kleinian groups. III. Math. Scand., 90(2):161–179, 2002.

[8] John H. Conway. The sensual (quadratic) form, volume 26 of Carus MathematicalMonographs. Mathematical Association of America, Washington, DC, 1997. Withthe assistance of Francis Y. C. Fung.

[9] H. S. M. Coxeter. The problem of Apollonius. Amer. Math. Monthly, 75:5–15, 1968.[10] R. Descartes. Oeuvres de Descartes, volume 4. Charles Adam & Paul Tannery, 1901.[11] Ronald L. Graham, Jeffrey C. Lagarias, Colin L. Mallows, Allan R. Wilks, and

Catherine H. Yan. Apollonian circle packings: number theory. J. Number Theory,100(1):1–45, 2003.

Page 47: arXiv:1208.4836v2 [math.NT] 21 Oct 2012 · superbases forms an ultrabasis, the sides of the corresponding triangular 2-cells are identi ed according to their labels, and the Apollonian

The sensual Apollonian circle packing 47

[12] Ronald L. Graham, Jeffrey C. Lagarias, Colin L. Mallows, Allan R. Wilks, andCatherine H. Yan. Apollonian circle packings: geometry and group theory. I. TheApollonian group. Discrete Comput. Geom., 34(4):547–585, 2005.

[13] Ronald L. Graham, Jeffrey C. Lagarias, Colin L. Mallows, Allan R. Wilks, andCatherine H. Yan. Apollonian circle packings: geometry and group theory. II. Super-Apollonian group and integral packings. Discrete Comput. Geom., 35(1):1–36, 2006.

[14] K. E. Hirst. The Apollonian packing of circles. J. London Math. Soc., 42:281–291,1967.

[15] Alex Kontorovich and Hee Oh. Apollonian circle packings and closed horosphereson hyperbolic 3-manifolds. J. Amer. Math. Soc., 24(3):603–648, 2011. With an ap-pendix by Oh and Nimish Shah.

[16] Jeffrey C. Lagarias, Colin L. Mallows, and Allan R. Wilks. Beyond the Descartescircle theorem. Amer. Math. Monthly, 109(4):338–361, 2002.

[17] Wesley Pegden Lionel Levine and Charles K. Smart. Apollonian structure in theabelian sandpile, 2012. Preprint.

[18] Daniel Pedoe. On a theorem in geometry. Amer. Math. Monthly, 74:627–640, 1967.[19] Peter Sarnak. Integral Apollonian packings. Amer. Math. Monthly, 118(4):291–306,

2011.[20] W. A. Stein et al. Sage Mathematics Software (Version 4.8). The Sage Development

Team, 2012. http://www.sagemath.org.

Department of Mathematics, University of Colorado, Campux Box 395,Boulder, Colorado 80309-0395

E-mail address: [email protected]