The Curl (Stokes) Theorem
Dip a wire loop in soap solution and pull out a film. Now let a vector field blow through the room. The curl (Stokes) theorem makes a claim that should strike you as slightly outrageous: to know the total flux of the field's curl through that film, you never need to touch the film at all — you only need to walk once around the wire, adding up how much the field pushes you along. Reshape the film into a flat disk, a deep bulge, a grotesque balloon; as long as the rim stays put, the answer cannot change. Formally, : the flux of the curl through an open surface equals the circulation of the field around its boundary. It is the second of this chapter's two great integral theorems, and it completes a pattern — the fundamental theorem for gradients trades a curve integral for endpoint data, the divergence theorem trades a volume integral for its skin, and Stokes trades a surface integral for its rim. Each time, the integral of a derivative is paid for entirely at the boundary. For electrodynamics this theorem carries half of Maxwell. It converts into Ampère's loop law and into Faraday's flux rule — the working equations of magnets, generators, and transformers. And its surface-independence is why "the magnetic flux through a loop" is a meaningful phrase at all, the fact that will let you build the vector potential in a few articles' time.
- The curl (Stokes) theorem states : the flux of a field's curl through an open surface equals the field's circulation around the bounding loop.
- The proof is a tiling argument: cover the surface with tiny loops; every interior edge is traversed twice in opposite directions and cancels, leaving only the rim.
- The flux of a curl depends only on the boundary curve, never on which surface spans it — that surface-independence makes magnetic flux through a loop well-defined and underlies the vector potential.
- Orientation is a right-hand handshake: fingers along , thumb along ; flip one without the other and the theorem fails by a sign.
- Through it, Maxwell's differential laws become the integral workhorses: Ampère's and Faraday's .
- Key idea: The flux of a field's curl through any open surface equals the circulation of the field around the loop that bounds that surface — surface integrals of curls care only about the boundary.
The flux of a field's curl through any open surface equals the circulation of the field around the loop that bounds that surface: . Surface integrals of curls care only about the boundary.
Where this lives today
Every SQUID magnetometer in every hospital MEG scanner is a Stokes-theorem instrument: superconducting loops measure magnetic flux, and flux through a loop is well-defined only because curl integrals care about nothing but the rim. In a superconducting ring the circulation of the vector potential — hence the enclosed flux — is quantized in units of , and counting those quanta is how the most sensitive magnetic-field measurements on Earth are made. The Aharonov–Bohm effect sharpens the same point almost to paradox: an electron acquires a measurable phase around a region of confined flux, even when everywhere on its path. On the computational side, modern electromagnetic solvers are built so that the Stokes theorem holds exactly in the discretization, not just approximately: finite-element "edge elements" and discrete exterior calculus assign field degrees of freedom to mesh edges and faces precisely so that circulation-equals-curl-flux is an identity of the data structure. And in geophysical fluid dynamics, the circulation of the wind around a weather-map contour equals the integrated vorticity inside it — Kelvin's circulation theorem, the fluid twin of everything above, still steering hurricane forecasts.
The physical picture
Think of curl as paddlewheel-spin density: park a microscopic paddlewheel at a point, and the component of along its axle tells you how fast the field would spin it. The Stokes theorem is then an audit of spin, exactly parallel to the divergence theorem's audit of sources. Tile the surface with tiny loops, one per paddlewheel. Each tiny loop's circulation is (curl)·(area) — the microscopic swirl. Now add them all up. Wherever two tiles meet, their shared edge is walked twice, in opposite directions, once by each tile — those contributions annihilate. The interior of the surface goes silent, edge by edge, and the only walking that survives uncancelled is along the outer rim.
This cancellation buys the theorem's most consequential gift: the spanning surface is yours to choose. Two surfaces sharing the same rim — a flat disk and a billowing dome — must collect the same flux of , because both equal the same rim circulation. (Equivalently: their difference is a closed surface, and a curl pushes zero net flux through anything closed, since .) When Ampère's law asks for "the current through the loop," this is what licenses the phrase: any surface you drape across the loop catches the same current, so the loop alone decides. One piece of etiquette seals the deal: orientation. The direction you walk the rim and the direction of the surface normal are not independent choices — they shake hands through the right-hand rule. Curl the fingers of your right hand in the direction of travel , and your thumb fixes . Flip either one alone and every equation below silently changes sign.
The theorem, stated carefully
Let be continuously differentiable on an oriented, piecewise-smooth open surface whose boundary is the closed curve , traversed consistently with the surface normal by the right-hand rule. Then
where: — vector area element; — line element along the rim. Read the two sides as microscopic and macroscopic accounts of the same swirl: the left adds up spin density patch by patch; the right measures the one net push around the edge. Note what the theorem does not require — the surface need not be flat, need not be a graph, need not be pretty; it only needs a rim. Just as the divergence had its coordinate-free flux definition, the curl has a circulation definition, and it is the theorem in miniature:
where: — a small loop of area with normal , shrinking onto the point. Circulation per unit area, direction by direction, is the curl. The first derivation below establishes (2) honestly from the Cartesian components; the second assembles copies of it into the full theorem.
We are proving the local statement (2) — that the circulation around a tiny loop is the normal component of the curl times the enclosed area — by direct Taylor expansion around a small rectangle. This is where the actual calculus of the Stokes theorem lives; the famous tiling argument afterwards is pure bookkeeping. The strategy: place a rectangle of sides perpendicular to , walk its four sides in the right-hand sense, and keep terms to first order. Watch how the circulation survives only because opposite sides are evaluated at slightly different places — circulation, like divergence, is a difference of field values in disguise.
Step 1. Center the rectangle at , sides and , normal . Walk it counterclockwise as seen from : along at , up at , back along at , down at .
Step 2. Pair the two -legs. Their combined contribution is . Why the minus sign: the return leg sits at larger but is walked in the direction, so a field that grows with fights you on the way back.
Step 3. Pair the two -legs the same way: . Adding the two pairs:
Why this is exactly the Cartesian curl: the antisymmetric combination is the -component of — the same object, met here as circulation per area rather than as a determinant formula.
Step 4. Nothing distinguished the -direction: an arbitrary orientation gives , which is statement (2) in the shrinking limit. Verified: matches Griffiths §1.3.5 and Purcell §2.16; the antisymmetric derivative pair agrees with the determinant definition of curl component by component.
Go deeper · Derivation B · 1 minProof of the Stokes theorem by tiling the surface
Now the full theorem (1), assembled from the local result. The strategy is the mirror image of the divergence theorem's proof: partition the surface into small patches, apply the infinitesimal result to each, sum, and let the shared edges cancel. The step to watch is the cancellation — it requires all patches to be oriented consistently with the surface, which is why a non-orientable surface (a Möbius strip has only one side and no consistent normal) is genuinely outside the theorem's jurisdiction.
Step 1. Tile with patches of area , normals , boundaries , each walked in the right-hand sense of its normal. By the previous derivation, each patch obeys
Step 2. Sum over all patches. The right-hand side is a Riemann sum converging to as the tiling refines.
Step 3. On the left-hand side, every edge interior to the surface is shared by exactly two patches, which traverse it in opposite directions — their line-integral contributions cancel pairwise. Why consistency of orientation is essential: if one tile were flipped, its shared edges would be walked twice in the same direction and would double instead of cancel; the right-hand handshake propagated across the tiling is what synchronizes them.
Step 4. The only uncancelled edges are those on the outer rim, whose union is walked once around:
Equating the two evaluations of the sum in the limit gives the theorem. Verified: standard tiling proof, Griffiths §1.3.5, Purcell §2.16, Arfken §3.8; the orientation bookkeeping matches the right-hand convention of equation (1).
What the theorem immediately buys
Three corollaries fall out at the cost of one line each, and each will earn its keep repeatedly. First, closed surfaces: a closed surface has no rim, so the flux of any curl through it vanishes,
where: the statement is equivalent, via the divergence theorem, to the identity — the two great theorems agreeing with each other across the seam. Second, surface independence: two surfaces sharing a rim give equal curl fluxes (their difference is closed), so magnetic flux "through a loop" needs no surface specified. Third, conservative fields: if throughout a simply-connected region, every circulation vanishes, line integrals become path-independent, and a scalar potential exists — the subject of the scalar-potentials article. The physics conversions work exactly as they did for Gauss's law. Integrating over any surface spanning an Amperian loop and applying (1):
where: — the current threading the loop; . Surface independence is doing real work here: in magnetostatics , so every spanning surface catches the same current and "" is unambiguous. Likewise becomes Faraday's law,
where: the circulation of — the electromotive force around the loop — equals minus the rate of change of the magnetic flux. Every generator and transformer on the grid is equation (5) with wire wrapped around it.
Which statement answers which question
| you want | use | notes |
|---|---|---|
| trade a curl flux for a rim circulation | equation (1) | open surface, right-hand orientation |
| curl at a point, no coordinates | equation (2) | circulation per unit area |
| flux of a curl through a closed surface | equation (3) | zero — no rim |
| the field of a symmetric current | symmetry must let you pull out | |
| EMF around a circuit | equation (5) | sign fixed by the right-hand rule (Lenz) |
| test whether a potential exists | + simply connected | see the scalar-potentials article |
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| curl-free field, simply-connected region | for every loop | the field is conservative; a scalar potential exists |
| closed surface | flux of any curl | no boundary, nothing to circulate; consistent with |
| flat patch, uniform curl | circulation | curl times area — the operational meaning of curl |
| shrinking loop | the theorem degenerates into the definition of curl | |
| planar fields | Green's theorem | Stokes restricted to the -plane |
Worked examples
1 · Auditing both sides over a unit square (confidence builder)
Verify the Stokes theorem for over the unit square in the -plane (, ), with normal .
Step 1. The curl. With , , : , and on the surface this is just .
Step 2. The surface side: .
Step 3. The rim, counterclockwise as seen from (the right-hand partner of ). Bottom (, ): , giving . Right (, ): , giving .
Step 4. Top (, ): integrated backwards gives . Left (, ): , giving . Total circulation: — matching the surface side exactly, orientation and all.
2 · Ampère's law around a real wire (exam level)
A long straight wire carries . Find at , verify the Stokes bookkeeping explicitly, and state what a loop that does not enclose the wire measures.
Step 1. Symmetry: field lines are circles around the wire, . On a circular Amperian loop of radius , equation (4) gives , so .
Step 2. Numbers: — about ten times the Earth's field, a few centimetres from a hefty current.
Step 3. The explicit audit. Circulation: . Compare . They agree — the rim circulation equals times the current threading any spanning surface.
Step 4. A loop of the same radius placed entirely to one side of the wire encloses no current: , even though all along it. The near side's push is exactly repaid on the far side — circulation counts only the threading current, not the ambient field. That selectivity, guaranteed by the theorem, is what makes Ampère's law a surgical tool rather than a blunt one.
Origins · 1 minGeorge Gabriel Stokes and how this was discovered
Stokes held Newton's Lucasian chair for over fifty years and ran the engine room of Victorian physics: viscous flow (the Navier–Stokes equations), the drag law on a falling sphere, fluorescence — which he named — and the spectroscopic insight that let others read the Sun's chemistry. The theorem bearing his name he did not, in fact, discover: William Thomson (later Lord Kelvin) sent it to him in the postscript of an 1850 letter. Stokes liked it enough to set it as an examination problem — question 8 of the 1854 Smith's Prize paper at Cambridge, where a young James Clerk Maxwell sat the exam. Maxwell later attached Stokes's name to the result in his Treatise, and it stuck. There is justice in the misattribution: Stokes's whole career was circulation and flux made physical, and the theorem is the grammar of the fluid dynamics he built.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §1.3.5 (Curl, Stokes's theorem) · Jackson, Classical Electrodynamics, 3rd ed., front-matter vector identities · Purcell & Morin, Electricity and Magnetism, 3rd ed., §2.16 (Stokes's theorem) · Zangwill, Modern Electrodynamics, §1.4 (Integral theorems) · Arfken, Weber & Harris, Mathematical Methods for Physicists, 7th ed., §3.8
Provenance. All statements standard. A verifier should: (1) confirm the curl-theorem statement and subdivision proof against Griffiths §1.3.5 and Purcell §2.16; (2) recompute the solid-body-rotation example — curl , both integrals ; (3) verify the unit-circle check gives ; (4) confirm (CODATA pre-2019 exact value); (5) check the Ampère/Faraday integral forms follow from the Maxwell differential equations via Stokes (Jackson, Zangwill §1.4). The identity is a standard vector identity (Arfken §3.8). Worked-example numbers on this page (both sides for the unit-square audit; mT and circulation T·m for the 100 A wire at 5 cm) are illustrative arithmetic recomputed from the boxed formulas.
Builds on: The Curl of a Vector Field · Line Integrals · Surface Integrals and Flux · The Del Operator (Nabla) · The Divergence (Gauss) Theorem Leads to: Ampère's Law · Faraday's Law of Induction · The Magnetic Vector Potential · Scalar Potentials
Which spanning surface should I actually use in a problem?
Whichever makes the integral easiest — that freedom is the theorem's gift, not a loophole. For a planar rim, the flat spanning surface is almost always the right choice, since the normal is constant and the geometry is trivial. The freedom becomes strategic in trick problems: for a loop near a solenoid or a wire, you can bulge the surface to dodge awkward regions or to make the threading current obvious. The one non-negotiable check: the field's curl must be defined everywhere on the surface you pick. If every possible spanning surface hits a singularity — as happens when the rim encircles a current-carrying wire — the singularity's contribution is real and must be counted, not dodged.
Why do the interior edges cancel exactly rather than approximately?
Because cancellation happens at the level of the line integrals themselves, before any limit is taken. Two adjacent tiles share a literal segment of curve; one walks it in one direction, the other walks it in reverse, and is an exact identity for any field, smooth or not. The only approximation in the proof lives inside each tile — circulation curl times area — and that error vanishes as the tiling refines. This division of labour (exact cancellation, local Taylor error) is identical in structure to the divergence theorem's proof, with edges playing the role of faces.
How is the Stokes theorem related to Green's theorem from multivariable calculus?
Green's theorem is the Stokes theorem flattened into the plane. Take the surface to be a region of the -plane with normal : then , and equation (1) reads — exactly Green's theorem. Its other vector form (flux through the curve equals the area integral of the two-dimensional divergence) is the flattened divergence theorem. Both are training wheels for the three-dimensional statements, and both are special cases of the generalized Stokes theorem of differential forms.
Does the surface have to be orientable? What about a Mobius strip?
Orientability is a genuine hypothesis, not fine print. The tiling proof needs every tile's normal chosen consistently with its neighbours so that shared edges are walked in opposite directions; on a Möbius strip any attempt to propagate a normal around the band comes back reversed, so no consistent choice exists and the theorem simply does not apply. This is not a physicist-proofed technicality you can ignore: flux through a Möbius strip is not a well-defined quantity. Every surface you will meet in electrodynamics — disks, domes, wavy sheets, multi-lobed soap films — is orientable, but it is worth knowing where the boundary of the theorem's jurisdiction lies.
If curl-free means conservative, why does the wire example break the rule?
Because the rule has a topological clause: curl-free implies conservative in a simply-connected region — one where every closed loop can be contracted to a point without leaving the domain. The field around a wire is curl-free on its domain, but the domain is space with a line removed, and a loop around the wire cannot be shrunk past that line. The Stokes argument fails exactly there: the shrinking loop must sweep across the singular axis. Circulation around such a loop can be (and is) nonzero — it counts how many times you wind around the wire. In simply-connected space, no such obstruction exists and zero curl does guarantee a potential.
What does the theorem say about the electrostatic field?
That it is conservative, with interest. Electrostatics has everywhere, and all of space is simply connected, so the Stokes theorem gives around every closed loop: no round trip through an electrostatic field ever does net work per unit charge. That is precisely the condition for line integrals of to be path-independent, which is what lets you define the electrostatic potential with — the subject of the next articles and the foundation of circuit theory's "voltage." When fields become time-dependent, and this cozy structure is lost; the EMF of Faraday's law is exactly the nonzero circulation that appears.
Is the magnetic flux through a loop of wire really independent of how I imagine the surface?
Yes — and it must be, or the phrase would be meaningless. is itself a curl (, as the vector-potentials article will establish), so by the theorem its flux through any surface equals around the rim — manifestly a property of the loop alone. Equivalently, means any two spanning surfaces differ by a closed surface with zero net -flux. This is why Faraday's law can speak of "the flux through the circuit" without specifying a membrane, and why flux is the natural variable of inductors, generators, and SQUIDs.
What is the generalized Stokes theorem I keep hearing about?
The single identity , where is a differential form and the exterior derivative. Choose a curve and a function: the fundamental theorem for gradients. Choose a surface and a one-form: the curl theorem of this article. Choose a volume and a two-form: the divergence theorem. The three "different" integral theorems of vector calculus are one theorem wearing three costumes, distinguished only by the dimension of the region. You do not need this machinery for electrodynamics at this level, but knowing the family exists explains the suspicious structural rhyme you have now seen three times.