HuntsvilleEngineers mark
HE Reference Shelf — huntsvilleengineers.com
The Reference Shelf · Analysis & Transforms

Stokes' theorem

The circulation of a field around the edge of a surface equals the total swirl (curl) poking through that surface — so you can measure a loop's worth of behavior by looking only at what happens on the rim.

Also known as: Green's theorem · Kelvin–Stokes theorem · curl theorem · Kelvin-Stokes theorem

The formula

Classical (Kelvin–Stokes) form, the one an RF or EE engineer actually reaches for:

∮(∂Σ) F · dl  =  ∬(Σ) (∇ × F) · dA

Reading: add up the field F as you walk once around the closed boundary curve ∂Σ (left side), and you get the same number as adding up the curl of F piercing the surface Σ it bounds (right side). The rim knows what the interior is doing.

Green's theorem is the flat-plane special case, F living in the xy-plane:

∮(C) (P dx + Q dy)  =  ∬(D) (∂Q/∂x − ∂P/∂y) dx dy

Reading: a line integral around a flat loop equals a double integral of one scalar "z-curl" over the region inside. Set P = −y/2, Q = x/2 and the right side becomes the area of D — that is the planimeter trick surveyors used for a century.

The generalized (differential-forms) statement, one line that swallows all of the above:

∫(∂M) ω  =  ∫(M) dω

Reading: the integral of a form ω over the boundary ∂M equals the integral of its exterior derivative over the whole manifold M. Dial the dimension and this becomes the fundamental theorem of calculus (1-D), Green's theorem (2-D flat), Kelvin–Stokes (surface in 3-D), or the divergence theorem (volume in 3-D). Same idea, different clothes.

Where you meet it

  • Faraday's law, moving between forms. On a whiteboard in a magnetics review, someone writes the integral form — EMF around a loop equals minus the rate of change of flux through it — and someone else writes ∇ × E = −∂B/∂t. Stokes' theorem is the bridge that makes those two statements the same statement. The loop version is what you measure with a pickup coil; the point version is what a field solver integrates. If you design transformers, inductors, or eddy-current probes, you cross this bridge constantly.

  • Ampère's law on a bench. Computing the H-field around a current-carrying conductor, you invoke ∮ H · dl = I_enclosed. That "enclosed current" is a surface integral of current density, and Stokes' theorem is why the line integral on the left equals it. Choosing the loop, and any surface it bounds, is a legal move only because the theorem guarantees the answer doesn't depend on which surface you pick — provided the currents are steady. With time-varying fields you must also count the displacement current ∂D/∂t through the surface (the classic capacitor-gap trap: thread the surface through the gap and it encloses zero conduction current, giving the wrong H), because what Stokes' theorem actually makes surface-independent is the flux of the full ∇ × H = J + ∂D/∂t, not of conduction current alone.

  • The planimeter and CAD area. Green's theorem turns an area integral into a boundary walk. Old mechanical planimeters read the area of an irregular test-article cross-section by tracing its outline; every CAD kernel that reports the area of a closed polyline does the same integral, A = ½ ∮ (x dy − y dx), in software.

  • Vorticity in a wind-tunnel or CFD post-process. Circulation around an airfoil Γ = ∮ V · dl sets lift through Kutta–Joukowski. Stokes' theorem says that circulation is just the vorticity ∇ × V integrated over any surface capping the loop, which is how a CFD post-processor cross-checks a circulation number against the vorticity field.

How it works

The mental model that survives contact with real problems: curl is circulation per unit area. Shrink your loop down to a point and the line integral per area approaches the curl there. Stokes' theorem is the bookkeeping that says when you tile a big surface with tiny loops, every interior edge is walked twice in opposite directions and cancels — only the outer rim survives. So the sum of all the little curls equals the one big boundary walk. That cancellation argument is the whole proof in one sentence, and it's worth carrying around because it tells you exactly when the theorem breaks.

It breaks when the interior isn't clean. The hypotheses matter: the field F needs continuous first partial derivatives across the surface, the surface has to be piecewise-smooth and orientable, and the boundary orientation has to follow the right-hand rule relative to the surface normal. Get the orientation backward and you flip the sign — a classic way to end up with an EMF of the wrong polarity on paper.

The mistake people actually make is applying it across a singularity. Take the field around a wire, F = (−y, x)/(x² + y²). Walk a loop that encloses the origin and the line integral is ; but the curl of that field is zero everywhere it's defined. The theorem seems violated — until you notice the field blows up at the origin, which sits inside your surface, so the hypothesis "continuous derivatives on Σ" is false. This isn't a curiosity: it's the mathematical fingerprint of an enclosed current or a trapped vortex. A zero curl everywhere but a nonzero loop integral means there's a source you didn't account for punching through your surface. Non-simply-connected domains — anything with a hole, a wire, a defect — are where this bites.

A quick numeric sanity check anyone can run: for F = (−y, x, 0), the curl is the constant vector (0, 0, 2). Walk the unit circle in the z=0 plane and the line integral comes out to 2π ≈ 6.283185. The curl flux is 2 × (area of unit disk) = 2 × π = 6.283185. They agree to every digit you care to compute — which is the point: the theorem is exact, not an approximation.

One more limit worth stating plainly: the surface is your choice, but only the boundary is fixed. Two different surfaces sharing the same rim give the same answer only if no singularity or source lives in the region between them. That freedom is a feature (pick the easy surface) and a trap (pick one that swallows a wire and your answer changes).

History

The name is a small historical accident. The result an engineer calls Stokes' theorem was written down by William Thomson — later Lord Kelvin — in a letter to George Gabriel Stokes dated 2 July 1850 [1][2]. Stokes never published a proof. What he did was set it as a problem on the Smith's Prize examination at Cambridge in 1854, the annual competition for the university's strongest mathematics students [1][2].

Among the candidates sitting that 1854 exam was James Clerk Maxwell, who tied for the top place [2]. The problem stuck to Stokes' name precisely because a generation of Cambridge men — Maxwell among them — first met the theorem as "that question on Stokes' exam." Maxwell would go on to weld it permanently into physics: the whole equivalence between the integral and differential forms of his electromagnetic equations rests on it.

The first published proof came from the German mathematician Hermann Hankel in 1861 [1][2]. From there the result kept climbing in generality. Vito Volterra, Édouard Goursat, and Henri Poincaré each pushed it toward higher dimensions and abstract forms, and Élie Cartan gave it the compact modern statement in the language of differential forms, ∫(∂M) ω = ∫(M) dω, around 1945 [2]. That single line now contains the fundamental theorem of calculus, Green's theorem, the divergence theorem, and the classical curl theorem as the same fact viewed in different dimensions — which is a fair definition of a deep theorem: it turns out to have been several theorems wearing a disguise.

Related tools

  • /tools/skin-depth
  • /tools/inductor-energy
  • /tools/reactance
  • /tools/series-rlc-impedance
  • /tools/coax-loss
  • /tools/heat-conduction

Sources

  1. https://en.wikipedia.org/wiki/Stokes%27_theorem
  2. https://en.wikipedia.org/wiki/Generalized_Stokes_theorem
  3. https://en.wikipedia.org/wiki/Faraday%27s_law_of_induction
  4. https://mathshistory.st-andrews.ac.uk/Biographies/Stokes/

Written by HE in our own words from the cited sources — engineering judgment included, your stamp still required. All entries →

★ The Reference Shelf

Reading is free. The shelf is for cardholders.

Your library card is an email address: pin it to your shelf, print the card, take the FE/PE quick-reference pack, read the Huntsville history. The shelf remembers what you reach for.

Already on the list? Enter with your subscribed email →