Stokes' Theorem
Stokes' theorem is the statement that equates a vector field's circulation along a closed curve with the net curl over its bounded surface. On one side sits the flux of the curl through an oriented surface — a surface integral that sums the microscopic circulation of over every patch of a membrane. On the other sits the circulation of once around the rim — a single line integral around the boundary loop. The theorem asserts these are equal for every field and every reasonable capping surface: . The bridge between the two is the curl, which is defined as circulation per unit area. Pave with tiny tiles; the rim circulation of each tile is the local curl times its area, and when the tiles are summed every interior edge is walked twice in opposite directions and cancels. Only the outer rim, whose edges belong to a single tile, is left standing — and that is the circulation around . The same picture explains a remarkable fact: the answer depends only on the boundary loop, not on how the membrane bulges. This surface-independence is the integral shadow of the differential identity . Seen from higher ground, this is one face of a single master statement, , the generalized Stokes' theorem of differential forms: choosing the dimension and degree recovers the fundamental theorem of calculus, Green's theorem, the curl theorem here, and the divergence theorem — four results that turn out to be one. The classical version is also the machinery that converts Maxwell's differential curl equations into their integral Ampère and Faraday forms.
- Stokes' theorem equates the flux of the curl through an oriented surface to the circulation of the field around its boundary: .
- The mechanism is edge cancellation: curl is circulation per unit area, tile rims cancel on shared interior edges, and only the outer rim survives.
- The result depends only on the boundary curve, not on the capping surface — the integral form of the identity .
- Orientations of and are locked by the right-hand rule; reversing either flips a sign, so consistency is not optional.
- It is the curl-degree member of the family , alongside Green's theorem (flat case) and the divergence theorem (3D flux).
- Applied to Maxwell's curl equations it yields Faraday's EMF law and the Ampère–Maxwell law; applied to velocity it yields the circulation–vorticity relation of fluid dynamics.
- Key idea: microscopic circulation measured by accumulates additively over a surface, interior edges cancel pairwise, and the net is the circulation around the boundary — so flux of curl equals boundary circulation and depends only on .
Microscopic circulation, measured by , accumulates additively over a surface; interior edges cancel pairwise, leaving the net circulation around the boundary. Hence flux of curl equals boundary circulation, and the result depends only on .
Where this lives today
Stokes' theorem is a daily tool wherever circulation and flux meet. In computational electromagnetics the finite-element and finite-difference methods that design antennas, chips and MRI coils are built on discrete exterior calculus — Whitney forms and the Yee lattice encode Stokes' theorem exactly on a mesh, so the discretized Faraday and Ampère laws conserve flux to machine precision by construction. In superconductivity, integrating around a loop threading a ring turns the circulation of the vector potential into the enclosed magnetic flux, which quantum mechanics forces into units of — the flux quantization SQUID magnetometers exploit to sense fields a hundred billion times weaker than Earth's. The same boundary-versus-interior bookkeeping is the Aharonov–Bohm phase , picked up around a region the particle never enters. In aerodynamics, Kelvin's circulation theorem and the Kutta–Joukowski law express a wing's lift as the circulation around it, equal by Stokes to the vorticity flux of the shed wake. And across modern physics the generalized form underlies gauge theory, topological invariants, and the index theorems tying a space's geometry to the equations living on it.
The physical picture
Think of the curl as a dense field of microscopic paddle-wheels, one at every point, each spinning at a rate set by . To measure the total twist a field delivers to a membrane stretched across a wire loop, you could tally every paddle-wheel on the membrane (the surface integral) or walk once around the wire adding up how hard the field pushes along your path (the line integral). Stokes' theorem says these tallies are the same number. The reason is combinatorial: when you build the surface tally out of tiny cells, adjacent cells share edges, and along every shared edge the two neighbours push in opposite directions and delete each other. What cannot delete is the outermost boundary — and that leftover is exactly the walk around the rim.
The blue paddle-wheels above all turn the same way, forcing neighbouring cells to disagree on their shared wall: one walks that edge upward, the other downward, and the two contributions cancel. That is the whole engine of the theorem, and it also makes visible why the cap is irrelevant — two membranes spanning the same loop together enclose a solid region, and the flux of curl out of a closed region is zero, so both carry the same flux. The second figure puts real numbers on the equality using the rotational field over a hemispherical cap, where both sides land on .
The core equations
The headline identity is the classical curl theorem: the flux of through an oriented surface equals the circulation of around its boundary. Everything below either specializes this, proves it, or applies it. The orientation of (which way points) and the traversal direction of must be tied by the right-hand rule for the signs to match.
where: — oriented piecewise-smooth surface; — its boundary curve, traversed per the right-hand rule; — a vector field on a neighbourhood of ; — the curl, the local circulation density; — the vector area element; — the directed line element. Reading: sum the microscopic twist over the membrane on the left; walk the rim once on the right; they agree. To evaluate the left side you need the oriented area element of a parametrized surface : the cross product of the two tangent vectors gives both the parallelogram's area and, through its direction, the normal that fixes the orientation.
where: — a parametrization of ; — surface coordinates; — tangent vectors along the coordinate curves. Reading: the magnitude is the area density and the direction is the outward normal — swapping flips and the orientation. The right-hand side is built from the curl, best understood as the very quantity the theorem globalizes: circulation per unit area in the infinitesimal limit. This is the definition that makes the tiling proof work.
where: — area of a small patch bounded by the loop ; — the patch boundary, oriented by the right-hand rule about . Reading: the component of curl along is the circulation of around a shrinking loop divided by the loop's area — Stokes' theorem in the small. A curl field is automatically divergence-free — the one-line identity that makes the flux in independent of the capping surface, since any two caps sharing a boundary differ by a closed surface through which the flux of a curl must vanish.
where: — the divergence operator. Reading: written in components , the symmetric mixed partial contracts against the antisymmetric and vanishes identically — so the flux of any curl through a closed surface is zero. Lifting to differential forms, all four integral theorems collapse into one statement. With a -form on a surface and its exterior derivative (the curl in disguise), one recovers .
where: — a differential -form; — its exterior derivative, a -form; — an oriented -manifold with boundary . Reading: integrating the derivative over a region equals integrating the form over its boundary — the fundamental theorem of calculus (), Green's ( planar), classical Stokes' ( a surface), and Gauss' ( a solid) are all one line. Feeding Maxwell's differential curl equations through produces their integral forms — the Ampère–Maxwell law from , and Faraday's law from .
where: — magnetic and electric fields; — current density; — vacuum permeability and permittivity; — magnetic flux. Reading: the circulation of counts the enclosed current plus the displacement term; the circulation of is minus the rate of change of enclosed flux — the induced EMF.
The goal is to build Stokes' theorem from the ground up: subdivide the capping surface into tiny cells, replace each cell's rim circulation by the local curl times the cell area using the definition in equation , and watch the shared interior edges annihilate in pairs so only the outer rim survives. This turns the microscopic definition of curl into a global statement relating the surface to its boundary, and makes the cancellation mechanism — the same one behind Green's and the divergence theorems — explicit.
Step 1. Cover with small cells , each bounded by a loop oriented consistently by the right-hand rule about . By equation , each cell contributes . Why: curl is circulation per unit area, so to leading order the rim integral of a cell is fixed by the curl there.
Step 2. Sum over all cells: , a Riemann sum converging to as the mesh refines. Why: adding the cell fluxes is how a surface integral is assembled in the limit of vanishing cell size.
Step 3. Now read the left sum edge by edge. Every interior edge is shared by two adjacent cells, and consistent orientation forces the neighbours to traverse it in opposite directions, so their contributions cancel. Why: the same field along the same edge, integrated once each way, sums to zero — the combinatorial heart of the theorem.
Step 4. Only edges on the outer rim belong to a single cell and survive, summing to ; so . Equating with Step 2 and refining the mesh — where the leading-order approximation becomes exact for a field — gives equation . Why: the rim has no outer neighbour to delete it, and the per-cell errors vanish faster than the cell count grows.
Go deeper · Derivation B · 1 minReduction to Green's theorem on a coordinate patch
The goal is to make the tiling argument rigorous on a single smooth patch by writing the surface as a graph over a planar region , projecting every integral to the plane, and invoking Green's theorem, taken as established for planar regions. We track only the -component of ; the and parts follow identically, and summing the three reproduces the full theorem on the patch, after which general surfaces are covered by gluing patches with the previous derivation's cancellation.
Step 1. The upward-oriented area element of the graph is , obtained from equation with . Why: the tangent vectors are and , whose cross product is exactly — the gradient of , hence normal to the surface.
Step 2. The curl is . Keeping only the pieces containing — in the -slot and in the -slot — and dotting with gives . Why: isolating the -terms lets us match them against the part of the line integral independently.
Step 3. On we have and is common to the curve and its shadow , so . Why: the projection of is exactly , and only the -displacement matters here.
Step 4. Apply planar Green's theorem to : , with by the chain rule. Why: differentiating through the height is where the cap's shape enters — the extra is absent for a flat surface.
Step 5. Steps 3 and 4 give , exactly the -part of Step 2. The and parts follow by symmetry, so summing proves equation on the patch. Why: the two sides agree term by term, and the theorem is the sum of three identical computations.
Go deeper · Derivation C · 1 minSurface independence from the vanishing of the curl's divergence
The goal is to establish the property that makes Faraday's and Ampère's laws well posed: the flux of a curl through depends only on the boundary , never on which membrane you stretch across it. The engine is equation , ; combined with the divergence theorem it forces any two caps sharing a rim to carry identical flux — which is why a physicist may deform a surface freely to whatever shape makes an integral easy.
Step 1. Take two surfaces and sharing the same boundary curve . Reversing and gluing it to produces a single closed surface sealing a solid region . Why: a common rim plus one flipped orientation is what closes the two caps into a boundaryless surface.
Step 2. Apply the divergence theorem to over : . Why: Gauss converts the closed-surface flux into a volume integral of the divergence.
Step 3. By equation the integrand vanishes identically, so the closed flux is zero. Why: the divergence of any curl is zero everywhere, killing the volume integral regardless of field or region.
Step 4. Split back apart: the flux through minus that through is zero, hence . Why: with reversed inside , the closed integral is the difference of the two outward fluxes, forcing their equality — only matters.
Limiting cases
Stokes' theorem contains several familiar results as special geometries or special fields. Each row is obtained by restricting the surface, the normal, or the field in equation .
| Case | Result | Meaning |
|---|---|---|
| Flat surface in the -plane | With only the -component of curl survives — this is Green's theorem in the plane. | |
| Irrotational field | On a simply connected domain every loop has zero circulation, so is conservative and line integrals are path-independent. | |
| Closed surface | A closed surface has no boundary (), so the flux of any curl vanishes — the integral form of . | |
| Shrinking loop | In the infinitesimal limit the theorem collapses back to the definition of curl as circulation per unit area. |
Worked examples
1 · The rotational field on a hemisphere (confidence builder)
Let and let be the upper unit hemisphere , , oriented with the outward (upward) normal. Its boundary is the unit circle in the -plane, traversed counterclockwise. Verify Stokes' theorem, then confirm surface-independence.
Step 1. Compute the curl. For the only surviving component is the -component, , so , a constant vector pointing straight up.
Step 2. The surface integral. Because the curl is constant and along , its flux through the dome equals times the projected area of the dome onto the -plane. That projection is the unit disk , of area , so . The flux of the curl is .
Step 3. The line integral. Parametrize as for , so and on the circle. Then , and . The circulation is — equal to the flux, as Stokes' theorem demands.
Step 4. Surface-independence. Replace the dome with the flat disk (same boundary, normal ): the flux is again . Replace it with the paraboloid over the same circle: its projection is still the unit disk, so the flux is once more . Every cap sharing the unit circle gives — the answer is a property of the boundary alone.
2 · Ampère's law and why the displacement term is not optional
A long straight wire carries a steady current . Use Stokes' theorem to find the magnetic field at radius , then examine what happens when the wire feeds a charging capacitor.
Step 1. Apply equation with no changing flux to a circular Amperian loop of radius coaxial with the wire: . By symmetry is tangential and constant in magnitude on the loop, so the left side is .
Step 2. Solve for the field: . at — about the strength of Earth's field, and independent of which membrane caps the loop as long as the same current pierces it.
Step 3. Now insert a capacitor. Cap the loop with a flat disk cut by the wire — enclosed current ; cap it instead with a bulging surface slipping between the plates, where no conduction current flows — enclosed current . Without a second term the two caps disagree, contradicting surface-independence. Why: Stokes' theorem guarantees both caps give the same circulation, so the conduction-only Ampère law must be incomplete.
Step 4. The fix is Maxwell's displacement term : between the plates the growing electric flux supplies exactly the missing . Surface-independence, demanded by Stokes' theorem, is the argument that forced the discovery of the displacement current — and hence electromagnetic waves.
Physics of the portrait
The theorem carries the name of the man who examined generations of Cambridge students on it, not the man who first wrote it down — a historical accident that says something about how vector calculus grew up inside nineteenth-century British physics.
Origins · 1 minGeorge Gabriel Stokes and how this was discovered
George Gabriel Stokes held the Lucasian Chair at Cambridge for over half a century and left his name across physics — Stokes' law of viscous drag, the Navier–Stokes equations, the Stokes parameters of polarization. Yet the theorem now universally called his was not his discovery. William Thomson, the future Lord Kelvin, stated the curl–circulation identity in a letter to Stokes dated 2 July 1850. Stokes set it as question eight on the Smith's Prize examination he administered at Cambridge in February 1854 — an exam whose candidates that year included the young James Clerk Maxwell, who would soon weave the result into the foundations of electromagnetism. Because every ambitious Cambridge mathematician met the problem through Stokes' examining, the attribution stuck. The deeper truth is that the classical theorem is one shadow of a far more general statement, , unifying the fundamental theorem of calculus, Green's theorem, the divergence theorem and the curl theorem into a single line of exterior calculus — a synthesis that took another eighty years and the differential forms of Volterra, Cartan and de Rham to complete. Stokes gave the result a name and a home in physics; the mathematicians who followed showed it was really a theorem about the boundary of anything.
Going further
Texts. Stone & Goldbart, Mathematics for Physics, §11 (vector calculus and the integral theorems) · Arfken & Weber, Mathematical Methods for Physicists, §3.8 (Stokes' theorem) · Hassani, Mathematical Physics, Ch. 15 (vector analysis) · Nakahara, Geometry, Topology and Physics, §5.4 (Stokes' theorem for forms) · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, §11.9 · Spivak, Calculus on Manifolds, Ch. 5 (the generalized theorem). Key checkpoints for the results in this article: both sides of the hemisphere example equal and the projected disk area is ; the identity holds in components; the single-patch reduction turns on the chain rule and planar Green's theorem; and the Ampère result gives for , . The numbers and are exact geometric values; the only physical constant invoked is .
Prerequisites. Curl of a Vector Field · Line Integrals · Surface Integrals and Flux · The Del Operator and Vector Differential Identities · Green's Theorem in the Plane. Leads to. The Divergence (Gauss) Theorem · The Del Operator and Vector Differential Identities · Scalar and Vector Fields.
Ask the tutor: Want to see Stokes' theorem verified on a surface of your choice, or watch it collapse into Green's theorem, the divergence theorem, or a Maxwell equation? Ask and we will work it line by line.
Does it really not matter which surface I stretch across the loop?
For the flux of a curl, no — any two caps sharing the same boundary give the same answer, so choose whichever is easiest to integrate. The reason is : two caps with a common rim enclose a solid region, and the flux of a divergence-free field out of a closed region is zero, so the fluxes match. This is why the dome, the flat disk and the paraboloid all return in the hemisphere example. The caveat: the field must be throughout every cap you consider; if a singularity or a current-carrying wire pierces one cap but not another, the caps stop being equivalent and you must track what threads them.
What is the difference between Stokes', Green's, and the divergence theorems?
They are three faces of one statement, , distinguished by the dimension of the region. Green's theorem relates a line integral around a planar loop to a double integral over the flat region it bounds — the two-dimensional case. Classical Stokes' lifts that loop into three dimensions: the region becomes a curved surface and the flat curl becomes dotted with the normal. The divergence theorem is the sibling where the region is a solid volume and the boundary a closed surface, relating to the outward flux. Green's is the flat special case of Stokes', and all three are the generalized theorem with of dimension two, two and three.
How can a field with zero curl have a nonzero circulation?
Only when the domain is not simply connected — when it has a hole the loop can encircle. The standard example is the vortex , whose curl is identically zero wherever it is defined, yet whose circulation around any loop enclosing the origin is . The catch is that blows up at the origin, so any cap of such a loop is punctured by the singularity and Stokes' theorem cannot be applied. Restrict to loops that avoid the hole and the circulation is indeed zero. Physically this is the mathematics behind a current-carrying wire and the Aharonov–Bohm effect: the action lives in a region the loop surrounds but does not enter.
Why can't I ignore the right-hand rule as a mere convention?
Because the two sides of the theorem carry signs and the right-hand rule keeps them consistent. The surface integral's sign depends on which way points; the line integral's sign depends on which way you walk the boundary. The rule — curl the right hand's fingers along , the thumb gives — locks the two choices so both integrals flip in step. Pick the normal and the traversal independently and you can make the two sides disagree by an overall sign, so the theorem appears to fail. Reversing both orientations leaves the equality intact; reversing just one breaks it. A convention, but an unavoidable one.
Is the differential-forms version really the same theorem?
Yes, in a language that makes its universality obvious. In differential forms a vector field corresponds to a -form , and its exterior derivative is the curl repackaged as a -form. The abstract statement , with a surface, unpacks term by term into . The power of the abstraction is that the same line, with of other dimensions, also gives the fundamental theorem of calculus, Green's and the divergence theorems — and generalizes to any dimension, where no cross-product curl exists.
What does "flux of curl" actually mean physically?
The curl at a point measures the local tendency of the field to spin a tiny paddle-wheel; its component along a normal is the circulation per unit area of a shrinking loop about that axis. The flux of curl through a surface adds up this local rotation over the whole membrane, weighting each patch by how well its spin axis lines up with the normal. Stokes' theorem says this accumulated microscopic rotation equals the net push you feel dragging a test particle once around the rim. In fluids the curl of the velocity is the vorticity, and the theorem reads: the total vorticity threading a loop equals the circulation around it — the heart of Kelvin's circulation theorem and the theory of lift.