The guiding principle in this book is to use differential forms as an aid in exploring some of the less digestible aspects of algebraic topology.
At the end of the last chapter you met a strange 1-form on the plane with one point removed. Its exterior derivative is zero everywhere — no swirl at any point — and yet its integral around a circle is not zero. That is Escher’s staircase from §4.1 Cochains: Measuring Shapes all over again: honest at every step, impossible once round. This time it is built from calculus instead of numbers on edges, and the missing point is to blame.
This chapter turns that observation into an instrument for detecting holes with derivatives and integrals, called de Rham cohomology. Then it asks a question that has no right to a simple answer. You now own two hole detectors. One is made of smooth functions and limits; the other of finite lists of numbers written on the triangles of a triangulation. Do they ever disagree?
Closed and exact forms
A gradient field never swirls: if then as §4.3 Differential Forms showed. Physics leans hard on the converse — a force with no curl, the textbooks say, comes from a potential energy — and on most regions the converse is true. This chapter is about the regions where it is false, and why. First, names for the two conditions.
For a 1-form on the plane, being closed means the curl of the field vanishes everywhere. Being exact means for some function the field is a gradient, and is its potential (the “height” of §4.1 Cochains: Measuring Shapes). Because every exact form is closed. Everything below hangs on the converse.
The loop test
There is a clean way to tell exactness from closedness, using loop integrals. If is exact, then for every closed loop
Conversely, suppose every loop integral of vanishes, on a connected region. Fix a base point and define integrating along any path from to Two different paths give the same answer, because going out along one and back along the other is a loop, whose integral is zero. And near changes by the integral of along short steps, which is what says. So:
Closedness is a local condition — you can check it at each point by computing derivatives. Exactness is a global condition — it asks for a single function on the whole region. Figure 4.4.1 lets you test both on five forms; drag the loop around and watch the two numbers.
The two numbers disagree, and that is no contradiction: the disk is not inside the domain of ω, so Green’s theorem does not apply to it.
This should feel familiar. In §4.1 Cochains: Measuring Shapes you met edge labellings with zero “curl” around every filled triangle which were nevertheless not differences of vertex heights, because a loop around an unfilled hole picked up a nonzero sum. Here is the dictionary between the two worlds:
| Cochains (Part IV so far) | Differential forms |
|---|---|
| -cochain | -form |
| coboundary with | exterior derivative with |
| cocycle: | closed form: |
| coboundary: | exact form: |
| (Stokes) |
The de Rham cohomology groups
Following the recipe of Part III and §4.2 Cohomology Groups, we measure the gap between closed and exact forms with a quotient. The closed -forms form a vector space, the exact ones form a subspace of it, and we divide.
In words: take all the closed forms, and agree to ignore the ones that are exact, since they are “closed for a trivial reason”. Whatever is left over measures closed forms that fail to be exact for a global reason. Concretely, to show that two closed forms and represent the same class you exhibit a form with to show that they do not, you usually find a cycle over which they integrate differently — since, by Stokes’ theorem, an exact form integrates to zero over every cycle. This is the same quotient construction as in §1.2 Equivalence and Quotients and in §1.5 Linear Algebra: declare two things the same when they differ by something negligible. Over the real numbers these groups are vector spaces, and the most useful thing to know about each is its dimension.
Degree zero: what does not change
A 0-form is a function and there are no forms of degree so nothing is exact in degree A function is closed when that is, when all its partial derivatives vanish: it is constant near every point. Such locally constant functions are constant on each connected piece of but may take different values on different pieces. So, when has finitely many components,
one real number for each piece, exactly as of a graph counted its components in §4.1 Cochains: Measuring Shapes. At the other end, if has dimension there are no nonzero forms of degree so for
The line and the circle
The circle is more interesting. Describe a point of the circle by its angle remembering that and are the same point. The angle itself is not a function on the circle — it has no single value at the starting point — but its differential is a perfectly good 1-form: it measures the angle swept by a small step, and that does not care which value of you started from. This form is written and every 1-form on the circle is for a smooth -periodic function
Compare this with §3.3 Homology Groups: the circle has and De Rham cohomology finds the same component and the same hole, with in place of
The vortex: a closed form that is not exact
Now the hero of the chapter. On the punctured plane (the plane with the origin removed) consider
Away from the origin, the polar angle of a point can be chosen to vary smoothly, at least on any region that does not go all the way around. On the right half-plane for example, Let us check that its differential is The derivative of is so by the chain rule
and these are exactly the coefficients of On other half-planes a different formula for the angle does the same job (on the upper half-plane, say), and two such formulas differ by a constant where both are defined, so they have the same differential. That is why this form is called the angle form and is written Being locally the differential of a function, it is closed: (You can also check directly; it was the last exercise of the previous chapter.) Its field is the vortex of Figure 4.3.2: it circles the origin with strength and has no curl anywhere.
And yet around the unit circle, we have so
By the loop test, is not exact on the punctured plane. There is no function on with The notation is a trap: it is the derivative of the angle only locally, never globally.
The endless staircase
Imagine walking once around the origin while keeping track of your angle continuously. You start at a quarter of the way round you are at halfway at and when you are back where you started, your angle reads not Walk round again and it reads The angle is a multivalued function: a height you can climb for ever while going in circles. It is the staircase of Escher’s monks, which Lionel and Roger Penrose first drew in 1958 (Penrose & Penrose 1958). Theirs is an optical illusion, a staircase that pretends to close up. The angle is the real thing.
Figure 4.4.2 builds it honestly, in three dimensions. Over each point of the punctured plane, stack all its possible angles as heights. These stacks form a single smooth spiral surface, the helicoid, like the ramp of a multistorey car park wound around the missing axis. It never pretends to close up; it keeps rising. A loop in the plane, together with a continuously chosen angle along it, traces a path on the ramp. If the loop goes around the hole, the path climbs a full storey per lap; if it does not, the path rises and falls and comes back to its start.
Winding numbers
The staircase also tells us what is around any loop. In §2.3 Homotopy you met the winding number of a loop around the origin: the net number of times goes around, counting counterclockwise turns positively and clockwise ones negatively.
The bead has swept 0.00 radians so far (the spiral at the centre). Every loop gives a whole number of turns.
Integration has turned into counting. An integral is the kind of number you expect to drift when you nudge the loop, yet this one sits on a whole number of turns and refuses to budge. Remember that: it is the first hint of the surprise at the end of the chapter.
The first cohomology of the punctured plane
The same argument works with several holes. On the plane with points removed, each puncture has its own angle form, and a closed 1-form is determined, up to exact forms, by its integrals around small circles about the punctures. The “two vortices” form of Figure 4.4.1 is with integrals around around and around both.
The Poincaré lemma: no holes, no cohomology
If holes are what stop closed forms from being exact, then on a region without holes every closed form should be exact. The cleanest version of this uses a particularly simple kind of hole-free region.
For 1-forms the proof is a construction you can watch. Put the centre at the origin. To find a potential at a point integrate along the straight ray from the centre to — the ray stays inside so this makes sense:
Each point gets the integral of ω along the straight ray from the centre. The coloured map is the resulting potential, with its level lines; since every ray stays inside the region, every point gets a value.
The ray construction also shows why the annulus is different. From any centre in the annulus, some straight rays run into the hole, so the construction cannot reach the points behind it. Going around the hole instead, the potential would have to take two different values at the same point, one for each way around, and they differ by
Invariance and cutting into pieces
Maps act backwards on cohomology
A smooth map pulls forms back from to Since pullback commutes with it sends closed forms to closed forms ( and exact forms to exact forms ( so it gives a well-defined linear map
The arrow points backwards — the fourth recurring idea once more — just as on cochains did in §4.2 Cohomology Groups. And composition behaves:
The idea is the one we used for loops above: a homotopy sweeps out a “cylinder” between and and Stokes’ theorem on that cylinder shows that, for a closed form, what you see at one end differs from what you see at the other only by an exact form (Lee 2013, ch. 17). Here is what it buys immediately:
- is homotopy equivalent to a point, so for — the Poincaré lemma again.
- The punctured plane deformation-retracts onto the unit circle, so matching our computation.
- Space minus a straight line also retracts onto a circle, so Space minus a point retracts onto a sphere, so but, as we will see,
Mayer–Vietoris: computing by cutting
Like homology in §3.6 Exact Sequences and Mayer–Vietoris, de Rham cohomology can be computed by cutting a space into overlapping pieces. If with open, there is a long exact sequence (Bott & Tu 1982, §2)
(all groups de Rham). The first map restricts a form to both pieces; the second takes two forms on and and subtracts their restrictions to the overlap; the third, the “connecting map”, is the clever one.
Let us run it for the circle. The arcs and are each connected and contractible, so and Their intersection is two disjoint arcs so A pair of constants on and is sent to the difference on each of and the image of this map is only the diagonal line in Exactness at says that the connecting map kills exactly this diagonal, so it carries the quotient injectively into Exactness at where the next group is says the connecting map is also onto. So
Geometrically, the leftover class is a choice of two constants on the two overlaps that is not of the form a “jump” across one overlap that is not matched by the same jump across the other. Smoothing such a jump out with a bump function produces a closed 1-form whose integral around the circle is the difference (up to a sign fixed by conventions) — a copy of up to a constant multiple and exact forms.
De Rham’s theorem: calculus meets combinatorics
Step back and look at what you own. On one side are the de Rham groups: closed forms modulo exact ones, made of smooth functions, derivatives and limits. On the other are the groups of §4.2 Cohomology Groups: cocycles modulo coboundaries, made from a triangulation (or from singular simplices) and nothing but lists of numbers, one per simplex.
Try both on the annulus around the missing origin. Its closed 1-forms fill an infinite-dimensional space — any multiple of plus the differential of any smooth function you care to write down — and its exact forms fill another. Divide one by the other and, by homotopy invariance and our computation for the punctured plane, a single dimension survives, spanned by Now triangulate the same annulus with six vertices, twelve edges and six triangles, as in Figure 4.4.6. A 1-cochain is twelve numbers. The six triangle rules cut the cocycles down to a six-dimensional space; the coboundaries, height differences of six vertices, take up five of those dimensions. One dimension survives. Infinitely many smooth functions on one side, twelve numbers on the other, and the same answer. Coincidence? Integration says no.
Given a -form integrate it over each oriented -simplex of a triangulation to get a number. That assignment is a -cochain, the integration map, or de Rham map. Stokes’ theorem says
that is, So integration sends closed forms to cocycles (if then and exact forms to coboundaries ( and therefore gives a linear map
Each edge carries the angle it subtends at the missing point, as a fraction of a full turn. Every triangle sums to 0 — the cochain is a cocycle because dθ is closed — yet each loop around the hole sums to one whole turn.
Look at the numbers the integration map produced for Each inner or outer edge subtends at the missing point, so it carries a third of a turn: when its arrow runs counterclockwise, when it runs clockwise. Each edge from an inner vertex to an outer vertex subtends and carries Around every triangle the angles cancel, since a triangle that does not contain the origin subtends no net angle. Around either loop they add up to one turn. Any other cocycle whose loop sum is one turn — say, the “fence of ones” of §4.1 Cochains: Measuring Shapes, which is on the three edges and everywhere else — differs from this one by a coboundary: they are two representatives of the same class. Of all those representatives, the one produced by integrating is the most evenly spread: it has the smallest sum of squares. That is a first glimpse of the Hodge theory sketched in §5.3 Horizons.
Pause on how unlikely this is. The cochain side depends on a triangulation: refine it and every cochain group changes size, although the quotients do not (the invariance of §3.5 Maps, Invariance, and First Triumphs). The form side has never heard of triangles. One theory is made of limits, the other of arithmetic you could do with a pencil, and on every smooth manifold, in every degree, they give the same real cohomology. We will not prove it. The proofs compare the two theories piece by piece with a Mayer–Vietoris argument, using the Poincaré lemma for the pieces; Bott & Tu (1982, §8) give a particularly clean version. Here is what it buys:
- Two worlds agree. The smooth world of forms and derivatives and the combinatorial world of simplices and matrices measure the same holes. Any calculation can be done in whichever world is easier.
- Periods detect everything. A closed form is exact if and only if all its periods — its integrals over cycles — vanish. We saw this for loops; de Rham’s theorem says it in every degree.
- No torsion. Forms have real coefficients, so de Rham cohomology cannot see the torsion that -coefficients detect. For the projective plane, although (§4.2 Cohomology Groups).
Raoul Bott, remembering de Rham, called the theorem “a sort of topological form of the particle-wave equivalence of quantum mechanics” (O’Connor & Robertson 2015). One way to read him: a chain is concentrated on a few simplices, like a particle; a form is spread over the whole manifold, like a wave; and integration lets each describe the other completely.
Holes you can feel: physics
Closed forms that are not exact are not only a mathematician’s curiosity. Physics is full of fields with no local “curl” whose loop integrals are nonetheless not zero, and every time, a hole in space is responsible.
Conservative forces
A force field is conservative if the work it does around every closed path is zero; then it is the (negative) gradient of a potential energy, and energy is conserved. In the language of forms, the work 1-form is exact. Gravity near the ground, is the classic example. On a region without holes, the Poincaré lemma says that “no curl” already guarantees a potential. On a region with holes it does not.
The field around a wire
A steady current flowing up a long straight wire along the -axis produces a magnetic field circling the wire,
where is a physical constant. As a 1-form, this is on space with the wire removed. Outside the wire it has no curl, so it is closed. But around any loop it gives
which is Ampère’s law. So is closed but not exact: there is no “magnetic potential function” outside a wire, and the obstruction is a class in For a current in a closed loop of wire, the number of times becomes the linking number of the two loops from §3.7 Knots and Links: Ampère’s law measures it with a magnetic field.
The Aharonov–Bohm effect
Physicists often describe a magnetic field through a vector potential with as forms, a 1-form with Take a long thin solenoid — a coil of wire — carrying a magnetic flux inside it. Outside the solenoid the magnetic field is zero, so there: is closed. But by Stokes’ theorem on a disk spanning a loop around the solenoid, Outside the solenoid, (up to an exact form): the angle form once more.
Classically this would not matter, since a charged particle feels only and wherever the particle goes. Quantum mechanically it matters. Yakir Aharonov and David Bohm pointed out in 1959 (Aharonov & Bohm 1959), as Werner Ehrenberg and Raymond Siday had a decade earlier (Ehrenberg & Siday 1949), that the wave of a charged particle travelling around the solenoid acquires an extra phase per turn, which shifts the interference pattern of electrons passing on either side. The most convincing confirmation came in 1986, when Akira Tonomura and colleagues sent electrons around a tiny ring magnet sealed inside a superconducting shield (Tonomura et al. 1986). The electrons never touch the magnetic field. What they measure is the period of the closed form around the hole — its cohomology class, read through a loop.
Outside the wire the field has no curl at all, yet a loop around the wire collects μ₀I each time round: the field is closed but not exact.
Gauss’s law and a hole of dimension two
One dimension up, consider space with the origin removed, and the 2-form
It is closed ( a computation you can try), and on the unit sphere it restricts to the area form, so If were exact, then Stokes’ theorem on the sphere — which has no boundary — would give So is closed but not exact, and in fact generated by The integral of over a closed surface is times the number of times the surface wraps around the origin, which is why is called the solid-angle form.
The electric field of a point charge is exactly and the statement “the flux out of a closed surface equals the enclosed charge over is Gauss’s law. The divergence theorem of the previous chapter would give zero flux for every surface — if the field were defined everywhere inside. The charge is the hole.
Exercises
Summary
Further reading
- Differential Forms in Algebraic Topology — Raoul Bott and Loring TuThe classic: de Rham cohomology, Mayer–Vietoris, the Poincaré lemma, and how far forms can take you in topology. Graduate level, but its first chapter reads well after this one.
- An Introduction to Manifolds — Loring W. TuThe gentlest rigorous route: its closing chapters build de Rham cohomology, the Mayer–Vietoris sequence and homotopy invariance from scratch, with many worked computations. Written as a prequel to Bott and Tu.
- A student-level exposition covering Mayer–Vietoris, homotopy invariance, Poincaré duality and de Rham’s theorem.
- Shows forms becoming cochains on meshes — de Rham’s map made concrete — with the Hodge decomposition as a payoff.
- A Visual Introduction to Differential Forms and Calculus on Manifolds — Jon Pierre FortneyIts chapters on the Poincaré lemma and on electromagnetism treat closed and exact forms with many pictures.
- Gentle and geometric; includes a short section on de Rham cohomology as an application.
- For the combinatorial side of de Rham’s theorem: simplicial and singular cohomology with any coefficients.
- A short interactive page on the vortex field, for readers who prefer the vector-calculus language.
- Significance of Electromagnetic Potentials in the Quantum Theory — Yakir Aharonov and David BohmThe 1959 paper predicting the Aharonov–Bohm effect (Physical Review 115, 485–491).
- The Feynman Lectures on Physics, Vol. II, ch. 15: The Vector Potential — Richard Feynman, Robert Leighton and Matthew Sands freeFeynman’s own account of why the vector potential is real, including the solenoid experiment.