Skip to main content

Lecture 14: Stokes' Theorem

Download the original PDF →


14.1 Introduction​

From previous topic, we have learnt that double integrals over a region in the plane can be transformed into line integrals over the boundary curve of the region and conversely. We shall now see that more generally, surface integrals over a surface SS with boundary curve CC can be transformed into line integrals over CC and conversely.

Stokes' theorem is the "curl analogue" of the divergence theorem and relates the integral of curl of a vector field over an open surface SS to the line integral of the vector field around the perimeter CC bounding the surface.

If F\mathbf{F} is a vector field existing over surface SS and around its boundary, closed curve cc, then

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}

This means that we can express a surface integral in terms of a line integral round the boundary curve.

Example 14.1​

A hemisphere SS is defined by x2+y2+z2=4x^2 + y^2 + z^2 = 4 (z≥0z \geq 0). A vector field F=2yi−xj+xzk\mathbf{F} = 2y\mathbf{i} - x\mathbf{j} + xz\mathbf{k} exists over the surface and around its boundary cc.

Verify Stokes' theorem, that

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}

Hemisphere S with boundary curve c, unit normal n̂ and surface element dS

S:x2+y2+z2−4=0F=2yi−xj+xzkc is the circle x2+y2=4\begin{aligned} S &: x^2 + y^2 + z^2 - 4 = 0 \\ \mathbf{F} &= 2y\mathbf{i} - x\mathbf{j} + xz\mathbf{k} \\ c &\text{ is the circle } x^2 + y^2 = 4 \end{aligned}
Solution

(a)

∮cF⋅dr=∫c(2yi−xj+xzk)⋅(i dx+j dy+k dz)=∫c(2y dx−x dy+xz dz)\begin{aligned} \oint_c \mathbf{F} \cdot d\mathbf{r} &= \int_c (2y\mathbf{i} - x\mathbf{j} + xz\mathbf{k}) \cdot (\mathbf{i}\,dx + \mathbf{j}\,dy + \mathbf{k}\,dz) \\ &= \int_c (2y\,dx - x\,dy + xz\,dz) \end{aligned}

Converting to polar coordinates

x=2cos⁡θ;y=2sin⁡θ;z=0x = 2\cos\theta; \qquad y = 2\sin\theta; \qquad z = 0

dx=−2sin⁡θ dθ;dy=2cos⁡θ dθ;limits θ=0 to 2πdx = -2\sin\theta\,d\theta; \qquad dy = 2\cos\theta\,d\theta; \qquad \text{limits } \theta = 0 \text{ to } 2\pi

Making the substitution and completing the integral

∮cF⋅dr=∫02π(4sin⁡θ[−2sin⁡θ dθ]−2cos⁡θ 2cos⁡θ dθ)\oint_c \mathbf{F} \cdot d\mathbf{r} = \int_0^{2\pi} \left(4\sin\theta[-2\sin\theta\,d\theta] - 2\cos\theta\,2\cos\theta\,d\theta\right)=−4∫02π(2sin⁡2θ+cos⁡2θ)dθ=−4∫02π(1+sin⁡2θ)dθ=−2∫02π(3−cos⁡2θ)dθ(1)=−2[3θ−sin⁡2θ2]02π=−12π\begin{aligned} &= -4\int_0^{2\pi} \left(2\sin^2\theta + \cos^2\theta\right) d\theta \\ &= -4\int_0^{2\pi} \left(1 + \sin^2\theta\right) d\theta = -2\int_0^{2\pi} \left(3 - \cos 2\theta\right) d\theta \qquad (1) \\ &= -2\left[3\theta - \frac{\sin 2\theta}{2}\right]_0^{2\pi} = -12\pi \end{aligned}

(b) Now we determine ∫Scurl⁡F⋅dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S}

∫Scurl⁡F⋅dS=∫Scurl⁡F⋅n^  dS\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dScurl⁡F=∣ijk∂∂x∂∂y∂∂z2y−xxz∣=i(0−0)−j(z−0)+k(−1−2)=−zj−3k\operatorname{curl} \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ 2y & -x & xz \end{vmatrix} = \mathbf{i}(0-0) - \mathbf{j}(z-0) + \mathbf{k}(-1-2) = -z\mathbf{j} - 3\mathbf{k}n=∇S∣∇S∣=2xi+2yj+2zk4x2+4y2+4z2=xi+yj+zk2\mathbf{n} = \frac{\nabla S}{|\nabla S|} = \frac{2x\mathbf{i} + 2y\mathbf{j} + 2z\mathbf{k}}{\sqrt{4x^2 + 4y^2 + 4z^2}} = \frac{x\mathbf{i} + y\mathbf{j} + z\mathbf{k}}{2}

Now

Then ∫Scurl⁡F⋅n^  dS=∫S(−zj−3k)⋅(xi+yj+zk2)dS=12∫S(−yz−3z)  dS\begin{aligned} \text{Then } \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \int_S (-z\mathbf{j} - 3\mathbf{k}) \cdot \left(\frac{x\mathbf{i} + y\mathbf{j} + z\mathbf{k}}{2}\right) dS \\ &= \frac{1}{2}\int_S (-yz - 3z) \; dS \end{aligned}

Expressing this in spherical polar coordinates and integrating, because

x=2sin⁡θcos⁡ϕ;y=2sin⁡θsin⁡ϕ;z=2cos⁡θ;dS=4sin⁡θ dθ dϕx = 2\sin\theta\cos\phi; \qquad y = 2\sin\theta\sin\phi; \qquad z = 2\cos\theta; \qquad dS = 4\sin\theta\,d\theta\,d\phi

∴∫Scurl⁡F⋅n^  dS=12∬S(−2sin⁡θsin⁡ϕ 2cos⁡θ−6cos⁡θ) 4sin⁡θ dθ dϕ=−4∫02π∫0π/2(2sin⁡2θcos⁡θsin⁡ϕ+3sin⁡θcos⁡θ)dθ dϕ=−4∫02π[2sin⁡3θsin⁡ϕ3+3sin⁡2θ2]0π/2dϕ(2)=−4∫02π(23sin⁡ϕ+32)dϕ=−12π\begin{aligned} \therefore \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \frac{1}{2}\iint_S (-2\sin\theta\sin\phi\,2\cos\theta - 6\cos\theta)\,4\sin\theta\,d\theta\,d\phi \\ &= -4\int_0^{2\pi}\int_0^{\pi/2} \left(2\sin^2\theta\cos\theta\sin\phi + 3\sin\theta\cos\theta\right) d\theta\,d\phi \\ &= -4\int_0^{2\pi} \left[\frac{2\sin^3\theta\sin\phi}{3} + \frac{3\sin^2\theta}{2}\right]_0^{\pi/2} d\phi \qquad (2) \\ &= -4\int_0^{2\pi} \left(\frac{2}{3}\sin\phi + \frac{3}{2}\right) d\phi = -12\pi \end{aligned}

So we have from our two results (1) and (2)

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}

Example 14.2​

Verify the Stokes' Theorem for F=(2x−y)i−yz2j−y2zk\mathbf{F} = (2x-y)\mathbf{i} - yz^2\mathbf{j} - y^2z\mathbf{k}, where SS is the upper half of the sphere x2+y2+z2=1x^2 + y^2 + z^2 = 1 and CC is its boundary.

Hemispherical surface and boundary for Example 14.2

Hemispherical surface and boundary for Example 14.2
Solution

The surface and boundary involved are illustrated in the above figure. We are required to show that

∮cF⋅dr=∬Scurl⁡F⋅dS\oint_c \mathbf{F} \cdot d\mathbf{r} = \iint_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S}

Since CC is a circle of unit radius in the (x,y)(x,y) plane, to evaluate ∮cF⋅dr\oint_c \mathbf{F} \cdot d\mathbf{r}, we take

x=cos⁡ϕ,y=sin⁡ϕ,x = \cos\phi, \qquad y = \sin\phi,

so that

r=cos⁡ϕ i+sin⁡ϕ j\mathbf{r} = \cos\phi\,\mathbf{i} + \sin\phi\,\mathbf{j}

giving

dr=−sin⁡ϕ dϕ i+cos⁡ϕ dϕ jd\mathbf{r} = -\sin\phi\,d\phi\,\mathbf{i} + \cos\phi\,d\phi\,\mathbf{j}

Also, on the boundary CC, z=0z = 0, so that

F=(2x−y)i=(2cos⁡ϕ−sin⁡ϕ)i\mathbf{F} = (2x-y)\mathbf{i} = (2\cos\phi - \sin\phi)\mathbf{i}

Thus,

∮cF⋅dr=∫02π(2cos⁡ϕ−sin⁡ϕ)i⋅(−sin⁡ϕ i+cos⁡ϕ j)dϕ=∫02π(−2sin⁡ϕcos⁡ϕ+sin⁡2ϕ)dϕ=∫02π[−sin⁡2ϕ+12(1−cos⁡2ϕ)]dϕ=π\begin{aligned} \oint_c \mathbf{F} \cdot d\mathbf{r} &= \int_0^{2\pi} (2\cos\phi - \sin\phi)\mathbf{i} \cdot (-\sin\phi\,\mathbf{i} + \cos\phi\,\mathbf{j}) d\phi \\ &= \int_0^{2\pi} (-2\sin\phi\cos\phi + \sin^2\phi) d\phi = \int_0^{2\pi} \left[-\sin 2\phi + \frac{1}{2}(1 - \cos 2\phi)\right] d\phi = \pi \end{aligned}curl⁡F=∣ijk∂∂x∂∂y∂∂z2x−y−yz2−y2z∣=k\operatorname{curl} \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ 2x-y & -yz^2 & -y^2z \end{vmatrix} = \mathbf{k}

The unit outward-drawn normal at a point (x,y,z)(x,y,z) on the hemisphere is given by (xi+yj+zk)(x\mathbf{i} + y\mathbf{j} + z\mathbf{k}) since x2+y2+z2=1x^2 + y^2 + z^2 = 1. Thus

∬Scurl⁡F⋅dS=∬Sk⋅(xi+yj+zk)dS=∬Sz  dS=∫02π∫0π/2cos⁡θsin⁡θ  dθ dϕ=2π[12sin⁡2θ]0π/2=π\begin{aligned} \iint_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} &= \iint_S \mathbf{k} \cdot (x\mathbf{i} + y\mathbf{j} + z\mathbf{k}) dS \\ &= \iint_S z \; dS = \int_0^{2\pi}\int_0^{\pi/2} \cos\theta\sin\theta \; d\theta\,d\phi = 2\pi\left[\frac{1}{2}\sin^2\theta\right]_0^{\pi/2} = \pi \end{aligned}

Hence ∮cF⋅dr=∬Scurl⁡F⋅dS\oint_c \mathbf{F} \cdot d\mathbf{r} = \iint_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} and Stokes' Theorem is verified.


14.2 Direction of Unit Normal Vectors to a Surface​

When we were dealing with the divergence theorem, the normal vectors were drawn in a direction outward from the enclosed region. With an open surface as we now have, there is in fact no inward or outward direction. With any general surface, a normal vector can be drawn in either of two opposite directions. To avoid confusion, a convention must therefore be agreed upon and the established rule is as follows.

Three surfaces showing the direction of the unit normal n̂ relative to the direction of integration round c

A unit normal n^\hat{\mathbf{n}} is drawn perpendicular to the surface SS at any point in the direction indicated by applying the right-handed screw sense to the direction of integration round the boundary cc. This is identical to right-hand grip rule. Having noted that point, we can now deal with the next example.

Example 14.3​

A surface consists of five sections formed by the planes x=0x=0, x=1x=1, y=0y=0, y=3y=3, z=2z=2 in the first octant. If the vector field F=yi+z2j+xyk\mathbf{F} = y\mathbf{i} + z^2\mathbf{j} + xy\mathbf{k} exists over the surface and around its boundary, verify Stokes' theorem.

A box with five sections S₁ to S₅ and boundary paths c₁ to c₄

If we progress round the boundary along c1c_1, c2c_2, c3c_3, c4c_4 in an anti-clockwise manner, the normal to the surfaces will be as shown.

We have to verify that

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}
Solution

(a) We will start off by finding ∮cF⋅dr\displaystyle \oint_c \mathbf{F} \cdot d\mathbf{r}

(1) Along c1c_1: y=0y=0; z=0z=0; dy=0dy=0; dz=0dz=0

∴∫c1F⋅dr=∫(0+0+0)=0\therefore \int_{c_1} \mathbf{F} \cdot d\mathbf{r} = \int (0 + 0 + 0) = 0

(2) Along c2c_2: x=1x=1; z=0z=0; dx=0dx=0; dz=0dz=0

∴∫c2F⋅dr=∫(0+0+0)=0\therefore \int_{c_2} \mathbf{F} \cdot d\mathbf{r} = \int (0 + 0 + 0) = 0

(3) Along c3c_3: y=3y=3; z=0z=0; dy=0dy=0; dz=0dz=0

∴∫c3F⋅dr=∫10(3 dx+0+0)=[3x]10=−3\therefore \int_{c_3} \mathbf{F} \cdot d\mathbf{r} = \int_1^0 (3\,dx + 0 + 0) = [3x]_1^0 = -3

(4) Along c4c_4: x=0x=0; z=0z=0; dx=0dx=0; dz=0dz=0

∴∫c4F⋅dr=∫(0+0+0)=0\therefore \int_{c_4} \mathbf{F} \cdot d\mathbf{r} = \int (0 + 0 + 0) = 0

∴∮cF⋅dr=0+0−3+0=−3\therefore \oint_c \mathbf{F} \cdot d\mathbf{r} = 0 + 0 - 3 + 0 = -3

∮cF⋅dr=−3\oint_c \mathbf{F} \cdot d\mathbf{r} = -3

(b) Now we have to find ∫Scurl⁡F⋅dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S}

First we need an expression for curl F\mathbf{F}.

F=yi+z2j+xyk\mathbf{F} = y\mathbf{i} + z^2\mathbf{j} + xy\mathbf{k}

curl⁡F=∇×F=∣ijk∂∂x∂∂y∂∂zyz2xy∣=i(x−2z)−j(y−0)+k(0−1)=(x−2z)i−yj−k\operatorname{curl} \mathbf{F} = \nabla \times \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ y & z^2 & xy \end{vmatrix} = \mathbf{i}(x-2z) - \mathbf{j}(y-0) + \mathbf{k}(0-1) = (x-2z)\mathbf{i} - y\mathbf{j} - \mathbf{k}

Then for each section, we obtain ∫Scurl⁡F⋅dS=∫Scurl⁡F⋅n^  dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS

(1) S1S_1 (top) n^=k\hat{\mathbf{n}} = \mathbf{k}

∫S1curl⁡F⋅n^  dS=∫S1[(x−2z)i−yj−k]⋅(k)  dS\int_{S_1} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS = \int_{S_1} [(x-2z)\mathbf{i} - y\mathbf{j} - \mathbf{k}] \cdot (\mathbf{k}) \; dS∫S1(−1) dS=−(area of S1)=−3\int_{S_1} (-1) \, dS = -(\text{area of } S_1) = -3

Then, likewise

(2) S2S_2 (right-hand end): n^=j\hat{\mathbf{n}} = \mathbf{j}

∴∫S2curl⁡F⋅n^  dS=∫S2[(x−2z)i−yj−k]⋅(j)  dS=∫S2(−y)  dS\begin{aligned} \therefore \int_{S_2} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \int_{S_2} [(x-2z)\mathbf{i} - y\mathbf{j} - \mathbf{k}] \cdot (\mathbf{j}) \; dS \\ &= \int_{S_2} (-y) \; dS \end{aligned}

But y=3y=3 for this section

∴∫S2curl⁡F⋅n^  dS=∫S2(−3) dS=(−3)(2)=−6\therefore \int_{S_2} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS = \int_{S_2} (-3) \, dS = (-3)(2) = -6

(3) S3S_3 (left-hand end): n^=−j\hat{\mathbf{n}} = -\mathbf{j}

∫S3curl⁡F⋅n^  dS=∫S3[(x−2z)i−yj−k]⋅(−j)  dS=∫S3(y)  dS\begin{aligned} \int_{S_3} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \int_{S_3} [(x-2z)\mathbf{i} - y\mathbf{j} - \mathbf{k}] \cdot (-\mathbf{j}) \; dS \\ &= \int_{S_3} (y) \; dS \end{aligned}

But y=0y=0 over S3S_3

∴∫S3curl⁡F⋅n^  dS=0\therefore \int_{S_3} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS = 0

(4) S4S_4 (front): n^=i\hat{\mathbf{n}} = \mathbf{i}

∴∫S4curl⁡F⋅n^  dS=∫S4[(x−2z)i−yj−k]⋅(i)  dS=∫S4(x−2z)  dS\begin{aligned} \therefore \int_{S_4} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \int_{S_4} [(x-2z)\mathbf{i} - y\mathbf{j} - \mathbf{k}] \cdot (\mathbf{i}) \; dS \\ &= \int_{S_4} (x-2z) \; dS \end{aligned}

but x=1x=1 over S4S_4

∴∫S4curl⁡F⋅n^  dS=∫03∫02(1−2z) dz dy=∫03[z−z2]02dy=∫03(−2)  dy=[−2y]03=−6\begin{aligned} \therefore \int_{S_4} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS &= \int_0^3\int_0^2 (1-2z)\,dz\,dy = \int_0^3 \left[z - z^2\right]_0^2 dy \\ &= \int_0^3 (-2) \; dy = [-2y]_0^3 = -6 \end{aligned}

(5) S5S_5 (back): n^=−i\hat{\mathbf{n}} = -\mathbf{i} with x=0x=0 over S5S_5

Similar working to the above gives ∫S5curl⁡F⋅n^  dS=12\displaystyle \int_{S_5} \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS = 12

Finally, collecting the five results together gives

∴∫Scurl⁡F⋅n^  dS=−3−6+0−6+12=−3\therefore \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS = -3 - 6 + 0 - 6 + 12 = -3

So, referring back to our result for section (a) we see that

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}

Example 14.4​

A surface SS consists of that part of the cylinder x2+y2=9x^2 + y^2 = 9 between z=0z=0 and z=4z=4 for y≥0y \geq 0 and the two semicircles of radius 3 in the planes z=0z=0 and z=4z=4. If F=zi+xyj+xzk\mathbf{F} = z\mathbf{i} + xy\mathbf{j} + xz\mathbf{k}, evaluate ∫Scurl⁡F⋅dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} over the surface.

Half-cylinder surface with the unit normals to its sections

The surface SS consists of three sections

(a) The curved surface of the cylinder

(b) The top and bottom semicircles

We could therefore evaluate

∫Scurl⁡F⋅dS\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S}

Over each of these separately.

Solution

However, we know by Stokes' theorem that

F=zi+xyj+xzk\mathbf{F} = z\mathbf{i} + xy\mathbf{j} + xz\mathbf{k}

∮cF⋅dr=∮c(zi+xyj+xzk)⋅(i dx+j dy+k dz)=∮c(z dx+xy dy+xz dz)\begin{aligned} \oint_c \mathbf{F} \cdot d\mathbf{r} &= \oint_c (z\mathbf{i} + xy\mathbf{j} + xz\mathbf{k}) \cdot (\mathbf{i}\,dx + \mathbf{j}\,dy + \mathbf{k}\,dz) \\ &= \oint_c (z\,dx + xy\,dy + xz\,dz) \end{aligned}

Now we can work through this easily enough, taking c1c_1, c2c_2, c3c_3, c4c_4 in turn, and summing the results which gives

∫Scurl⁡F⋅dS=∮cF⋅dr=∮c(z dx+xy dy+xz dz)\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r} = \oint_c (z\,dx + xy\,dy + xz\,dz)

(1) C1C_1: y=0y=0; z=0z=0; dy=0dy=0; dz=0dz=0

∫c1F⋅dr=∫c1(0+0+0)=0\int_{c_1} \mathbf{F} \cdot d\mathbf{r} = \int_{c_1} (0 + 0 + 0) = 0

(2) C2C_2: x=−3x=-3; y=0y=0; dx=0dx=0; dy=0dy=0

∫c2F⋅dr=∫c2(0+0−3z dz)=[−3z22]04=−24\int_{c_2} \mathbf{F} \cdot d\mathbf{r} = \int_{c_2} (0 + 0 - 3z\,dz) = \left[\frac{-3z^2}{2}\right]_0^4 = -24

(3) C3C_3: y=0y=0; z=4z=4; dy=0dy=0; dz=0dz=0

∫c3F⋅dr=∫c3(4 dx+0+0)=∫−334 dx=24\int_{c_3} \mathbf{F} \cdot d\mathbf{r} = \int_{c_3} (4\,dx + 0 + 0) = \int_{-3}^{3} 4\,dx = 24

(4) C4C_4: x=3x=3; y=0y=0; dx=0dx=0; dy=0dy=0

∫c4F⋅dr=∫c4(0+0+3z dz)=[3z22]40=−24\int_{c_4} \mathbf{F} \cdot d\mathbf{r} = \int_{c_4} (0 + 0 + 3z\,dz) = \left[\frac{3z^2}{2}\right]_4^0 = -24

There is an alternative way of solving this example. We can consider a fictitious surface enclosed by the rectangular curve C1C_1-C2C_2-C3C_3-C4C_4 (the vertical rectangular surface formed by the closed curve). This fictitious surface shares the same closed curve as the hollow half-cylinder surface. Therefore, finding ∫Scurl⁡F⋅dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} of this fictitious surface bounded by y=0y = 0, −3≤x≤3-3 \leq x \leq 3, 0≤z≤40 \leq z \leq 4, which is more straight-forward than finding the original surface integral, will also give the same answer:

curl⁡F=∣ijk∂∂x∂∂y∂∂zzxyxz∣=(1−z)j+yk\operatorname{curl} \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ z & xy & xz \end{vmatrix} = (1-z)\mathbf{j} + y\mathbf{k}

For this vertical rectangular surface, unit normal vector, n^=j\hat{\mathbf{n}} = \mathbf{j}.

∫Scurl⁡F⋅dS=∫Scurl⁡F⋅n^  dS=∫−33∫04(1−z) dz dx=∫−33[z−z22]04dx=∫−33−4  dx=−24\begin{aligned} \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} &= \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS \\ &= \int_{-3}^3\int_0^4 (1-z)\,dz\,dx \\ &= \int_{-3}^3 \left[z - \frac{z^2}{2}\right]_0^4 dx \\ &= \int_{-3}^3 -4 \; dx = -24 \end{aligned}

This alternative solution demonstrates an interesting property related to Stokes' theorem: if two or more surfaces share the same closed curve, their surface integrals (of the Stokes' theorem) give the same value.


14.3 Green's Theorem (Circulation Form)​

Green's theorem enables an integral over a plane area to be expressed in terms of a line integral round its boundary curve. Let PP and QQ be two functions of xx and yy that are, along with their first partial derivatives, finite and continuous inside and on the boundary cc of a region RR in the xx-yy plane.

A plane region R bounded by the closed curve c

If the first partial derivatives are continuous within the region and on the boundary, then Green's theorem states that

∬R(∂P∂y−∂Q∂x)dx dy=−∮c(P dx+Q dy)\iint_R \left(\frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x}\right) dx\,dy = -\oint_c (P\,dx + Q\,dy)

That is, a double integral over the plane region RR can be transformed into a line integral over the boundary cc of the region – and the action is reversible.

A plane surface S bounded by c, with the area element dS = dxdy

If PP and QQ are two single-valued functions of xx and yy, continuous over a plane surface SS, and cc is its boundary curve, then

∮c(P dx+Q dy)=∬S(∂Q∂x−∂P∂y)dx dy\oint_c (P\,dx + Q\,dy) = \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy

where the line integral is taken round cc in an anticlockwise manner. In vector terms, this becomes:

SS is a two-dimensional space enclosed by a simple closed curve cc.

RHS: dS=dx dydS = dx\,dy

dS=n^  dS=k  dx dyd\mathbf{S} = \hat{\mathbf{n}} \; dS = \mathbf{k} \; dx\,dy

If F=Pi+Qj\mathbf{F} = P\mathbf{i} + Q\mathbf{j} where P=P(x,y)P = P(x,y) and Q=Q(x,y)Q = Q(x,y), then

curl⁡F=∣ijk∂∂x∂∂y∂∂zPQ0∣=i(0−∂Q∂z)−j(0−∂P∂z)+k(∂Q∂x−∂P∂y)\operatorname{curl} \mathbf{F} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ \dfrac{\partial}{\partial x} & \dfrac{\partial}{\partial y} & \dfrac{\partial}{\partial z} \\ P & Q & 0 \end{vmatrix} = \mathbf{i}\left(0 - \frac{\partial Q}{\partial z}\right) - \mathbf{j}\left(0 - \frac{\partial P}{\partial z}\right) + \mathbf{k}\left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right)

But in the xx-yy plane, ∂Q∂z=∂P∂z=0\dfrac{\partial Q}{\partial z} = \dfrac{\partial P}{\partial z} = 0. ∴curl⁡F=k(∂Q∂x−∂P∂y)\therefore \operatorname{curl} \mathbf{F} = \mathbf{k}\left(\dfrac{\partial Q}{\partial x} - \dfrac{\partial P}{\partial y}\right)

So ∫Scurl⁡F⋅dS=∫Scurl⁡F⋅n^  dS\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \int_S \operatorname{curl} \mathbf{F} \cdot \hat{\mathbf{n}} \; dS and in the xx-yy plane, n^=k\hat{\mathbf{n}} = \mathbf{k}

∴∫Scurl⁡F⋅dS=∫Sk(∂Q∂x−∂P∂y)⋅(k) dS=∬S(∂Q∂x−∂P∂y)dx dy\therefore \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \int_S \mathbf{k}\left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) \cdot (\mathbf{k}) \, dS = \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy ∴∫Scurl⁡F⋅dS=∬S(∂Q∂x−∂P∂y)dx dy(1)\therefore \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy \qquad (1)

Now by Stokes' theorem

∫Scurl⁡F⋅dS=∮cF⋅dr\int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r}

LHS: in this case

∮cF⋅dr=∮c(Pi+Qj)⋅(i dx+j dy+k dz)=∮c(P dx+Q dy)\begin{aligned} \oint_c \mathbf{F} \cdot d\mathbf{r} &= \oint_c (P\mathbf{i} + Q\mathbf{j}) \cdot (\mathbf{i}\,dx + \mathbf{j}\,dy + \mathbf{k}\,dz) \\ &= \oint_c (P\,dx + Q\,dy) \end{aligned}

∴∮cF⋅dr=∮cP dx+Q dy(2)\therefore \oint_c \mathbf{F} \cdot d\mathbf{r} = \oint_c P\,dx + Q\,dy \qquad (2)

Therefore from (1) and (2)

Stokes' theorem ∫Scurl⁡F⋅dS=∮cF⋅dr\displaystyle \int_S \operatorname{curl} \mathbf{F} \cdot d\mathbf{S} = \oint_c \mathbf{F} \cdot d\mathbf{r} in two dimensions becomes Green's theorem

∬S(∂Q∂x−∂P∂y)dx dy=∮cP dx+Q dy\iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy = \oint_c P\,dx + Q\,dy

Example 14.5​

Verify Green's theorem for the integral ∮c[(x2+y2)dx+(x+2y)dy]\displaystyle \oint_c \left[(x^2 + y^2)dx + (x + 2y)dy\right] taken round the boundary curve cc defined by

y=00≤x≤2x2+y2=40≤x≤2x=00≤y≤2\begin{aligned} y &= 0 & 0 &\leq x \leq 2 \\ x^2 + y^2 &= 4 & 0 &\leq x \leq 2 \\ x &= 0 & 0 &\leq y \leq 2 \end{aligned}

Quarter-circle region with boundary paths c₁, c₂ and c₃

Green's theorem: ∬S(∂Q∂x−∂P∂y)dx dy=∮c(P dx+Q dy)\displaystyle \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy = \oint_c (P\,dx + Q\,dy)

Solution

In this case (x2+y2)dx+(x+2y)dy=P dx+Q dy(x^2 + y^2)dx + (x + 2y)dy = P\,dx + Q\,dy

∴P=x2+y2andQ=x+2y\therefore P = x^2 + y^2 \quad \text{and} \quad Q = x + 2y

We now take c1c_1, c2c_2, c3c_3 in turn.

(1) c1c_1: y=0y=0; dy=0dy=0

∴∫c1(P dx+Q dy)=∫02x2 dx=[x33]02=83\therefore \int_{c_1} (P\,dx + Q\,dy) = \int_0^2 x^2\,dx = \left[\frac{x^3}{3}\right]_0^2 = \frac{8}{3}

(2) c2c_2:

x2+y2=4∴y2=4−x2∴y=(4−x2)1/2x+2y=x+2(4−x2)1/2dy=12(4−x2)−1/2(−2x)dx=−x4−x2 dx\begin{aligned} x^2 + y^2 &= 4 \quad \therefore y^2 = 4 - x^2 \quad \therefore y = (4 - x^2)^{1/2} \\ x + 2y &= x + 2(4 - x^2)^{1/2} \\ dy &= \frac{1}{2}(4 - x^2)^{-1/2}(-2x)dx = \frac{-x}{\sqrt{4 - x^2}} \, dx \end{aligned}∴∫c2(P dx+Q dy)=∫c2[4+(x+24−x2)(−x4−x2)]dx=∫c2[4−2x−x24−x2]dx\begin{aligned} \therefore \int_{c_2} (P\,dx + Q\,dy) &= \int_{c_2} \left[4 + \left(x + 2\sqrt{4-x^2}\right)\left(\frac{-x}{\sqrt{4-x^2}}\right)\right] dx \\ &= \int_{c_2} \left[4 - 2x - \frac{x^2}{\sqrt{4-x^2}}\right] dx \end{aligned}

Putting x=2sin⁡θx = 2\sin\theta, 4−x2=2cos⁡θ\sqrt{4-x^2} = 2\cos\theta, dx=2cos⁡θ dθdx = 2\cos\theta\,d\theta

Limits: x=2x=2, θ=π2\theta = \dfrac{\pi}{2}; x=0\qquad x=0, θ=0\theta = 0

∴∫c2(P dx+Q dy)=∫π/20[4−4sin⁡θ−4sin⁡2θ2cos⁡θ]2cos⁡θ dθ=4[2sin⁡θ−sin⁡2θ−12(θ−sin⁡2θ2)]π/20=4[−(2−1−π4)]=π−4\begin{aligned} \therefore \int_{c_2} (P\,dx + Q\,dy) &= \int_{\pi/2}^{0} \left[4 - 4\sin\theta - \frac{4\sin^2\theta}{2\cos\theta}\right] 2\cos\theta \, d\theta \\ &= 4\left[2\sin\theta - \sin^2\theta - \frac{1}{2}\left(\theta - \frac{\sin 2\theta}{2}\right)\right]_{\pi/2}^{0} \\ &= 4\left[-\left(2 - 1 - \frac{\pi}{4}\right)\right] = \pi - 4 \end{aligned}

Finally

(3) c3c_3: x=0x=0; dx=0dx=0

∴∫c3(P dx+Q dy)=∫202y dy=[y2]20=−4\therefore \int_{c_3} (P\,dx + Q\,dy) = \int_2^0 2y \, dy = \left[y^2\right]_2^0 = -4

Therefore, collecting our three partial results

∮c(P dx+Q dy)=83+π−4−4=π−163\oint_c (P\,dx + Q\,dy) = \frac{8}{3} + \pi - 4 - 4 = \pi - \frac{16}{3}

That is one part done. Now we have to evaluate ∬S(∂Q∂x−∂P∂y)dx dy\displaystyle \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy

P=x2+y2∴∂P∂y=2yP = x^2 + y^2 \qquad \therefore \frac{\partial P}{\partial y} = 2y

Q=x+2y∴∂Q∂x=1Q = x + 2y \qquad \therefore \frac{\partial Q}{\partial x} = 1

∬S(∂Q∂x−∂P∂y)dx dy=∬S(1−2y) dy dx\iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy = \iint_S (1 - 2y) \, dy\,dx

It will be more convenient to work in polar coordinates, so we make the substitutions

x=rcos⁡θ;y=rsin⁡θ;dS=dx dy=r dr dθx = r\cos\theta; \qquad y = r\sin\theta; \qquad dS = dx\,dy = r\,dr\,d\theta

∴∬S(∂Q∂x−∂P∂y)dx dy=∫0π/2∫02(1−2rsin⁡θ) r dr dθ=∫0π/2[r22−2r33sin⁡θ]02dθ=∫0π/2[2−163sin⁡θ]dθ=[2θ+163cos⁡θ]0π/2=π−163\begin{aligned} \therefore \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy &= \int_0^{\pi/2}\int_0^2 (1 - 2r\sin\theta) \, r \, dr \, d\theta \\ &= \int_0^{\pi/2} \left[\frac{r^2}{2} - \frac{2r^3}{3}\sin\theta\right]_0^2 d\theta \\ &= \int_0^{\pi/2} \left[2 - \frac{16}{3}\sin\theta\right] d\theta = \left[2\theta + \frac{16}{3}\cos\theta\right]_0^{\pi/2} = \pi - \frac{16}{3} \end{aligned}

So we have established once again that

∮c(P dx+Q dy)=∬S(∂Q∂x−∂P∂y)dx dy\oint_c (P\,dx + Q\,dy) = \iint_S \left(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\right) dx\,dy