Skip to content

Stokes' theorem, explained

6 min read

Short answer

For an oriented surface SS with boundary curve CC (oriented by the right-hand rule), ∮CF⋅dr=∬S(∇×F)⋅dS.\oint_C\mathbf F\cdot d\mathbf r=\iint_S(\nabla\times\mathbf F)\cdot d\mathbf S. The circulation around the edge equals the total curl passing through the surface. Green's theorem is the flat special case.

Steps1Pick the surface S bounded by the curve C2Orient C, then choose n by the right-hand rule3Compute the curl of F4Integrate (curl F) · n dS over SDifferent surfaces with one shared edge agree
Curl your right-hand fingers along C; your thumb gives the normal direction of S.

Why it is useful

You can swap a hard line integral for an easy surface integral (or the reverse). Because the answer depends only on the boundary, you may replace a complicated surface with a flat one that shares the same edge, such as the disk bounded by a circle.

Connections

If ∇×F=0\nabla\times\mathbf F=\mathbf 0, the line integral around every closed loop is 0, which is another way to see that curl-free fields are conservative on simply connected domains.

Worked example

Verify Stokes' theorem for F=(z, x, y)\mathbf F=(z,\ x,\ y) where SS is the part of the plane x+y+z=1x+y+z=1 in the first octant, with boundary oriented counterclockwise when viewed from above.

Curl: ∇×F=(1,1,1)\nabla\times\mathbf F=(1,1,1). The plane has upward normal n dS=(1,1,1) dA\mathbf n\,dS=(1,1,1)\,dA over the triangle in the xyxy-plane (area 12\tfrac12), so ∬(1,1,1)⋅(1,1,1) dA=3⋅12=32.\iint(1,1,1)\cdot(1,1,1)\,dA=3\cdot\tfrac12=\tfrac32.

Line integral: the three edges (1,0,0)→(0,1,0)→(0,0,1)→(1,0,0)(1,0,0)\to(0,1,0)\to(0,0,1)\to(1,0,0) each give ∫01(1−t) dt=12\int_0^1(1-t)\,dt=\tfrac12. Total 32\tfrac32. ✓

Try it yourself

Use Stokes' theorem to find ∮F⋅dr\oint\mathbf F\cdot d\mathbf r for F=(−y,x,0)\mathbf F=(-y,x,0) around the unit circle in the xyxy-plane, counterclockwise.

Show the answer

∇×F=(0,0,2)\nabla\times\mathbf F=(0,0,2) and n=k\mathbf n=\mathbf k on the flat disk, so the integral is 2⋅area=2π2\cdot\text{area}=2\pi.

Keep going with practice

Stokes' theorem completes the vector calculus triple in Vidi's Multivariable & Vector Calculus course.