Stokes' Theorem

Chapter 5: Integral Theorems of Vector Calculus

Learning objectives

  • State Stokes' Theorem with correct orientation conventions
  • Use it to convert surface integrals of curl into line integrals around the boundary
  • Recognise Green's Theorem as the planar special case
  • Connect zero curl to conservative fields and path independence
Vector Field VisualizerInteractive figure — enable JavaScript to interact.

Stokes' Theorem is the curl-and-circulation cousin of the Divergence Theorem. It says that the integral of the curl of a vector field over a surface equals the circulation of the field around the surface's boundary curve. Where the Divergence Theorem relates a 3D region to its 2D boundary, Stokes' Theorem relates a 2D surface to its 1D boundary — one dimension lower. In chapter 6 you will see that both are special cases of a single statement on differential forms; for now they are the two flagship theorems of vector calculus and the workhorses of electromagnetism.

Statement of the theorem

Let SS be an oriented, piecewise smooth surface in R3\mathbb{R}^3 with piecewise smooth boundary curve C=SC = \partial S. Orient CC consistently with SS using the right-hand rule: if your right thumb points along the chosen normal to SS, your fingers curl in the direction of CC. For a C1C^1 vector field F\mathbf{F} defined on a neighbourhood of SS:

CFdr  =  S(×F)dS.\oint_{C} \mathbf{F} \cdot d\mathbf{r} \;=\; \iint_{S} (\nabla \times \mathbf{F}) \cdot d\mathbf{S}.

The left side is the circulation of F\mathbf{F} around CC. The right side is the flux of the curl through SS.

The most surprising consequence: surface independence

The right side depends on the curl field over SS — but the left side depends only on the boundary curve. So if S1S_1 and S2S_2 are two surfaces with the same boundary CC, then

S1(×F)dS=S2(×F)dS.\iint_{S_1} (\nabla\times\mathbf{F})\cdot d\mathbf{S} = \iint_{S_2} (\nabla\times\mathbf{F})\cdot d\mathbf{S}.

You can deform the surface freely, as long as you do not change the boundary. The flux of a curl through a disc is the same as the flux through a hemisphere with the same equator.

Conservative fields

If ×F=0\nabla\times\mathbf{F} = \mathbf{0} everywhere on a simply-connected region, Stokes' Theorem forces CFdr=0\oint_C\mathbf{F}\cdot d\mathbf{r} = 0 for every closed curve CC. By the fundamental theorem of line integrals, this is equivalent to F=f\mathbf{F} = \nabla f for some scalar potential ff. Such a field is called conservative: the line integral between two points depends only on the endpoints, never on the path.

Green's Theorem as the planar special case

If SS is a flat region DD in the xyxy-plane and F=(P,Q,0)\mathbf{F} = (P, Q, 0), then ×F=(0,0,QxPy)\nabla\times\mathbf{F} = (0,0,, Q_x - P_y) and dS=(0,0,1)dAd\mathbf{S} = (0,0,1),dA. Stokes' Theorem collapses to

C(Pdx+Qdy)=D(QxPy)dA,\oint_C (P\,dx + Q\,dy) = \iint_D \left(\dfrac{\partial Q}{\partial x} - \dfrac{\partial P}{\partial y}\right)\,dA,

which is Green's Theorem. Choosing P=y/2,Q=x/2P = -y/2,, Q = x/2 gives the area formula Area(D)=12C(xdyydx)\text{Area}(D) = \tfrac{1}{2}\oint_C(x,dy - y,dx).

(Visualising Stokes' Theorem requires a 3D rendering of the surface, its normal, and the boundary orientation simultaneously — beyond what our lang-core widgets can deliver. The references include online interactive demos.)

Pause and think: If ×F=0\nabla\times\mathbf{F}=\mathbf{0} in a region with a hole (e.g., R3\mathbb{R}^3 minus the zz-axis), is F\mathbf{F} necessarily conservative on that region? What goes wrong?

Try it

  • Predict, then verify: for F=(y,x,0)\mathbf{F}=(-y,x,0) and CC the unit circle in the xyxy-plane (counterclockwise), compute both sides of Stokes. Both should equal 2π2\pi.
  • For F=(yz,xz,xy)\mathbf{F}=(yz, xz, xy), compute ×F\nabla\times\mathbf{F}. What does Stokes' Theorem then say about CFdr\oint_C\mathbf{F}\cdot d\mathbf{r} for ANY closed curve CC?
  • Use Green's Theorem with P=y/2,Q=x/2P=-y/2,,Q=x/2 to compute the area enclosed by the ellipse x=acost,y=bsint,t[0,2π]x=a\cos t,,y=b\sin t,,t\in[0,2\pi]. (Answer: πab\pi ab.)
  • True or false: if F\mathbf{F} is conservative on a simply-connected domain, its line integral around every closed curve is zero. Justify with Stokes.

A trap to watch for

Orientation by the right-hand rule, not majority vote. If you choose the upward normal on a hemisphere, the bounding equator must be traversed counterclockwise when viewed from above; choose the downward normal and you must traverse clockwise. Pick one consistently before computing — mismatched orientations introduce a sign error that you cannot debug from inside the calculation.

What you now know

You can state Stokes' Theorem, exploit surface independence, recognise conservative fields by zero curl, and recover Green's Theorem as the planar case. Section 5.4 unpacks the physical meanings — flux, circulation, and conservation laws — that make these theorems indispensable to physics.

References

  • Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press, ch. 5.
  • Marsden, J. E., Tromba, A. J. (2011). Vector Calculus (6th ed.). W. H. Freeman.
  • Schey, H. M. (2004). Div, Grad, Curl, and All That (4th ed.). W. W. Norton.
  • Griffiths, D. J. (2017). Introduction to Electrodynamics (4th ed.). Cambridge UP, ch. 5-7 (induction).
  • Spivak, M. (1965). Calculus on Manifolds. W. A. Benjamin, ch. 5.

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.