Topology

Every corner pays for itself

Count the corners of any solid, subtract the edges, add the faces. The answer is two. It is two for a cube, for a pyramid, for a football, for anything squashed or stretched — and the number is measuring the shape it is wrapped around rather than the shape itself.

A cube has 88 corners, 1212 edges and 66 faces. Subtract the edges from the corners and add the faces:

812+6=2.8 - 12 + 6 = 2.

A tetrahedron: 46+4=24 - 6 + 4 = 2. An octahedron: 612+8=26 - 12 + 8 = 2. A pyramid on a square base: 58+5=25 - 8 + 5 = 2. A football, with its twenty hexagons and twelve pentagons: 6090+32=260 - 90 + 32 = 2.

V − E + F = 2, five timesVertices, edges and faces of the five regular solids, with the alternating sum. The edges are counted from the faces rather than listed, and the sum is 2 in every row.VEFV − E + Ftetrahedron4642cube81262octahedron61282dodecahedron2030122icosahedron1230202
Fig. 1 The five regular solids, with their counts and the alternating sum. The edges are counted from the face lists rather than read off a table, and the sum is 22 in every row.
The five Platonic solidsTetrahedron, cube, octahedron, dodecahedron and icosahedron, drawn at a common scale.tetrahedron4 trianglescube6 squaresoctahedron8 trianglesdodecahedron12 pentagonsicosahedron20 triangles
Fig. 2 The five solids the table counts. Their vertex counts run from 44 to 2020 and their face counts from 44 to 2020, and the alternating sum is the same for all of them.

What is being measured

The counts differ wildly and the combination does not, which is the signal that the combination is measuring something the individual counts are not.

The first thing to establish is how robust it is. Take a cube and push a corner in, and the counts do not change. Slice a corner off, and VV, EE and FF all change — a cut corner replaces one vertex with three, adds three edges, and adds one face, so the sum shifts by +23+1=0+2 - 3 + 1 = 0. Draw a new edge across a face, splitting it in two: one edge added, one face added, and the sum is unmoved because they cancel.

Every operation that keeps the surface a surface leaves the total alone. The quantity does not care about the shape at all — only about the fact that the shape is a sphere in disguise.

That is what makes it a topological invariant, and the word earns itself here: VE+FV - E + F is a property of the underlying surface, and the polyhedron is merely a way of writing the surface down. Any two polyhedra that could be deformed into each other without tearing give the same answer, and every convex polyhedron can be deformed into a sphere.

The proof, by flattening

The cleanest argument removes the third dimension first, which is the move Euler made with the bridges and the same one made here.

Imagine the polyhedron is made of rubber. Puncture one face and stretch the hole open until the whole thing lies flat on the table. Every vertex and edge survives; every face survives too, except that the punctured one has become the infinite region outside the drawing.

A solid flattened into a graphThe cube pushed flat: eight vertices, twelve edges, and six faces once the region outside the drawing is counted as one. V − E + F is the same 2 it was on the solid.8 vertices, 12 edges6 faces, counting the outside — 8 − 12 + 6 = 2
Fig. 3 A cube pushed flat. Eight vertices and twelve edges, drawn without crossings, and six faces once the region outside the drawing is counted as the punctured one.

That last clause is the whole trick and the place every first reading goes wrong. The flattened cube looks like it has five faces. It has six, because the outside counts — the face that was punctured did not disappear, it became unbounded.

Königsberg as a graphThe four landmasses as circles and the seven bridges as edges; every circle has an odd number of edges.Ndegree 3Idegree 5Edegree 3Sdegree 3
Fig. 4 What the flattening produces, in its barest form: dots and lines, with no geometry left. Königsberg’s four landmasses and seven bridges are not a polyhedron, and the formula still applies to them once the regions the drawing cuts the plane into are counted as faces — 47+5=24 - 7 + 5 = 2.

Now the counts are about a flat graph, and the sum can be reduced. Two moves suffice:

  • Remove an edge that separates two faces. One edge goes, and the two faces merge into one, so EE and FF each drop by one and the sum is unchanged.
  • Remove an edge with a loose end, along with that end. One edge and one vertex go, and no face changes, so VV and EE each drop by one and the sum is unchanged.

Alternating those two, any connected planar graph can be stripped down to a single vertex: no edges, one vertex, and one face — the outside. And 10+1=21 - 0 + 1 = 2.

Since nothing along the way changed the total, the total was 22 to begin with. The proof is complete and it never mentions a solid.

Two conditions are being used and both are worth surfacing, since each is a place the argument fails if dropped. The graph must be connected — two separate components strip down to two vertices rather than one, giving 20+1=32 - 0 + 1 = 3, and indeed two cubes standing side by side have χ=4\chi = 4. And it must be planar, drawn without crossings, or the regions it cuts the plane into are not well defined. The flattening supplies both, which is why the puncture-and-stretch is doing more than convenience.

The reduction also gives a bound worth having. Each face of a simple planar graph is bounded by at least three edges and each edge borders at most two faces, so 2E3F2E \ge 3F. Substituting into the formula gives

E3V6,E \le 3V - 6,

which says a planar graph cannot have many edges — a graph on 55 vertices can have at most 99, so the complete graph on five vertices, with its 1010, cannot be drawn flat. That is the fact underneath the four colour theorem’s restriction to planar graphs, and it falls straight out of a counting argument about faces.

What the two is

The natural next question is why the answer is 22 rather than some other number, and the answer is that 22 is a property of the sphere.

Run the same count on a surface with a hole through it — a doughnut, tiled with polygons — and it comes out 00. Two holes gives 2-2. In general, a surface with gg handles has

VE+F=22g.V - E + F = 2 - 2g.

So the alternating sum counts handles, and it does so from data that never mentions them: a list of corners, edges and faces, with no notion of a hole anywhere in it. That is a genuinely startling piece of bookkeeping. A creature living on the surface, able to survey its own triangulation but unable to see the surface from outside, could compute the number of holes by counting and subtracting.

This quantity is called the Euler characteristic, written χ\chi, and it is the first topological invariant anyone meets. It is complete for closed orientable surfaces — two of them are the same shape if and only if their characteristics agree — which is a rare and powerful situation. Most invariants distinguish some things and miss others; this one settles the whole classification with a single integer.

It also has a consequence for maps rather than shapes: because the sphere and the disc have no holes, a continuous map of either into itself must leave a point where it was, and on the annulus — where χ\chi is 00 — it need not. The characteristic and the fixed-point guarantee are two readings of the same absence.

It stops being complete the moment orientability is dropped. A Möbius band has χ=0\chi = 0, and so does a cylinder, and they are not the same surface — so the characteristic alone cannot tell them apart, and the classification needs orientability as a second ingredient.

The five solids, again

The formula has an immediate payoff, and it is a second route to a result this collection has already reached one way.

Suppose a solid has every face a regular pp-gon and every vertex meeting qq edges. Count the edge-ends two ways: each face contributes pp of them and each edge has two, so pF=2EpF = 2E; each vertex contributes qq and again each edge has two, so qV=2EqV = 2E. Substituting into VE+F=2V - E + F = 2 and dividing by 2E2E:

1p+1q=12+1E.\frac1p + \frac1q = \frac12 + \frac1E.

Since EE is positive, the left side exceeds 12\tfrac12. With pp and qq at least 33, the whole-number solutions are (3,3)(3,3), (4,3)(4,3), (3,4)(3,4), (5,3)(5,3) and (3,5)(3,5) — five of them, which are the five Platonic solids.

The cube and its dual, the octahedronA point at the centre of each face of the cube; joining neighbouring points gives the octahedron.
Fig. 5 The swap made visible. A point at the centre of each of the cube’s six faces, joined across shared edges, gives a solid with six corners and eight faces — the octahedron. Exchanging pp and qq in the equation is exactly this construction.
DodecahedronA dodecahedron drawn in projection with 12 faces.
Fig. 6 The (5,3)(5,3) solution: twelve pentagons, three at each corner. 2030+12=220 - 30 + 12 = 2, and its partner (3,5)(3,5) is the icosahedron with the counts exchanged.

The angle-budget argument in that essay reaches the same list from a completely different direction, and it is worth being precise about what each one supplies that the other does not. The angle argument makes it obvious why the list is finite — there is only so much angle at a corner. This one makes it obvious why the entries pair up — swapping pp and qq swaps the members of each dual pair, and the swap is visible in the notation.

Neither picture carries both facts comfortably, which is the usual situation when one answer has two proofs.

The count that is not a count

There is a reframing that explains where the alternating signs come from, and it is worth a paragraph because the minus sign otherwise looks arbitrary.

The pattern +VE+F+V - E + F continues in higher dimensions as +++ - + -, and the reason is that the pieces have dimensions 0,1,20, 1, 2 and each is being weighted by (1)dimension(-1)^{\text{dimension}}. So the characteristic is a signed count of cells, and the alternation is what makes the total insensitive to how the surface was cut up.

That insensitivity is the point. Chop a face into two and both EE and FF rise by one, with opposite signs, cancelling. Add a vertex in the middle of an edge and both VV and EE rise by one, cancelling. The alternating sum is precisely the combination that every legal subdivision leaves alone, and it is essentially the only one — which is why it is the quantity that survives to be a property of the surface rather than of the drawing.

Read that way, the number is not counting anything about the polyhedron. It is what remains after everything that depends on the choice of polyhedron has been cancelled out, and the surprise is that anything remains at all.

The exceptions, and the century they took

The formula as usually stated is false, and the history of noticing that is a good corrective to how clean the previous sections look.

Take a cube with a square tunnel bored through it. Counting carefully gives χ=0\chi = 0, not 22 — because the shape is a doughnut with corners, not a sphere with corners. Take two cubes joined at a single vertex: χ=3\chi = 3. Take a cube with a square hollow inside it, a shell within a shell: χ=4\chi = 4.

None of these is a trick. They are ordinary solids, and each was offered during the nineteenth century as a counterexample to a theorem that had been considered proved since 1750. Lakatos’s Proofs and Refutations is built around this episode, and its argument is that the word polyhedron was not stable: each counterexample forced a revision, either by excluding the offending shape or by adjusting the theorem.

The resolution was to be explicit about the hypothesis. Euler’s formula holds for polyhedra whose surface is topologically a sphere — connected, no tunnels, no shells inside shells, every face a disc. Once stated that way it has no exceptions, and every counterexample above is seen to violate it.

That is the ordinary fate of a theorem that arrives before its definitions. The proof was not wrong; it was a proof about a class nobody had yet delimited, and delimiting it took a hundred years and a good deal of argument.

What the picture cannot show

The flattening figure draws one polyhedron pushed flat, and the argument needs every polyhedron to be flattenable. That the puncture-and-stretch always works is the substance of the proof and it is assumed by the drawing rather than demonstrated — a shape that could not be flattened would look exactly as convincing before the attempt.

The outer face is worse, because the picture cannot draw it. It is the unbounded region, extending past every edge of the page, and a reader counting faces in the figure will count five and get 11 rather than 22. The single most error-prone step in the proof is invisible by construction.

Nor can any drawing here show what the answer means. That χ=22g\chi = 2 - 2g counts handles is the reason the quantity is interesting, and no picture of a sphere-like solid contains any information about doughnuts. The figures establish that the sum is 22 for the cases drawn, and the content is what happens for the cases not drawn.

The ladder from here

Rungs above: the flattening proof drawn stage by stage, with the graph reduced to a point. Non-convex polyhedra and the tunnel counterexample, counted. The classification of surfaces, where χ\chi and orientability together settle everything. The characteristic for higher-dimensional complexes, with the alternating sum continued. Descartes’ angle-defect theorem, which is this formula in geometric clothing and totals 720°720° for the same reason the sum is 22. Gauss–Bonnet, the smooth version, where curvature integrates to 2πχ2\pi\chi. Homology, which is what the alternating sum is a shadow of. Triangulations, and the theorem that the answer does not depend on which one is used. And the Königsberg graph, where planarity and this formula together give Kuratowski’s criterion.

The shape of the idea

The habit worth taking from this is the one the whole subject is built on: look for the combination of measurements that does not change.

Every individual count here is fragile. VV, EE and FF change under the mildest deformation and carry no information about the surface. The combination VE+FV - E + F is immovable, and because it is immovable it belongs to the surface rather than to the description.

That is what an invariant is, and finding them is most of topology. The rest of this collection is full of the same move at smaller scale: the determinant is what survives a change of basis, the degree parities are what survive deleting a city, the width is what survives turning a shape. In each case a great deal of information is thrown away deliberately, and what is left answers a question the full description could not.