Gauss' Linking Number II
From degree to integral: de Rham cohomology and the winding number
Second in a four-part series deriving Gauss’ linking integral from first principles. The setup is in the first post.
In the previous post, we showed that the linking number of two disjointly embedded manifolds and in can be expressed as the degree of the normalized difference map
This description is conceptually satisfying, but it is not yet computational. The degree is defined by counting preimages with signs, which requires finding all solutions to a nonlinear equation—awkward at best.
The purpose of this post is to explain how to convert this topological invariant into an integral. The key tool is de Rham cohomology, and the key computation is a short ODE. At the end, we will have an explicit integral formula for the linking number in all dimensions—and we will test it on the simplest case: a point and a curve in .
The big idea: degree as an integral
The bridge between topology and analysis is the following remarkable fact.
Theorem. Let be a smooth map between closed oriented -manifolds, and let be a volume form on normalized so that . Then
This theorem deserves a moment of reflection. Why should it be true?
Fix a regular value , and think of as a “bump” form concentrated near . The pullback is then concentrated near the preimages , and the integral picks up a contribution of at each preimage according to whether preserves or reverses orientation there. Summing these contributions gives the degree. The content of the theorem is that this sum is the same no matter where on we concentrate the bump—which is ultimately a consequence of being closed.
Applying this to the normalized difference map gives our first integral formula:
This is already a formula for the linking number. But it is not yet practical: the map lands on the sphere , which requires multiple coordinate charts. Everything that follows is about turning this abstract formula into something we can write down in a single integral.
Moving to Euclidean space
Factor the normalized difference map as
Then
The map is just a subtraction—completely explicit. The map is the radial projection onto the sphere. Since deformation retracts onto via , the pullback is a closed form on punctured Euclidean space, and we can work entirely in Euclidean coordinates.
But what is this form? To answer that, we need a way to translate between topology and differential forms.
De Rham cohomology
The de Rham cohomology of a smooth manifold is defined as
It measures the “topological complexity” of through the lens of calculus. Two closed forms represent the same cohomology class precisely when they differ by an exact form—and therefore give the same value when integrated over any closed submanifold. The foundational result (de Rham’s theorem) is that this construction recovers the same invariants as singular cohomology: the topology of determines which closed forms are exact and which are not.
For our purposes, the essential computation is:
generated by . Removing the origin from creates exactly one “hole,” and this one-dimensional cohomology group detects it.
Why does this help? Because it gives us freedom. The form is one representative of the generator, but any closed -form on whose integral over a sphere enclosing the origin is represents the same cohomology class, and therefore gives the same linking number when pulled back and integrated. We can choose whichever representative is easiest to work with:
General formula. Let be any closed -form on with . Then
The entire computation has been reduced to a single task: find an explicit .
Constructing the generator
We seek a closed -form on , normalized so its integral over the unit sphere is . Several considerations guide the construction.
Rotational invariance. Since no direction in is preferred, we look for a form that is invariant under rotations. This is both aesthetically natural and practically essential: it constrains the ansatz enough to make the problem tractable.
The Hodge star route. How do we systematically build closed forms on punctured Euclidean space? A clean approach: given any smooth function on , the -form is exact, and its Hodge dual
is an -form. When is closed? A calculation shows
so is closed if and only if is harmonic: .
The key point is that for the ansatz , closedness reduces to Laplace’s equation on alone.
Why the puncture is doing the work. It is worth heading off an objection here, because the construction looks at first as though it cannot possibly produce anything interesting. We are about to build out of a function—so surely is exact, and integrates to zero over every closed surface?
It is not, and the reason is the puncture. What we will find is a that is harmonic on and nowhere extends over the origin: it blows up there. That is not a defect of the construction, it is the entire content of it. Being exact means being of something defined on the whole space, and is the Hodge dual of a differential, which is a different thing altogether—the star is not a differential operator and carries no potential with it. A generator that extended smoothly across the origin would be exact on the contractible space , and would integrate to zero over every sphere. Ours integrates to one, and the singularity at the origin is what it costs.
Radial symmetry. Rotational invariance forces to depend only on . So we need a radially symmetric harmonic function on punctured space: .
The ODE
In (with ), the Laplacian of a radial function is
Setting this to zero gives , which integrates to:
The constant is killed by , so only matters. We fix by the normalization .
There is no sign left to choose. Both branches have one free constant, and demanding pins it—including its sign—so we may as well fix the convention now: take increasing in in every dimension, which means in and alike. Appendix A then shows that on the unit sphere restricts to for and to for , and setting the integral to determines . The results:
| Ambient dimension | Normalized generator | |
|---|---|---|
| general |
The reader may recognize the entries in the column. The function is the fundamental solution of the Laplacian in —the Coulomb potential, or the gravitational potential of a point mass. The function is its counterpart in . This is not a coincidence: the cohomological generator on is always the Hodge dual of the gradient of the Green’s function for the Laplacian. The linking number is, in a precise sense, measuring the “electrostatic flux” of one manifold as seen from the other.
Warm-up: the winding number in
Before tackling Gauss’ integral in , let us test the machine on the simplest possible case.
Take , , and . The manifold is a point and is a closed curve. The “linking number” of a point with a disjoint closed curve is the classical winding number of around . Two earlier notes take that integer on its own terms rather than as a special case of anything: one through covering spaces, one through de Rham cohomology.
The general formula says
where is the entry from our table:
Write and . Then . Pulling back the differentials:
Substituting into :
Integrating:
If we place at the origin, this simplifies to
which those who have taken complex analysis will recognize as —the total angle swept out by the curve around the origin, divided by .
The figure below is Post I’s picture with a dimension removed. On the left a point and a closed curve ; on the right the circle of directions the map lands in, with the sweep drawn as a spiral so that a second turn sits outside the first rather than retracing it. Scrub to walk the pair around, and drag anywhere in the plane. The curve is a limaçon, so it has three regions rather than two: outside, the winding number is ; in the body of the curve it is ; inside the small inner loop it is . It changes by one each time crosses a strand.
And the formula was produced mechanically by the same procedure that will yield Gauss’ double integral.
What comes next
We have built the general machine:
- The linking number is a degree.
- Degree can be computed as the integral of a pullback form.
- De Rham cohomology tells us that any normalized closed form will do.
- The Hodge star ansatz reduces the construction to a harmonic function.
- Radial symmetry reduces the PDE to an ODE, which we solve explicitly.
We have tested it in and recovered the winding number. In the next post, we specialize to and carry out the pullback computation that produces Gauss’ linking integral—the scalar triple product kernel, the denominator, and all.
Appendix A. Normalization of the generator
We verify the normalization integrals. One fact does all the work. In polar form the Euclidean volume form factors as
where carries the orientation it has as the boundary of the ball, outward normal first. That is exactly the statement
so for any radial the Hodge dual of restricts on the sphere of radius to . Normalizing is then just a matter of reading off , and the sign takes care of itself: forces , which is why the convention above is to take increasing.
Case . Take with . Then
so at ,
and . Setting this to gives
which is the general- entry of the table.
Case . Take , again with . Then , so
and . Setting this to gives .
A check in . With the recipe gives and , so
using and its cyclic partners. On the unit sphere this is , whose integral is . This is the form Post III pulls back.