Learning Objectives
- Use Stokes’ theorem to evaluate a line integral.
- Use Stokes’ theorem to calculate a surface integral.
- Use Stokes’ theorem to calculate a curl.
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 1 and .

Figure 1. A complicated surface in a vector field.
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 “Calculating a Surface Integral”, 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 “Calculating a Surface Integral”, we could have calculated by calculating , where is the disk enclosed by boundary curve (a much more simple surface with which to work).
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 ,
.
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.
try it
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.
Example: calculating a line integral
Calculate the line integral , where and is the boundary of the parallelogram with vertices , , , and .
try it
Use Stokes’ theorem to calculate line integral , where and is oriented clockwise and is the boundary of a triangle with vertices , , and .
Watch the following video to see the worked solution to the above Try It
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 2). If is small enough, then for all points in because the curl is continuous. Let be the boundary circle of . By Stokes’ theorem,
.

Figure 2. 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 3). The paddlewheel achieves its maximum speed when the axis of the wheel points in the direction of . 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 3. 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 .
try it
Calculate the curl of electric field if the corresponding magnetic field is , .
Notice that the curl of the electric field does not change over time, although the magnetic field does change over time.
Watch the following video to see the worked solution to the above Try It
Candela Citations
- CP 6.63. Authored by: Ryan Melton. License: CC BY: Attribution
- CP 6.64. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction