# Stokes' theorem

In differential geometry, Stokes' theorem is a statement about the integration of differential forms which generalizes several theorems from vector calculus. It is named after Sir George Gabriel Stokes (1819–1903), although the first known statement of the theorem is by William Thomson (Lord Kelvin) and appears in a letter of his to Stokes in July 1850. The theorem acquired its name from Stokes's habit of including it in the Cambridge prize examinations. In 1854, he asked his students to prove the theorem on an examination.

## Introduction

The fundamental theorem of calculus states that the integral of a function f over the interval [a, b] can be calculated by finding an antiderivative F of f:
    $\int _{a}^{b}f(x)\,\mathrm {d} x=F(b)-F(a).$
Stokes' theorem is a vast generalization of this theorem in the following sense.
* By the choice of F, ${\frac {dF}{dx}}=f$. In the parlance of differential forms, this is saying that f(x) dx is the exterior derivative of the 0-form (i.e. function) F: dF = f dx. The general Stokes theorem applies to higher differential forms $\omega$ instead of F.
* In fancy language, the closed interval [a, b] is a one-dimensional manifold with boundary. Its boundary is the set consisting of the two points a and b. Integrating f over the interval may be generalized to integrating forms on a higher-dimensional manifold. Two technical conditions are needed: the manifold has to be orientable, and the form has to be compactly supported in order to give a well-defined integral.
* The two points a and b form the boundary of the open interval. More generally, Stokes' theorem applies to oriented manifolds M with boundary. The boundary ∂M of M is itself a manifold and inherits a natural orientation from that of the manifold. For example, the natural orientation of the interval gives an orientation of the two boundary points. Intuitively, a inherits the opposite orientation as b, as they are at opposite ends of the interval. So, "integrating" F over two boundary points a, b is taking the difference F(b) − F(a).
So the fundamental theorem reads:
    $\int _{[a,b]}f(x)\,dx=\int _{[a,b]}dF=\int _{\{a\}^{-}\cup \{b\}^{+}}F=F(b)-F(a).$

## General formulation

Let M be an oriented smooth manifold of dimension n and let $\alpha$ be an n-differential form that is compactly supported on M. The integral of $\alpha$ over M is defined as follows: Let {f$_i$} be a partition of unity associated with a locally finite cover {U$_i$} of (consistently oriented) coordinate neighborhoods, then the integral
    $\int _{M}\alpha \,$
is defined to be
    $\sum _{i}\int _{U_{i}}f_{i}\,\alpha ,\,$
where each term in the sum is evaluated by pulling back to R$^n$. This is well-defined.
Stokes' theorem reads: If $\omega$ is an (n − 1)-form with compact support on M and ∂M denotes the boundary of M with its induced orientation, then
    $\int _{M}\mathrm {d} \omega =\oint _{\partial M}\omega .\!\,$
Here d is the exterior derivative, which is defined using the manifold structure only.
The theorem is often used in situations where M is an embedded oriented submanifold of some bigger manifold on which the form $\omega$ is defined.

## Topological reading

Let M be a smooth manifold. A (C$^∞$-)singular k-simplex of M is a smooth map from the standard simplex in R$^k$ to M. The free abelian group S$_k$ generated by singular k-simplices is said to consist of singular k-chains of M. These groups, together with boundary map ∂, defines a chain complex. The corresponding homology (resp. cohomology) is called the (C$^∞$-)singular homology (resp. cohomology) of M.
On the other hand, the differential forms, with exterior derivative d as the connecting map, form a cochain complex, which defines de Rham cohomology.
Differential k-forms can be integrated over a k-simplex in a natural way, by pulling back to R$^k$. Extending by linearity allows one to integrate over chains. This gives a linear map from the space of k-forms to the k-th group in the singular cochain S$_k$*, the linear functionals on S$_k$. In other words, a k-form $\omega$ defines a functional
    $I(\omega )(c)=\int _{c}\omega \,$
on the k-chains. Stokes' theorem says that this is a chain map from de Rham cohomology to singular cohomology; the exterior derivative d behaves like the "dual" of ∂ on forms. This gives a homomorphism from de Rham cohomology to singular cohomology. On the level of forms, this means
* closed forms have zero integral over boundaries and,
* exact forms have zero integral over cycles.
de Rham's theorem shows that this homomorphism is in fact an isomorphism. So the converse to 1 and 2 above hold true. In other words, if {c$_i$} are cycles generating the k-th homology group, then for any corresponding real numbers {a$_i$}, there exist a closed form $\omega$ such that
    $\int _{c_{i}}\omega =a_{i},$
and this form is unique up to exact forms.

## Special cases

The general form of the Stokes theorem using differential forms is more powerful and easier to use than the special cases. Because in Cartesian coordinates the traditional versions can be formulated without the machinery of differential geometry they are more accessible, older and have familiar names. The traditional forms are often considered more convenient by practicing scientists and engineers but the non-naturalness of the traditional formulation becomes apparent when using other coordinate systems, even familiar ones like spherical or cylindrical coordinates. There is potential for confusion in the way names are applied, and the use of dual formulations.

### Kelvin-Stokes theorem

This is the (dualized) 1+1 dimensional case, for a 1-form (dualized because it is a statement about vector fields). This special case is often just referred to as the Stokes' theorem in many introductory university vector calculus courses. It is also sometimes known as the curl theorem.
The classical Kelvin-Stokes theorem:
    $\int _{\Sigma }\nabla \times \mathbf {F} \cdot d\mathbf {\Sigma } =\oint _{\partial \Sigma }\mathbf {F} \cdot d\mathbf {r} ,$
which relates the surface integral of the curl of a vector field over a surface $\Sigma$ in Euclidean three-space to the line integral of the vector field over its boundary, is a special case of the general Stokes theorem (with n = 2) once we identify a vector field with a 1 form using the metric on Euclidean three-space. The curve of the line integral ( ∂Σ ) must have positive orientation, meaning that d r points counterclockwise when the surface normal ( d Σ ) points toward the viewer, following the right-hand rule.
It can be rewritten for the student acquainted with forms as
    $\iint \limits _{\Sigma }\left({\frac {\partial R}{\partial y}}-{\frac {\partial Q}{\partial z}}\right)\,dy\,dz$$+\left({\frac {\partial P}{\partial z}}-{\frac {\partial R}{\partial x}}\right)\,dz\,dx$$+\left({\frac {\partial Q}{\partial x}}-{\frac {\partial P}{\partial y}}\right)\,dx\,dy$ $=\oint \limits _{\partial \Sigma }P\,dx+Q\,dy+R\,dz$
where P, Q and R are the components of F.
These variants are frequently used:
    $\int _{\Sigma }\left(g\left(\nabla \times \mathbf {F} \right)+\left(\nabla g\right)\times \mathbf {F} \right)$$\cdot d\mathbf {\Sigma }$ $\ =\oint _{\partial \Sigma }g\mathbf {F} \cdot d\mathbf {r} ,$
    $\int _{\Sigma }\left(\mathbf {F} \left(\nabla \cdot \mathbf {G} \right)-\mathbf {G} \left(\nabla \cdot \mathbf {F} \right)+\left(\mathbf {G} \cdot \nabla \right)\mathbf {F} -\left(\mathbf {F} \cdot \nabla \right)\mathbf {G} \right)\cdot d\mathbf {\Sigma }$ $\ =\oint _{\partial \Sigma }\left(\mathbf {F} \times \mathbf {G} \right)\cdot d\mathbf {r} .$

#### In electromagnetism

Two of the four Maxwell equations involve curls of 3-D vector fields and their differential and integral forms are related by the Kelvin-Stokes theorem. Caution must be taken to avoid cases with moving boundaries: the partial time derivatives are intended to exclude such cases. If moving boundaries are included, interchange of integration and differentiation introduces terms related to boundary motion not included in the results below:
| Name | Differential form | Integral form (using Kelvin-Stokes theorem plus relativistic invariance, $\int {\frac {\partial }{\partial t}}...\to {\frac {\mathrm {d} }{\mathrm {d} t}}\int ...$ ) |
| Maxwell-Faraday equation Faraday's law of induction: | $\nabla \times \mathbf {E} =-{\frac {\partial \mathbf {B} }{\partial t}}$ | $\oint _{C}\mathbf {E} \cdot d\mathbf {l} =\int _{S}\nabla \times \mathbf {E} \cdot d\mathbf {A}$$=-\ {\mathrm {d} \over {\mathrm {d} t}}\int _{S}\mathbf {B} \cdot d\mathbf {A}$ C and S stationary |
| Ampère's law (with Maxwell's extension): | $\nabla \times \mathbf {H} =\mathbf {j} +{\frac {\partial \mathbf {D} }{\partial t}}$ | $\oint _{C}\mathbf {H} \cdot d\mathbf {l} =\int _{S}\nabla \times \mathbf {H} \cdot d\mathbf {A}$ $=\int _{S}\mathbf {j} \cdot d\mathbf {A} +{\mathrm {d} \over {\mathrm {d} t}}\int _{S}\mathbf {D} \cdot d\mathbf {A}$ C and S stationary |

### Divergence theorem

Likewise the Ostrogradsky-Gauss theorem (also known as the Divergence theorem or Gauss' theorem)
    $\int _{\mathrm {Vol} }\nabla \cdot \mathbf {F} \ d_{\mathrm {Vol} }=\oint _{\partial \mathrm {Vol} }\mathbf {F} \cdot d\mathbf {\Sigma }$
is a special case if we identify a vector field with the n−1 form obtained by contracting the vector field with the Euclidean volume form.

### Green's theorem

Green's theorem is immediately recognizable as the third integrand of both sides in the integral in terms of P, Q, and R cited above.

## References

Template:Refs

## Further reading

* Joos, Georg. Theoretische Physik. 13th ed. Akademische Verlagsgesellschaft Wiesbaden 1980. ISBN 3-400-00013-2
* Katz, Victor J. (1979), "The History of Stokes' Theorem", Mathematics Magazine, 52 (3): 146–156 {{citation}}: Unknown parameter |month= ignored (help)
* Marsden, Jerrold E., Anthony Tromba. Vector Calculus. 5th edition W. H. Freeman: 2003.
* Spivak, Michael (1965), Calculus on Manifolds: A Modern Approach to Classical Theorems of Advanced Calculus, HarperCollins, ISBN 978-0-8053-9021-6
* Stewart, James. Calculus: Concepts and Contexts. 2nd ed. Pacific Grove, CA: Brooks/Cole, 2001.
* Stewart, James. Calculus: Early Transcendental Functions. 5th ed. Brooks/Cole, 2003.

## External links

* Template:Planetmath reference
* Differential Forms and Stokes' Theorem Jerrold E. Marsden Control and Dynamical Systems, Caltech Broken Link!
* Calculus 3 - Stokes Theorem from lamar.edu - an expository explanation
Template:Link FA
* ↑ Olivier Darrigol,Electrodynamics from Ampere to Einstein, p. 146,ISBN 0198505930 Oxford (2000)