Skip to content

Stokes' Theorem

Stokes' theorem extends Green's theorem from regions in the plane to surfaces in three-dimensional space. It relates the circulation of a vector field around a boundary curve to the flux of its curl through the surface. The boundary may be a space curve; it need not lie in a plane.
STOKES' THEOREM
Let SS be a compact, oriented, piecewise-smooth surface in R3\mathbb{R}^3 with chosen unit normal n\mathbf{n}. Suppose its boundary C=∂SC=\partial S is a simple, closed, piecewise-smooth curve with the positive orientation induced by n\mathbf{n}. If F\mathbf{F} has continuous first partial derivatives on an open set containing SS, then
∮CF⋅dr=∬S(∇×F)⋅n dS.\begin{equation*}\oint_C \mathbf{F}\cdot d\mathbf{r}=\iint_S (\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS.\end{equation*}

Motivation

The historical account follows[StewartEtAl2021], Section 16.8.
Stokes' theorem is named after Sir George Stokes (1819–1903), an Irish mathematical physicist known for his studies of fluid flow and light. At Cambridge University, Stokes held the Lucasian Professorship of Mathematics, the same chair once held by Isaac Newton.
The theorem's discovery is credited to the Scottish physicist Sir William Thomson (1824–1907), later known as Lord Kelvin. Thomson described the result to Stokes in a letter in 1850. In 1854, Stokes asked students to prove it in an examination at Cambridge University. It is not known whether any of those students succeeded.

Curl and gradient

To explain terms in the Stokes’ theorem we need to start with defining a differentiable vector field F \mathbf{F}
F(x,y,z)=P(x,y,z)i+Q(x,y,z)j+R(x,y,z)k.\begin{equation*}\mathbf{F}(x,y,z)=P(x,y,z)\mathbf{i}+Q(x,y,z)\mathbf{j}+R(x,y,z)\mathbf{k}.\end{equation*}
Also we need to introduce the differential operator ∇\nabla:
∇=i∂∂x+j∂∂y+k∂∂z.\begin{equation*}\nabla=\mathbf{i}\frac{\partial}{\partial x}+\mathbf{j}\frac{\partial}{\partial y}+\mathbf{k}\frac{\partial}{\partial z}.\end{equation*}
Applying it to any differentiable scalar function f(x,y,z)f(x,y,z) we get the gradient grad⁡f\operatorname{grad}f:
grad⁡f=∇f=∂f∂xi+∂f∂yj+∂f∂zk.\begin{equation*}\operatorname{grad}f=\nabla f=\frac{\partial f}{\partial x}\mathbf{i}+\frac{\partial f}{\partial y}\mathbf{j}+\frac{\partial f}{\partial z}\mathbf{k}.\end{equation*}
Now as both F \mathbf{F} and ∇\nabla are being introduced, we can define curl⁡F \operatorname{curl}\mathbf{F} .
CURL
The curl of F is another vector field defined by the equation
curl⁡F=∇×F=∣ijk∂∂x∂∂y∂∂zPQR∣=(∂R∂y−∂Q∂z)i+(∂P∂z−∂R∂x)j+(∂Q∂x−∂P∂y)k.\begin{align*}\operatorname{curl}\mathbf{F} &= \nabla\times\mathbf{F}=\begin{vmatrix}\mathbf{i} & \mathbf{j} & \mathbf{k} \\\frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\P & Q & R\end{vmatrix} \\&=\left(\frac{\partial R}{\partial y}-\frac{\partial Q}{\partial z}\right)\mathbf{i}+\left(\frac{\partial P}{\partial z}-\frac{\partial R}{\partial x}\right)\mathbf{j}+\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)\mathbf{k}.\end{align*}

Proof of Stokes' theorem

We prove the theorem for the special case of a surface given by a graph z=g(x,y)z=g(x,y), where gg has continuous second partial derivatives on a neighborhood of DD. The surface is defined as
S={(x,y,g(x,y)):(x,y)∈D}\begin{equation*}S = \{(x,y,g(x,y)):(x,y)\in D\}\end{equation*}
and the surface boundary CC is mapped to the boundary C1=∂DC_1=\partial D.

The surface integral

The vector rr has representation
r(x,y)=(x,y,g(x,y))\begin{equation*}\mathbf{r}(x,y)=(x,y,g(x,y))\end{equation*}
and a normal vector is
N=∂r∂x×∂r∂y=∣ijk10∂g∂x01∂g∂y∣=(−∂g∂x,−∂g∂y,1).\begin{equation*}\mathbf{N}=\frac{\partial\mathbf{r}}{\partial x}\times\frac{\partial\mathbf{r}}{\partial y}=\begin{vmatrix}\mathbf{i} & \mathbf{j} & \mathbf{k} \\1 & 0 & \frac{\partial g}{\partial x} \\0 & 1 & \frac{\partial g}{\partial y}\end{vmatrix}=\left(-\frac{\partial g}{\partial x},-\frac{\partial g}{\partial y},1\right).\end{equation*}
Then the unit normal vector is
n=N∥N∥\begin{equation*}\mathbf{n} = \frac{\mathbf{N}}{\| \mathbf{N} \|}\end{equation*}
and the area element in Stokes' theorem becomes
n dS=N∥N∥∥N∥ dx dy=(∂r∂x×∂r∂y) dx dy=(−∂g∂x,−∂g∂y,1) dx dy.\begin{equation*}\mathbf{n}\,dS= \frac{\mathbf{N}}{\| \mathbf{N} \|} \| \mathbf{N}\| \,dx\,dy=\left(\frac{\partial\mathbf{r}}{\partial x}\times\frac{\partial\mathbf{r}}{\partial y}\right)\,dx\,dy=\left(-\frac{\partial g}{\partial x},-\frac{\partial g}{\partial y},1\right)\,dx\,dy.\end{equation*}
The right part of Stokes' theorem can be rewritten as
∬S(∇×F)⋅n dS=∬D[−(∂R∂y−∂Q∂z)∂g∂x−(∂P∂z−∂R∂x)∂g∂y+(∂Q∂x−∂P∂y)] dx dy.\begin{equation*}\iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS =\iint_D\Bigl[-\left(\frac{\partial R}{\partial y}-\frac{\partial Q}{\partial z}\right)\frac{\partial g}{\partial x}-\left(\frac{\partial P}{\partial z}-\frac{\partial R}{\partial x}\right)\frac{\partial g}{\partial y}+\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)\Bigr]\,dx\,dy.\end{equation*}

The boundary integral

Let γ(t)=(x(t),y(t))\gamma(t)=(x(t),y(t)), a≤t≤ba\leq t\leq b, parametrize C1C_1 in the positive direction. Its lift to SS is the corresponding positive parametrization of CC:
α(t)=(x(t),y(t),z(t)),z(t)=g(x(t),y(t)),a≤t≤b.\begin{equation*}\boldsymbol{\alpha}(t)=(x(t),y(t),z(t)),\qquad z(t)=g(x(t),y(t)),\qquad a\leq t\leq b.\end{equation*}
The chain rule gives
dzdt=∂g∂xdxdt+∂g∂ydydt.\begin{equation*}\frac{dz}{dt}=\frac{\partial g}{\partial x}\frac{dx}{dt}+\frac{\partial g}{\partial y}\frac{dy}{dt}.\end{equation*}
We can therefore evaluate the boundary integral as follows:
∮CF⋅dr=∫ab(Pdxdt+Qdydt+Rdzdt) dt=∫ab[Pdxdt+Qdydt+R(∂g∂xdxdt+∂g∂ydydt)⏟dzdt] dt=∫ab[(P+R∂g∂x)dxdt+(Q+R∂g∂y)dydt] dt=∮C1(P+R∂g∂x) dx+(Q+R∂g∂y) dy=Green’s theorem∬D[∂∂x(Q+R∂g∂y)−∂∂y(P+R∂g∂x)] dx dy.\begin{align*}\oint_C\mathbf{F}\cdot d\mathbf{r}&=\int_a^b\left(P\frac{dx}{dt}+Q\frac{dy}{dt}+R\frac{dz}{dt}\right)\,dt \\&=\int_a^b\left[P\frac{dx}{dt}+Q\frac{dy}{dt}+R\underbrace{\left(\frac{\partial g}{\partial x}\frac{dx}{dt}+\frac{\partial g}{\partial y}\frac{dy}{dt}\right)}_{\frac{dz}{dt}}\right]\,dt \\&=\int_a^b\left[\left(P+R\frac{\partial g}{\partial x}\right)\frac{dx}{dt}+\left(Q+R\frac{\partial g}{\partial y}\right)\frac{dy}{dt}\right]\,dt \\&=\oint_{C_1}\left(P+R\frac{\partial g}{\partial x}\right)\,dx+\left(Q+R\frac{\partial g}{\partial y}\right)\,dy \\&\overset{\text{Green's theorem}}{=}\iint_D\left[\frac{\partial}{\partial x}\left(Q+R\frac{\partial g}{\partial y}\right)-\frac{\partial}{\partial y}\left(P+R\frac{\partial g}{\partial x}\right)\right]\,dx\,dy.\end{align*}
The last step applies Green's theorem to the plane region DD. Expanding with the chain rule yields
∮CF⋅dr=∬D[(∂Q∂x+∂Q∂z∂z∂x+∂R∂x∂z∂y+∂R∂z∂z∂x∂z∂y+R∂2z∂x ∂y)−(∂P∂y+∂P∂z∂z∂y+∂R∂y∂z∂x+∂R∂z∂z∂y∂z∂x+R∂2z∂y ∂x)] dx dy.\begin{align*}\oint_C\mathbf{F}\cdot d\mathbf{r}&=\iint_D\Biggl[\Bigl(\frac{\partial Q}{\partial x}+\frac{\partial Q}{\partial z}\frac{\partial z}{\partial x}+\frac{\partial R}{\partial x}\frac{\partial z}{\partial y}+\cancel{\frac{\partial R}{\partial z}\frac{\partial z}{\partial x}\frac{\partial z}{\partial y}}+\cancel{R\frac{\partial^2 z}{\partial x\,\partial y}}\Bigr) \\&\qquad-\Bigl(\frac{\partial P}{\partial y}+\frac{\partial P}{\partial z}\frac{\partial z}{\partial y}+\frac{\partial R}{\partial y}\frac{\partial z}{\partial x}+\cancel{\frac{\partial R}{\partial z}\frac{\partial z}{\partial y}\frac{\partial z}{\partial x}}+\cancel{R\frac{\partial^2 z}{\partial y\,\partial x}}\Bigr)\Biggr]\,dx\,dy.\end{align*}
The two terms containing ∂R∂z\frac{\partial R}{\partial z} cancel. The two terms containing mixed second derivatives also cancel, since gg has continuous second partial derivatives and hence
∂2g∂x ∂y=∂2g∂y ∂x.\begin{equation*}\frac{\partial^2 g}{\partial x\,\partial y}=\frac{\partial^2 g}{\partial y\,\partial x}.\end{equation*}
The remaining six terms regroup into the integrand in the surface-integral formula above. Thus
∮CF⋅dr=∬S(∇×F)⋅n dS.\begin{equation*}\oint_C\mathbf{F}\cdot d\mathbf{r}=\iint_S(\nabla\times\mathbf{F})\cdot\mathbf{n}\,dS.\end{equation*}

References

  • [StewartEtAl2021]Stewart, James, Daniel K. Clegg, and Saleem Watson. Calculus: Early Transcendentals, Metric Edition. Ninth edition. Cengage, 2021.