Symmetry at work

Two stackings, one density

Stack spheres as tightly as they will go and the third layer has a free choice. Both answers fill exactly the same fraction of space and give every sphere the same twelve neighbours — and their space groups are Fm3̅m and P6₃/mmc, which is the only thing that tells them apart.

Assumes Twenty-five cells, and fourteen lattices and Forgetting a group in three dimensions.

Lay identical spheres on a table as tightly as they will go and the arrangement is forced: a triangular array, each sphere touching six others, with two sets of hollows between them. Put a second layer in one set of hollows — either set, they are mirror images and equally good — and that is forced too.

The third layer is not. It can sit directly over the first, or over the hollows the second layer left unused. Both choices touch the same number of spheres, both fill the same fraction of space, and every layer after them faces the same decision again.

So there is not one close packing but infinitely many, and the two regular ones — ABAB and ABCABC — are what mineralogy and metallurgy call hexagonal and cubic close packing. Nothing about density chooses between them. What separates them is symmetry, and that is the whole of the subject.

One layer, and the two ways to sit on it. A close-packed layer — large pale discs, each touching six others, which is as tight as one layer of equal spheres can be. Its hollows come in two sets, marked in the two smaller colours, and a second layer must take one set or the other; the two choices are mirror images and equally good. The third layer then faces the same choice again, and this time the two answers are genuinely different: over the first layer, or over the hollows the second did not use. That single decision, repeated, is the whole of close packing — and nothing in the geometry prefers either answer, because both give the same density and the same number of touching neighbours.
Fig. 1 One close-packed layer — the large pale discs, each touching six others, which is as tight as a single layer of equal spheres can be. Its hollows come in two sets, marked in the two smaller colours, and a second layer takes one set or the other. The third layer then chooses again, and this time the two answers are genuinely different: over the first layer, giving ABAB, or over the unused hollows, giving ABCABC. That single decision, repeated, generates every close packing there is.

The same number, to every digit

The fraction of space filled is π/√18 = 0.740480…, and it is the same for both regular packings — not approximately, exactly, and the equality is worth being convinced of rather than told.

The site’s habit applies: measure it. Take each structure’s atom positions and cell, compare every atom against every atom of the surrounding cells to find the nearest-neighbour distance, take the radius as half of that, and divide the spheres’ volume by the cell’s. The two answers agree to every digit the arithmetic carries.

Same density, different groups. The fraction of space filled by equal spheres in each arrangement, measured from the structures themselves: the nearest-neighbour distance is found by comparing every atom against every atom of the surrounding cells, the radius is half of it, and the fraction is the spheres' volume over the cell's. The two close packings return 74.0480% — the same number to every digit the arithmetic carries, which is π/√18 — with twelve neighbours each, and their space groups are different by every measure. Simple cubic is there for contrast at 52.36% and six neighbours. Density and coordination cannot tell the first two apart; symmetry can, and that is the whole argument for classifying structures by their groups.
Fig. 2 The fractions, measured on the structures themselves rather than quoted. Cubic and hexagonal close packing return the same number and the same coordination of twelve; simple cubic is there for contrast at 52.36% and six neighbours. Underneath each is its space group, rediscovered from the atom positions by a detector that enumerates every operation the lattice permits and keeps those that map the set onto itself. Same density, same coordination, different groups — which is the argument for classifying structures by symmetry in one picture.

Coordination twelve in both cases, and even the arrangement of the twelve is nearly the same: six in the sphere’s own layer, three above and three below. The difference is only in how the upper three sit relative to the lower three — staggered in the cubic case, eclipsed in the hexagonal — so the two coordination polyhedra are the cuboctahedron and its twisted relative, which have the same faces and the same edges and differ by a rotation of one half.

The groups, rediscovered rather than named

Handing each structure to the three-dimensional detector gives the two symbols, and the round trip is the point: the space group is not typed into the caption, it is found.

Cubic close packing is Fm3̅m, order 192 including the centring translations. Its close-packed layers are perpendicular to a body diagonal — which is the fact that makes the cubic case surprising, since nothing about a cube suggests a stack of triangular layers until the ⟨111⟩ direction is looked along.

Hexagonal close packing is P6₃/mmc, order 24. And it is worth pausing on what it is not: hexagonal close packing is not a lattice. Its cell contains two atoms that no translation relates, so it is a lattice with a basis, and the distinction first drawn in the plane has its clearest physical example here. Cubic close packing is a lattice — the face-centred cubic one — with a single atom per primitive cell.

The stacking ABC, which is Fm3̅m. The sequence ABC, drawn as layers seen edge-on with each one offset by its own registration. The structure it repeats is cubic close packing, and its space group is Fm3̅m — 192 operations, found by handing the atom positions to a detector that enumerates every operation the lattice permits and keeps those that map the set onto itself. The symbol is not typed into the caption: the detector rediscovers it, and the build stops if what comes back differs in either direction. The stacking is the only thing that differs between the close packings, and it is not visible in a single layer or in a count of neighbours.
Fig. 3 The cubic stacking, ABCABC, drawn as layers seen edge-on with each offset by its own registration. The structure repeats after three layers, its space group is Fm3̅m, and the detector confirms it: 192 operations found from the positions alone, matching the group the caption names in both directions — nothing missing, nothing extra. An extra operation would mean the structure is more symmetric than claimed, which is the failure mode this site’s round trip exists to catch.

The 6₃ screw, and where it comes from

The screw axis in P6₃/mmc has an origin the picture makes obvious, and it is the cleanest illustration of a screw this site has.

Take the hexagonal stack. A rotation of a sixth of a turn does not map it onto itself — that would carry an A layer onto an A layer, and the layers alternate. But a sixth of a turn combined with a shift of half the repeat carries A onto B and B onto A, and it maps the structure onto itself exactly. That is a 6₃ screw: rotate by 60°, advance by half.

So the operation exists precisely because the stacking alternates, and no choice of origin removes it — the intrinsic half-translation is a property of the operation. A structure with the cubic stacking has no such axis and has four three-fold axes instead, along the four body diagonals.

The stacking AB, which is P6₃/mmc. The sequence AB, drawn as layers seen edge-on with each one offset by its own registration. The structure it repeats is hexagonal close packing, and its space group is P6₃/mmc — 24 operations, found by handing the atom positions to a detector that enumerates every operation the lattice permits and keeps those that map the set onto itself. The symbol is not typed into the caption: the detector rediscovers it, and the build stops if what comes back differs in either direction. The stacking is the only thing that differs between the close packings, and it is not visible in a single layer or in a count of neighbours.
Fig. 4 The hexagonal stacking, ABAB, with the same density and a completely different group: P6₃/mmc, twenty-four operations, again rediscovered from the positions. The 6₃ screw is the operation that makes the alternation a symmetry rather than a defect. Comparing this picture with the previous one is the whole subject in two figures — the layers are identical, the spacing is identical, the choice of where the third layer sits is the only difference, and it changes the group entirely.

Any sequence of layers with no two adjacent alike is a close packing of exactly the same density, so between the two regular cases there are infinitely many irregular ones. The ones that repeat are polytypes, and counting them is a clean combinatorial exercise.

A stacking of period n is a cyclic word in {A, B, C} with no two adjacent letters equal, including at the wrap-around. Two words describe the same structure when one becomes the other by rotating the cycle, reversing it, or relabelling the three positions — so the count is the number of classes under a group of order 6n.

How many close packings there are of each period. Every cyclic sequence over three letters with no two adjacent alike is a close packing, and two sequences describe the same structure when one becomes the other by rotating the cycle, reversing it, or relabelling the three positions. Counting the classes that remain gives 1 of period 2, 1 of period 3, 1 of period 4, 1 of period 5, and 38 altogether up to period 10. Period two is hexagonal close packing and period three is cubic; everything above them is a polytype, equally dense and equally close packed, and silicon carbide has been found in more than two hundred of them. Nothing in the geometry chooses. What chooses is an energy difference of a few thousandths of an electron volt per atom, and this site computes no energies.
Fig. 5 How many distinct close packings there are at each period. One of period two, which is hexagonal; one of period three, which is cubic; one of period four, ABAC; and then the count grows — two at six, three at seven, sixteen at ten. Every one of them has the same density and the same coordination number as the two familiar cases. Nothing in the geometry prefers any of them, and that is what makes polytypism a subject rather than a curiosity.

Silicon carbide is the standard example and it is extraordinary: more than two hundred polytypes have been reported, some with repeat periods of hundreds of layers, several of which grow reproducibly enough to be commercial materials with different band gaps. Zinc sulphide, cadmium iodide and the micas all do the same thing to a lesser degree.

The energy differences between polytypes are tiny — thousandths of an electron volt per atom — which is exactly why so many of them occur, and exactly why nothing about their occurrence can be predicted from symmetry. What symmetry supplies is the list.

The stacking ABAC. The sequence ABAC, drawn as layers seen edge-on with each one offset by its own registration. Any sequence with no two adjacent letters alike is a close packing of exactly the same density, and this is one of them. The stacking is the only thing that differs between the close packings, and it is not visible in a single layer or in a count of neighbours.
Fig. 6 The period-four packing, ABAC, which is the first structure that is neither of the two familiar ones. It has the same density and the same coordination as both, its layers are identical to theirs, and its symmetry is different again. Silicon carbide grows in this one and calls it 4H; it grows in ABAB and calls it 2H; it grows in ABCABC and calls it 3C. Three names for three points on a list that continues indefinitely, and the material treats them as alternatives rather than as a right answer and its failures.

The notation the polytypes are named in

The naming worth knowing is Ramsdell’s, because it is compact and it says exactly what the count above counts.

A polytype is written as a number and a letter: the number is how many layers are in the repeat, and the letter is the crystal system — C for cubic, H for hexagonal, R for rhombohedral. So 2H is ABAB, 3C is ABCABC, 4H is ABAC, and 6H is one of the two period-six packings. Where a period has more than one packing the entries are distinguished by a subscript.

The notation is a compression of the sequence and it loses information: 6H does not say which of the two period-six sequences is meant. That is deliberate — the letter carries the symmetry, which is what a crystallographer wants, and the full sequence is available for anybody who needs it. It also explains the strange-looking fact that 3C is cubic while every other polytype in the list is hexagonal or rhombohedral: three is the only period whose stacking has the cubic arrangement, so every other number in the catalogue takes an H or an R.

What the arithmetic decides and what it does not

The division here is unusually clean and worth stating explicitly, because this field is the one where the temptation to overreach is strongest.

Decided by the arithmetic. That the density is π/√18 for every close packing. That the coordination number is twelve. That ABCABC has space group Fm3̅m and ABAB has P6₃/mmc. That there are exactly sixteen distinct packings of period ten. Each of those is computed above and none is quoted.

Not decided by anything here. Which packing a substance takes. Magnesium is hexagonal, copper is cubic, and cobalt changes its mind at 695 K — three facts about electronic structure, all invisible to symmetry. Why silicon carbide has two hundred polytypes and copper has none. Why the ideal axial ratio √(8/3) = 1.633 is approached by real hexagonal metals and never met exactly.

That last one is worth a sentence, because it is a measurement rather than a decision. Zinc has c/a = 1.856 and cadmium 1.886, both far from ideal, so their “close-packed” layers are not in contact in the way the geometry assumes — the structure is P6₃/mmc regardless, since the symmetry does not depend on the ratio, but the packing fraction is lower and the twelve neighbours are no longer at equal distances. The group is exact and the packing is approximate, which is the reverse of how the two are usually presented.

2 lattices. 2 lattices: cubic F, with 48 symmetries; hexagonal P, with 24 symmetries. The corner points are the conventional cell; the points in the second colour are the centring translations, drawn at every position inside the cell rather than one per face. The cell shapes are the picture's, chosen so no two systems look alike; only the angles a system is defined by mean anything.
Fig. 7 The two lattices underneath, drawn as cells. Cubic close packing is the face-centred cubic lattice with one atom per primitive cell — a lattice, in the strict sense, and one of the fourteen. Hexagonal close packing sits on the primitive hexagonal lattice with two atoms per cell, so the lattice is one of the fourteen and the structure is not the lattice. Confusing the two is common enough that “hexagonal close-packed lattice” appears in print regularly, and there is no such thing.

Where else this decision shows up

The stacking freedom is not confined to spheres, and naming two other places it occurs makes the pattern visible.

Twinning. A close-packed structure that stacks ABCABC and then, after a mistake, continues CBACBA has produced a twin: two orientations of one structure sharing a plane, with the boundary at the layer where the sequence reversed. In face-centred cubic metals this is the commonest planar defect there is, it costs almost nothing to make, and it is the annealing twin visible in any micrograph of brass — the same object the coincidence arithmetic reaches as a Σ3 boundary.

Stacking faults. A single wrong layer in an otherwise regular sequence — ABCABABC — is a fault rather than a twin, a slab of the other packing one layer thick. Its energy is the difference between the two packings’ energies, which is the small number mentioned above, and materials with a low stacking-fault energy deform in a completely different way from materials with a high one.

So the free choice this page opens with is not an abstraction: it is the mechanism behind a defect that decides how a metal deforms, and behind the boundary that decides how it corrodes. The geometry says the choice is free; the material’s energy says how often it is made wrongly; and everything interesting is in the second.

Why the density cannot depend on the sequence

The figure measures the two fractions and finds them equal. The reason they are equal is worth stating separately, because it explains why the infinitely many irregular packings have the same density too, and no amount of measuring individual cases would establish that.

A close packing is a stack of identical layers. Each layer has the same number of spheres per unit area — that is what “as tightly as they will go” fixes, and it is the two-dimensional problem, settled by the triangular arrangement. And each layer sits at the same height above the one below it, because the spacing is decided by three touching spheres of the layer beneath and a fourth resting in their hollow, which is one tetrahedron of edge d whatever the hollow chosen.

So the density is spheres per unit area, divided by the spacing, and neither quantity knows the sequence. Choosing B or C for the next layer is choosing which of two hollows to use, and the two hollows are related by a translation of the layer — a rigid motion, which changes no volume and no separation.

That is the argument, and it says something the measurement cannot: every close packing has density π/√18, including sequences with no period at all. There are uncountably many such stackings, so no computation over polytypes could have reached the statement; it needs the layers to be identical and the spacing to be forced, and then it needs nothing else.

What the packing fraction is not

There is a much stronger statement in the neighbourhood, it is famous, and it is not what has been established here.

What this page shows is that two particular arrangements achieve 0.740480…. Kepler’s conjecture is that no arrangement of equal spheres, of any kind whatever — periodic, aperiodic, or with no structure at all — exceeds it. Those are entirely different claims, and the gap between them held for nearly four hundred years.

Gauss closed part of it in 1831 by proving that no lattice packing does better, which is the case where the sphere centres form a lattice and the problem becomes one about quadratic forms. That leaves the packings that are not lattices, and among them the close packings themselves, since hexagonal close packing has two spheres per cell and is not a lattice packing at all. Thomas Hales proved the general statement in 1998, by an argument reducing the problem to a few thousand cases of nonlinear optimisation and settling each by computer. The referees reported after four years that they were ninety-nine per cent certain it was correct and could not verify the computations completely, which is an unusual sentence to find in a mathematical journal. Hales then led a decade-long project to produce a proof checked mechanically from the axioms, completed in 2014.

The episode is worth keeping beside the arithmetic on this page for a reason this collection meets repeatedly. Computing what an arrangement does is easy; proving that nothing does better is a different subject. Every number in this essay is of the first kind — a density measured on a structure that was built, a group recovered by a detector, a count of sequences. The one statement of the second kind is quoted, and it is quoted with the length of its proof attached.

Where the polytype count comes from

The count in the figure has a closed form behind it, and the derivation is two lines of the kind this collection prefers.

A stacking of period n is a closed walk of length n on the graph whose vertices are A, B and C and whose edges join every pair — no two adjacent layers alike being exactly the condition that consecutive letters differ. The number of closed walks of length n on that graph is the trace of the n-th power of its adjacency matrix, whose eigenvalues are 2, −1 and −1, giving 2ⁿ + 2(−1)ⁿ sequences.

Everything after that is quotienting. Two sequences describing the same packing differ by a cyclic rotation of the word, by a relabelling of the three letters, or by reading the stack from the other end — so the distinct polytypes are the orbits of that action, and Burnside’s count over the orbits is what the figure plots. Period two gives one, period three gives one, period four gives one, and the numbers climb from there. The arithmetic is exact and integer throughout, which is the only reason a count of an infinite family is trustworthy at all.

Barlow, and a century of not being believed

William Barlow, a businessman with no formal training, worked out the close packings and their symmetries in 1883 — before X-ray diffraction, before anybody had seen a crystal structure, and on the argument that crystals are built of spheres in contact.

He was substantially right, and he was not taken seriously for thirty years. The objection was reasonable at the time: nothing in the evidence required atoms to be spheres in contact, the theory made no prediction anybody could test, and the sphere-packing picture had been proposed and abandoned before. When Bragg determined the structure of rock salt in 1913, Barlow’s arrangements turned out to be the arrangements, and his diagrams were correct in detail.

The lesson the episode leaves is not about vindication but about what a geometrical argument can and cannot claim in advance. Barlow could say what the possible packings were; he could not say which substance took which, and he did not claim to. The list was right and the assignment had to wait for a measurement — which is the same division this page ends on, a hundred and forty years later.

Where the exactness stops

Three limits.

Spheres are a model, and a strong one. Atoms are not spheres and do not have a well-defined radius; the “close-packed” description is a good one for metals, where the bonding is undirected, and a poor one for anything with directional bonds — silicon does not close-pack at all, and its structure fills 34% of space rather than 74%. The packing fraction computed above is a property of the geometric model, not a measurement of a solid.

The polytype count is a count of sequences. Two polytypes with the same sequence have the same symmetry, and two different sequences can still be very similar structures — the classification is by stacking, which is the right unit for symmetry and not necessarily for any physical property.

Polytypes are indistinguishable in a powder pattern at low resolution. Two long-period polytypes differ in reflections that are weak and closely spaced, so what a powder measurement loses is exactly what tells them apart — which is why the silicon carbide catalogue was built from single crystals and why the number in it keeps changing.

And the detector was given the crystal system. The round trip in space enumerates the operations a stated lattice type permits, so the verification confirms that the structure has the group named and does not independently discover the lattice type. That limit is the same one the space-groups phase recorded, unchanged, and it is the reason the packings above are described as verified rather than as identified.

Where the ladder goes next

Close packing leaves holes, and the holes are where most of chemistry happens: two tetrahedral and one octahedral hole per sphere, in both stackings, and every structure from rock salt to spinel is a close packing with some of its holes filled. Counting the holes is a Wyckoff-position question with an answer that does not depend on the stacking, and that independence is what makes the structural taxonomy of minerals possible at all.

What this makes readable

Essays that name this one as a prerequisite.

Named alongside this one

Essays reaching for the same objects. Nobody chose these; they are what the concept index makes visible.

What links here

The 8 essays that link to this one and share the most of its objects, of 15 that link here.

The objects this essay names

Each one links to every other essay that touches it.

Close packingCoordination numberPacking fractionPolytypeSpace groupStacking sequence