Artificial Intelligence 🤖
Stokes' theorem

Stokes' theorem

Stokes' theorem can be thought of as a generalisation of Green's theorem in higher dimension. While Green's theorem relates a line integral to a double integral over some region R\mathcal{R}, Stokes' theorem relates a line integral to a surface integral with the help of the curl.

Consider an open surface S\mathcal{S} enclosed by a simple, closed, positively-oriented curve C\mathcal{C}, as shown in Fig. 2.14,

Figure 2.14: The curve C\mathcal{C} is a closed curve which forms the boundary of a surface S\mathcal{S}.

Stokes' theorem

Let S\mathcal{S} be a an open surface whose edge is bounded by a simple, closed, positively-oriented curve C\mathcal{C}. Then,

CFdr=ScurlFdS.\oint_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r}=\iint_{\mathcal{S}} \operatorname{curl} \boldsymbol{F} \cdot d \boldsymbol{S} .

Note that the theorem can be useful in either direction. Sometimes the line integral is easier to evaluate than the surface integral, sometimes the other way around.

Figure 2.15: Sketch of the surface S\mathcal{S} given by f(x,y,z)=0f(x, y, z)=0 where f(x,y,z)=f(x, y, z)= z+x2+y25z+x^{2}+y^{2}-5 above the plane z=1z=1 for Example 2.17. The boundary curve C\mathcal{C} is where the surface intersects with the plane z=1z=1, shown by the red curve. Example 2.17 Use Stokes' theorem to evaluate ScurlFdS\iint_{\mathcal{S}} \operatorname{curl} \boldsymbol{F} \cdot d \boldsymbol{S} where the vector field F\boldsymbol{F} is given by F=(z2,3xy,x3y3)\boldsymbol{F}=\left(z^{2},-3 x y, x^{3} y^{3}\right) and S\mathcal{S} is given by f(x,y,z)=0f(x, y, z)=0, where f(x,y,z)=z+x2+y25f(x, y, z)=z+x^{2}+y^{2}-5, and above the plane z=1z=1.

Solution A sketch of the surface is shown in Fig. 2.15. The boundary curve C\mathcal{C} is where the curve f=0f=0 and the plane z=1z=1 intersect. With f=0f=0, we have z=5x2y2z=5-x^{2}-y^{2} and intersection with z=1z=1 gives:

x2+y2=4.x^{2}+y^{2}=4 .

This implies that the curve C\mathcal{C} is the circle centered at the origin with radius 2 that lies on the plane z=1z=1 (as shown in Fig. 2.15). We can therefore use the following parametrisation: x=2cost,y=2sintx=2 \cos t, y=2 \sin t and z=1z=1 to describe the position vector r(t)\boldsymbol{r}(t) :

r(t)=(2cost,2sint,1),0t2π.\boldsymbol{r}(t)=(2 \cos t, 2 \sin t, 1), 0 \leq t \leq 2 \pi .

We use Stokes' theorem [Eq. (2.129)] from right to left to evaluate the surface integral. In combination with Eq. (2.56), we have:

ScurlFdS=CFdr=02πF(r(t))r(t)dt.\iint_{\mathcal{S}} \operatorname{curl} \boldsymbol{F} \cdot d \boldsymbol{S}=\oint_{\mathcal{C}} \boldsymbol{F} \cdot d \boldsymbol{r}=\int_{0}^{2 \pi} \boldsymbol{F}(\boldsymbol{r}(t)) \cdot \boldsymbol{r}^{\prime}(t) d t .

To compute the integral we need to evaluate the vector field F\boldsymbol{F} at r(t)\boldsymbol{r}(t) and compute the derivative of the parametrisation, r\boldsymbol{r}^{\prime}. Using the components of the parametrisation as given above, yields:

F(r)=(1,3(2cost)(2sint),(2cost)3(2sint)3)=(1,12costsint,64cos3tsin3t).\begin{aligned} \boldsymbol{F}(\boldsymbol{r}) & =\left(1,-3(2 \cos t)(2 \sin t),(2 \cos t)^{3}(2 \sin t)^{3}\right) \\ & =\left(1,-12 \cos t \sin t, 64 \cos ^{3} t \sin ^{3} t\right) . \end{aligned}

And, differentiating Eq. (2.131) with respect to tt gives:

r(t)=(2sint,2cost,0).\boldsymbol{r}^{\prime}(t)=(-2 \sin t, 2 \cos t, 0) .

The dot product F(r(t))r(t)\boldsymbol{F}(\boldsymbol{r}(t)) \cdot \boldsymbol{r}^{\prime}(t) is:

F(r(t))r(t)=2sint24cos2tsint.\boldsymbol{F}(\boldsymbol{r}(t)) \cdot \boldsymbol{r}^{\prime}(t)=-2 \sin t-24 \cos ^{2} t \sin t .

Finally, the integral is:

ScurlFdS=02π2sint24cos2tsintdt.=[2cost+8cos3t]02π=0.\begin{aligned} \iint_{\mathcal{S}} \operatorname{curl} \boldsymbol{F} \cdot d \boldsymbol{S} & =\int_{0}^{2 \pi}-2 \sin t-24 \cos ^{2} t \sin t d t . \\ & =\left[2 \cos t+8 \cos ^{3} t\right]_{0}^{2 \pi} \\ & =0 . \end{aligned}

Applications of Stokes' theorem

We end this section by giving an application of Stokes' theorem in addition to the example give above of evaluating integrals. The theorem can also be used to prove other important theorems which find application in various physical settings. In particular we will use the theorem to show that an irrotational vector field is conservative.

Suppose we have a vector field u\boldsymbol{u}. In Subsec. 2.2.4, we mentioned that an irrotational vector field has zero curl (i.e. the vorticity is zero). This is given by curl u=×u=0\boldsymbol{u}=\nabla \times \boldsymbol{u}=0. For any closed curve C\mathcal{C}, with an irrotational vector field u\boldsymbol{u}, by Stokes' theorem [Eq. (2.129)], we have:

S×udS=Cudr=0.\iint_{\mathcal{S}} \nabla \times \boldsymbol{u} \cdot d \boldsymbol{S}=\oint_{\mathcal{C}} \boldsymbol{u} \cdot d \boldsymbol{r}=0 .

for a surface S\mathcal{S} bounded by C\mathcal{C}. Now, by Eq. (2.70), Eq. (2.134) implies that any irrotational vector field is conservative.