Stokes's Theorem

The Story of Stokes’s Theorem

From an Examination Question to a Mathematical Foundation

In 1854 the Irish mathematician and physicist George Gabriel Stokes (1819–1903) set a problem in the Smith Prize examination at the University of Cambridge, asking candidates to prove a theorem about line integrals and surface integrals. The result was later named after him as Stokes’s theorem.

The idea behind the theorem, however, can be traced further back to Lord Kelvin, who mentioned a similar result in a letter to Stokes in 1850. Stokes organised it and used it as an examination question, and so acquired the right to the name.

Stokes was one of the leading representatives of the British mathematical-physical school of the nineteenth century, and together with Kelvin, Maxwell and others he drove the development of mathematical physics.

The Mathematical Expression of “Rotation”

If Gauss’s theorem describes “divergence” (the relation between flux and the divergence), then Stokes’s theorem describes “rotation” (the relation between circulation and the curl). It tells us that the circulation of a vector field along a closed curve equals the flux of the curl through any surface bounded by that curve.

A Deeper Understanding of Stokes’s Theorem

The Precise Statement

Theorem1

Suppose Γ\Gamma is a piecewise smooth oriented closed curve in space, Σ\Sigma is a piecewise smooth oriented surface with Γ\Gamma as its boundary, the positive orientation of Γ\Gamma is consistent with the side of Σ\Sigma by the right-hand rule, and the functions P,Q,RP, Q, R have continuous first-order partial derivatives in a region of space containing Σ\Sigma. Then

∮ΓP dx+Q dy+R dz=∬Σ(∂R∂y−∂Q∂z)dy dz+(∂P∂z−∂R∂x)dz dx+(∂Q∂x−∂P∂y)dx dy\oint_\Gamma P \, dx + Q \, dy + R \, dz = \iint_\Sigma \left( \frac{\partial R}{\partial y} - \frac{\partial Q}{\partial z} \right) dy\,dz + \left( \frac{\partial P}{\partial z} - \frac{\partial R}{\partial x} \right) dz\,dx + \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right) dx\,dy

or, in vector form:

∮ΓF⃗⋅dr⃗=∬Σ(∇×F⃗)⋅dS⃗\oint_\Gamma \vec{F} \cdot d\vec{r} = \iint_\Sigma (\nabla \times \vec{F}) \cdot d\vec{S}

The Right-Hand Rule

Independence of the Choice of Surface

An important property of Stokes’s theorem is this: the value of the integral depends only on the boundary curve Γ\Gamma, and not on the choice of the surface Σ\Sigma bounded by Γ\Gamma. This is because two surfaces Σ1\Sigma_1 and Σ2\Sigma_2 with the same boundary together form a closed surface, and the divergence of the curl is zero (∇⋅(∇×F⃗)=0\nabla \cdot (\nabla \times \vec{F}) = 0); by Gauss’s theorem the flux of the curl through a closed surface is zero, so the fluxes through the two surfaces are equal (with opposite signs, and cancelling to zero).

The Idea Behind the Proof

Step 1: Projecting onto the Coordinate Planes

Project the surface Σ\Sigma onto the three coordinate planes and prove the terms containing P,Q,RP, Q, R separately. Taking the term containing PP as an example:

∮ΓP dx=∬Σ∂P∂zdz dx−∂P∂ydx dy\oint_\Gamma P \, dx = \iint_\Sigma \frac{\partial P}{\partial z} dz\,dx - \frac{\partial P}{\partial y} dx\,dy

Step 2: Parametrising the Surface

Suppose the surface Σ\Sigma is given by z=z(x,y)z = z(x,y); use the chain rule for composite functions and Green’s theorem (over the region of projection) to prove the identity above.

Step 3: A General Surface

A general surface is divided into several standard-type surface pieces, and the line integrals over the common boundaries cancel each other.

The Unification of the Three Theorems

The Three Theorems Viewed by Dimension

The Generalised Stokes Theorem

In the language of differential forms, all of these formulas are unified as the generalised Stokes theorem:

∫∂Mω=∫Mdω\int_{\partial M} \omega = \int_M d\omega

where MM is an oriented manifold, ∂M\partial M is its boundary, ω\omega is a differential form, and dωd\omega is its exterior derivative.

  • Newton–Leibniz: MM is an interval, ω=f(x)\omega = f(x) (a 0-form), dω=f′(x)dxd\omega = f'(x)dx (a 1-form)
  • Green’s theorem: MM is a plane region, ω=Pdx+Qdy\omega = Pdx + Qdy (a 1-form), dω=(∂Q∂x−∂P∂y)dx∧dyd\omega = (\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y})dx\wedge dy (a 2-form)
  • Gauss’s theorem: MM is a region of space, ω=Pdy∧dz+Qdz∧dx+Rdx∧dy\omega = Pdy\wedge dz + Qdz\wedge dx + Rdx\wedge dy (a 2-form), dω=(∂P∂x+∂Q∂y+∂R∂z)dx∧dy∧dzd\omega = (\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial z})dx\wedge dy\wedge dz (a 3-form)
  • Stokes’s theorem: MM is a surface in space, ω=Pdx+Qdy+Rdz\omega = Pdx + Qdy + Rdz (a 1-form), and dωd\omega is a 2-form

The Applications of Stokes’s Theorem in Physics

1. Faraday’s Law of Electromagnetic Induction

∮LE⃗⋅dr⃗=−ddt∬ΣB⃗⋅dS⃗\oint_L \vec{E} \cdot d\vec{r} = -\frac{d}{dt} \iint_\Sigma \vec{B} \cdot d\vec{S}

That is: the circulation of the electric field along a closed curve equals the negative of the rate of change of the magnetic flux. Using Stokes’s theorem, its differential form is:

∇×E⃗=−∂B⃗∂t\nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t}

This is the third equation of the Maxwell system.

2. Ampère’s Circuital Law (with the Displacement Current)

∮LB⃗⋅dr⃗=μ0∬Σ(J⃗+ε0∂E⃗∂t)⋅dS⃗\oint_L \vec{B} \cdot d\vec{r} = \mu_0 \iint_\Sigma \left( \vec{J} + \varepsilon_0 \frac{\partial \vec{E}}{\partial t} \right) \cdot d\vec{S}

Its differential form is:

∇×B⃗=μ0J⃗+μ0ε0∂E⃗∂t\nabla \times \vec{B} = \mu_0 \vec{J} + \mu_0\varepsilon_0 \frac{\partial \vec{E}}{\partial t}

This is the fourth equation of the Maxwell system, in which the displacement current ε0∂E⃗∂t\varepsilon_0 \frac{\partial \vec{E}}{\partial t} is Maxwell’s great contribution.

3. Circulation in Fluid Mechanics

Stokes’s theorem links the circulation of a fluid with its vorticity (the curl), and it is the foundation of the study of vortex motion.

Worked Examples

Example 1: Computing a Space Line Integral with Stokes’s Theorem

Compute ∮Γ(y−z) dx+(z−x) dy+(x−y) dz\oint_\Gamma (y-z) \, dx + (z-x) \, dy + (x-y) \, dz, where Γ\Gamma is the curve of intersection of the cylinder x2+y2=a2x^2+y^2 = a^2 with the plane x+y+z=0x+y+z = 0, taken counterclockwise as seen from the positive xx-axis.

Stokes's theorema space line integralthe curlan ellipse

Approach:

Use Stokes’s theorem to convert it into a surface integral; the curl is a constant vector.

Steps:

  1. ∇×F⃗=(−2,−2,−2)\nabla \times \vec{F} = (-2, -2, -2)
  2. Take Σ\Sigma to be the elliptical face in the plane x+y+z=0x+y+z=0 bounded by Γ\Gamma, with the normal vector n⃗=(1,1,1)3\vec{n} = \frac{(1,1,1)}{\sqrt{3}} (determined by the right-hand rule)
  3. (∇×F⃗)⋅n⃗=−63=−23(\nabla \times \vec{F}) \cdot \vec{n} = \frac{-6}{\sqrt{3}} = -2\sqrt{3}
  4. The area of the ellipse: its projection onto the xOyxOy plane is the disk x2+y2≤a2x^2+y^2 \leq a^2, of area πa2\pi a^2. cos⁡γ=13\cos\gamma = \frac{1}{\sqrt{3}}, so the area of the ellipse =πa2cos⁡γ=3πa2= \frac{\pi a^2}{\cos\gamma} = \sqrt{3}\pi a^2
  5. The integral =−23×3πa2=−6πa2= -2\sqrt{3} \times \sqrt{3}\pi a^2 = -6\pi a^2

Answer: −6πa2-6\pi a^2

Example 2: A Field with Zero Curl

Verify that the curl of the vector field F⃗=(yz,xz,xy)\vec{F} = (yz, xz, xy) vanishes, and show that its line integral is independent of the path.

Stokes's theoreman irrotational fielda field with a potentialindependence of the path

Approach:

Compute the curl, and use Stokes’s theorem to show that the integral along any closed curve is zero.

Steps:

  1. ∇×F⃗=(∂∂y(xy)−∂∂z(xz),∂∂z(yz)−∂∂x(xy),∂∂x(xz)−∂∂y(yz))=(x−x,y−y,z−z)=(0,0,0)\nabla \times \vec{F} = (\frac{\partial}{\partial y}(xy)-\frac{\partial}{\partial z}(xz), \frac{\partial}{\partial z}(yz)-\frac{\partial}{\partial x}(xy), \frac{\partial}{\partial x}(xz)-\frac{\partial}{\partial y}(yz)) = (x-x, y-y, z-z) = (0,0,0)
  2. For any closed curve Γ\Gamma, take a surface Σ\Sigma with Γ\Gamma as its boundary. By Stokes’s theorem: ∮ΓF⃗⋅dr⃗=∬Σ(∇×F⃗)⋅dS⃗=∬Σ0⋅dS⃗=0\oint_\Gamma \vec{F} \cdot d\vec{r} = \iint_\Sigma (\nabla \times \vec{F}) \cdot d\vec{S} = \iint_\Sigma 0 \cdot d\vec{S} = 0
  3. The line integral along any closed curve is zero, and hence the line integral is independent of the path.
  4. The potential function: u=xyzu = xyz (because ∇u=(yz,xz,xy)=F⃗\nabla u = (yz, xz, xy) = \vec{F})

Answer: the curl vanishes, the field is a field with a potential, the potential function is u=xyzu = xyz, and the line integral is independent of the path.


Exercises

Exercise 1

Use Stokes’s theorem to compute ∮Γz dx+x dy+y dz\oint_\Gamma z \, dx + x \, dy + y \, dz, where Γ\Gamma is the boundary of the triangle cut out by the plane x+y+z=1x+y+z=1 on the three coordinate planes, with the positive orientation consistent with the upper side of the plane by the right-hand rule.

Stokes's theorema trianglethe curla plane

Approach:

The curl is (1,1,1)(1,1,1) and the normal vector is (1,1,1)3\frac{(1,1,1)}{\sqrt{3}}.

Steps:

  1. ∇×F⃗=(1,1,1)\nabla \times \vec{F} = (1, 1, 1)
  2. The normal vector n⃗=(1,1,1)3\vec{n} = \frac{(1,1,1)}{\sqrt{3}}
  3. (∇×F⃗)⋅n⃗=3(\nabla \times \vec{F}) \cdot \vec{n} = \sqrt{3}
  4. The area of the triangle: the three vertices (1,0,0),(0,1,0),(0,0,1)(1,0,0), (0,1,0), (0,0,1), with side length 2\sqrt{2}, so the area =34(2)2=32= \frac{\sqrt{3}}{4}(\sqrt{2})^2 = \frac{\sqrt{3}}{2}
  5. The integral =3×32=32= \sqrt{3} \times \frac{\sqrt{3}}{2} = \frac{3}{2}

Answer: 32\frac{3}{2}

Exercise 2

Compute ∮Γ3y dx−xz dy+yz2 dz\oint_\Gamma 3y \, dx - xz \, dy + yz^2 \, dz, where Γ\Gamma is the circle x2+y2=2z, z=2x^2+y^2=2z, \, z=2, taken counterclockwise as seen from the positive zz-axis.

Stokes's theorema circlethe curla plane disk

Approach:

Take the disk in the plane z=2z=2 and use Stokes’s theorem.

Steps:

  1. ∇×F⃗=(∂∂y(yz2)−∂∂z(−xz),∂∂z(3y)−∂∂x(yz2),∂∂x(−xz)−∂∂y(3y))=(z2+x,0,−z−3)\nabla \times \vec{F} = (\frac{\partial}{\partial y}(yz^2)-\frac{\partial}{\partial z}(-xz), \frac{\partial}{\partial z}(3y)-\frac{\partial}{\partial x}(yz^2), \frac{\partial}{\partial x}(-xz)-\frac{\partial}{\partial y}(3y)) = (z^2+x, 0, -z-3)
  2. On the plane z=2z=2: ∇×F⃗=(4+x,0,−5)\nabla \times \vec{F} = (4+x, 0, -5)
  3. Take Σ:z=2, x2+y2≤4\Sigma: z=2, \, x^2+y^2 \leq 4, the upper side, with normal vector (0,0,1)(0,0,1)
  4. (∇×F⃗)⋅n⃗=−5(\nabla \times \vec{F}) \cdot \vec{n} = -5
  5. The integral =∬Σ(−5)dS=−5×π⋅22=−20π= \iint_\Sigma (-5) dS = -5 \times \pi \cdot 2^2 = -20\pi

Answer: −20π-20\pi


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
Γ\GammaSpace closed curvespace closed curveThe boundary curve in Stokes’s theorem
Σ\SigmaOriented surfaceoriented surfaceThe surface with Γ\Gamma as its boundary
∇×F⃗\nabla \times \vec{F}CurlcurlThe curl of the vector field
dr⃗d\vec{r}Directed arc length elementdirected arc elementThe directed arc element of a curve
dS⃗d\vec{S}Directed area elementdirected surface elementThe directed area element of a surface
ω\omegaDifferential formdifferential formAn exterior differential form
dωd\omegaExterior derivativeexterior derivativeThe exterior derivative of a differential form
∂M\partial MBoundary of a manifoldboundary of manifoldThe boundary of an oriented manifold

Key Terms

English termPronunciationNote
Stokes’ theorem/stoʊksɪz ˈθɪərəm/the relation between a space line integral and a surface integral
right-hand rule/raɪt hænd ruːl/the relation between the positive orientation of a curve and the side of a surface
circulation/ˌsɜːrkjəˈleɪʃən/the integral of a vector field along a closed curve
curl / rotation/kɜːrl/ /roʊˈteɪʃən/the degree of rotation of the vector field
generalized Stokes theorem/ˈdʒɛnrəlaɪzd stoʊks ˈθɪərəm/the unified integral theorem for differential forms
differential form/ˌdɪfəˈrɛnʃəl fɔːrm/an exterior differential form
exterior derivative/ɪkˈstɪəriər dɪˈrɪvətɪv/the differential operation on differential forms
Faraday’s law/ˈfærədeɪz lɔː/the law of electromagnetic induction
displacement current/dɪsˈpleɪsmənt ˈkɜːrənt/the current term introduced by Maxwell
Ampère’s circuital law/æmˈpɛərz ˈsɜːrkjɪtəl lɔː/the relation between the circulation of the magnetic field and the current
vorticity/vɔːrˈtɪsəti/the curl of a velocity field

Found an issue with this content?

Tell us what could be improved.