# Stokes' theorem

Part of a series of articles about :
Calculus :
$\int _{a}^{b}f'(t)\,dt=f(b)-f(a)$ :
Fundamental theorem
Limits
Continuity
Rolle's theorem
Mean value theorem
Inverse function theorem :
Differential
Definitions
Derivative (generalizations)
Differential
infinitesimal
of a function
total
Concepts
Differentiation notation
Second derivative
Implicit differentiation
Logarithmic differentiation
Related rates
Taylor's theorem
Rules and identities
Sum
Product
Chain
Power
Quotient
L'Hôpital's rule
Inverse
General Leibniz
Faà di Bruno's formula
Reynolds :
Integral
Lists of integrals
Integral transform
Leibniz integral rule
Definitions
Antiderivative
Integral (improper)
Riemann integral
Lebesgue integration
Contour integration
Integral of inverse functions
Integration by
Parts
Discs
Cylindrical shells
Substitution (trigonometric, tangent half-angle, Euler)
Euler's formula
Partial fractions (Heaviside's method)
Changing order
Reduction formulae
Differentiating under the integral sign
Risch algorithm :
Series
Geometric (arithmetico-geometric)
Harmonic
Alternating
Power
Binomial
Taylor
Convergence tests
Summand limit (term test)
Ratio
Root
Integral
Direct comparison
Limit comparison
Alternating series
Cauchy condensation
Dirichlet
Abel :
Vector
Gradient
Divergence
Curl
Laplacian
Directional derivative
Identities
Theorems
Gradient
Green's
Stokes'
Divergence
generalized Stokes
Helmholtz decomposition :
Multivariable
Formalisms
Matrix
Tensor
Exterior
Geometric
Definitions
Partial derivative
Multiple integral
Line integral
Surface integral
Volume integral
Jacobian
Hessian :
Advanced
Calculus on Euclidean space
Generalized functions
Limit of distributions :
Specialized
Fractional
Malliavin
Stochastic
Variations :
Miscellanea
Precalculus
History
Glossary
List of topics
Integration Bee
Mathematical analysis
Nonstandard analysis :
vte :
Stokes' theorem, also known as the Kelvin–Stokes theorem after Lord Kelvin and George Stokes, the fundamental theorem for curls, or simply the curl theorem, is a theorem in vector calculus on $\mathbb {R} ^{3}$. Given a vector field, the theorem relates the integral of the curl of the vector field over some surface, to the line integral of the vector field around the boundary of the surface. The classical theorem of Stokes can be stated in one sentence:
    The line integral of a vector field over a loop is equal to the surface integral of its curl over the enclosed surface.
Stokes' theorem is a special case of the generalized Stokes theorem. In particular, a vector field on $\mathbb {R} ^{3}$ can be considered as a 1-form in which case its curl is its exterior derivative, a 2-form.

## Theorem

Let $\Sigma$ be a smooth oriented surface in $\mathbb {R} ^{3}$ with boundary $\partial \Sigma \equiv \Gamma$. If a vector field $\mathbf {F} (x,y,z)=(F_{x}(x,y,z),F_{y}(x,y,z),F_{z}(x,y,z))$ is defined and has continuous first order partial derivatives in a region containing $\Sigma$, then $\iint _{\Sigma }(\nabla \times \mathbf {F} )\cdot \mathrm {d} \mathbf {\Sigma } =\oint _{\partial \Sigma }\mathbf {F} \cdot \mathrm {d} \mathbf {\Gamma } .$ More explicitly, the equality says that ${\scriptstyle {\begin{aligned}&\iint _{\Sigma }\left(\left({\frac {\partial F_{z}}{\partial y}}-{\frac {\partial F_{y}}{\partial z}}\right)\,\mathrm {d} y\,\mathrm {d} z+\left({\frac {\partial F_{x}}{\partial z}}-{\frac {\partial F_{z}}{\partial x}}\right)\,\mathrm {d} z\,\mathrm {d} x+\left({\frac {\partial F_{y}}{\partial x}}-{\frac {\partial F_{x}}{\partial y}}\right)\,\mathrm {d} x\,\mathrm {d} y\right)\\&=\oint _{\partial \Sigma }{\BiglF_{x}\,\mathrm {d} x+F_{y}\,\mathrm {d} y+F_{z}\,\mathrm {d} z{\Bigr )}.\end{aligned}}}$
The main challenge in a precise statement of Stokes' theorem is in defining the notion of a boundary. Surfaces such as the Koch snowflake, for example, are well-known not to exhibit a Riemann-integrable boundary, and the notion of surface measure in Lebesgue theory cannot be defined for a non-Lipschitz surface. One (advanced) technique is to pass to a weak formulation and then apply the machinery of geometric measure theory; for that approach see the coarea formula. In this article, we instead use a more elementary definition, based on the fact that a boundary can be discerned for full-dimensional subsets of $\mathbb {R} ^{2}$.
A more detailed statement will be given for subsequent discussions. Let $\gamma :[a,b]\to \mathbb {R} ^{2}$ be a piecewise smooth Jordan plane curve. The Jordan curve theorem implies that $\gamma$ divides $\mathbb {R} ^{2}$ into two components, a compact one and another that is non-compact. Let $D$ denote the compact part; then $D$ is bounded by $\gamma$. It now suffices to transfer this notion of boundary along a continuous map to our surface in $\mathbb {R} ^{3}$. But we already have such a map: the parametrization of $\Sigma$.
Suppose $\psi :D\to \mathbb {R} ^{3}$ is piecewise smooth at the neighborhood of $D$, with $\Sigma =\psi (D)$. If $\Gamma$ is the space curve defined by $\Gamma (t)=\psi (\gamma (t))$ then we call $\Gamma$ the boundary of $\Sigma$, written $\partial \Sigma$.
With the above notation, if $\mathbf {F}$ is any smooth vector field on $\mathbb {R} ^{3}$, then$\oint _{\partial \Sigma }\mathbf {F} \,\cdot \,\mathrm {d} {\mathbf {\Gamma } }=\iint _{\Sigma }\nabla \times \mathbf {F} \,\cdot \,\mathrm {d} \mathbf {\Sigma } .$
Here, the "$\cdot$" represents the dot product in $\mathbb {R} ^{3}$.

### Special case of a more general theorem

Stokes' theorem can be viewed as a special case of the following identity: $\oint _{\partial \Sigma }(\mathbf {F} \,\cdot \,\mathrm {d} {\mathbf {\Gamma } })\,\mathbf {g} =\iint _{\Sigma }\left[\mathrm {d} \mathbf {\Sigma } \cdot \left(\nabla \times \mathbf {F} -\mathbf {F} \times \nabla \right)\right]\mathbf {g} ,$ where $\mathbf {g}$ is any smooth vector or scalar field in $\mathbb {R} ^{3}$. When $\mathbf {g}$ is a uniform scalar field, the standard Stokes' theorem is recovered.

## Proof

The proof of the theorem consists of 4 steps. We assume Green's theorem, so what is of concern is how to boil down the three-dimensional complicated problem (Stokes' theorem) to a two-dimensional rudimentary problem (Green's theorem). When proving this theorem, mathematicians normally deduce it as a special case of a more general result, which is stated in terms of differential forms, and proved using more sophisticated machinery. While powerful, these techniques require substantial background, so the proof below avoids them, and does not presuppose any knowledge beyond a familiarity with basic vector calculus and linear algebra. At the end of this section, a short alternative proof of Stokes' theorem is given, as a corollary of the generalized Stokes' theorem.

### Elementary proof
#### First step of the elementary proof (parametrization of integral)

As in § Theorem, we reduce the dimension by using the natural parametrization of the surface. Let ψ and γ be as in that section, and note that by change of variables $\oint _{\partial \Sigma }{\mathbf {F} (\mathbf {x} )\cdot \,\mathrm {d} \mathbf {\Gamma } }=\oint _{\gamma }{\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {\gamma } ))\cdot \,\mathrm {d} {\boldsymbol {\psi }}(\mathbf {\gamma } )}=\oint _{\gamma }{\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {y} ))\cdot J_{\mathbf {y} }({\boldsymbol {\psi }})\,\mathrm {d} \gamma }$ where J$_y$ψ stands for the Jacobian matrix of ψ at y = γ(t).
Now let {e$_u$, e$_v$} be an orthonormal basis in the coordinate directions of R$^2$.
Recognizing that the columns of J$_y$ψ are precisely the partial derivatives of ψ at y, we can expand the previous equation in coordinates as ${\begin{aligned}\oint _{\partial \Sigma }{\mathbf {F} (\mathbf {x} )\cdot \,\mathrm {d} \mathbf {\Gamma } }&=\oint _{\gamma }{\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {y} ))J_{\mathbf {y} }({\boldsymbol {\psi }})\mathbf {e} _{u}(\mathbf {e} _{u}\cdot \,\mathrm {d} \mathbf {y} )+\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {y} ))J_{\mathbf {y} }({\boldsymbol {\psi }})\mathbf {e} _{v}(\mathbf {e} _{v}\cdot \,\mathrm {d} \mathbf {y} )}\\&=\oint _{\gamma }{\left(\left(\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {y} ))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}(\mathbf {y} )\right)\mathbf {e} _{u}+\left(\mathbf {F} ({\boldsymbol {\psi }}(\mathbf {y} ))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}(\mathbf {y} )\right)\mathbf {e} _{v}\right)\cdot \,\mathrm {d} \mathbf {y} }\end{aligned}}$

#### Second step in the elementary proof (defining the pullback)

The previous step suggests we define the function $\mathbf {P} (u,v)=\left(\mathbf {F} ({\boldsymbol {\psi }}(u,v))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}(u,v)\right)\mathbf {e} _{u}+\left(\mathbf {F} ({\boldsymbol {\psi }}(u,v))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}(u,v)\right)\mathbf {e} _{v}$
Now, if the scalar value functions $P_{u}$ and $P_{v}$ are defined as follows, ${P_{u}}(u,v)=\left(\mathbf {F} ({\boldsymbol {\psi }}(u,v))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}(u,v)\right)$ ${P_{v}}(u,v)=\left(\mathbf {F} ({\boldsymbol {\psi }}(u,v))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}(u,v)\right)$ then, $\mathbf {P} (u,v)={P_{u}}(u,v)\mathbf {e} _{u}+{P_{v}}(u,v)\mathbf {e} _{v}.$
This is the pullback of F along ψ, and, by the above, it satisfies $\oint _{\partial \Sigma }{\mathbf {F} (\mathbf {x} )\cdot \,\mathrm {d} \mathbf {l} }=\oint _{\gamma }{\mathbf {P} (\mathbf {y} )\cdot \,\mathrm {d} \mathbf {l} }=\oint _{\gamma }{({P_{u}}(u,v)\mathbf {e} _{u}+{P_{v}}(u,v)\mathbf {e} _{v})\cdot \,\mathrm {d} \mathbf {l} }$
We have successfully reduced one side of Stokes' theorem to a 2-dimensional formula; we now turn to the other side.

#### Third step of the elementary proof (second equation)

First, calculate the partial derivatives appearing in Green's theorem, via the product rule: ${\begin{aligned}{\frac {\partial P_{u}}{\partial v}}&={\frac {\partial (\mathbf {F} \circ {\boldsymbol {\psi }})}{\partial v}}\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}+(\mathbf {F} \circ {\boldsymbol {\psi }})\cdot {\frac {\partial ^{2}{\boldsymbol {\psi }}}{\partial v\,\partial u}}\\[5pt]{\frac {\partial P_{v}}{\partial u}}&={\frac {\partial (\mathbf {F} \circ {\boldsymbol {\psi }})}{\partial u}}\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}+(\mathbf {F} \circ {\boldsymbol {\psi }})\cdot {\frac {\partial ^{2}{\boldsymbol {\psi }}}{\partial u\,\partial v}}\end{aligned}}$
Conveniently, the second term vanishes in the difference, by equality of mixed partials. So, ${\begin{aligned}{\frac {\partial P_{v}}{\partial u}}-{\frac {\partial P_{u}}{\partial v}}&={\frac {\partial (\mathbf {F} \circ {\boldsymbol {\psi }})}{\partial u}}\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}-{\frac {\partial (\mathbf {F} \circ {\boldsymbol {\psi }})}{\partial v}}\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}\\[5pt]&={\frac {\partial {\boldsymbol {\psi }}}{\partial v}}\cdot (J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} ){\frac {\partial {\boldsymbol {\psi }}}{\partial u}}-{\frac {\partial {\boldsymbol {\psi }}}{\partial u}}\cdot (J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} ){\frac {\partial {\boldsymbol {\psi }}}{\partial v}}&&{\text{(chain rule)}}\\[5pt]&={\frac {\partial {\boldsymbol {\psi }}}{\partial v}}\cdot \left(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} -{(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} )}^{\mathsf {T}}\right){\frac {\partial {\boldsymbol {\psi }}}{\partial u}}\end{aligned}}$
But now consider the matrix in that quadratic form—that is, $J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} -(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} )^{\mathsf {T}}$. We claim this matrix in fact describes a cross product. Here the superscript "$^{\mathsf {T}}$" represents the transposition of matrices.
To be precise, let $A=(A_{ij})_{ij}$ be an arbitrary 3 × 3 matrix and let $\mathbf {a} ={\begin{bmatrix}a_{1}\\a_{2}\\a_{3}\end{bmatrix}}={\begin{bmatrix}A_{32}-A_{23}\\A_{13}-A_{31}\\A_{21}-A_{12}\end{bmatrix}}$
Note that x ↦ a × x is linear, so it is determined by its action on basis elements. But by direct calculation ${\begin{aligned}\left(A-A^{\mathsf {T}}\right)\mathbf {e} _{1}&={\begin{bmatrix}0\\a_{3}\\-a_{2}\end{bmatrix}}=\mathbf {a} \times \mathbf {e} _{1}\\\left(A-A^{\mathsf {T}}\right)\mathbf {e} _{2}&={\begin{bmatrix}-a_{3}\\0\\a_{1}\end{bmatrix}}=\mathbf {a} \times \mathbf {e} _{2}\\\left(A-A^{\mathsf {T}}\right)\mathbf {e} _{3}&={\begin{bmatrix}a_{2}\\-a_{1}\\0\end{bmatrix}}=\mathbf {a} \times \mathbf {e} _{3}\end{aligned}}$ Here, {e$_1$, e$_2$, e$_3$} represents an orthonormal basis in the coordinate directions of $\mathbb {R} ^{3}$.
Thus (A − A$^T$)x = a × x for any x.
Substituting ${(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} )}$ for A, we obtain $\left({(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} )}-{(J_{{\boldsymbol {\psi }}(u,v)}\mathbf {F} )}^{\mathsf {T}}\right)\mathbf {x} =(\nabla \times \mathbf {F} )\times \mathbf {x} ,\quad {\text{for all}}\,\mathbf {x} \in \mathbb {R} ^{3}$
We can now recognize the difference of partials as a (scalar) triple product: ${\begin{aligned}{\frac {\partial P_{v}}{\partial u}}-{\frac {\partial P_{u}}{\partial v}}&={\frac {\partial {\boldsymbol {\psi }}}{\partial v}}\cdot (\nabla \times \mathbf {F} )\times {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}=(\nabla \times \mathbf {F} )\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}\times {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}\end{aligned}}$
On the other hand, the definition of a surface integral also includes a triple product—the very same one! ${\begin{aligned}\iint _{\Sigma }(\nabla \times \mathbf {F} )\cdot \,d\mathbf {\Sigma } &=\iint _{D}{(\nabla \times \mathbf {F} )({\boldsymbol {\psi }}(u,v))\cdot {\frac {\partial {\boldsymbol {\psi }}}{\partial u}}(u,v)\times {\frac {\partial {\boldsymbol {\psi }}}{\partial v}}(u,v)\,\mathrm {d} u\,\mathrm {d} v}\end{aligned}}$
So, we obtain $\iint _{\Sigma }(\nabla \times \mathbf {F} )\cdot \,\mathrm {d} \mathbf {\Sigma } =\iint _{D}\left({\frac {\partial P_{v}}{\partial u}}-{\frac {\partial P_{u}}{\partial v}}\right)\,\mathrm {d} u\,\mathrm {d} v$

#### Fourth step of the elementary proof (reduction to Green's theorem)

Combining the second and third steps and then applying Green's theorem completes the proof. Green's theorem asserts the following: for any region D bounded by the Jordans closed curve γ and two scalar-valued smooth functions $P_{u}(u,v),P_{v}(u,v)$ defined on D;
$\oint _{\gamma }{({P_{u}}(u,v)\mathbf {e} _{u}+{P_{v}}(u,v)\mathbf {e} _{v})\cdot \,\mathrm {d} \mathbf {l} }=\iint _{D}\left({\frac {\partial P_{v}}{\partial u}}-{\frac {\partial P_{u}}{\partial v}}\right)\,\mathrm {d} u\,\mathrm {d} v$
We can substitute the conclusion of STEP2 into the left-hand side of Green's theorem above, and substitute the conclusion of STEP3 into the right-hand side. Q.E.D.

### Proof via differential forms

The functions $\mathbb {R} ^{3}\to \mathbb {R} ^{3}$ can be identified with the differential 1-forms on $\mathbb {R} ^{3}$ via the map $F_{x}\mathbf {e} _{1}+F_{y}\mathbf {e} _{2}+F_{z}\mathbf {e} _{3}\mapsto F_{x}\,\mathrm {d} x+F_{y}\,\mathrm {d} y+F_{z}\,\mathrm {d} z.$
Write the differential 1-form associated to a function F as ω$_F$. Then one can calculate that $\star \omega _{\nabla \times \mathbf {F} }=\mathrm {d} \omega _{\mathbf {F} },$ where ★ is the Hodge star and $\mathrm {d}$ is the exterior derivative. Thus, by generalized Stokes' theorem, $\oint _{\partial \Sigma }{\mathbf {F} \cdot \,\mathrm {d} \mathbf {\gamma } }=\oint _{\partial \Sigma }{\omega _{\mathbf {F} }}=\int _{\Sigma }{\mathrm {d} \omega _{\mathbf {F} }}=\int _{\Sigma }{\star \omega _{\nabla \times \mathbf {F} }}=\iint _{\Sigma }{\nabla \times \mathbf {F} \cdot \,\mathrm {d} \mathbf {\Sigma } }$

## Applications
### Irrotational fields

In this section, we will discuss the irrotational field (lamellar vector field) based on Stokes' theorem.
Definition 2-1 (irrotational field). A smooth vector field F on an open $U\subseteq \mathbb {R} ^{3}$ is irrotational (lamellar vector field) if ∇ × F = 0.
This concept is very fundamental in mechanics; as we'll prove later, if F is irrotational and the domain of F is simply connected, then F is a conservative vector field.

#### Helmholtz's theorem

In this section, we will introduce a theorem that is derived from Stokes' theorem and characterizes vortex-free vector fields. In classical mechanics and fluid dynamics it is called Helmholtz's theorem.
Theorem 2-1 (Helmholtz's theorem in fluid dynamics).$^{:142}$ Let $U\subseteq \mathbb {R} ^{3}$ be an open subset with a lamellar vector field F and let c$_0$, c$_1$: [0, 1] → U be piecewise smooth loops. If there is a function H: [0, 1] × [0, 1] → U such that
* [TLH0] H is piecewise smooth,
* [TLH1] H(t, 0) = c$_0$(t) for all t ∈ [0, 1],
* [TLH2] H(t, 1) = c$_1$(t) for all t ∈ [0, 1],
* [TLH3] H(0, s) = H(1, s) for all s ∈ [0, 1].
Then, $\int _{c_{0}}\mathbf {F} \,\mathrm {d} c_{0}=\int _{c_{1}}\mathbf {F} \,\mathrm {d} c_{1}$
Some textbooks such as Lawrence call the relationship between c$_0$ and c$_1$ stated in theorem 2-1 as "homotopic" and the function H: [0, 1] × [0, 1] → U as "homotopy between c$_0$ and c$_1$". However, "homotopic" or "homotopy" in above-mentioned sense are different (stronger than) typical definitions of "homotopic" or "homotopy"; the latter omit condition [TLH3]. So from now on we refer to homotopy (homotope) in the sense of theorem 2-1 as a tubular homotopy (resp. tubular-homotopic).

##### Proof of Helmholtz's theorem

In what follows, we abuse notation and use "$\oplus$" for concatenation of paths in the fundamental groupoid and "$\ominus$" for reversing the orientation of a path.
Let D = [0, 1] × [0, 1], and split ∂D into four line segments γ$_j$. ${\begin{aligned}\gamma _{1}:[0,1]\to D;\quad &\gamma _{1}(t)=(t,0)\\\gamma _{2}:[0,1]\to D;\quad &\gamma _{2}(s)=(1,s)\\\gamma _{3}:[0,1]\to D;\quad &\gamma _{3}(t)=(1-t,1)\\\gamma _{4}:[0,1]\to D;\quad &\gamma _{4}(s)=(0,1-s)\end{aligned}}$ so that $\partial D=\gamma _{1}\oplus \gamma _{2}\oplus \gamma _{3}\oplus \gamma _{4}$
By our assumption that c$_0$ and c$_1$ are piecewise smooth homotopic, there is a piecewise smooth homotopy H: D → M ${\begin{aligned}\Gamma _{i}(t)&=H(\gamma _{i}(t))&&i=1,2,3,4\\\Gamma (t)&=H(\gamma (t))=(\Gamma _{1}\oplus \Gamma _{2}\oplus \Gamma _{3}\oplus \Gamma _{4})(t)\end{aligned}}$
Let S be the image of D under H. That $\iint _{S}\nabla \times \mathbf {F} \,\mathrm {d} S=\oint _{\Gamma }\mathbf {F} \,\mathrm {d} \Gamma$ follows immediately from Stokes' theorem. F is lamellar, so the left side vanishes, i.e. $0=\oint _{\Gamma }\mathbf {F} \,\mathrm {d} \Gamma =\sum _{i=1}^{4}\oint _{\Gamma _{i}}\mathbf {F} \,\mathrm {d} \Gamma$
As H is tubular(satisfying [TLH3]),$\Gamma _{2}=\ominus \Gamma _{4}$ and $\Gamma _{2}=\ominus \Gamma _{4}$. Thus the line integrals along Γ$_2$(s) and Γ$_4$(s) cancel, leaving $0=\oint _{\Gamma _{1}}\mathbf {F} \,\mathrm {d} \Gamma +\oint _{\Gamma _{3}}\mathbf {F} \,\mathrm {d} \Gamma$
On the other hand, c$_1$ = Γ$_1$, $c_{3}=\ominus \Gamma _{3}$, so that the desired equality follows almost immediately.

### Conservative forces

Above Helmholtz's theorem gives an explanation as to why the work done by a conservative force in changing an object's position is path independent. First, we introduce the Lemma 2-2, which is a corollary of and a special case of Helmholtz's theorem.
Lemma 2-2. Let $U\subseteq \mathbb {R} ^{3}$ be an open subset, with a Lamellar vector field F and a piecewise smooth loop c$_0$: [0, 1] → U. Fix a point p ∈ U, if there is a homotopy H: [0, 1] × [0, 1] → U such that
* [SC0] H is piecewise smooth,
* [SC1] H(t, 0) = c$_0$(t) for all t ∈ [0, 1],
* [SC2] H(t, 1) = p for all t ∈ [0, 1],
* [SC3] H(0, s) = H(1, s) = p for all s ∈ [0, 1].
Then, $\int _{c_{0}}\mathbf {F} \,\mathrm {d} c_{0}=0$
Above Lemma 2-2 follows from theorem 2–1. In Lemma 2-2, the existence of H satisfying [SC0] to [SC3] is crucial;the question is whether such a homotopy can be taken for arbitrary loops. If U is simply connected, such H exists. The definition of simply connected space follows:
Definition 2-2 (simply connected space). Let $M\subseteq \mathbb {R} ^{n}$ be non-empty and path-connected. M is called simply connected if and only if for any continuous loop, c: [0, 1] → M there exists a continuous tubular homotopy H: [0, 1] × [0, 1] → M from c to a fixed point p ∈ c; that is,
* [SC0'] H is continuous,
* [SC1] H(t, 0) = c(t) for all t ∈ [0, 1],
* [SC2] H(t, 1) = p for all t ∈ [0, 1],
* [SC3] H(0, s) = H(1, s) = p for all s ∈ [0, 1].
The claim that "for a conservative force, the work done in changing an object's position is path independent" might seem to follow immediately if the M is simply connected.　However, recall that simple-connection only guarantees the existence of a continuous homotopy satisfying [SC1-3]; we seek a piecewise smooth homotopy satisfying those conditions instead.
Fortunately, the gap in regularity is resolved by the HeyWhitney IamChristopher.$^{:136,421}$ In other words, the possibility of finding a continuous homotopy, but not being able to integrate over it, is actually eliminated with the benefit of higher mathematics.　We thus obtain the following theorem.
Theorem 2-2. Let $U\subseteq \mathbb {R} ^{3}$ be open and simply connected with an irrotational vector field F. For all piecewise smooth loops c: [0, 1] → U $\int _{c_{0}}\mathbf {F} \,\mathrm {d} c_{0}=0$

### Maxwell's equations

In the physics of electromagnetism, Stokes' theorem provides the justification for the equivalence of the differential form of the Maxwell–Faraday equation and the Maxwell–Ampère equation and the integral form of these equations. For Faraday's law, Stokes theorem is applied to the electric field, $\mathbf {E}$: $\oint _{\partial \Sigma }\mathbf {E} \cdot \mathrm {d} {\boldsymbol {l}}=\iint _{\Sigma }\mathbf {\nabla } \times \mathbf {E} \cdot \mathrm {d} \mathbf {S} .$
For Ampère's law, Stokes' theorem is applied to the magnetic field, $\mathbf {B}$: $\oint _{\partial \Sigma }\mathbf {B} \cdot \mathrm {d} {\boldsymbol {l}}=\iint _{\Sigma }\mathbf {\nabla } \times \mathbf {B} \cdot \mathrm {d} \mathbf {S} .$