# 5.8: Stokes’ Theorem

- Page ID
- 119744

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\id}{\mathrm{id}}\)

\( \newcommand{\Span}{\mathrm{span}}\)

\( \newcommand{\kernel}{\mathrm{null}\,}\)

\( \newcommand{\range}{\mathrm{range}\,}\)

\( \newcommand{\RealPart}{\mathrm{Re}}\)

\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

\( \newcommand{\Argument}{\mathrm{Arg}}\)

\( \newcommand{\norm}[1]{\| #1 \|}\)

\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)

\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)

\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vectorC}[1]{\textbf{#1}} \)

\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
## 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 \(\PageIndex{2}\): Calculating a Surface Integral

Calculate surface integral

\[\iint_S curl \, \vecs{F} \cdot d\vecs S, \nonumber \]

where \(S\) is the surface, oriented outward, in Figure \(\PageIndex{6}\) and \(\vecs{F} = \langle z,\, 2xy, \, x + y \rangle\).

SolutionNote that to calculate

\[ \iint_S curl \, \vecs F \cdot d\vecs S \nonumber \]

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 \(\vecs{F}\) is \(\langle 1,1,2y \rangle\). By Stokes’ theorem,

\[\iint_S curl \, \vecs F \cdot d\vecs S = \int_C \vecs F \cdot d\vecs r, \nonumber \]

where \(C\) has parameterization \(\langle \cos t, \, \sin t, \, 1 \rangle, 0 \leq t \leq 2\pi\). By the equation for vector line integrals,

\[ \begin{align*} \iint_S curl \, F \cdot d\vecs S &= \int_C \vecs{F} \cdot d \vecs{r} \\[4pt] &= \int_0^2 \langle 1, \, \sin t \, \cos t, \, \cos t + \sin t \rangle \cdot \langle - \sin t, \, \cos t, \, 0 \rangle \, dt \\[4pt] &= \int_0^{2\pi} ( - \sin t + 2 \, \sin t \, \cos^2 t ) \, dt \\[4pt] &= \left[ \cos t - \dfrac{2 \, \cos^3 t}{3} \right]_0^{2\pi} \\[4pt] &= \cos (2\pi) - \dfrac{2 \, \cos^3 (2\pi)}{3} - \left(\cos (0) - \dfrac{2 \, \cos^3 (0)}{3} \right) \\[4pt] &= 0. \end{align*} \nonumber \]

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 \[\iint_S curl \, \vecs F \cdot d\vecs S = \int_C \vecs F \cdot d\vecs r = 0 \nonumber \] because Stokes’ theorem says the surface integral depends on the line integral around the boundary only.

In Example \(\PageIndex{2}\), we calculated a surface integral simply by using information about the boundary of the surface. In general, let \(S_1\) and \(S_2\) be smooth surfaces with the same boundary \(C\) and the same orientation. By Stokes’ theorem,

\[\iint_{S_1} curl \, \vecs{F} \cdot d\vecs{S} = \int_C \vecs{F} \cdot d\vecs{r} = \iint_{S_2} curl \, \vecs{F} \cdot d\vecs{S}. \label{20} \]

Therefore, if

\[\iint_{S_1} curl \, \vecs{F} \cdot d\vecs{S} \nonumber \]

is difficult to calculate but

\[\iint_{S_2} curl \, \vecs{F} \cdot d\vecs S \nonumber \]

is easy to calculate, Stokes’ theorem allows us to calculate the easier surface integral. In Example \(\PageIndex{2}\), we could have calculated

\[\iint_S curl \, \vecs{F} \cdot d \vecs{S} \nonumber \]

by calculating

\[\iint_{S'} curl \, \vecs{F} \cdot d\vecs{S}, \nonumber \]

where \(\vecs{S}'\) is the disk enclosed by boundary curve \(C\) (a much more simple surface with which to work).

Equation \ref{20} 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 \(\vecs{F}\) is a two-dimensional conservative vector field defined on a simply connected domain, \(f\) is a

potential functionfor \(\vecs{F}\), and \(C\) is a curve in the domain of \(\vecs{F}\), then\[\int_C \vecs{F} \cdot d\vecs{r} \nonumber \]

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

\[\int_C \vecs{F} \cdot d\vecs{r} = \int_{C'} \vecs{F} \cdot d\vecs{r} \nonumber \]

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 \(\vecs{G}\) is a three-dimensional vector field that can be written as the curl of another vector field \(\vecs{F}\) (so that \(\vecs{F}\) is like a “potential field” of \(\vecs{G}\)). By Equation \ref{20},

\[ \begin{align*} \iint_S \vecs G \cdot d\vecs S = \iint_S curl \, \vecs F \cdot d\vecs S = \int_C \vecs F \cdot d\vecs r = \iint_{S'} curl \, \vecs F \cdot d\vecs S = \iint_{S'} \vecs G \cdot d\vecs S.\end{align*} \nonumber \]

Therefore, the flux integral of \(\vecs{G}\) 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 \(\PageIndex{1}\)

Use Stokes’ theorem to calculate surface integral \[\iint_S curl \, \vecs{F} \cdot d\vecs{S}, \nonumber \] where \(\vecs{F} = \langle x,y,z \rangle\) and \(S\) is the surface as shown in the following figure.

HintParameterize the boundary of \(S\) and translate to a line integral.

Answer\(-\pi\)