JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Grad, Curl, Div as One — and a Glimpse of Cohomology

The three derivatives of vector calculus are a single operation in disguise — the exterior derivative, applied to 0-, 1-, and 2-forms. Follow that one idea to its surprising end: closed-but-not-exact forms quietly count the holes in a space.

Three derivatives, or one in three costumes?

You arrived at this rung carrying three vector-calculus operations that felt like distant cousins. Gradient turns a scalar field into a vector field; you met grad f back in Volume I as the vector of partial derivatives pointing uphill. Curl takes a vector field to a vector field and measures local swirl, nabla cross F. Divergence takes a vector field to a scalar and measures local spreading, nabla dot F. Three different inputs, three different outputs, three different formulas to memorize. The earlier guides in this rung have been quietly building toward a single punchline: these are not three operations at all. They are one operation — the exterior derivative d — wearing three costumes.

The reason they LOOK different is that vector calculus secretly disguises four genuinely distinct objects as if they were all just 'vectors and scalars in three dimensions'. A function is a 0-form. The thing grad produces is really a 1-form (an object built to be integrated along a curve). The thing curl produces is really a 2-form (built to be integrated over a surface). And divergence outputs the density part of a 3-form (built to be integrated over a volume). In three dimensions there happen to be three components both for vectors and for these 1- and 2-forms, so the bookkeeping collides and we mistake forms for vectors. The exterior derivative does not care about the costume — it does the same thing at every level: differentiate, and wedge with the new direction.

Climbing the ladder: d at every rung

Let us watch the one operator do all three jobs, in coordinates, so you can see the disguise fall away. Start with a 0-form, just a function f(x, y, z). Apply d: by definition df = (partial f / partial x) dx + (partial f / partial y) dy + (partial f / partial z) dz. The three coefficients are exactly the components of grad f. So d on a 0-form IS the gradient. Now take a 1-form omega = P dx + Q dy + R dz — this is grad's output, the disguised vector field (P, Q, R). Apply d again; the rules (differentiate each coefficient, wedge on the new dx/dy/dz, and use dx wedge dx = 0 and dx wedge dy = minus dy wedge dx) grind out coefficients that are precisely the three components of curl F. So d on a 1-form IS the curl.

One rung higher, take a 2-form like A dy wedge dz + B dz wedge dx + C dx wedge dy — this is the disguised vector field (A, B, C), and it is what curl produced. Apply d a third time: differentiate and wedge again, and everything collapses onto the single available top slot dx wedge dy wedge dz. Its lone coefficient is partial A / partial x + partial B / partial y + partial C / partial z — exactly div F. So d on a 2-form IS the divergence. One operator, three rungs, three faces. The whole apparatus is captured in the chain of spaces below, and it is the master fact this guide rests on: all of vector calculus is the exterior derivative read at different levels.

  0-forms  --d-->  1-forms  --d-->  2-forms  --d-->  3-forms
 (functions)      (P,Q,R)         (A,B,C)        (density)
     |               |               |
    grad            curl            div

  And the punchline of the rung -- two steps in a row vanish:

     d(df)   = 0     <->     curl(grad f) = 0
     d(d omega) = 0  <->     div(curl F)  = 0

  i.e.   d^2 = 0   IS the pair of vector identities you memorized.
The de Rham complex in three dimensions: one operator d walks up the ladder, appearing as grad, then curl, then div. Doing d twice always gives zero — which is exactly curl(grad) = 0 and div(curl) = 0.

d twice is zero — and what 'closed' and 'exact' mean

Look again at the boxed fact d squared equals zero. Apply d twice to anything and you get zero, identically, no matter what. In the costumes of vector calculus this single law is two famous identities you were once handed to memorize: curl of a gradient is always zero (d of df is zero), and divergence of a curl is always zero (d of d-of-a-1-form is zero). Two separate-looking 'lucky' identities turn out to be the same one fact, d composed with d collapses, because mixed partial derivatives commute and the wedge product is antisymmetric — the symmetric second derivatives meet the antisymmetric wedge and cancel in pairs. That is the entire mechanism, and it is honest all the way down.

This single law splits all forms into two nested families, and the gap between them is the whole story to come. A form omega is closed if d omega = 0 — applying the derivative gives nothing. A form omega is exact if it is itself the derivative of something, omega = d alpha for some form alpha one rung lower. Because d squared is zero, every exact form is automatically closed: if omega = d alpha then d omega = d(d alpha) = 0. Exact implies closed, always. The deep and surprising question — the one that opens the door to cohomology — is the converse: is every closed form exact? Sometimes yes, sometimes, tantalizingly, no.

Translate this dictionary back into vector-calculus words and you will recognize old friends. A 1-form is closed when its curl vanishes — an irrotational field. A 1-form is exact when it is a gradient — a conservative field with a potential. So 'is every closed 1-form exact?' is exactly the question 'is every curl-free field the gradient of a potential?' You half-remember the answer being yes from Volume I — and on a nice simply connected blob it IS yes. The fine print, the place where the answer flips to no, is precisely where the geometry of the space starts to matter. That is the doorway.

The hole in the plane: a closed form that is not exact

Here is the canonical example, and it is worth carrying in your pocket forever. On the plane with the origin removed, define the 'angle 1-form' omega = (minus y dx + x dy) / (x^2 + y^2). Crank the partial derivatives through the closedness test and they cancel exactly: d omega = 0, the form is closed everywhere it is defined. So by the local rule it OUGHT to be exact, omega = d(theta) where theta is the polar angle. And indeed omega is df for f = arctan(y/x) — locally. The trouble is global: the angle theta is not a single-valued function on the punctured plane. Walk once around the origin and theta increases by 2 pi; it can never settle on one value. No honest global potential exists.

The integral makes the obstruction visible and quantitative. Integrate omega once counterclockwise around a loop encircling the origin and you get exactly 2 pi — not zero. But if omega were exact, omega = df, then by the gradient theorem its integral around ANY closed loop would have to be zero (you return to the same value of f). A nonzero loop integral is a hard proof that no global potential f can exist. The loop has detected the hole. And notice the integral is the same — 2 pi — for every loop that winds once around the origin, no matter how it wiggles; it depends only on HOW MANY times you circle the missing point, not on the path's shape. The form is measuring topology.

Closed-mod-exact: de Rham cohomology counts the holes

Now make the gap between closed and exact into an object you can measure. At each degree k, take all the closed k-forms and quotient out the exact ones — that is, declare two closed forms 'the same' when they differ by something exact (by some d alpha). What is left over is a vector space, the k-th de Rham cohomology H^k. Its meaning is breathtakingly geometric: the dimension of H^k counts the independent k-dimensional holes in the space. Closed-but-not-exact forms are the survivors of the quotient, and each independent one is a witness to a hole that no potential can fill. Calculus, of all things, has learned to count holes.

Read the punctured plane through this lens. Its first cohomology H^1 is one-dimensional, and the single surviving generator is exactly our angle form omega. 'One-dimensional' is the algebra's way of saying 'there is exactly one hole', and the hole is the missing origin. Any closed 1-form on the punctured plane is, up to an exact correction, just a multiple of the angle form — its loop integral around the origin (its winding number times 2 pi) is the only invariant that survives. By contrast, on a solid disc with no hole, H^1 is zero-dimensional: there every closed 1-form is exact, the Poincare lemma holds with no exceptions, and every curl-free field really does have a potential. Cohomology is exactly the bookkeeping of where the Poincare lemma fails.

Different dimensions of hole live at different degrees, and the pattern is wonderfully literal. H^0 counts connected pieces (its dimension is the number of separate components). H^1 counts 1-dimensional holes — loops you cannot shrink, like the one circling the missing origin or threading the hole of a doughnut. H^2 counts 2-dimensional cavities — hollow voids you cannot fill, like the empty inside of a sphere, detected by a closed 2-form (a divergence-free flux, like the field of a point charge) whose integral over the enclosing surface refuses to be zero. The same closed-but-not-exact machinery, one rung up, now diagnoses an enclosed source instead of an encircled hole.

Why this is the right ending — and an honest limit

Step back and see how far one operator has carried you. The exterior derivative unified grad, curl, and div into a single d; its law d squared equals zero collapsed two memorized vector identities into one; that same law split forms into closed and exact; and the gap between those two — measured by de Rham cohomology — turned out to count the holes in the underlying space. The whole edifice is held up by the generalized Stokes' theorem from earlier in this rung, the integral of d omega over a region equals the integral of omega over its boundary, which is why a closed form's loop integral depends only on what the loop encircles. Differential, topology, and integration are three faces of one structure.

Be honest about what de Rham cohomology does and does not see. It is built from smooth forms and real-number coefficients, so it cannot detect 'torsion' — finer twists like the one-sided strangeness of a Mobius band that need integer coefficients to register; over the reals those become invisible. De Rham's celebrated theorem says this real-coefficient cohomology agrees exactly with the topological holes you would count by chopping the space into triangles, but only the part of the topology that survives forgetting the integers. So cohomology is a powerful hole-counter, not an omniscient one: it captures the rational shadow of a space's shape, and a faithful one, but a shadow nonetheless.

Where does this glimpse lead? Straight into the heart of modern mathematics and physics. The 'is it closed but not exact?' question is the seed of gauge theory (the vector potential of magnetism is a 1-form, the field is its d, and the Aharonov-Bohm effect is literally a nonzero loop integral around a hole), of Hodge theory, and of the cohomology that organizes much of geometry and topology. You came up this ladder to compute integrals and solve equations; you leave it able to see that the three derivatives of vector calculus were always one, and that the failure of a potential to exist is not a nuisance but a measurement — of the shape of the world the calculus lives on.