9.7: Stoke's Theorem
( \newcommand{\kernel}{\mathrm{null}\,}\)
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
Let S be an oriented smooth surface with unit normal vector
Theorem
Let
Suppose surface S is a flat region in the xy-plane with upward orientation. Then the unit normal vector is
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 S is a portion of a graph of a function, and S, the boundary of S, and
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
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
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
As we add up all the fluxes over all the squares approximating surface S, line integrals
and
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
Let’s now look at a rigorous proof of the theorem in the special case that S is the graph of function
We take the standard parameterization of
where the partial derivatives are all evaluated at
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
Since the boundary of S is a closed curve, the integral
is also zero.
Example
Verify that Stokes’ theorem is true for vector field
Solution
Let C be the boundary of S. Note that C is a circle of radius 1, centered at the origin, sitting in plane
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
- Hint
-
Calculate the double integral and line integral separately.
- Answer
-
Both integrals give
:
Example
Calculate the line integral
where
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
Exercise
Use Stokes’ theorem to calculate line integral
where
- 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 C is a closed curve and
If
Let
The quantity
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
To see this effect in a more concrete fashion, imagine placing a tiny paddlewheel at point
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
where P, Q, and R can all vary continuously over time. We can produce current along the wire by changing field
In other words, the work done by
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
Therefore,
To derive the differential form of Faraday’s law, we would like to conclude that
is not enough to conclude that
Both of these integrals equal
However,
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
for any surface S, then it is possible to show that
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
Calculate the curl of electric field
Solution
Since the magnetic field does not change with respect to time,
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
- 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 C.
- 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 S to a line integral around the boundary C of the surface S
- 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
Contributors and Attributions
Gilbert Strang (MIT) and Edwin “Jed” Herman (Harvey Mudd) with many contributing authors. This content by OpenStax is licensed with a CC-BY-SA-NC 4.0 license. Download for free at http://cnx.org.



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 : Calculating a Surface Integral
Calculate surface integral
where S 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 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 is . By Stokes’ theorem,
where C has parameterization . By the equation for vector line integrals,
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 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 C 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 C (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, f is a potential function for , and C is a curve in the domain of , then
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
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 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 S is the surface as shown in the following figure.
Parameterize the boundary of S and translate to a line integral.