Section 5.8 Stokes' theorem
Step 6, part 2: we continue our study of integration of exact two-forms. But this time we consider surface integrals, that is integrals of exact two-forms over parametric surfaces. The result is Stokes' theorem.
Objectives
You should be able to:
State Stokes' theorem for integrals of exact two-forms over parametric surfaces in \(\mathbb{R}^3\text{.}\)
Rephrase Stokes' theorem in terms of the associated vector fields.
Show that Stokes' theorem implies that the integral of an exact two-form over a closed surface in \(\mathbb{R}^3\) vanishes.
Use Stokes' theorem to evaluate surface integrals of exact two-forms.
Use Stokes' theorem to evaluate line integrals of one-forms over closed curves in \(\mathbb{R}^3\text{.}\)
Use Stokes' theorem and its consequences to show that a given two-form cannot be exact.
Subsection 5.8.1 Stoke's theorem
In the previous section we studied integrals of exact two-forms over bounded regions in \(\mathbb{R}^2\text{.}\) We now look at surface integrals of exact two-forms over parametric surfaces in \(\mathbb{R}^3\text{.}\)
As in the previous section, we start by recalling the corresponding statement for curves, which we first studied in Theorem 3.4.1, and revisited in Theorem 5.1.8. Without getting into the details again, the key statement is that the integral of an exact one-form \(\omega = d f\) over a parametric curve \(\alpha\) satisfies the property
which is the Fundamental Theorem of line integrals rewritten using integrals of zero-forms. The integral on the left-hand-side is a line integral along the oriented parametric curve \(\alpha\text{,}\) while on the right-hand-side we have the integral of the zero-form \(f\) over the oriented boundary \(\partial \alpha\) of the parametric curve \(\alpha\text{.}\)
Looking back at Theorem 3.4.1, the proof of the Fundamental Theorem of line integrals basically amounted to pulling back to the interval \([a,b]\) using the definition of line integrals, and then using the Fundamental Theorem of Calculus. We now do the same thing for surface integrals: we pull back to the region \(D\) and then use Green's theorem. The result is known as Stokes' theorem.
Theorem 5.8.1. Stokes' theorem.
Let \(\eta\) be a one-form on an open subset \(U \subseteq \mathbb{R}^3\text{,}\) and \(\alpha: D \to \mathbb{R}^3\) a parametric surface whose image \(S = \alpha(D) \subset U\) is orientable and oriented by the parametrization. Let \(\partial \alpha\) be the boundary of the surface \(S\) with its induced orientation, as in Definition 5.5.5 (if the image surface is closed, \(\partial \alpha\) is the empty set). Then the integral of the exact two-form \(d \eta\) along the parametric surface \(\alpha\) can be evaluated as:
In other words, the surface integral of the exact two-form \(\omega = d \eta\) along the parametric surface \(\alpha\) is equal to the line integral of the one-form \(\eta\) along its oriented boundary curve.
Proof.
Stokes' theorem pretty much follows from Green's theorem by pullback. More precisely, by definition of the surface integral,
We know that the exterior derivative commutes with pullback, see Lemma 4.7.4: \(\alpha^* (d \eta) = d(\alpha^*\eta)\text{.}\) So we can rewrite the surface integral as:
This is now the integral of the exact two-form \(d(\alpha^* \eta)\) over a closed bounded region \(D\text{.}\) By Green's theorem, Theorem 5.7.1, we know that
where on the right-hand-side we have a line integral of the one-form \(\alpha^* \eta\) along the boundary of the closed region \(D \subset \mathbb{R}^2\text{.}\)
We are almost done, but not quite: the last step is actually quite subtle. We would like to say that
If the parametrization \(\alpha\) is injective everywhere, then it maps the boundary \(\partial D\) one-to-one to the boundary \(\partial S\text{,}\) and so this equality follows from the definition of line integrals, thinking of \(\alpha\) restricted to the boundary \(\partial D\) as a parametric curve (or a union of parametric curves). However, in general, it is a little more subtle; as we remarked in Remark 5.4.3, \(\partial S \subseteq \alpha(\partial D)\text{,}\) but the two are not necessarily equal. 1 The general proof is beyond the scope of these notes. In any case, the conclusion would be that
which is the statement of Stokes' theorem.
Just as for the Fundamental Theorem of line integrals, there are two direct consequences of Stokes' theorem. First, the integrals of an exact two-form over two surfaces \(S_1\) and \(S_2\) that share the same oriented boundary are equal (this statement for surface integrals is analogous to path independence for line integrals of exact one-forms). Second, the integral of an exact two-form along a closed surface is zero (this statement for surface integrals is analogous to the statement that the line integral of an exact one-form along a closed curve vanishes). We state those as the following corollaries.
Corollary 5.8.2. The surface integrals of an exact two-form along two surfaces that share the same oriented boundary are equal.
Let \(\eta\) be a one-form on \(U \subseteq \mathbb{R}^3\text{.}\) If \(\alpha: D_1 \to \mathbb{R}^3\) and \(\beta: D_2 \to \mathbb{R}^3\) are two parametric surfaces whose image surfaces \(S_1 = \alpha(D_1) \subset U\) and \(S_2 = \beta(D_2) \subset U\) share the same boundary \(\partial S_1 = \partial S_2\text{,}\) with the same induced orientation, then
Corollary 5.8.3. The surface integral of an exact two-form along a closed surface vanishes.
Let \(\eta\) be a one-form on \(U \subseteq \mathbb{R}^3\text{.}\) If \(\alpha: D \to \mathbb{R}^3\) is a parametric surface whose image surface \(S = \alpha(D) \subset U\) is closed (that is, it has no boundary, which means that it is itself the boundary of a volume), then
Remark 5.8.4.
We can read Stokes' theorem in two ways, just like Green's theorem.
The integral of an exact two-form \(\omega = d \eta\) over the parametric surface \(\alpha: D \to \mathbb{R}^3\) is equal to the line integral of the one-form \(\eta\) over the oriented boundary \(\partial \alpha\) of the parametric surface.
The integral of a one-form \(\eta\) over a closed oriented simple curve \(\partial S\) in \(\mathbb{R}^3\) is equal to the surface integral of its exterior derivative \(d \eta\) over any surface \(S \subset \mathbb{R}^3\) whose boundary is \(\partial S\text{,}\) with the appropriate orientation.
These two different readings highlight the two different types of applications of Stokes' theorem: either to calculate surface integrals via the first reading, or to calculate line integrals via the second reading. We note that Corollary 5.8.2 can also be useful computationally, to replace a complicated surface integral by an easier one.
Example 5.8.5. Using Stokes' theorem to evaluate a surface integral by transforming it into a line integral.
Use Stokes' theorem to evaluate the surface integral of the two-form \(\omega = 2 z \ dy \wedge dz + \ dx \wedge dy\) along the part of the sphere \(x^2+y^2+z^2 = 25\) that is above the plane \(z=3\text{,}\) with orientation given by an outwards pointing normal vector.
The surface is shown in the following figure:
To start with, for Stokes' theorem to apply, the two-form \(\omega = 2 z\ dy \wedge dz + \ dx \wedge dy\) must be exact. But it easy to see that
and thus \(\omega\) is exact.
The boundary \(\partial S\) of the surface is the intersection of the sphere \(x^2+y^2+z^2=25\) and the plane \(z=3\text{.}\) Setting \(z=3\) in the equation of the sphere, we get the equation of the circle \(x^2+y^2 = 25-9 = 16\text{.}\) The boundary is thus the circle \(x^2+y^2=16\) in the plane \(z=3\text{.}\) Since we orient the sphere with an outwards pointing normal vector, we see that must walk counterclockwise along the circle, with our heads pointing outside the sphere, to keep the region on our left. Therefore, the oriented boundary is the circle \(x^2+y^2=16\) in the plane \(z=3\) with counterclockwise orientation. Stokes' theorem then tells us that
To evaluate the line integral on the right-hand-side we parametrize the oriented boundary with \(\alpha: [0,2\pi] \to \mathbb{R}^3\text{,}\)
We calculate the pullback of the one-form \(\eta\text{:}\)
The line integral is then:
where we used the fact that \(\int_0^{2 \pi} \cos(\theta) = 0\) and \(\int_0^{2 \pi} \cos^2(\theta) = \pi\text{.}\)
Therefore, by Stokes' theorem, we conclude that
Example 5.8.7. Using Stokes' theorem to evaluate a surface integral by using a simpler surface.
Let us consider the same integral as in the previous example, Example 5.8.5. That is, we want to evaluate the surface integral of the two-form \(\omega = 2 z \ dy \wedge dz + \ dx \wedge dy\) along the part of the sphere \(x^2+y^2+z^2 = 25\) that is above the plane \(z=3\text{,}\) with orientation given by an outwards pointing normal vector.
We can use Stokes' theorem in a different way to evaluate this surface integral. Since we know that the two-form is exact (as \(\omega = d \eta\) with \(\eta = (x-z^2)\ du\)), we know that its surface integral along any two surfaces \(S\) and \(S'\) that share the same oriented boundary are equal. So instead of integrating over the part of the sphere above the \(z=3\) plane, we could replace this surface by a simpler surface that shares the same boundary, which in this case is the circle \(x^2+y^2=16\) in the plane \(z=3\text{,}\) as we saw in Example 5.8.5. In particular, we could take the surface \(S'\) to be the disk \(x^2+y^2 \leq 16\) in the plane \(z=3\text{,}\) with orientation given by a normal vector pointing upwards. By Stokes' theorem, we know that
so we can evaluate the surface integral over the oriented disk instead.
To do so, we parametrize the disk by \(\alpha: D \to \mathbb{R}^3\text{,}\) with
and
It is easy to see that the normal vector \(\mathbf{n} = \mathbf{T}_r \times \mathbf{T}_\theta\) points upwards, as required. We calculate the pullback two-form:
The surface integral is then:
Fortunately, this is the same answer that we found in Example 5.8.5, as it should!
Example 5.8.8. Using Stokes' theorem to evaluate a line integral by transforming it into a surface integral.
Use Stokes' theorem to evaluate the line integral of the one-form \(\omega = x y\ dx + y z\ dy + z^4 \ dz\) over the curve \(C\) that forms the boundary of the part of the paraboloid \(z = 1 - x^2 - y^2\) with \(x \geq 0\text{,}\) \(y \geq 0\text{,}\) \(z \geq 0\text{.}\) Assume that \(C\) is given the orientation as moving from the \(x\)-axis to the \(y\)-axis to the \(z\)-axis.
It may be hard to visualize the curve and the region at first. A picture is worth a thousand words. Here is a figure representing the part of the paraboloid \(z = 1 - x^2 - y^2\) with \(x \geq 0\text{,}\) \(y \geq 0\text{,}\) \(z \geq 0\text{.}\)
We want to evaluate the line integral of \(\omega\) along the boundary \(C\) of this region. We could evaluate the line integral directly. Or we can use Stokes' theorem, which says that
where \(S\) is the part of the paraboloid described above. We need to be careful with orientation here. We assume that \(C\) is oriented going from \(x\) to \(y\) to \(z\text{.}\) Looking at the figure, we see that if we walk along the boundary curve in this direction, to keep the surface on the left we must have our heads pointing away from the origin. So the surface \(S\) should be oriented with a normal vector pointing in that direction.
To evaluate the surface integral of \(d \omega\) along \(S\text{,}\) we first calculate the exterior derivative. We get:
Next, we parametrize the surface \(S\) as \(\alpha: D \to \mathbb{R}^3\text{,}\) with
and
The region \(D\) was chosen such that \(x(r,\theta), y(r,\theta), z(r,\theta) \geq 0\) on \(D\text{.}\) Thus it covers the part of the paraboloid that we are interested in.
The normal vector is
As its \(z\)-component is positive, we see that it points away from the origin, as it should. So the orientation induced by the parametrization is the correct one.
Finally, we calculate the pullback of the two-form \(d \omega\text{:}\)
We then evaluate the surface integral:
Therefore, by Stokes' theorem, the lintegral of \(\omega\) along \(C\) is
It is a good exercise to evaluate the line integral directly along the boundary curve (which you will need to split into three parametric curves). You should get the same answer \(-7/12\text{.}\) And, as complicated as the calculation above looked, it is actually simpler than calculating the line integral directly!
Remark 5.8.10.
We can also use Stokes' theorem to show that a two-form is not exact, by showing that its surface integral along a closed surface does not vanish. This is similar to what we did for one-forms using the Fundamental Theorem of line integrals, see Exercise 3.4.3.2 (and also Exercise 5.7.3.5 ). We use Stokes' theorem in this way in Exercise 5.8.3.5 for the two-form in Remark 4.6.6.
Subsection 5.8.2 Stokes' theorem in terms of vector fields
As usual we translate Stokes' theorem in terms of the associated vector fields, as in Corollary 5.6.5.
Theorem 5.8.11. Stokes' theorem for vector fields.
Let \(\mathbf{F}\) be a smooth vector field on \(U \subseteq \mathbb{R}^3\text{.}\) Let \(\alpha: D \to \mathbb{R}^3\) be a parametric surface whose image surface \(S = \alpha(D) \subset U\) is orientable and oriented by parametrization, with oriented boundary \(\partial \alpha\text{.}\) Then Stokes' theorem is the statement that
where on the left-hand-side we used the shorthand notation introduced in Remark 5.6.6 to denote the surface integral of the vector field \(\boldsymbol{\nabla} \times \mathbf{F}\) along the oriented parametric surface \(S\text{,}\) and on the right-hand-side we use the shorthand notation from Remark 3.3.8 to denote the line integral of the vector field \(\mathbf{F}\) along the oriented boundary curve \(\partial S\) parametrized by \(\mathbf{r}\text{.}\)
From Corollary 5.8.2 and Corollary 5.8.3, we conclude that:
The surface integral of the curl of a vector field is the same for any two surfaces that share the same oriented boundary.
The surface integral of the curl of a vector field along a closed surface always vanishes.
As before, we can use Stokes' theorem in both directions. For instance, if we are interested in calculating the line integral of a vector field along a closed curve in \(\mathbb{R}^3\) (say, to calculate the work done by a force field on an object moving along the closed curve), then we can use Stokes' theorem, which tells us that that the line integral is equal to the surface integral of the curl of the vector field on any surface whose boundary is the closed curve. In particular, we are free to choose a surface that is simple enough so that the resulting surface integral is easy to evaluate.
Exercises 5.8.3 Exercises
1.
Let \(S\) be the part of the cone \(z=2 \sqrt{x^2+y^2}\) below the plane \(x+z=1\text{,}\) oriented with an upward normal vector. Let \(S'\) be the part of the plane \(x+z=1\) contained within the cone \(z=2 \sqrt{x^2+y^2}\text{,}\) also oriented with an upward normal vector. Let \(\eta\) be the one-form
Use Stokes' theorem to show that
First, the oriented boundary of \(S\) is the closed curve at the intersection of the cone \(z = 2 \sqrt{x^2+y^2}\) and the plane \(x+z=1\text{,}\) oriented counterclockwise (looking from above). We notice that the boundary of \(S'\) is exactly the same. Therefore, by Stokes' theorem, we know that
So we may as well evaluate the integral of \(d \eta\) along the surface \(S'\text{,}\) which lies within the plane \(x+z=1\text{.}\)
To do so, we need to evaluate the exterior derivative \(d \eta\text{.}\) We get:
To evaluate the surface integral \(\int_{S'} d \eta\text{,}\) we would need to parametrize the surface \(S'\text{,}\) pullback \(d \eta\text{,}\) and evaluate the integral as a double integral. However, we can show that the integral will be zero right away without going through the whole calculation. Indeed, when we pullback \(d \eta\) by the parametrization, we need to evaluate its component function on the surface. But the surface \(S'\) lies within the plane \(x+z=1\text{,}\) and we see right away that the component function vanishes when \(x+z-1\text{.}\) In other words, the two-form \(d \eta = 0 \) when restricted to the plane \(x+z=1 \text{.}\) So it will certainly vanish on \(S'\text{.}\) Therefore, we can conclude right away that
and, by Stokes' theorem,
2.
Consider the force field
Use Stokes' theorem to find the work done by the force field when moving an object counterclockwise along the circle \(x^2+y^2=4\) in the plane \(z=10\text{.}\)
Let \(\partial S\) be the circle \(x^2+y^2=4\) in the plane \(z=10\) with counterclockwise orientation, and let \(S\) be the disk \(x^2+y^2 \leq 4\) within the plane \(z=10\text{,}\) with orientation given by an upward pointing normal vector. By Stokes' theorem, we know that
So instead of evaluating the line integral of \(\mathbf{F}\) along \(\partial S\text{,}\) we can evaluate the surface integral of the curl of \(\mathbf{F}\) along \(S\text{.}\)
First, we calculate the curl of \(\mathbf{F}\text{.}\) We get:
To calculate the surface integral, we need to parametrize the surface \(S\text{.}\) We use the following parametrization: \(\alpha:D \to \mathbb{R}^3\text{,}\) with
with
The tangent vectors are
The normal vector is
which points upward as required. Therefore, the surface integral is
Therefore, by Stokes' theorem we conclude that the work done by the force field when moving an object counterclockwise along the circle \(\partial S\) is \(8 \pi\text{.}\)
3.
Let \(S\) be the surface consisting of the top and the four sides (but not the bottom) of the cube with vertices \((\pm 1, \pm 1, \pm 1)\) in \(\mathbb{R}^3\text{,}\) with orientation given by an outward pointing normal vector, and \(\mathbf{F}\) the vector field
Use Stokes' theorem to evaluate the surface integral
We can use Stokes' theorem in two different ways here: either to rewrite the surface integral as a line integral, or to rewrite it as a surface integral over a simpler surface. For completeness I will do it both ways.
First, we can use Stokes' theorem to rewrite the surface integral as a line integral. Let us do this first. We notice that the boundary curve \(\partial S\) of the surface \(S\) is the square with vertices \((\pm 1, \pm 1, -1 )\text{,}\) since the bottom side of the cube is not included in \(S\text{.}\) The induced orientation on the boundary amounts to moving counterclockwise along the square, as seen from above. Thus, by Stokes' theorem, we know that
where the right-hand-side is the line integral of the vector field \(\mathbf{F}\) along the square with counterclockwise orientation.
To evaluate the line integral, we split the square into four line segments \(L_i\text{,}\) \(i=1,\ldots,4\text{.}\) We parametrize the line segments by \(\alpha_i: [0,1] \to \mathbb{R}^3\) with
We calculate the tangent vectors:
We finally evaluate the line integrals:
Adding up these four line integrals, we get \(-4\text{.}\) We conclude, by Stokes' theorem, that the surface integral
Another approach would have been to use Stokes' theorem to rewrite the surface integral as a simpler surface integral. For instance we could have replaced the surface \(S\) by the missing side of the cube (namely the bottom), as it shares the same boundary with \(S\text{.}\) Let us call the bottom side of the cube \(S'\text{.}\) If we give it an upward pointing normal vector, it induces the same orientation on the boundary as \(S\text{.}\) Thus, by Stokes' theorem,
To evaluate the integral on the right-hand-side, we first calculate the curl of \(\mathbf{F}\text{.}\) We get:
Next, we need to parametrize \(S'\text{,}\) which is the square with vertices \((\pm 1, \pm 1, -1)\text{.}\) We write \(\alpha: D \to \mathbb{R}^3\) with
and
The tangent vectors are
with normal vector
This is the correct orientation. We thus have
The same answer as before!
4.
Let \(C \subset \mathbb{R}^2\) be a simple closed curve, and \(D \subset \mathbb{R}^2\) the region consisting of \(C\) and its interior. Let \(\alpha:D \to \mathbb{R}^3\) be the parametric surface
with \(S = \alpha(D)\) and \(\partial S\) the boundary curve of \(S\text{.}\) Let \(\eta\) be the one-form
Use Stokes' theorem to show that the line integral of \(\eta\) along \(\partial S\) is equal to the area of the region \(D \subset \mathbb{R}^2\text{.}\)
First, by Stokes' theorem we know that
with the orientation induced by the parametrization. To evaluate the integral on the right-hand-side, we calculate the exterior derivative:
We calculate its pullback:
Therefore, the surface integral becomes
which is simply the area of the region \(D\text{.}\) We then conclude, by Stokes' theorem, that the line integral of \(\eta\) along \(\partial S\) is equal to the area of the region \(D\text{.}\)
5.
Consider the two-form
from Remark 4.6.6. It is defined on \(U = \mathbb{R}^3 \setminus \{ (0,0,0) \}\text{.}\)
Show that \(\omega\) is closed, that is, \(d \omega = 0\text{.}\)
Show that \(\omega\) is not exact by showing that the surface integral of \(\omega\) along the sphere \(x^2+y^2+z^2 = 1\) is non-zero.
Does that contradict Poincare's theorem for two-forms?
(a) To show that it is closed, we calculate the exterior derivative. We get:
Therefore, \(\omega\) is closed.
(b) In fact, we already did such a surface integral in Exercise 5.6.4.5, but for completeness we redo it here. We parametrize the sphere as always with spherical coordinates, \(\alpha: D \to \mathbb{R}^3\text{,}\)
and
The pullback of \(\omega\) is:
We finally calculate the surface integral:
The result is certainly non-zero!
As the surface integral of \(\omega\) along the sphere is non-zero, we conclude that \(\omega\) cannot be exact, since we know from Stokes' theorem that the surface of integral of an exact two-form along a closed surface must vanish.
(c) We have shown that \(\omega\) is a closed two-form that is not exact. But it does not contradict the statement of Poincare's lemma for two-forms, see Theorem 4.6.4, since \(\omega\) is not defined on all of \(\mathbb{R}^3\text{;}\) it is not defined at the origin. It also does not contradict version II of Poincare's lemma that we saw in Theorem 4.6.5, since \(\omega\) is also not defined on an open ball (the origin is missing).
6.
Let \(\mathbf{F}\) be a smooth vector field on \(\mathbb{R}^3\) and \(f\) a smooth function on \(\mathbb{R}^3\text{.}\) Let \(\alpha: D \to \mathbb{R}^3\) be a parametric surface. Show that
The key here is recall some of the vector calculus identities that we encountered previously. From Lemma 4.4.9, we know that
From the point of view of differential forms, this identity follows from the graded product rule for the exterior derivative.
Using this identity, we can write:
The second term on the right-hand-side is the surface integral of the curl of the vector field \(f \mathbf{F}\text{.}\) Using Stokes' theorem, we can rewrite it as a line integral:
Therefore, we conclude that