Gauss' Linking Number II

From degree to integral: de Rham cohomology and the winding number

\newcommand{\kl}{\widehat{K\text{-}L}}

In the previous post, we showed that the linking number of two disjointly embedded manifolds MmM^m and NnN^n in Rm+n+1\mathbb{R}^{m+n+1} can be expressed as the degree of the normalized difference map

K-L^ ⁣:M×NSm+n.\kl \colon M \times N \to S^{m+n}.

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 R2\mathbb{R}^2.

The big idea: degree as an integral

The bridge between topology and analysis is the following remarkable fact.

Theorem. Let f ⁣:XkYkf\colon X^k\to Y^k be a smooth map between closed oriented kk-manifolds, and let α\alpha be a volume form on YY normalized so that Yα=1\int_Y\alpha=1. Then deg(f)=Xfα.\deg(f)=\int_X f^*\alpha.

This theorem deserves a moment of reflection. Why should it be true?

Fix a regular value qYq\in Y, and think of α\alpha as a “bump” form concentrated near qq. The pullback fαf^*\alpha is then concentrated near the preimages f1(q)f^{-1}(q), and the integral picks up a contribution of ±1\pm 1 at each preimage according to whether ff 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 YY we concentrate the bump—which is ultimately a consequence of α\alpha being closed.

Applying this to the normalized difference map gives our first integral formula:

Link(K,L)=M×NK-L^α.\operatorname{Link}(K,L)=\int_{M\times N}\kl^*\alpha.

This is already a formula for the linking number. But it is not yet practical: the map K-L^\kl lands on the sphere Sm+nS^{m+n}, 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

K-L^=πF,F(s,t)=K(s)L(t),π(x)=xx.\kl = \pi\circ F, \qquad F(s,t)=K(s)-L(t), \qquad \pi(x)=\frac{x}{\|x\|}.

Then

Link(K,L)=M×NF(πα).\operatorname{Link}(K,L)=\int_{M\times N}F^*(\pi^*\alpha).

The map FF is just a subtraction—completely explicit. The map π\pi is the radial projection onto the sphere. Since Rm+n+1{0}\mathbb{R}^{m+n+1}\setminus\{0\} deformation retracts onto Sm+nS^{m+n} via π\pi, the pullback πα\pi^*\alpha 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 XX is defined as

HdRk(X)={closed k-forms on X}{exact k-forms on X}.H^k_{\mathrm{dR}}(X)=\frac{\{\text{closed }k\text{-forms on }X\}}{\{\text{exact }k\text{-forms on }X\}}.

It measures the “topological complexity” of XX 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 XX determines which closed forms are exact and which are not.

For our purposes, the essential computation is:

HdRm+n(Rm+n+1{0})R,H^{m+n}_{\mathrm{dR}}(\mathbb{R}^{m+n+1}\setminus\{0\})\cong\mathbb{R},

generated by [πα][\pi^*\alpha]. Removing the origin from Rm+n+1\mathbb{R}^{m+n+1} creates exactly one “hole,” and this one-dimensional cohomology group detects it.

Why does this help? Because it gives us freedom. The form πα\pi^*\alpha is one representative of the generator, but any closed (m+n)(m+n)-form on Rm+n+1{0}\mathbb{R}^{m+n+1}\setminus\{0\} whose integral over a sphere enclosing the origin is 11 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 ω\omega be any closed (m+n)(m+n)-form on Rm+n+1{0}\mathbb{R}^{m+n+1}\setminus\{0\} with Sm+nω=1\int_{S^{m+n}}\omega=1. Then Link(K,L)=M×NFω,F(s,t)=K(s)L(t).\operatorname{Link}(K,L)=\int_{M\times N}F^*\omega, \qquad F(s,t)=K(s)-L(t).

The entire computation has been reduced to a single task: find an explicit ω\omega.

Constructing the generator

We seek a closed (m+n)(m+n)-form ω\omega on Rm+n+1{0}\mathbb{R}^{m+n+1}\setminus\{0\}, normalized so its integral over the unit sphere is 11. Several considerations guide the construction.

Rotational invariance. Since no direction in Rm+n+1\mathbb{R}^{m+n+1} 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 ρ\rho on Rm+n+1{0}\mathbb{R}^{m+n+1}\setminus\{0\}, the 11-form dρd\rho is exact, and its Hodge dual

ω=dρ\omega = *\,d\rho

is an (m+n)(m+n)-form. When is ω\omega closed? A calculation shows

dω=ddρ=(Δρ)vol,d\omega = d*d\rho = (\Delta\rho)\,\mathrm{vol},

so ω\omega is closed if and only if ρ\rho is harmonic: Δρ=0\Delta\rho = 0.

The key point is that for the ansatz ω=dρ\omega = *\,d\rho, closedness reduces to Laplace’s equation on ρ\rho alone.

Radial symmetry. Rotational invariance forces ρ\rho to depend only on r=xr=\|x\|. So we need a radially symmetric harmonic function on punctured space: Δρ(r)=0\Delta\rho(r)=0.

The ODE

In Rd\mathbb{R}^d (with d=m+n+1d=m+n+1), the Laplacian of a radial function ρ(r)\rho(r) is

Δρ=ρ+d1rρ=1rd1ddr(rd1ρ).\Delta\rho=\rho''+\frac{d-1}{r}\rho'=\frac{1}{r^{d-1}}\frac{d}{dr}\bigl(r^{d-1}\rho'\bigr).

Setting this to zero gives rd1ρ=Cr^{d-1}\rho'=C, which integrates to:

ρ(r)={a+blnrif d=2,a+brd2if d3.\rho(r)= \begin{cases} a+b\ln r & \text{if } d=2,\\[6pt] a+\dfrac{b}{r^{d-2}} & \text{if } d\geq 3. \end{cases}

The constant aa is killed by dρd\rho, so only bb matters. We fix bb by the normalization Sd1ω=1\int_{S^{d-1}}\omega=1.

A computation (Appendix A) shows that on the unit sphere, dρ*\,d\rho restricts to b(d2)volSd1b\cdot(d-2)\,\mathrm{vol}_{S^{d-1}} for d3d\geq 3 and bvolS1b\,\mathrm{vol}_{S^1} for d=2d=2. Setting the integral to 11 determines bb, and we also choose the sign of ρ\rho so that the resulting form has the correct orientation (compatible with Sd1S^{d-1} as the boundary of a ball). The results:

Ambient dimension ddρ(r)\rho(r)Normalized generator ω=dρ\omega = *\,d\rho
2212πlnr\dfrac{1}{2\pi}\ln r12πr2(xdyydx)\dfrac{1}{2\pi r^2}(x\,dy - y\,dx)
3314πr\dfrac{-1}{4\pi r}14πr3(xdydz+ydzdx+zdxdy)\dfrac{1}{4\pi r^3}(x\,dy\wedge dz + y\,dz\wedge dx + z\,dx\wedge dy)
general dd1(d2)Vol(Sd1)rd2\dfrac{-1}{(d{-}2)\,\mathrm{Vol}(S^{d-1})r^{d-2}}1Vol(Sd1)rdi=1d(1)i1xidx1dxi^dxd\dfrac{1}{\mathrm{Vol}(S^{d-1})r^d}\displaystyle\sum_{i=1}^d(-1)^{i-1}x^i\,dx^1\wedge\cdots\wedge\widehat{dx^i}\wedge\cdots\wedge dx^d

The reader may recognize the entries in the ρ\rho column. The function 1/(4πr)-1/(4\pi r) is the fundamental solution of the Laplacian in R3\mathbb{R}^3—the Coulomb potential, or the gravitational potential of a point mass. The function (1/2π)lnr(1/2\pi)\ln r is its counterpart in R2\mathbb{R}^2. This is not a coincidence: the cohomological generator on Rd{0}\mathbb{R}^d\setminus\{0\} 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 R2\mathbb{R}^2

Before tackling Gauss’ integral in R3\mathbb{R}^3, let us test the machine on the simplest possible case.

Take m=0m=0, n=1n=1, and d=m+n+1=2d=m+n+1=2. The manifold M0M^0 is a point and N1=S1N^1=S^1 is a closed curve. The “linking number” of a point KR2K\in\mathbb{R}^2 with a disjoint closed curve L ⁣:S1R2L\colon S^1\to\mathbb{R}^2 is the classical winding number of LL around KK.

The general formula says

Link(K,L)=S1Fω,F(t)=KL(t),\operatorname{Link}(K,L)=\int_{S^1}F^*\omega,\qquad F(t)=K-L(t),

where ω\omega is the d=2d=2 entry from our table:

ω=12πr2(xdyydx).\omega=\frac{1}{2\pi r^2}(x\,dy-y\,dx).

Write K=(a,b)K=(a,b) and L(t)=(x(t),y(t))L(t)=(x(t),y(t)). Then F(t)=(ax(t),by(t))F(t)=(a-x(t),\,b-y(t)). Pulling back the differentials:

d(ax)=xdt,d(by)=ydt.d(a-x) = -x'\,dt, \qquad d(b-y)=-y'\,dt.

Substituting into ω\omega:

Fω=12π(ax)(y)(by)(x)(ax)2+(by)2dt.F^*\omega = \frac{1}{2\pi}\frac{(a-x)(-y')-(b-y)(-x')}{(a-x)^2+(b-y)^2}\,dt.

Integrating:

Link(K,L)=12π02π(by)x(ax)y(ax)2+(by)2dt.\operatorname{Link}(K,L)=\frac{1}{2\pi}\int_0^{2\pi}\frac{(b-y)\,x'-(a-x)\,y'}{(a-x)^2+(b-y)^2}\,dt.

If we place KK at the origin, this simplifies to

12π02πxyyxx2+y2dt,\frac{1}{2\pi}\int_0^{2\pi}\frac{x\,y'-y\,x'}{x^2+y^2}\,dt,

which those who have taken complex analysis will recognize as 12πd(argz)\frac{1}{2\pi}\oint d(\arg z)—the total angle swept out by the curve around the origin, divided by 2π2\pi.

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:

  1. The linking number is a degree.
  2. Degree can be computed as the integral of a pullback form.
  3. De Rham cohomology tells us that any normalized closed form will do.
  4. The Hodge star ansatz reduces the construction to a harmonic function.
  5. Radial symmetry reduces the PDE to an ODE, which we solve explicitly.

We have tested it in R2\mathbb{R}^2 and recovered the winding number. In the next post, we specialize to R3\mathbb{R}^3 and carry out the pullback computation that produces Gauss’ linking integral—the scalar triple product kernel, the 1/r31/r^3 denominator, and all.


Appendix A. Normalization of the generator

We verify the normalization integrals.

Case d3d\geq 3. Take ρ(r)=b/rd2\rho(r) = b/r^{d-2}. Then

dρ=b(d2)1rd1dr=b(d2)1rdixidxi.d\rho = -b(d-2)\frac{1}{r^{d-1}}\,dr = -b(d-2)\frac{1}{r^d}\sum_i x^i\,dx^i.

On the unit sphere Sd1S^{d-1} (where r=1r=1), the Hodge dual of the radial 11-form drdr is the volume form volSd1\mathrm{vol}_{S^{d-1}}. More precisely, the Hodge star maps the inward-pointing 11-form dr/rd-dr/r^d to the positively oriented volume form on Sd1S^{d-1} (with the convention that Sd1S^{d-1} is oriented as the boundary of the ball). Thus

dρSd1=b(d2)volSd1,*\,d\rho\big|_{S^{d-1}}=b(d-2)\,\mathrm{vol}_{S^{d-1}},

and Sd1dρ=b(d2)Vol(Sd1)\int_{S^{d-1}}*\,d\rho = b(d-2)\,\mathrm{Vol}(S^{d-1}). Setting this to 11 gives

b=1(d2)Vol(Sd1).b=\frac{1}{(d-2)\,\mathrm{Vol}(S^{d-1})}.

Since we need dρd\rho to point inward (so that dρ*\,d\rho has the correct outward orientation on spheres), we take ρ=b/rd2\rho = -b/r^{d-2} with b>0b>0.

Case d=2d=2. Take ρ(r)=blnr\rho(r) = b\ln r. Then dρ=(b/r)drd\rho = (b/r)\,dr, and

dρS1=bvolS1,*\,d\rho\big|_{S^1}=b\,\mathrm{vol}_{S^1},

so S1dρ=2πb\int_{S^1}*\,d\rho = 2\pi b. Setting this to 11 gives b=1/(2π)b=1/(2\pi).

← All posts