Use Stokes’ theorem to calculate a surface integral.
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 in space to a line integral around the boundary of . Therefore, just as the theorems before it, Stokes’ theorem can be used to reduce an integral over a geometric object to an integral over the boundary of . 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 across surface by knowing information only about the values of along the boundary of . Conversely, we can calculate the line integral of vector field along the boundary of surface by translating to a double integral of the curl of over .
Let be an oriented smooth surface with unit normal vector . Furthermore, suppose the boundary of is a simple closed curve . The orientation of induces the positive orientation of if, as you walk in the positive direction around with your head pointing in the direction of , the surface is always on your left. With this definition in place, we can state Stokes’ theorem.
Theorem : Stokes’ Theorem
Let be a piecewise smooth oriented surface with a boundary that is a simple closed curve with positive orientation (Figure ). If is a vector field with component functions that have continuous partial derivatives on an open region containing , then
Figure : Stokes’ theorem relates the flux integral over the surface to a line integral around the boundary of the surface. Note that the orientation of the curve is positive.
Suppose surface is a flat region in the -plane with upward orientation. Then the unit normal vector is and surface integral
is actually the double integral
In this special case, Stokes’ theorem gives
However, this is the flux 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 is a portion of a graph of a function, and , the boundary of , and 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 be a surface and let be a small piece of the surface so that does not share any points with the boundary of . We choose to be small enough so that it can be approximated by an oriented square . Let inherit its orientation from , and give the same orientation. This square has four sides; denote them , and 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 ).
Figure : Chop the surface into small pieces. The pieces should be small enough that they can be approximated by a square.
By Green’s theorem, the flux across each approximating square is a line integral over its boundary. Let be an approximating square with an orientation inherited from and with a right side (so is to the left of ). Let denote the right side of ; then, . In other words, the right side of is the same curve as the left side of , just oriented in the opposite direction. Therefore,
As we add up all the fluxes over all the squares approximating surface , line integrals
and
cancel each other out. The same goes for the line integrals over the other three sides of . These three line integrals cancel out with the line integral of the lower side of the square above , the line integral over the left side of the square to the right of , and the line integral over the upper side of the square below (Figure ). 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 . 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 . In the limit, as the areas of the approximating squares go to zero, this approximation gets arbitrarily close to the flux.
Figure : (a) The line integral along cancels out the line integral along because . (b) The line integral along any of the sides of cancels out with the line integral along a side of an adjacent approximating square.
Let’s now look at a rigorous proof of the theorem in the special case that is the graph of function , where and vary over a bounded, simply connected region of finite area (Figure ). Furthermore, assume that has continuous second-order partial derivatives. Let denote the boundary of and let denote the boundary of . Then, is the “shadow” of in the plane and is the “shadow” of . Suppose that is oriented upward. The counterclockwise orientation of is positive, as is the counterclockwise orientation of . Let be a vector field with component functions that have continuous partial derivatives.
Figure : is the “shadow,” or projection, of in the plane and is the projection of .
We take the standard parameterization of . The tangent vectors are and , and therefore .
where the partial derivatives are all evaluated at , making the integrand depend on and only. Suppose is a parameterization of . Then, a parameterization of is . Armed with these parameterizations, the Chain rule, and Green’s theorem, and keeping in mind that , and are all functions of and , we can evaluate line integral
By Clairaut’s theorem,
Therefore, four of the terms disappear from this double integral, and we are left with
which equals
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 is a conservative field. If is conservative, the curl of is zero, so
Since the boundary of is a closed curve, the integral
is also zero.
Example : Verifying Stokes’ Theorem for a Specific Case
Verify that Stokes’ theorem is true for vector field and surface , where is the hemisphere, oriented outward, with parameterization as shown in Figure .
Figure : Verifying Stokes’ theorem for a hemisphere in a vector field.
Solution
Let be the boundary of . Note that is a circle of radius 1, centered at the origin, sitting in plane . This circle has parameterization . the equation for scalar surface integrals
By the equation for vector line integrals,
Therefore, we have verified Stokes’ theorem for this example.
Exercise
Verify that Stokes’ theorem is true for vector field and surface , where is the upwardly oriented portion of the graph of over a triangle in the -plane with vertices , and .
Hint
Calculate the double integral and line integral separately.
Answer
Both integrals give :
Applying Stokes’ Theorem
Stokes’ theorem translates between the flux integral of surface to a line integral around the boundary of . 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 : Calculating a Surface Integral
Calculate surface integral
where is the surface, oriented outward, in Figure and .
Figure : A complicated surface in a vector field.
Solution
Note that to calculate
without using Stokes’ theorem, we would need the equation for scalar surface integrals. Use of this equation requires a parameterization of . Surface 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 of the surface is merely a single circle with radius 1.
The curl of is . By Stokes’ theorem,
where has parameterization . By the equation for vector line integrals,
An amazing consequence of Stokes’ theorem is that if is any other smooth surface with boundary and the same orientation as , then because Stokes’ theorem says the surface integral depends on the line integral around the boundary only.
In Example , we calculated a surface integral simply by using information about the boundary of the surface. In general, let and be smooth surfaces with the same boundary and the same orientation. By Stokes’ theorem,
Therefore, if
is difficult to calculate but
is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example , we could have calculated
by calculating
where is the disk enclosed by boundary curve (a much more simple surface with which to work).
Equation 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 is a two-dimensional conservative vector field defined on a simply connected domain, is a potential function for , and is a curve in the domain of , then
depends only on the endpoints of . Therefore if is any other curve with the same starting point and endpoint as (that is, has the same orientation as ), then
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 and are surfaces with the same boundary and same orientation, and suppose that is a three-dimensional vector field that can be written as the curl of another vector field (so that is like a “potential field” of ). By Equation ,
Therefore, the flux integral of 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.
Exercise
Use Stokes’ theorem to calculate surface integral where and is the surface as shown in the following figure. The boundary curve, is oriented clockwise when looking along the positive -axis.
Hint
Parameterize the boundary of and translate to a line integral.
Answer
Example : Calculating a Line Integral
Calculate the line integral
where and is the boundary of the parallelogram with vertices , and .
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 denote the surface of the parallelogram. Note that is the portion of the graph of for varying over the rectangular region with vertices , and in the -plane. Therefore, a parameterization of is . The curl of is ,and Stokes’ theorem and the equation for scalar surface integrals
Exercise
Use Stokes’ theorem to calculate line integral
where and is the boundary of a triangle with vertices , and .
Hint
This triangle lies in plane .
Answer
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 is a closed curve and is a vector field defined on , then the circulation of around is line integral
If represents the velocity field of a fluid in space, then the circulation measures the tendency of the fluid to move in the direction of .
Let be a continuous vector field and let be a small disk of radius with center (Figure ). If is small enough, then for all points in because the curl is continuous. Let be the boundary circle of : By Stokes’ theorem,
Figure : Disk is a small disk in a continuous vector field.
The quantity 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 , this equation says we can view the curl (in the limit) as the circulation per unit area. Recall that if is the velocity field of a fluid, then circulation is a measure of the tendency of the fluid to move around : The reason for this is that is a component of in the direction of , and the closer the direction of is to , the larger the value of (remember that if and are vectors and is fixed, then the dot product is maximal when points in the same direction as ). Therefore, if is the velocity field of a fluid, then is a measure of how the fluid rotates about axis . The effect of the curl is largest about the axis that points in the direction of , because in this case is as large as possible.
To see this effect in a more concrete fashion, imagine placing a tiny paddlewheel at point (Figure ). The paddlewheel achieves its maximum speed when the axis of the wheel points in the direction of curl . 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 , and Stokes’ theorem justifies this interpretation.
Figure : To visualize curl at a point, imagine placing a tiny paddlewheel at that point in the vector field.
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 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 to represent the wire. At a given time , curve may be different from original curve because of the movement of the wire, but we assume that is a closed curve for all times . Let be a surface with as its boundary, and orient so that has positive orientation. Suppose that is in a magnetic field that can also change over time. In other words, has the form
where , , and can all vary continuously over time. We can produce current along the wire by changing field (this is a consequence of Ampere’s law). Flux creates electric field that does work. The integral form of Faraday’s law states that
In other words, the work done by 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 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 : In general, the equation
is not enough to conclude that : 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 and , where
Both of these integrals equal , so .
However, . Analogously, with our equation we cannot simply conclude that just because their integrals are equal. However, in our context, equation
is true for any region, however small (this is in contrast to the single-variable integrals just discussed). If and are three-dimensional vector fields such that
for any surface , then it is possible to show that by shrinking the area of to zero by taking a limit (the smaller the area of , the closer the value of to the value of at a point inside ). Therefore, we can let area 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 : Using Faraday’s Law
Calculate the curl of electric field if the corresponding magnetic field is constant field .
Solution
Since the magnetic field does not change with respect to time, . 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.
Exercise
Calculate the curl of electric field if the corresponding magnetic field is
Hint
Use the differential form of Faraday’s law.
Notice that the curl of the electric field does not change over time, although the magnetic field does change over time.
Answer
Key Concepts
Stokes’ theorem relates a flux integral over a surface to a line integral around the boundary of the surface. Stokes’ theorem is a higher dimensional version of Green’s theorem, and therefore is another version of the Fundamental Theorem of Calculus in higher dimensions.
Stokes’ theorem can be used to transform a difficult surface integral into an easier line integral, or a difficult line integral into an easier surface integral.
Through Stokes’ theorem, line integrals can be evaluated using the simplest surface with boundary .
Faraday’s law relates the curl of an electric field to the rate of change of the corresponding magnetic field. Stokes’ theorem can be used to derive Faraday’s law.
Key Equations
Stokes’ theorem
Glossary
Stokes’ theorem
relates the flux integral over a surface to a line integral around the boundary of the surface
surface independent
flux integrals of curl vector fields are surface independent if their evaluation does not depend on the surface but only on the boundary of the surface
Applying Stokes’ Theorem
Stokes’ theorem translates between the flux integral of surface to a line integral around the boundary of . 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 : Calculating a Surface Integral
Calculate surface integral
where is the surface, oriented outward, in Figure and .
Solution
Note that to calculate
without using Stokes’ theorem, we would need the equation for scalar surface integrals. Use of this equation requires a parameterization of . Surface 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 of the surface is merely a single circle with radius 1.
The curl of is . By Stokes’ theorem,
where has parameterization . By the equation for vector line integrals,
An amazing consequence of Stokes’ theorem is that if is any other smooth surface with boundary and the same orientation as , then because Stokes’ theorem says the surface integral depends on the line integral around the boundary only.
In Example , we calculated a surface integral simply by using information about the boundary of the surface. In general, let and be smooth surfaces with the same boundary and the same orientation. By Stokes’ theorem,
Therefore, if
is difficult to calculate but
is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example , we could have calculated
by calculating
where is the disk enclosed by boundary curve (a much more simple surface with which to work).
Equation 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 is a two-dimensional conservative vector field defined on a simply connected domain, is a potential function for , and is a curve in the domain of , then
depends only on the endpoints of . Therefore if is any other curve with the same starting point and endpoint as (that is, has the same orientation as ), then
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 and are surfaces with the same boundary and same orientation, and suppose that is a three-dimensional vector field that can be written as the curl of another vector field (so that is like a “potential field” of ). By Equation ,
Therefore, the flux integral of 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.
Exercise
Use Stokes’ theorem to calculate surface integral where and is the surface as shown in the following figure. The boundary curve, is oriented clockwise when looking along the positive -axis.
Parameterize the boundary of and translate to a line integral.