### Learning Objectives

- 6.7.1 Explain the meaning of Stokes’ theorem.
- 6.7.2 Use Stokes’ theorem to evaluate a line integral.
- 6.7.3 Use Stokes’ theorem to calculate a surface integral.
- 6.7.4 Use Stokes’ theorem to calculate a curl.

In this section, we study Stokes’ theorem, a higher-dimensional generalization of Green’s theorem. This theorem, like the Fundamental Theorem for Line Integrals and Green’s theorem, is a generalization of the Fundamental Theorem of Calculus to higher dimensions. Stokes’ theorem relates a vector surface integral over surface *S* in space to a line integral around the boundary of *S*. Therefore, just as the theorems before it, Stokes’ theorem can be used to reduce an integral over a geometric object *S* to an integral over the boundary of *S*.

In addition to allowing us to translate between line integrals and surface integrals, Stokes’ theorem connects the concepts of curl and circulation. Furthermore, the theorem has applications in fluid mechanics and electromagnetism. We use Stokes’ theorem to derive Faraday’s law, an important result involving electric fields.

### Stokes’ Theorem

Stokes’ theorem says we can calculate the flux of curl **F** across surface *S* by knowing information only about the values of **F** along the boundary of *S*. Conversely, we can calculate the line integral of vector field **F** along the boundary of surface *S* by translating to a double integral of the curl of **F** over *S*.

Let *S* be an oriented smooth surface with unit normal vector **N**. Furthermore, suppose the boundary of *S* is a simple closed curve *C*. The orientation of *S* induces the positive orientation of *C* if, as you walk in the positive direction around *C* with your head pointing in the direction of **N**, the surface is always on your left. With this definition in place, we can state Stokes’ theorem.

### Theorem 6.19

#### Stokes’ Theorem

Let *S* be a piecewise smooth oriented surface with a boundary that is a simple closed curve *C* with positive orientation (Figure 6.79). If **F** is a vector field with component functions that have continuous partial derivatives on an open region containing *S*, then

Suppose surface *S* is a flat region in the *xy*-plane with upward orientation. Then the unit normal vector is **k** and surface integral $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}}\xb7d\text{S$ is actually the double integral $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}}\xb7\text{k}dA.$ In this special case, Stokes’ theorem gives ${\int}_{C}\text{F}\xb7d\text{r}}={\displaystyle {\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{k}dA.$ However, this is the circulation form of Green’s theorem, which shows us that Green’s theorem is a special case of Stokes’ theorem. Green’s theorem can only handle surfaces in a plane, but Stokes’ theorem can handle surfaces in a plane or in space.

The complete proof of Stokes’ theorem is beyond the scope of this text. We look at an intuitive explanation for the truth of the theorem and then see proof of the theorem in the special case that surface *S* is a portion of a graph of a function, and *S*, the boundary of *S,* and **F** are all fairly tame.

#### Proof

First, we look at an informal proof of the theorem. This proof is not rigorous, but it is meant to give a general feeling for why the theorem is true. Let *S* be a surface and let *D* be a small piece of the surface so that *D* does not share any points with the boundary of *S*. We choose *D* to be small enough so that it can be approximated by an oriented square *E*. Let *D* inherit its orientation from *S*, and give *E* the same orientation. This square has four sides; denote them ${E}_{l},$ ${E}_{r},$ ${E}_{u},$ and ${E}_{d}$ for the left, right, up, and down sides, respectively. On the square, we can use the flux form of Green’s theorem:

To approximate the flux over the entire surface, we add the values of the flux on the small squares approximating small pieces of the surface (Figure 6.80). By Green’s theorem, the flux across each approximating square is a line integral over its boundary. Let *F* be an approximating square with an orientation inherited from *S* and with a right side ${E}_{l}$ (so *F* is to the left of *E*). Let ${F}_{r}$ denote the right side of $F$; then, ${E}_{l}=\text{\u2212}{F}_{r}.$ In other words, the right side of $F$ is the same curve as the left side of *E*, just oriented in the opposite direction. Therefore,

As we add up all the fluxes over all the squares approximating surface *S*, line integrals $\int}_{{E}_{l}}\text{F}\xb7d\text{r$ and $\int}_{{F}_{r}}\text{F}\xb7d\text{r$ cancel each other out. The same goes for the line integrals over the other three sides of *E*. These three line integrals cancel out with the line integral of the lower side of the square above *E*, the line integral over the left side of the square to the right of *E*, and the line integral over the upper side of the square below *E* (Figure 6.81). After all this cancelation occurs over all the approximating squares, the only line integrals that survive are the line integrals over sides approximating the boundary of *S*. Therefore, the sum of all the fluxes (which, by Green’s theorem, is the sum of all the line integrals around the boundaries of approximating squares) can be approximated by a line integral over the boundary of *S*. In the limit, as the areas of the approximating squares go to zero, this approximation gets arbitrarily close to the flux.

Let’s now look at a rigorous proof of the theorem in the special case that *S* is the graph of function $z=f\left(x,y\right),$ where *x* and *y* vary over a bounded, simply connected region *D* of finite area (Figure 6.82). Furthermore, assume that $f$ has continuous second-order partial derivatives. Let *C* denote the boundary of *S* and let *C*′ denote the boundary of *D*. Then, *D* is the “shadow” of *S* in the plane and *C*′ is the “shadow” of *C*. Suppose that *S* is oriented upward. The counterclockwise orientation of *C* is positive, as is the counterclockwise orientation of ${C}^{\prime}.$ Let $\text{F}\left(x,y,z\right)=\langle P,Q,R\rangle $ be a vector field with component functions that have continuous partial derivatives.

We take the standard parameterization of $S:x=x,y=y,z=g\left(x,y\right).$ The tangent vectors are ${\text{t}}_{x}=\langle 1,0,{g}_{x}\rangle $ and ${\text{t}}_{y}=\langle 0,1,{g}_{y}\rangle ,$ and therefore, ${\text{t}}_{x}\times {\text{t}}_{y}=\langle \text{\u2212}{g}_{x},\text{\u2212}{g}_{y},1\rangle .$ By Equation 6.19,

where the partial derivatives are all evaluated at $\left(x,y,g\left(x,y\right)\right),$ making the integrand depend on *x* and *y* only. Suppose $\langle x\left(t\right),y\left(t\right)\rangle ,a\le t\le b$ is a parameterization of ${C}^{\prime}.$ Then, a parameterization of *C* is $\langle x\left(t\right),y\left(t\right),g\left(x\left(t\right),y\left(t\right)\right)\rangle ,a\le t\le b.$ Armed with these parameterizations, the Chain rule, and Green’s theorem, and keeping in mind that *P*, *Q*, and *R* are all functions of *x* and *y*, we can evaluate line integral ${\int}_{C}\text{F}\xb7d\text{r}}\text{:$

By Clairaut’s theorem, $\frac{{\partial}^{2}z}{\partial x\partial y}=\frac{{\partial}^{2}z}{\partial y\partial x}.$ Therefore, four of the terms disappear from this double integral, and we are left with

which equals $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}.$

□

We have shown that Stokes’ theorem is true in the case of a function with a domain that is a simply connected region of finite area. We can quickly confirm this theorem for another important case: when vector field **F** is conservative. If **F** is conservative, the curl of **F** is zero, so $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}=0.$ Since the boundary of *S* is a closed curve, $\int}_{C}\text{F}\xb7d\text{r$ is also zero.

### Example 6.73

#### Verifying Stokes’ Theorem for a Specific Case

Verify that Stokes’ theorem is true for vector field $\text{F}\left(x,y,z\right)=\langle y,2z,{x}^{2}\rangle $ and surface *S*, where *S* is the paraboloid $z=4-{x}^{2}-{y}^{2}$. Assume the surface is outward oriented and $z\ge 0$.

#### Solution

As a surface integral, you have$g(x,y)=4-{x}^{2}-{y}^{2},{g}_{x}=\mathrm{-2}y$ and

By Equation 6.19,

As a line integral, you can parameterize *C* by $\text{r}\left(t\right)=\langle 2\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,2\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}t,0\rangle \phantom{\rule{0.2em}{0ex}}0\le t\le 2\pi $. By Equation 6.19,

Therefore, we have verified Stokes' theorem for this example.

### Checkpoint 6.61

Verify that Stokes’ theorem is true for vector field $\text{F}(x,y,z)=\langle y,x,\text{\u2212}z\rangle $ and surface *S*, where *S* is the upwardly oriented portion of the graph of $f(x,y)={x}^{2}y$ over a triangle in the *xy*-plane with vertices $(0,0),$ $(2,0),$ and $(0,2).$

### Applying Stokes’ Theorem

Stokes’ theorem translates between the flux integral of surface *S* to a line integral around the boundary of *S*. Therefore, the theorem allows us to compute surface integrals or line integrals that would ordinarily be quite difficult by translating the line integral into a surface integral or vice versa. We now study some examples of each kind of translation.

### Example 6.74

#### Calculating a Surface Integral

Calculate surface integral ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where *S* is the surface, oriented outward, in Figure 6.84 and $\text{F}=\langle z,2xy,x+y\rangle .$

#### Solution

Note that to calculate $\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S$ without using Stokes’ theorem, we would need to use Equation 6.19. Use of this equation requires a parameterization of *S*. Surface *S* is complicated enough that it would be extremely difficult to find a parameterization. Therefore, the methods we have learned in previous sections are not useful for this problem. Instead, we use Stokes’ theorem, noting that the boundary *C* of the surface is merely a single circle with radius 1.

The curl of **F** is $\langle 1,1,2y\rangle .$ By Stokes’ theorem,

where *C* has parameterization $r\left(t\right)=\langle \text{sin}\phantom{\rule{0.2em}{0ex}}t,0,1-\text{cos}\phantom{\rule{0.2em}{0ex}}t\rangle ,0\le t<2\pi .$ By Equation 6.9,

An amazing consequence of Stokes’ theorem is that if *S*′ is any other smooth surface with boundary *C* and the same orientation as *S*, then ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}}={\displaystyle {\int}_{C}\text{F}\xb7d\text{r}}=0$ because Stokes’ theorem says the surface integral depends on the line integral around the boundary only.

In Example 6.74, we calculated a surface integral simply by using information about the boundary of the surface. In general, let ${S}_{1}$ and ${S}_{2}$ be smooth surfaces with the same boundary *C* and the same orientation. By Stokes’ theorem,

Therefore, if $\iint}_{{S}_{1}}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S$ is difficult to calculate but $\iint}_{{S}_{2}}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S$ is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example 6.74, we could have calculated $\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S$ by calculating ${\iint}_{{S}^{\prime}}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where ${S}^{\prime}$ is the disk enclosed by boundary curve *C* (a much more simple surface with which to work).

Equation 6.23 shows that flux integrals of curl vector fields are surface independent in the same way that line integrals of gradient fields are path independent. Recall that if **F** is a two-dimensional conservative vector field defined on a simply connected domain, $f$ is a potential function for **F**, and *C* is a curve in the domain of **F**, then $\int}_{C}\text{F}\xb7d\text{r$ depends only on the endpoints of *C*. Therefore if *C*′ is any other curve with the same starting point and endpoint as *C* (that is, *C*′ has the same orientation as *C*), then ${\int}_{C}\text{F}\xb7d\text{r}}={\displaystyle {\int}_{C\text{\u2032}}\text{F}\xb7d\text{r}}.$ In other words, the value of the integral depends on the boundary of the path only; it does not really depend on the path itself.

Analogously, suppose that *S* and *S*′ are surfaces with the same boundary and same orientation, and suppose that **G** is a three-dimensional vector field that can be written as the curl of another vector field **F** (so that **F** is like a “potential field” of **G**). By Equation 6.23,

Therefore, the flux integral of **G** does not depend on the surface, only on the boundary of the surface. Flux integrals of vector fields that can be written as the curl of a vector field are surface independent in the same way that line integrals of vector fields that can be written as the gradient of a scalar function are path independent.

### Checkpoint 6.62

Use Stokes’ theorem to calculate surface integral ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where $\text{F}=\langle z,x,y\rangle $ and *S* is the surface as shown in the following figure. The boundary curve, *C*, is oriented clockwise when looking along the positive y-axis.

### Example 6.75

#### Calculating a Line Integral

Calculate the line integral ${\int}_{C}\text{F}\xb7d\text{r}},$ where $\text{F}=\langle xy,{x}^{2}+{y}^{2}+{z}^{2},yz\rangle $ and *C* is the boundary of the parallelogram with vertices $\left(0,0,1\right),\left(0,1,0\right),\left(2,0,\mathrm{-1}\right),$ and $\left(2,1,\mathrm{-2}\right).$

#### Solution

To calculate the line integral directly, we need to parameterize each side of the parallelogram separately, calculate four separate line integrals, and add the result. This is not overly complicated, but it is time-consuming.

By contrast, let’s calculate the line integral using Stokes’ theorem. Let *S* denote the surface of the parallelogram. Note that *S* is the portion of the graph of $z=1-x-y$ for $\left(x,y\right)$ varying over the rectangular region with vertices $\left(0,0\right),$ $\left(0,1\right),$ $\left(2,0\right),$ and $\left(2,1\right)$ in the *xy*-plane. Therefore, a parameterization of *S* is $\langle x,y,1-x-y\rangle ,0\le x\le 2,0\le y\le 1.$ The curl of **F** is $\text{\u2212}\langle z,0,x\rangle ,$ and Stokes’ theorem and Equation 6.19 give

### Checkpoint 6.63

Use Stokes’ theorem to calculate line integral ${\int}_{C}\text{F}\xb7d\text{r}},$ where $\text{F}=\langle z,x,y\rangle $ and *C* is oriented clockwise and is the boundary of a triangle with vertices $\left(0,0,1\right),\left(3,0,\mathrm{-2}\right),$ and $\left(0,1,2\right).$

### Interpretation of Curl

In addition to translating between line integrals and flux integrals, Stokes’ theorem can be used to justify the physical interpretation of curl that we have learned. Here we investigate the relationship between curl and circulation, and we use Stokes’ theorem to state Faraday’s law—an important law in electricity and magnetism that relates the curl of an electric field to the rate of change of a magnetic field.

Recall that if *C* is a closed curve and **F** is a vector field defined on *C*, then the circulation of **F** around *C* is line integral ${\int}_{C}\text{F}\xb7d\text{r}}.$ If **F** represents the velocity field of a fluid in space, then the circulation measures the tendency of the fluid to move in the direction of *C*.

Let **F** be a continuous vector field and let ${D}_{r}$ be a small disk of radius *r* with center ${P}_{0}$ (Figure 6.85). If ${D}_{r}$ is small enough, then $(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F})(P)\approx (\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F})({P}_{0})$ for all points *P* in ${D}_{r}$ because the curl is continuous. Let ${C}_{r}$ be the boundary circle of ${D}_{r}.$ By Stokes’ theorem,

The quantity $\left(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\right)\left({P}_{0}\right)\xb7\text{N}\left({P}_{0}\right)$ is constant, and therefore

Thus

and the approximation gets arbitrarily close as the radius shrinks to zero. Therefore Stokes’ theorem implies that

This equation relates the curl of a vector field to the circulation. Since the area of the disk is $\pi {r}^{2},$ this equation says we can view the curl (in the limit) as the circulation per unit area. Recall that if **F** is the velocity field of a fluid, then circulation ${\oint}_{{C}_{r}}\text{F}\xb7d\text{r}}={\displaystyle {\oint}_{{C}_{r}}\text{F}\xb7\text{T}ds$ is a measure of the tendency of the fluid to move around ${C}_{r}.$ The reason for this is that $\text{F}\xb7\text{T}$ is a component of **F** in the direction of **T**, and the closer the direction of **F** is to **T**, the larger the value of $\text{F}\xb7\text{T}$ (remember that if **a** and **b** are vectors and **b** is fixed, then the dot product $\text{a}\xb7\text{b}$ is maximal when **a** points in the same direction as **b**). Therefore, if **F** is the velocity field of a fluid, then $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N}$ is a measure of how the fluid rotates about axis **N**. The effect of the curl is largest about the axis that points in the direction of **N**, because in this case $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N}$ is as large as possible.

To see this effect in a more concrete fashion, imagine placing a tiny paddlewheel at point ${P}_{0}$ (Figure 6.86). The paddlewheel achieves its maximum speed when the axis of the wheel points in the direction of curl**F**. This justifies the interpretation of the curl we have learned: curl is a measure of the rotation in the vector field about the axis that points in the direction of the normal vector **N**, and Stokes’ theorem justifies this interpretation.

Now that we have learned about Stokes’ theorem, we can discuss applications in the area of electromagnetism. In particular, we examine how we can use Stokes’ theorem to translate between two equivalent forms of Faraday’s law. Before stating the two forms of Faraday’s law, we need some background terminology.

Let *C* be a closed curve that models a thin wire. In the context of electric fields, the wire may be moving over time, so we write $C(t)$ to represent the wire. At a given time *t*, curve $C(t)$ may be different from original curve *C* because of the movement of the wire, but we assume that $C(t)$ is a closed curve for all times *t*. Let $D(t)$ be a surface with $C(t)$ as its boundary, and orient $C(t)$ so that $D(t)$ has positive orientation. Suppose that $C(t)$ is in a magnetic field $\text{B}(t)$ that can also change over time. In other words, **B** has the form

where *P, Q,* and *R* can all vary continuously over time. We can produce current along the wire by changing field $\text{B}(t)$ (this is a consequence of Ampere’s law). Flux $\varphi (t)={\displaystyle {\iint}_{D(t)}\text{B}(t)\xb7d\text{S}}$ creates electric field $\text{E}(t)$ that does work. The integral form of Faraday’s law states that

In other words, the work done by **E** is the line integral around the boundary, which is also equal to the rate of change of the flux with respect to time. The differential form of Faraday’s law states that

Using Stokes’ theorem, we can show that the differential form of Faraday’s law is a consequence of the integral form. By Stokes’ theorem, we can convert the line integral in the integral form into surface integral

Since $\varphi (t)={\displaystyle {\iint}_{D(t)}\text{B}(t)\xb7d\text{S}},$ then as long as the integration of the surface does not vary with time we also have

Therefore,

To derive the differential form of Faraday’s law, we would like to conclude that $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{E}=-\frac{\partial \text{B}}{\partial t}.$ In general, the equation

is not enough to conclude that $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{E}=-\frac{\partial \text{B}}{\partial t}.$ The integral symbols do not simply “cancel out,” leaving equality of the integrands. To see why the integral symbol does not just cancel out in general, consider the two single-variable integrals ${\int}_{0}^{1}xdx$ and ${\int}_{0}^{1}f(x)dx},$ where

Both of these integrals equal $\frac{1}{2},$ so ${\int}_{0}^{1}xdx}={\displaystyle {\int}_{0}^{1}f(x)dx}.$ However, $x\ne f(x).$ Analogously, with our equation ${\iint}_{D\left(t\right)}-\frac{\partial \text{B}}{\partial t}}\xb7d\text{S}={\displaystyle {\iint}_{D\left(t\right)}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{E}\xb7d\text{S}},$ we cannot simply conclude that $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{E}=-\frac{\partial \text{B}}{\partial t}$ just because their integrals are equal. However, in our context, equation $\iint}_{D\left(t\right)}-\frac{\partial \text{B}}{\partial t}}\xb7d\text{S}={\displaystyle {\iint}_{D\left(t\right)}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{E}\xb7d\text{S$ is true for *any* region, however small (this is in contrast to the single-variable integrals just discussed). If **F** and **G** are three-dimensional vector fields such that $\iint}_{s}\text{F}\xb7d\text{S}=}{\displaystyle {\iint}_{s}\text{G}\xb7d\text{S$ for any surface *S*, then it is possible to show that $\text{F}=\text{G}$ by shrinking the area of *S* to zero by taking a limit (the smaller the area of *S*, the closer the value of $\iint}_{s}\text{F}\xb7d\text{S$ to the value of **F** at a point inside *S*). Therefore, we can let area $D\left(t\right)$ shrink to zero by taking a limit and obtain the differential form of Faraday’s law:

In the context of electric fields, the curl of the electric field can be interpreted as the negative of the rate of change of the corresponding magnetic field with respect to time.

### Example 6.76

#### Using Faraday’s Law

Calculate the curl of electric field **E** if the corresponding magnetic field is constant field $\text{B}\left(t\right)=\langle 1,\mathrm{-4},2\rangle .$

#### Solution

Since the magnetic field does not change with respect to time, $-\frac{\partial \text{B}}{\partial t}=0.$ By Faraday’s law, the curl of the electric field is therefore also zero.

#### Analysis

A consequence of Faraday’s law is that the curl of the electric field corresponding to a constant magnetic field is always zero.

### Checkpoint 6.64

Calculate the curl of electric field **E** if the corresponding magnetic field is $\text{B}(t)=\langle tx,ty,\mathrm{-2}tz\rangle ,0\le t<\infty .$

Notice that the curl of the electric field does not change over time, although the magnetic field does change over time.

### Section 6.7 Exercises

For the following exercises, without using Stokes’ theorem, calculate directly both the flux of $\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N}$ over the given surface and the circulation integral around its boundary, assuming all boundaries are oriented clockwise as viewed from above.

$\text{F}(x,y,z)={y}^{2}\text{i}+{z}^{2}\text{j}+{x}^{2}\text{k}\text{;}$ *S* is the first-octant portion of plane $x+y+z=1.$

$\text{F}(x,y,z)=z\text{i}+x\text{j}+y\text{k}\text{;}$ *S* is hemisphere $z={\left({a}^{2}-{x}^{2}-{y}^{2}\right)}^{1\text{/}2}.$

$\text{F}(x,y,z)={y}^{2}\text{i}+2x\text{j}+5\text{k}\text{;}$ *S* is hemisphere $z={\left(4-{x}^{2}-{y}^{2}\right)}^{1\text{/}2}.$

$\text{F}(x,y,z)=z\text{i}+2x\text{j}+3y\text{k}\text{;}$ *S* is upper hemisphere $z=\sqrt{9-{x}^{2}-{y}^{2}}.$

$\text{F}(x,y,z)=\left(x+2z\right)\text{i}+\left(y-x\right)\text{j}+\left(z-y\right)\text{k}\text{;}$ *S* is a triangular region with vertices (3, 0, 0), (0, 3/2, 0), and (0, 0, 3).

$\text{F}(x,y,z)=2y\text{i}-6z\text{j}+3x\text{k}\text{;}$ *S* is a portion of paraboloid $z=4-{x}^{2}-{y}^{2}$ and is above the *xy*-plane.

For the following exercises, use Stokes’ theorem to evaluate ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS$ for the vector fields and surface.

$\text{F}(x,y,z)=xy\text{i}-z\text{j}$ and *S* is the surface of the cube $0\le x\le 1,0\le y\le 1,0\le z\le 1,$ except for the face where $z=0,$ and using the outward unit normal vector.

$\text{F}(x,y,z)=xy\text{i}+{x}^{2}\text{j}+{z}^{2}\text{k}\text{;}$ and *C* is the intersection of paraboloid $z={x}^{2}+{y}^{2}$ and plane $z=y,$ and using the outward normal vector.

$\text{F}(x,y,z)=4y\text{i}+z\text{j}+2y\text{k}$ and *C* is the intersection of sphere ${x}^{2}+{y}^{2}+{z}^{2}=4$ with plane $z=0,$ and using the outward normal vector

Use Stokes’ theorem to evaluate $\underset{C}{\int}\left[2x{y}^{2}zdx+2{x}^{2}yzdy+\left({x}^{2}{y}^{2}-2z\right)dz\right]},$ where *C* is the curve given by $x=\text{cos}\phantom{\rule{0.2em}{0ex}}t,y=\text{sin}\phantom{\rule{0.2em}{0ex}}t,z=\text{sin}\phantom{\rule{0.2em}{0ex}}t,0\le t\le 2\pi ,$ traversed in the direction of increasing *t*.

**[T]** Use a computer algebraic system (CAS) and Stokes’ theorem to approximate line integral $\underset{C}{\int}\left(ydx+zdy+xdz\right)},$ where *C* is the intersection of plane $x+y=2$ and surface ${x}^{2}+{y}^{2}+{z}^{2}=2\left(x+y\right),$ traversed counterclockwise viewed from the origin.

**[T]** Use a CAS and Stokes’ theorem to approximate line integral $\underset{C}{\int}\left(3ydx+2zdy-5xdz\right)},$ where *C* is the intersection of the *xy*-plane and hemisphere $z=\sqrt{1-{x}^{2}-{y}^{2}},$ traversed counterclockwise viewed from the top—that is, from the positive *z*-axis toward the *xy*-plane.

**[T]** Use a CAS and Stokes’ theorem to approximate line integral $\underset{C}{\int}\left[\left(1+y\right)zdx+\left(1+z\right)xdy+\left(1+x\right)ydz\right]},$ where *C* is a triangle with vertices $\left(1,0,0\right),$ $\left(0,1,0\right),$ and $\left(0,0,1\right)$ oriented counterclockwise.

Use Stokes’ theorem to evaluate ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where $\text{F}(x,y,z)={e}^{xy}\text{cos}\phantom{\rule{0.2em}{0ex}}z\text{i}+{x}^{2}z\text{j}+xy\text{k},$ and *S* is half of sphere $x=\sqrt{1-{y}^{2}-{z}^{2}},$ oriented out toward the positive *x*-axis.

**[T]** Use a CAS and Stokes’ theorem to evaluate ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS},$ where $\text{F}(x,y,z)={x}^{2}y\text{i}+x{y}^{2}\text{j}+{z}^{3}\text{k}$ and *C* is the curve of the intersection of plane $3x+2y+z=6$ and cylinder ${x}^{2}+{y}^{2}=4,$ oriented clockwise when viewed from above.

**[T]** Use a CAS and Stokes’ theorem to evaluate $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S},$ where $\text{F}(x,y,z)=\left(\text{sin}\left(y+z\right)-y{x}^{2}-\frac{{y}^{3}}{3}\right)\text{i}+x\phantom{\rule{0.2em}{0ex}}\text{cos}\left(y+z\right)\text{j}+\text{cos}\left(2y\right)\text{k}$ and *S* consists of the top and the four sides but not the bottom of the cube with vertices $\left(\mathrm{\pm 1},\mathrm{\pm 1},\mathrm{\pm 1}\right),$ oriented outward.

**[T]** Use a CAS and Stokes’ theorem to evaluate $\underset{S}{\iint}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S},$ where $\text{F}(x,y,z)={z}^{2}\text{i}-3xy\text{j}+{x}^{3}{y}^{3}\text{k}$ and *S* is the top part of $z=5-{x}^{2}-{y}^{2}$ above plane $z=1,$ and *S* is oriented upward.

Use Stokes’ theorem to evaluate ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS},$ where $\text{F}(x,y,z)={z}^{2}\text{i}+{y}^{2}\text{j}+x\text{k}$ and *S* is a triangle with vertices (1, 0, 0), (0, 1, 0) and (0, 0, 1) with counterclockwise orientation.

Use Stokes’ theorem to evaluate line integral $\underset{C}{\int}\left(zdx+xdy+ydz\right)},$ where *C* is a triangle with vertices (3, 0, 0), (0, 0, 2), and (0, 6, 0) traversed in the given order.

Use Stokes’ theorem to evaluate $\underset{C}{\int}\left(\frac{1}{2}{y}^{2}dx+zdy+xdz\right)},$ where *C* is the curve of intersection of plane $x+z=1$ and ellipsoid ${x}^{2}+2{y}^{2}+{z}^{2}=1,$ oriented clockwise from the origin.

Use Stokes’ theorem to evaluate ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS},$ where $\text{F}(x,y,z)=x\text{i}+{y}^{2}\text{j}+z{e}^{xy}\text{k}$ and *S* is the part of surface $z=1-{x}^{2}-2{y}^{2}$ with $z\ge 0\text{,}\phantom{\rule{0.2em}{0ex}}$ oriented counterclockwise.

Use Stokes’ theorem ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS},$ for vector field $\text{F}(x,y,z)=z\text{i}+3x\text{j}+2z\text{k}$ where *S* is surface $z=1-{x}^{2}-{y}^{2},z\ge 0,$ *C* is boundary circle ${x}^{2}+{y}^{2}=1,$ and *S* is oriented in the positive *z*-direction.

Use Stokes’ theorem ${\iint}_{S}(\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7\text{N})dS},$ for vector field $\text{F}(x,y,z)=-\frac{3}{2}{y}^{2}\text{i}-2xy\text{j}+yz\text{k}\text{,}$ where *S* is that part of the surface of plane $x+y+z=1$ contained within triangle *C* with vertices (1, 0, 0), (0, 1, 0), and (0, 0, 1), traversed counterclockwise as viewed from above.

A certain closed path *C* in plane $2x+2y+z=1$ is known to project onto unit circle ${x}^{2}+{y}^{2}=1$ in the *xy*-plane. Let *c* be a constant and let $\text{R}(x,y,z)=x\text{i}+y\text{j}+z\text{k}.$ Use Stokes’ theorem to evaluate ${\int}_{C}^{}(c\text{k}\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\text{R})\xb7d\text{r}}.$

Use Stokes’ theorem and let *C* be the boundary of surface $z={x}^{2}+{y}^{2}$ with $0\le x\le 2$ and $0\le y\le 1,$ oriented with upward facing normal. Define

Let *S* be hemisphere ${x}^{2}+{y}^{2}+{z}^{2}=4$ with $z\ge 0,$ oriented upward. Let $\text{F}(x,y,z)={x}^{2}{e}^{yz}\text{i}+{y}^{2}{e}^{xz}\text{j}+{z}^{2}{e}^{xy}\text{k}$ be a vector field. Use Stokes’ theorem to evaluate ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}}.$

Let $\text{F}(x,y,z)=xy\text{i}+\left({e}^{{z}^{2}}+y\right)\text{j}+(x+y)\text{k}$ and let *S* be the graph of function $y=\frac{{x}^{2}}{9}+\frac{{z}^{2}}{9}-1$ with $y\le 0$ oriented so that the normal vector *S* has a positive *y* component. Use Stokes’ theorem to compute integral ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}}.$

Use Stokes’ theorem to evaluate ${\int}_{C}\mathbf{F}\mathbf{\xb7}d\mathbf{r}$ where $\text{F}(x,y,z)=y\text{i}+z\text{j}+x\text{k}$ and *C* is a triangle with vertices (0, 0, 0), (2, 0, 0) and $(0,\mathrm{-2},2)$ oriented counterclockwise when viewed from above.

Use the surface integral in Stokes’ theorem to calculate the circulation of field **F**, $\text{F}(x,y,z)={x}^{2}{y}^{3}\text{i}+\text{j}+z\text{k}$ around *C*, which is the intersection of cylinder ${x}^{2}+{y}^{2}=4$ and hemisphere ${x}^{2}+{y}^{2}+{z}^{2}=16,z\ge 0,$ oriented counterclockwise when viewed from above.

Use Stokes’ theorem to compute ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where $\text{F}(x,y,z)=\text{i}+x{y}^{2}\text{j}+x{y}^{2}\text{k}$ and *S* is a part of plane $y+z=2$ inside cylinder ${x}^{2}+{y}^{2}=1$ and oriented outward.

Use Stokes’ theorem to evaluate ${\iint}_{S}\text{curl}\phantom{\rule{0.2em}{0ex}}\text{F}\xb7d\text{S}},$ where $\text{F}(x,y,z)=\text{\u2212}{y}^{2}\text{i}+x\text{j}+{z}^{2}\text{k}$ and *S* is the part of plane $x+y+z=1$ in the positive octant and oriented upward $x\ge 0\text{,}\phantom{\rule{0.2em}{0ex}}y\ge 0\text{,}\phantom{\rule{0.2em}{0ex}}z\ge 0.$

Let $\text{F}(x,y,z)=xy\text{i}+2z\text{j}-2y\text{k}$ and let *C* be the intersection of plane $x+z=5$ and cylinder ${x}^{2}+{y}^{2}=9,$ which is oriented counterclockwise when viewed from the top. Compute the line integral of **F** over *C* using Stokes’ theorem.

**[T]** Use a CAS and let $\text{F}(x,y,z)=x{y}^{2}\text{i}+(yz-x)\text{j}+{e}^{yxz}\text{k}.$ Use Stokes’ theorem to compute the surface integral of curl **F** over surface *S* with inward orientation consisting of cube $[0,1]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}[0,1]\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}[0,1]$ with the right side missing.

Let *S* be ellipsoid $\frac{{x}^{2}}{4}+\frac{{y}^{2}}{9}+{z}^{2}=1$ oriented outward and let **F** be a vector field with component functions that have continuous partial derivatives. Compute $\int {\int}_{s}\text{curl}\mathbf{F}\mathbf{\xb7}d\mathbf{s}$

Let *S* be the part of paraboloid $z=9-{x}^{2}-{y}^{2}$ with $z\ge 0.$ Verify Stokes’ theorem for vector field $\text{F}(x,y,z)=3z\text{i}+4x\text{j}+2y\text{k}.$

**[T]** Use a CAS and Stokes’ theorem to evaluate ${\int}_{C}\mathbf{F}\mathbf{\xb7}d\mathbf{r}$ if $\text{F}(x,y,z)=\left(3z-\text{sin}\phantom{\rule{0.2em}{0ex}}x\right)\text{i}+\left({x}^{2}+{e}^{y}\right)\text{j}+\left({y}^{3}-\text{cos}\phantom{\rule{0.2em}{0ex}}z\right)\text{k}\text{,}$ where *C* is the curve given by $x=\text{cos}\phantom{\rule{0.2em}{0ex}}t,y=\text{sin}\phantom{\rule{0.2em}{0ex}}t,z=1;0\le t\le 2\pi .$

**[T]** Use a CAS and Stokes’ theorem to evaluate $\text{F}(x,y,z)=2y\text{i}+{e}^{z}\text{j}-\text{arctan}\phantom{\rule{0.2em}{0ex}}x\text{k}$ with *S* as a portion of paraboloid $z=4-{x}^{2}-{y}^{2}$ cut off by the *xy*-plane oriented counterclockwise.

**[T]** Use a CAS to evaluate $\iint}_{S}\text{curl(}\text{F})\xb7d\text{S}\text{,$ where $\text{F}(x,y,z)=2z\text{i}+3x\text{j}+5y\text{k}$ and ** S** is the surface parametrically by $\text{r}(r,\theta )=r\phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}\theta \text{i}+r\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}\theta \text{j}+\left(4-{r}^{2}\right)\text{k}$ $\left(0\le \theta \le 2\pi \text{,}\phantom{\rule{0.2em}{0ex}}0\le r\le 3\right).$

Let *S* be paraboloid $z=a\left(1-{x}^{2}-{y}^{2}\right),$ for $z\ge 0,$ where $a>0$ is a real number. Let $\text{F}=\langle x-y,y+z,z-x\rangle .$ For what value(s) of *a* (if any) does ${\iint}_{S}\left(\nabla \phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\text{F}\right)}\xb7\text{n}dS$ have its maximum value?

For the following application exercises, the goal is to evaluate $A={\displaystyle {\iint}_{S}\left(\nabla \phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\text{F}\right)}\xb7\text{n}dS,$ where $\text{F}=\langle xz,\text{\u2212}xz,xy\rangle $ and *S* is the upper half of ellipsoid ${x}^{2}+{y}^{2}+8{z}^{2}=1,\phantom{\rule{0.2em}{0ex}}\text{where}\phantom{\rule{0.2em}{0ex}}z\ge 0.$

Evaluate *A* using a line integral.

Take paraboloid $z={x}^{2}+{y}^{2},$ for $0\le z\le 4,$ and slice it with plane $y=0.$ Let *S* be the surface that remains for $y\ge 0,$ including the planar surface in the *xz*-plane. Let *C* be the semicircle and line segment that bounded the cap of *S* in plane $z=4$ with counterclockwise orientation. Let $\text{F}=\langle 2z+y,2x+z,2y+x\rangle .$ Evaluate ${\iint}_{S}\left(\nabla \phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\text{F}\right)}\xb7\text{n}dS.$

For the following exercises, let *S* be the disk enclosed by curve

$C:\text{r}(t)=\langle \text{cos}\phantom{\rule{0.2em}{0ex}}\phi \phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}t,\text{sin}\phantom{\rule{0.2em}{0ex}}\phi \phantom{\rule{0.2em}{0ex}}\text{cos}\phantom{\rule{0.2em}{0ex}}t\rangle ,$ for $0\le t\le 2\pi ,$ where $0\le \phi \le \frac{\pi}{2}$ is a fixed angle.

What is the length of *C* in terms of $\phi ?$

What is the circulation of *C* of vector field $\text{F}=\langle \text{\u2212}y,\text{\u2212}z,x\rangle $ as a function of $\phi ?$

For what value of $\phi $ is the circulation a maximum?

Circle *C* in plane $x+y+z=8$ has radius 4 and center (2, 3, 3). Evaluate $\oint}_{C}\text{F}\xb7d\text{r$ for $F=\langle 0,\text{\u2212}z,2y\rangle ,$ where *C* has a counterclockwise orientation when viewed from above.

Velocity field $\text{v}=\langle 0,1-{x}^{2},0\rangle ,$ for $\left|x\right|\le 1\phantom{\rule{0.2em}{0ex}}\text{and}\phantom{\rule{0.2em}{0ex}}\left|z\right|\le 1,$ represents a horizontal flow in the *y*-direction. Compute the curl of **v** in a clockwise rotation.

Evaluate integral ${\iint}_{S}\left(\nabla \phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}\text{F}\right)}\xb7\text{n}dS,$ where $\text{F}=\text{\u2212}xz\text{i}+yz\text{j}+xy{e}^{z}\text{k}$ and *S* is the cap of paraboloid $z=5-{x}^{2}-{y}^{2}$ above plane $z=3,$ and **n** points in the positive *z*-direction on *S*.

For the following exercises, use Stokes’ theorem to find the circulation of the following vector fields around any smooth, simple closed curve C.

$\text{F}=\nabla \left(x\phantom{\rule{0.2em}{0ex}}\text{sin}\phantom{\rule{0.2em}{0ex}}y{e}^{z}\right)$