Lab 7A - Stokes's Theorem
Math 2374 - University of Minnesota
http://www.math.umn.edu/math2374
Questions to: swenson@math.umn.edu

Integration in More than Two Dimensions

This semester, we have learned to use six new kinds of integrals.  Here's a quick review: as usual, vector-valued objects are in boldface.

 Type Symbol Region Integrand How to Do It double R, a region scalar function u ∫ (∫u (x, y) dy) dx triple S, a solid scalar function u ∫ (∫ (∫u (x, y, z) dz) dy) dx line (path) C, a curve withparametrizationf (t), a≤t≤b scalar function u line (path) C, a curve withparametrizationf (t), a≤t≤b vector field F surface M, a surface withparametrization f (s, t) and parameter range R scalar function u surface (flux) M, a surface withparametrization f (s, t) and parameter range R vector field F

Notice that each kind of integral has its own definition, and there is no obvious way to convert one kind to another.  Stokes's Theorem provides the missing link between surface integrals of vector fields and line integrals of vector fields.

Stokes's Theorem:  Suppose M is a smooth surface with a chosen orientation, and let F be a vector field which has continuous partial derivatives on and "near" M.  Then = , where ∂M is the positively-oriented boundary of M.

Using Stokes's Theorem: Example 1

Applying Stokes's Theorem can be tricky: each problem has its own kind of challenge.  For example, we might want to calculate the surface integral of some vector field G over some complicated surface with a "nice" boundary.  We can use Stokes's Theorem to avoid working with the surface, if we can find a vector field F whose curl is G.  This can be hard.

Note: you might wish to add Live to some of the graphing commands if you're having trouble visualizing the surfaces.

Example 1

Calculate , where G(x,y,z)=(0,0,2), and M is the surface parametrized by f(r,θ)=(r cos θ, r sin θ, sin(4πr), with 0≤r≤1, 0≤θ≤2π.  [Use the upward-pointing normal vector.]

In[46]:=

Out[46]=

This surface is intimidating, but its boundary is very nice.  The boundary is just the part of the surface where r=1; we get its parametrization by substituting r=1 in f.

In[49]:=

Out[49]=

Out[50]=

We need F so that curl F=G; then our integral will be the right-hand side of the equation in Stokes's Theorem.  One possible choice is F(x,y,z)=(-y,x,0).   (Check this!  Also note that, given G, there is no specific way for you to find an F such that curl F=G.  In this case we just "pulled it out of the hat.")  If we use this F, then the left-hand side of the equation in Stokes's Theorem is almost (not quite) easy enough to do in your head:

Re-read this example to make sure you followed the process, and ask your TA if you have any questions about what we did or why.  These problems can be tricky!

Using Stokes's Theorem: Example 2

More often, we use Stokes's Theorem in the other direction: we have a tricky line integral, and try to replace it with an easy surface integral.  This means we don't have to invent a new vector field with a given curl; instead, we have to invent a surface with a given boundary.  Any surface with the right boundary will be good enough, just like in the last example, where any F with the right curl was good enough.

http://www.math.umn.edu/~rogness/multivar/multiple_surfaces.shtml

Example 2

Calculate , where F(x,y,z)=(, ), and C is the intersection of the plane x+y+z=4 with the cylinder .

Here is a plot of the two surfaces intersecting.  Replace ShowLive with Show if you'd prefer not to have an interactive version.  (This has been done in the web version of the lab.)

In[51]:=

Out[51]=

Out[52]=

Out[53]=

Let's parametrize the curve C, so we can graph it.  Thinking in cylindrical coordinates, every point on C is on the cylinder, so has r=4.  Also, every point on C is on the plane, so has z=4-x-y.  Letting θ range from 0 to 2π, we get the following parametrization.

In[54]:=

Out[55]=

What is the orientation of this curve -- "clockwise" or "counterclockwise"?  Check your answer using PathAnimate3D or PathTangentAnimate3D from Lab 4.

To use Stokes's Theorem, we need a surface whose boundary is C.  We have an ideal surface available: it's just the part of the plane which lies inside the cylinder.  [Check: does C have the right orientation to be the boundary of this surface?]  We can parametrize this surface just as we did C; the only difference is that instead of r=4, we have 0≤r≤4.

In[56]:=

Out[57]=

Mathematica gives us an oblique view of this surface; you should evaluate the following cell to get an interactive version of it.  Rotate it and compare to the earlier picture (with the plane and the cylinder) and convince yourself that our surface is exactly the part of the plane contained within the cylinder.

In[58]:=

Out[58]=

Finally, we can use Mathematica to calculate our integral:   = , so we need the following calculations.  First, we define F, take its curl, and plug in the parametrization of our surface:

In[59]:=

Out[59]=

Out[60]=

Out[61]=

Remember the Apply command?  We've used it a few times now; ask your TA for help if you don't remember it.

Next, we take the partial derivatives of our parametrization and take the cross product:

In[62]:=

Out[62]=

Out[63]=

Out[64]=

Out[65]=

Finally, we take the dot product of our results, and integrate the result.

In[66]:=

Out[66]=

Out[67]=

It's probably good to check our answer by calculating the line integral directly: = , so we get:

In[68]:=

Out[68]=

Out[69]=

Out[70]=

Out[71]=

Out[72]=

If this looks easier to you than the surface integral, take a careful look at the functions you're integrating.  If the line integral still looks easier, you should try doing both by hand!

Exercises

1) Graph the cylinder and the hyperbolic paraboloid on the same set of axes, and parametrize the curve C where they intersect.  Verify Stokes's Theorem for the vector field F(x,y,z)=(, , xy) and the curve C.  [i.e. Show that the line integral of F along C equals the appropriate surface integral.  You will need to produce your own surface.]

2) Now consider the vector field F(x,y,z)=(, , xy).
a) Calculate the line integral of F along the circle parametrized by
b) Calculate the line integral of F along the circle parametrized by
c) Calculate the surface integral of curl(F) over the surface parametrized by g(s,t)=(cos(t),sin(t),s), for 0<t<2 π and 0<s<1.