Stokes' theorem
Stokes' theorem, also called the Kelvin-Stokes theorem, is a result in vector calculus. It links what a vector field does along a closed loop to what it does on a surface whose edge is that loop. The circulation of the field around the loop (how much the field pushes along the loop) equals the total curl (local spinning) of the field across the surface.[1]
The theorem extends Green's theorem from flat regions to curved surfaces in space.[1] It is also the special case of the generalized Stokes theorem for surfaces in three-dimensional space.[2]
The basic idea
Circulation
The circulation of a vector field around a closed curve adds up the part of the field that points along the curve, all the way around. It is written as the line integral .[3] If is the velocity of a fluid, the circulation measures how strongly the fluid tends to flow around the curve .[1]
Curl
The curl of a field at a point is a vector that measures how the field rotates there. Picture a tiny paddlewheel placed in a flowing fluid. It spins fastest when its axis points along the curl.[1]
Adding up small loops
The theorem follows from cutting the surface into many tiny patches. The circulation around each tiny patch is about the curl's component along the patch's normal (the direction perpendicular to the patch), times the patch's area.[3]
When all the patch circulations are added, each inside edge is crossed twice in opposite directions, so it cancels. Only the outer edge is left, and its circulation is the circulation around .[3]
Statement
Let be an oriented surface, meaning one of its sides is chosen as positive, which sets the direction of its normal. It must be piecewise smooth (made of finitely many smooth pieces). Let its boundary be a simple closed curve (a loop that does not cross itself), traced in the positive direction defined in "Matching the directions" below.[1]
Suppose each coordinate part of has continuous partial derivatives throughout an open region containing . This means the rates of change of each part vary continuously across that region. Then[1]
- is the vector field.
- is the boundary curve and is a small step along it.
- is the surface, and is a small piece of it times its unit normal vector .
- is the curl of .
The right side is the flux of the curl through , written as a surface integral.[1] Some versions allow the boundary to be several piecewise smooth closed curves, each oriented to match the surface.[4]
Conditions
The theorem as stated uses four conditions.[5]
- The surface must be oriented. It has two sides, and one side is chosen as positive, which fixes the normal .
- The surface must be piecewise smooth and finite, with finite area.
- The field must have continuous first partial derivatives, so its curl can be integrated.
- The curve and the surface must be oriented to match.
The first three conditions make the two integrals defined. The fourth makes their signs agree.[5]
Matching the directions
The direction around and the normal must agree. If you walk along in the positive direction with your head pointing along , the surface stays on your left.[1] Equivalently, by the right-hand rule, if the thumb of your right hand points along , your fingers curl in the direction of .[6]
Reversing either direction flips the sign of one side of the equation.[3]
In coordinates
Write . Its curl is[7]
With the unit normal , the theorem reads
A worked example
Take and let be the unit circle in the -plane, traced counterclockwise when seen from above. The formula above gives .
- Line integral. Use for . Then , so the circulation is .
- Surface integral. Take to be the unit disk with . The expression being integrated is the constant , and the disk's area is , so the flux is .
Both sides equal , as the theorem says.
Why the theorem holds
Circulation around a tiny square
Richard Feynman's lectures give a short argument based on small squares.[3] Place a tiny square with sides and in the -plane and go around it counterclockwise. Comparing the field on opposite sides gives a circulation of
Here is the square's area and is its normal. The bracket is the -component of the curl, which for a square in any position is the component along its normal.[3] Covering with such squares and adding them, the inside edges cancel and the sum becomes the surface integral.[3]
Reduction to Green's theorem
A standard textbook proof turns the theorem into Green's theorem in a coordinate plane.[8] The steps below keep the notation used above.
- Prove it for a field of the form on a surface that is a graph over a region of the -plane.
- Rewrite the line integral around as a line integral around the edge of , using and .
- Rewrite the surface integral as a double integral over .
- Show the two are equal by Green's theorem. Terms cancel because .
- Repeat for a field on a surface and a field on a surface , then add the three results.
- If the surface is not such a graph, cut it into pieces that are. The line integrals along each cut appear twice in opposite directions and cancel.
The author of this proof presents it as an informal sketch, not a fully rigorous proof.[8]
Consequences
Green's theorem as a special case
Green's theorem is Stokes' theorem for a flat surface. Let be a counterclockwise simple closed curve in the -plane, the region inside it with , and .[5] The theorem becomes
Any surface with the same edge
The flux of a curl depends only on the boundary curve. If and are smooth surfaces with the same boundary and the same orientation, then[1]
This lets you swap a hard surface for an easy one, such as a flat disk.[1] In the worked example, the upper unit hemisphere also gives a flux of . This surface independence is the counterpart of path independence for line integrals of gradient fields (fields that are the gradient of a function).[1]
Closed surfaces
The flux of a curl through any closed surface is zero. Feynman's argument shrinks the boundary loop to a point. The line integral goes to zero, so the surface integral must too.[3]
The same result follows from the divergence theorem. The divergence of a field measures how much it spreads out from a point, and the divergence of a curl is always zero for fields with continuous second partial derivatives.[7][9]
Curl-free and conservative fields
A field with zero curl has zero circulation around a loop whenever the loop bounds a surface where the field is defined. This follows directly from the theorem, since the flux of a zero curl is zero.
Every conservative vector field (a gradient field) has zero curl.[10]
The reverse statement holds on a simply connected region.[11] Such a region is connected, and every simple closed curve in it can be shrunk continuously to a point while staying inside it.[12] There, Stokes' theorem gives zero circulation around every simple closed curve.[10]
The reverse statement can fail when the region has a hole. Consider the field[10]
It is defined everywhere except on the -axis and has zero curl there. Yet its circulation around the unit circle in the -plane is , since on that circle. Stokes' theorem does not apply, because every surface bounded by this circle is cut by the -axis.[10]
Curl as circulation per unit area
Stokes' theorem gives curl a meaning that does not depend on coordinates. Let be a small disk of radius centered at a point , with unit normal and boundary circle . Then[1]
In words, the component of the curl along is the circulation per unit area in the limit. This is why the paddlewheel spins fastest with its axis along the curl.[1]
When the theorem does not apply
The theorem does not apply when one of its conditions is not met.
- One-sided surfaces. A Möbius strip has only one side, so no continuous normal can be chosen on it. Flux through it has no meaning, and Stokes' theorem does not apply to it.[13] See Orientability.
- Fields that are undefined somewhere on every spanning surface. In the example above, the field is undefined on the -axis, which every spanning surface crosses.[10]
The circulation around the edge of a Möbius strip can still be found with Stokes' theorem by using a different, two-sided surface with the same edge.[14]
Uses in physics
Physicists use the theorem to move between the integral and differential forms of laws such as Faraday's law and Ampère's law.[1][15] An integral form is an equation about an integral over a loop or surface, and a differential form is an equation about the field's values at each point.[15]
Faraday's law
Faraday's law of induction has an integral form and a differential form. The integral form says the line integral of the electric field around a loop equals minus the rate of change of the magnetic flux of the magnetic field through a surface bounded by the loop.[1]
Stokes' theorem turns the left side into . If the surface does not change with time, both sides are integrals over the same surface. Because this holds for every surface, however small, the expressions being integrated must match:[1]
Ampère's law
For steady currents, Ampère's law says the circulation of the magnetic field around a loop is times the current through it.[15][16] Here is the magnetic constant.
The current density is the current flowing through a unit area, with a direction.[17] The current through the loop is the flux of through any surface bounded by the loop. Applying Stokes' theorem to the left side and using the same surface on both sides gives .[15]
With a term added for a changing electric field, the same steps give , where is the electric constant. This full form is one of Maxwell's equations.[16]
Place among the integral theorems
A family of theorems
Stokes' theorem belongs to a family of results that each extend the fundamental theorem of calculus.[1] Each one equates an integral over a region with an integral over the region's boundary.
| Theorem | Region | Boundary |
|---|---|---|
| Fundamental theorem of calculus | Interval on a line | Two endpoints |
| Gradient theorem | Curve | Two endpoints |
| Green's theorem | Flat region in the plane | Closed curve |
| Stokes' theorem | Surface in space | Closed curve |
| Divergence theorem | Solid region in space | Closed surface |
The general form
In the language of differential forms (mathematical objects, not the differential form of a physical law), all of these are one formula. A -form is a mathematical object suited to integration over -dimensional regions, such as curves when and surfaces when .[18]
Let be a compact (roughly, finite in extent and including its edge) oriented smooth -dimensional manifold with boundary . Give the induced orientation, meaning its positive direction is chosen to match the orientation of . If is a smooth -form on with exterior derivative , then[2][18]
The same formula holds on a manifold that is not compact if has compact support (it is zero outside some compact set).[19] The three classical theorems are special cases.[2]
| Theorem | Form degree | Setting |
|---|---|---|
| Green's theorem | 1-form | Plane |
| Stokes' theorem | 1-form | Three-dimensional space |
| Divergence theorem | 2-form | Three-dimensional space |
History
The theorem is named for George Stokes, but he did not discover it first.[2] Its first known statement is in a letter from William Thomson, later Lord Kelvin, to Stokes dated 2 July 1850.[2]
| Year | Event |
|---|---|
| 1850 | Thomson states the theorem in a letter to Stokes. |
| 1854 | Stokes sets it as question 8 on the February Smith's Prize exam at Cambridge, its first appearance in print. |
| 1861 | Hermann Hankel publishes what seems to be the first published proof, for surfaces of the form . |
| 1867 | Thomson and Peter Guthrie Tait sketch a proof without that restriction in their Treatise on Natural Philosophy. |
| 1873 | James Clerk Maxwell states the theorem in his Treatise on Electricity and Magnetism, citing the Smith's Prize exam. |
| 1889 | Vito Volterra is the first to include the theorems of Green, Gauss, and Stokes in one general result, without proof. |
| 1899 | Henri Poincaré states the same generalization in a shorter form. |
| 1945 | Élie Cartan publishes the general formula in its modern form, , from a course he gave in 1936 to 1937. |
All entries are from Victor Katz's history of the theorem.[2] It is not known whether any student solved the 1854 exam question.[2] Maxwell's citation followed an 1871 letter in which he asked Stokes about the theorem's history.[2]
References
- Calculus Volume 3, Section 6.7: Stokes' Theorem, OpenStax, 2016.
- The History of Stokes' Theorem (Victor J. Katz), Mathematics Magazine 52(3), 1979.
- The Feynman Lectures on Physics, Vol. II, Ch. 3: Vector Integral Calculus, California Institute of Technology, 1964.
- Lecture 21: The Theorem of Stokes', Johns Hopkins University, 2019.
- 18.02 Supplementary Notes V13.1-2: Stokes' Theorem (Arthur Mattuck), MIT OpenCourseWare, 2010.
- Stokes' and Gauss' Theorems (Math 240 slides), University of Pennsylvania, 2013.
- Calculus Volume 3, Section 6.5: Divergence and Curl, OpenStax, 2016.
- 18.02 Supplementary Notes V13.3: Proof of Stokes' Theorem (Arthur Mattuck), MIT OpenCourseWare, 2010.
- Math 20E week 10 notes: Why is Stokes' Theorem true?, University of California, San Diego, 2012.
- 15.8 Stokes' Theorem (lecture notes), University of California, Irvine.
- The Stokes Theorem (Sect. 16.7), MTH 234 notes, Michigan State University, 2010.
- Calculus Volume 3, Section 6.3: Conservative Vector Fields, OpenStax, 2016.
- The Möbius strip (course handout), Louisiana State University.
- Flux through a Möbius strip? (L. Fernández-Jambrina), European Journal of Physics, 2021.
- Differential Form of Ampère's Law (Corinne A. Manogue and Tevian Dray), Oregon State University.
- Differential Forms and Maxwell's Equations, University College London.
- 19.7: Summary, Introductory Physics: Building Models to Describe Our World (Martin, Neary, Rinaldo, and Woodman), LibreTexts.
- Math 600: Integration on Chains and Stokes' Theorem (Ryan Blair), University of Pennsylvania.
- Note 16: Stokes' theorem (differential geometry course notes), University of Copenhagen.
