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 SS to a line integral around the boundary of SS. 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 ∬Scurl F⋅dS∬Scurl F⋅dS, where SS is the surface, oriented outward, in Figure 1 and F=⟨z,2xy,x+y⟩F=⟨z,2xy,x+y⟩.

Figure 1. A complicated surface in a vector field.
An amazing consequence of Stokes’ theorem is that if S′S′ is any other smooth surface with boundary CC and the same orientation as SS, then ∬Scurl F⋅dS=∫CF⋅dr=0∬Scurl F⋅dS=∫CF⋅dr=0 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 S1S1 and S2S2 be smooth surfaces with the same boundary CC and the same orientation. By Stokes’ theorem,
∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS.
Therefore, if ∬S1curl F⋅dS∬S1curl F⋅dS is difficult to calculate but ∬S2curl F⋅dS∬S2curl F⋅dS is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example “Calculating a Surface Integral”, we could have calculated ∬Scurl F⋅dS∬Scurl F⋅dS by calculating ∬S′curl F⋅dS∬S′curl F⋅dS, where S′S′ is the disk enclosed by boundary curve CC (a much more simple surface with which to work).
∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS 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 FF is a two-dimensional conservative vector field defined on a simply connected domain, ff is a potential function for FF, and CC is a curve in the domain of FF, then ∫CF⋅dr∫CF⋅dr depends only on the endpoints of CC. Therefore if C′C′ is any other curve with the same starting point and endpoint as CC (that is, C′C′ has the same orientation as CC), then ∫CF⋅dr=∫C′F⋅dr∫CF⋅dr=∫C′F⋅dr. 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 SS and S′S′ are surfaces with the same boundary and same orientation, and suppose that GG is a three-dimensional vector field that can be written as the curl of another vector field FF (so that FF is like a “potential field” of GG). By ∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS∬S1curl F⋅dS=∫CF⋅dr=∬S2curl F⋅dS,
∫SG⋅dS=∬Scurl F⋅dS=∫CF⋅dr=∬S′curl F⋅dS=∬S′curl G⋅dS∫SG⋅dS=∬Scurl F⋅dS=∫CF⋅dr=∬S′curl F⋅dS=∬S′curl G⋅dS.
Therefore, the flux integral of GG 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 ∬Scurl F⋅dS∬Scurl F⋅dS, where F=⟨z,x,y⟩F=⟨z,x,y⟩ and SS is the surface as shown in the following figure. The boundary curve, CC, is oriented clockwise when looking along the positive yy-axis.
Example: calculating a line integral
Calculate the line integral ∫CF⋅dr∫CF⋅dr, where F=⟨xy,x2+y2+z2,yz⟩F=⟨xy,x2+y2+z2,yz⟩ and CC is the boundary of the parallelogram with vertices (0,0,1)(0,0,1), (0,1,0)(0,1,0), (2,0,−1)(2,0,−1), and (2,1,−2)(2,1,−2).
try it
Use Stokes’ theorem to calculate line integral ∫CF⋅dr∫CF⋅dr, where F=⟨z,x,y⟩F=⟨z,x,y⟩ and CC is oriented clockwise and is the boundary of a triangle with vertices (0,0,1)(0,0,1), (3,0,−2)(3,0,−2), and (0,1,2)(0,1,2).
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 CC is a closed curve and FF is a vector field defined on CC, then the circulation of FF around CC is line integral ∫CF⋅dr∫CF⋅dr. If FF represents the velocity field of a fluid in space, then the circulation measures the tendency of the fluid to move in the direction of CC.
Let FF be a continuous vector field and let DrDr be a small disk of radius rr with center P0P0 (Figure 2). If DrDr is small enough, then (curl F)(P)≈(curl F)(P0)(curl F)(P)≈(curl F)(P0) for all points PP in DrDr because the curl is continuous. Let CrCr be the boundary circle of DrDr. By Stokes’ theorem,
∫CrF⋅dr=∬Drcurl F⋅NdS≈∬Dr(curl F)(P0)⋅N(P0)dS∫CrF⋅dr=∬Drcurl F⋅NdS≈∬Dr(curl F)(P0)⋅N(P0)dS.

Figure 2. Disk DrDr is a small disk in a continuous vector field.
The quantity (curl F)(P0)⋅N(P0)(curl F)(P0)⋅N(P0) is constant, and therefore
∬Dr(curl F)(P0)⋅N(P0)dS=πr2[(curl F)(P0)⋅N(P0)]∬Dr(curl F)(P0)⋅N(P0)dS=πr2[(curl F)(P0)⋅N(P0)].
Thus
∫CrF⋅dr≈πr2[(curl F)(P0)⋅N(P0)]∫CrF⋅dr≈πr2[(curl F)(P0)⋅N(P0)],
and the approximation gets arbitrarily close as the radius shrinks to zero. Therefore Stokes’ theorem implies that
(curl F)(P0)⋅N(P0)=limr→0+1πr2∫CrF⋅dr(curl F)(P0)⋅N(P0)=limr→0+1πr2∫CrF⋅dr.
This equation relates the curl of a vector field to the circulation. Since the area of the disk is πr2πr2, this equation says we can view the curl (in the limit) as the circulation per unit area. Recall that if FF is the velocity field of a fluid, then circulation ∮crF⋅dr=∮CrF⋅Tds∮crF⋅dr=∮CrF⋅Tds is a measure of the tendency of the fluid to move around CrCr. The reason for this is that F⋅TF⋅T is a component of FF in the direction of TT, and the closer the direction of FF is to TT, the larger the value of F⋅TF⋅T (remember that if aa and bb are vectors and bb is fixed, then the dot product a⋅ba⋅b is maximal when aa points in the same direction as bb). Therefore, if FF is the velocity field of a fluid, then curl F⋅Ncurl F⋅N is a measure of how the fluid rotates about axis NN. The effect of the curl is largest about the axis that points in the direction of NN, because in this case F⋅NF⋅N is as large as possible.
To see this effect in a more concrete fashion, imagine placing a tiny paddlewheel at point P0P0 (Figure 3). The paddlewheel achieves its maximum speed when the axis of the wheel points in the direction of curl Fcurl 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 NN, 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 CC 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)C(t) to represent the wire. At a given time tt, curve C(t)C(t) may be different from original curve CC because of the movement of the wire, but we assume that C(t)C(t) is a closed curve for all times tt. Let D(t)D(t) be a surface with C(t)C(t) as its boundary, and orient C(t)C(t) so that D(t)D(t) has positive orientation. Suppose that C(t)C(t) is in a magnetic field B(t)B(t) that can also change over time. In other words, bb has the form
B(x,y,z)=⟨P(x,y,z),Q(x,y,z),R(x,y,z)⟩B(x,y,z)=⟨P(x,y,z),Q(x,y,z),R(x,y,z)⟩,
where PP, QQ, and RR can all vary continuously over time. We can produce current along the wire by changing field B(t)B(t) (this is a consequence of Ampere’s law). Flux ϕ(t)=∬D(t)B(t)⋅dSϕ(t)=∬D(t)B(t)⋅dS creates electric field E(t)E(t) that does work. The integral form of Faraday’s law states that
Work =∫C(t)E(t)⋅dr=−∂ϕ∂tWork =∫C(t)E(t)⋅dr=−∂ϕ∂t.
In other words, the work done by EE 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
curl E=−∂B∂tcurl E=−∂B∂t.
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
−∂ϕ∂t=∫C(t)E(t)⋅dr=∬D(t)curl E(t)⋅dS−∂ϕ∂t=∫C(t)E(t)⋅dr=∬D(t)curl E(t)⋅dS.
Since ϕ(t)=∬D(t)B(t)⋅dSϕ(t)=∬D(t)B(t)⋅dS, then as long as the integration of the surface does not vary with time we also have
−∂ϕ∂t=∬D(t)−∂B∂t⋅dS−∂ϕ∂t=∬D(t)−∂B∂t⋅dS.
Therefore,
∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS.
To derive the differential form of Faraday’s law, we would like to conclude that curl E=−∂B∂tcurl E=−∂B∂t. In general, the equation
large∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dSlarge∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS
is not enough to conclude that curl E=−∂B∂tcurl E=−∂B∂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 ∫10xdx∫10xdx and ∫10f(x)dx∫10f(x)dx, where
f(x)={1,0≤x≤1/20,1/2≤x≤1f(x)={1,0≤x≤1/20,1/2≤x≤1.
Both of these integrals equal 1212, so∫10xdx=∫10f(x)dx∫10xdx=∫10f(x)dx. However, x≠f(x)x≠f(x). Analogously, with our equation ∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS, we cannot simply conclude that curl E=−∂B∂tcurl E=−∂B∂t just because their integrals are equal. However, in our context, equation ∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS∬D(t)−∂B∂t⋅dS=∬D(t)curl E(t)⋅dS is true for any region, however small (this is in contrast to the single-variable integrals just discussed). If FF and GG are three-dimensional vector fields such that ∬SF⋅dS=∬SG⋅dS∬SF⋅dS=∬SG⋅dS for any surface SS, then it is possible to show that F=GF=G by shrinking the area of SS to zero by taking a limit (the smaller the area of SS, the closer the value of ∬SF⋅dS∬SF⋅dS to the value of FF at a point inside SS). Therefore, we can let area D(t)D(t) shrink to zero by taking a limit and obtain the differential form of Faraday’s law:
curl E=−∂B∂tcurl E=−∂B∂t.
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 EE if the corresponding magnetic field is constant field B(t)=⟨1,−4,2⟩B(t)=⟨1,−4,2⟩.
try it
Calculate the curl of electric field EE if the corresponding magnetic field is B(t)=⟨tx,ty,−2tz⟩B(t)=⟨tx,ty,−2tz⟩, 0≤t<∞0≤t<∞.
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