Homology
Part IV · Cohomology
Chapter 4.4

de Rham Cohomology

Closed forms that are not exact

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.

— Raoul Bott and Loring Tu, Differential Forms in Algebraic Topology (1982)

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.

Closed, exact, or neither? Pick a form · drag the centre (diamond) or the rim of the circle
Figure 4.4.1 Arrows show each 1-form as the field rose rings are missing points. The first readout is the integral around the gold circle, the second the integral of over the part of the disk where is defined. For small loops give and loops around the puncture give The last form, also lives on the punctured plane and its arrows loop in and out of the puncture, yet it is exact: every loop gives

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 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 (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 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 : 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.

The angle as a spiral staircase Drag to rotate · play or scrub the walk
start two laps
angle followed continuously:
Figure 4.4.2 The helicoid has one sheet for each possible value of the angle; its storeys are apart, and the rose axis is the missing origin. The gold loop in the floor lifts to the gold path on the ramp. Around the hole, each lap climbs exactly one storey — the integral of along the loop is the height gained. Beside the hole, the path returns to its starting height. (This surface is a picture of what mathematicians call the Riemann surface of the logarithm.)

Winding numbers

The staircase also tells us what is around any loop. In §2.3 Homotopy you met the of a loop around the origin: the net number of times goes around, counting counterclockwise turns positively and clockwise ones negatively.

Vortex and loop Drag the round handles to reshape the loop · the diamond moves it
0 (missing)
Loop:
winding number 1
computed along the curve
prediction

The bead has swept 0.00 radians so far (the spiral at the centre). Every loop gives a whole number of turns.

Figure 4.4.3 The field of streaming around the missing origin. A bead walks your loop while the rose spiral at the centre records the angle swept so far. Whatever loop you draw, the integral computed along it is times a whole number: once around, for the star that goes round twice, for a loop beside the hole, backwards. Switch to “Angle rays” to see the level curves of rays that never end, but cannot be labelled consistently.

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:

Building a potential along rays Switch regions · play or scrub · in the annulus, drag c and q
centre whole region

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.

Figure 4.4.4 A closed 1-form on a star-shaped region: integrating along each ray from the centre builds the potential, shown growing outward as a coloured map with teal level lines. Switch to the annulus, with on it. Rays from that would cross the hole are blocked (hatched), and the two ways round the hole from to give values that differ by exactly

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.

The circle from two arcs
restrict to U and to V
image: the diagonal, a line
kills the diagonal, and is onto

Figure 4.4.5 Cover the circle by two arcs and Each arc is an interval, with no first cohomology, and their overlap has two separate pieces. Read the sequence downwards: locally constant functions on the pieces leave exactly one dimension unaccounted for, and exactness pushes it into

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 , 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

The de Rham map Pick a form · click a triangle or a loop
Adding up around the inner loop (click any triangle)

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.

Figure 4.4.6 A triangulated annulus around the missing origin — the same shape as the annulus of §4.1 Cochains: Measuring Shapes. Each edge is labelled with the integral of the chosen form along it, in the direction of its arrow. For the numbers are fractions of a turn; every triangle adds up to (a cocycle) and each loop around the hole to exactly one turn (not a coboundary). Click a triangle to add up around it. The other two forms show what goes wrong when the form is not closed, and what an exact form gives.

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 — 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 . 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 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 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.

A wire and a solenoid Drag to rotate · choose the physics and the 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.

Figure 4.4.7 The wire: the magnetic field circles a straight current, and the gold loop collects for every time it goes around the wire, and nothing if it does not. The solenoid: the field is trapped inside the coil; outside it vanishes, but the vector potential still circulates (violet), and a charged particle’s phase changes by per turn.

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 .

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 . 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

References

  1. Lionel S. Penrose and Roger Penrose (1958). Impossible objects: a special type of visual illusion. British Journal of Psychology 49(1), 31–33. doi
  2. Michael Spivak (1965). Calculus on Manifolds. W. A. Benjamin (reprinted by CRC Press, 2018). doi
  3. Raoul Bott and Loring W. Tu (1982). Differential Forms in Algebraic Topology. Springer, Graduate Texts in Mathematics 82. doi
  4. John M. Lee (2013). Introduction to Smooth Manifolds (2nd edition). Springer, Graduate Texts in Mathematics 218. doi
  5. Georges de Rham (1931). Sur l’analysis situs des variétés à n dimensions. Journal de Mathématiques Pures et Appliquées, 9e série, 10, 115–200 (his thesis). free online
  6. John J. O’Connor and Edmund F. Robertson (2015). Georges de Rham. MacTutor History of Mathematics Archive, University of St Andrews (quotes R. Bott, Notices of the AMS 38 (1991), 114–115). free online
  7. John J. O’Connor and Edmund F. Robertson (2014). Élie Joseph Cartan. MacTutor History of Mathematics Archive, University of St Andrews. free online
  8. Charles A. Weibel (1999). History of homological algebra. in I. M. James (ed.), History of Topology, Elsevier, 797–836.
  9. Yakir Aharonov and David Bohm (1959). Significance of electromagnetic potentials in the quantum theory. Physical Review 115, 485–491. doi
  10. Werner Ehrenberg and Raymond E. Siday (1949). The refractive index in electron optics and the principles of dynamics. Proceedings of the Physical Society B 62(1), 8–21. doi
  11. Akira Tonomura, Nobuyuki Osakabe, Tsuyoshi Matsuda, Takeshi Kawasaki, Junji Endo, Shinichiro Yano and Hiroji Yamada (1986). Evidence for Aharonov–Bohm effect with magnetic field completely shielded from electron wave. Physical Review Letters 56, 792–795. doi
  12. Paul A. M. Dirac (1931). Quantised singularities in the electromagnetic field. Proceedings of the Royal Society of London A 133, 60–72. doi
  13. Tai Tsun Wu and Chen Ning Yang (1975). Concept of nonintegrable phase factors and global formulation of gauge fields. Physical Review D 12, 3845–3857. doi
  14. Lek-Heng Lim (2020). Hodge Laplacians on graphs. SIAM Review 62(3), 685–715. free online