KNOWPIA
WELCOME TO KNOWPIA

**Stokes' theorem**,^{[1]} also known as the **Kelvin–Stokes theorem**^{[2]}^{[3]} after Lord Kelvin and George Stokes, the **fundamental theorem for curls** or simply the **curl theorem**,^{[4]} is a theorem in vector calculus on . 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 its *curl* through the enclosed surface. It is illustrated in the figure, where the direction of positive circulation of the bounding contour ∂Σ, and the direction n of positive flux through the surface Σ, are related by a right-hand-rule. For the right hand the fingers circulate along ∂Σand the thumb is directed along n.

Stokes' theorem is a special case of the generalized Stokes theorem.^{[5]}^{[6]} In particular, a vector field on can be considered as a 1-form in which case its curl is its exterior derivative, a 2-form.

Let be a smooth oriented surface in with boundary . If a vector field is defined and has continuous first order partial derivatives in a region containing , then

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 .

A more detailed statement will be given for subsequent discussions. Let be a piecewise smooth Jordan plane curve. The Jordan curve theorem implies that divides into two components, a compact one and another that is non-compact. Let denote the compact part; then is bounded by . It now suffices to transfer this notion of boundary along a continuous map to our surface in . But we already have such a map: the parametrization of .

Suppose is piecewise smooth at the neighborhood of , with .^{[note 1]} If is the space curve defined by ^{[note 2]} then we call the boundary of , written .

With the above notation, if is any smooth vector field on , then^{[7]}^{[8]}

Here, the " " represents the dot product in .

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).^{[9]} 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.^{[8]} At the end of this section, a short alternative proof of Stokes' theorem is given, as a corollary of the generalized Stokes' theorem.

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

Now let {**e**_{u}, **e**_{v}} be an orthonormal basis in the coordinate directions of **R**^{2}.^{[note 3]}

Recognizing that the columns of *J*_{y}* ψ* are precisely the partial derivatives of

The previous step suggests we define the function

Now, if the scalar value functions and are defined as follows,

This is the pullback of **F** along * ψ*, and, by the above, it satisfies

We have successfully reduced one side of Stokes' theorem to a 2-dimensional formula; we now turn to the other side.

First, calculate the partial derivatives appearing in Green's theorem, via the product rule:

Conveniently, the second term vanishes in the difference, by equality of mixed partials. So,^{[note 4]}

But now consider the matrix in that quadratic form—that is, . We claim this matrix in fact describes a cross product. Here the superscript " " represents the transposition of matrices.

To be precise, let be an arbitrary 3 × 3 matrix and let

Note that **x** ↦ **a** × **x** is linear, so it is determined by its action on basis elements. But by direct calculation

Thus (*A* − *A*^{T})**x** = **a** × **x** for any **x**.

Substituting for A, we obtain

We can now recognize the difference of partials as a (scalar) triple product:

On the other hand, the definition of a surface integral also includes a triple product—the very same one!

So, we obtain

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 defined on D;

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.

The functions can be identified with the differential 1-forms on via the map

Write the differential 1-form associated to a function **F** as *ω*_{F}. Then one can calculate that

where ★ is the Hodge star and is the exterior derivative. Thus, by generalized Stokes' theorem,^{[10]}

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 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.

In this section, we will introduce a theorem that is derived from Stokes' theorem and characterizes vortex-free vector fields. In fluid dynamics it is called Helmholtz's theorems.

**Theorem 2-1 (Helmholtz's theorem in fluid dynamics).**^{[5]}^{[3]}^{: 142 } Let 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,

Some textbooks such as Lawrence^{[5]} 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)*.^{[note 6]}

In what follows, we abuse notation and use " " for concatenation of paths in the fundamental groupoid and " " for reversing the orientation of a path.

Let *D* = [0, 1] × [0, 1], and split ∂*D* into four line segments *γ*_{j}.

By our assumption that *c*_{0} and *c*_{1} are piecewise smooth homotopic, there is a piecewise smooth homotopy *H*: *D* → *M*

Let S be the image of D under H. That

follows immediately from Stokes' theorem. **F** is lamellar, so the left side vanishes, i.e.

As H is tubular(satisfying [TLH3]), and . Thus the line integrals along Γ_{2}(*s*) and Γ_{4}(*s*) cancel, leaving

On the other hand, *c*_{1} = Γ_{1}, , so that the desired equality follows almost immediately.

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.**^{[5]}^{[6]} Let 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,

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).**^{[5]}^{[6]} Let 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 Whitney's approximation theorem.^{[6]}^{: 136, 421 }^{[11]} 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.**^{[5]}^{[6]} Let be open and simply connected with an irrotational vector field **F**. For all piecewise smooth loops *c*: [0, 1] → *U*

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, :

For Ampère's law, Stokes' theorem is applied to the magnetic field, :

**^**represents the image set of by**^**may not be a Jordan curve if the loop interacts poorly with . Nonetheless, is always a loop, and topologically a connected sum of countably many Jordan curves, so that the integrals are well-defined.**^**In this article,**e**_{u},**e**_{v}} can mean the following {**t**_{u},**t**_{v}} respectively. In this article, however, these are two completely different things.**^**For all , for all square matrix, and therefore .**^**In this article,**^**There do exist textbooks that use the terms "homotopy" and "homotopic" in the sense of Theorem 2-1.^{[5]}Indeed, this is very convenient*for the specific problem*of conservative forces. However, both uses of homotopy appear sufficiently frequently that some sort of terminology is necessary to disambiguate, and the term "tubular homotopy" adopted here serves well enough for that end.

**^**Stewart, James (2012).*Calculus – Early Transcendentals*(7th ed.). Brooks/Cole Cengage Learning. p. 1122. ISBN 978-0-538-49790-9.**^**Nagayoshi Iwahori, et al.:"Bi-Bun-Seki-Bun-Gaku" Sho-Ka-Bou(jp) 1983/12 ISBN 978-4-7853-1039-4 [1](Written in Japanese)- ^
^{a}^{b}Atsuo Fujimoto;"Vector-Kai-Seki Gendai su-gaku rekucha zu. C(1)" Bai-Fu-Kan(jp)(1979/01) ISBN 978-4563004415 [2] (Written in Japanese) **^**Griffiths, David (2013).*Introduction to Electrodynamics*. Pearson. p. 34. ISBN 978-0-321-85656-2.- ^
^{a}^{b}^{c}^{d}^{e}^{f}^{g}Conlon, Lawrence (2008).*Differentiable Manifolds*. Modern Birkhauser Classics. Boston: Birkhaeuser. - ^
^{a}^{b}^{c}^{d}^{e}Lee, John M. (2002).*Introduction to Smooth Manifolds*. Graduate Texts in Mathematics. Vol. 218. Springer. **^**Stewart, James (2010).*Essential Calculus: Early Transcendentals*. Cole.- ^
^{a}^{b}Robert Scheichl, lecture notes for University of Bath mathematics course [3] **^**Colley, Susan Jane (2002).*Vector Calculus*(4th ed.). Boston: Pearson. pp. 500–3.**^**Edwards, Harold M. (1994).*Advanced Calculus: A Differential Forms Approach*. Birkhäuser. ISBN 0-8176-3707-9.**^**L. S. Pontryagin, Smooth manifolds and their applications in homotopy theory, American Mathematical Society Translations, Ser. 2, Vol. 11, American Mathematical Society, Providence, R.I., 1959, pp. 1–114. MR0115178 (22 #5980 [4]). See theorems 7 & 8.