MAT257Y1/Unit 14
Unit 14 · Analysis II

Stokes' Theorem

Everything in the course converges on one line: $\int_Md\omega=\int_{\partial M}\omega$. Differentiating inside and taking the boundary outside are adjoint operations. The fundamental theorem of calculus, Green's theorem, the divergence theorem and classical Stokes are the cases $k=1,2,3$ in various dimensions — not analogues of each other, but the same statement.

By the end you can
Why it matters & where it comes from
Why it exists

Conservation laws are boundary statements: what accumulates inside equals what crosses the surface. Writing that once, in a form independent of dimension and coordinates, is what makes it usable in general relativity, in fluid mechanics, and on any manifold at all.

In the real world

Gauss's law, the continuity equation, circulation and lift, and every finite-volume numerical scheme are applications. The discrete analogue — exterior calculus on meshes — is used to build numerical methods that conserve exactly rather than approximately.

Story & open questions

The classical version appeared on an 1854 Cambridge exam set by Stokes, who had it in a letter from Kelvin. Cartan's general form arrived around 1899. The pairing between $d$ and $\partial$ became de Rham cohomology, and the same duality reappears in Poincaré duality and in Hodge theory.

Statement

Theorem Stokes

Let $M$ be a compact oriented $k$-manifold with boundary, and let $\omega$ be a $C^1$ $(k-1)$-form on $M$. Give $\partial M$ the induced orientation. Then

$\displaystyle\int_Md\omega=\int_{\partial M}\omega.$

If $\partial M=\emptyset$, the right side is zero, so every exact form integrates to zero over a closed manifold. Compactness can be traded for compact support; without one of the two the theorem is false, as $\int_0^\infty$ of a derivative shows.

Definition Induced orientation

At a boundary point, choose an outward-pointing vector $\nu$. A basis $(v_1,\dots,v_{k-1})$ of the boundary tangent space is positively oriented when $(\nu,v_1,\dots,v_{k-1})$ is positively oriented in $M$. "Outward normal first" is the whole rule, and every sign convention in classical vector calculus is a consequence of it.

In dimension one this says the right endpoint counts $+$ and the left endpoint $-$, which is where the $F(b)-F(a)$ of the fundamental theorem comes from.

Proof Two steps
Localise. Take a partition of unity $\{\rho_i\}$ subordinate to a cover of $M$ by charts. Both sides are linear in $\omega$ and $\omega=\sum_i\rho_i\omega$, a finite sum by compactness, so it suffices to prove the theorem for a form supported inside one chart.
Compute on the model. In a chart the problem becomes a form with compact support on the half space $H^k$. Write $\omega=\sum_j a_j\,dx_1\wedge\dots\widehat{dx_j}\dots\wedge dx_k$, the hat meaning omit. Then $d\omega=\sum_j(-1)^{j-1}\dfrac{\partial a_j}{\partial x_j} dx_1\wedge\dots\wedge dx_k$.
Integrate by Fubini, doing the $x_j$ integral first. For $j<k$ the variable ranges over all of $\mathbb{R}$ and compact support makes the inner integral zero. For $j=k$ it ranges over $[0,\infty)$ and the fundamental theorem leaves the boundary value at $x_k=0$.
What survives is exactly $\int_{\partial H^k}\omega$, with the sign matching the outward-normal-first convention. ∎

Under the machinery, the theorem is the one-variable fundamental theorem applied once, in the right coordinate, with everything else arranged so that only that one application is needed.

The two halves are $d^2=0$ and $\partial\partial=\emptyset$. Apply Stokes twice: $\int_Md(d\omega)=\int_{\partial M}d\omega=\int_{\partial\partial M}\omega$. The left side is zero because $d^2=0$ and the right because a boundary has no boundary. The algebra and the geometry are the same fact.

The classical theorems

Case Fundamental theorem of calculus

$M=[a,b]$, a $1$-manifold with boundary $\{a,b\}$; $\omega=f$ a $0$-form. Then $d\omega=f'\,dx$ and the induced orientation gives $b$ the sign $+$ and $a$ the sign $-$:

$\displaystyle\int_a^bf'\,dx=f(b)-f(a).$
Case Green's theorem

$M\subseteq\mathbb{R}^2$ a region with boundary curve, $\omega=P\,dx+Q\,dy$. Then $d\omega=(Q_x-P_y)\,dx\wedge dy$ and

$\displaystyle\iint_M(Q_x-P_y)\,dA=\oint_{\partial M} P\,dx+Q\,dy,$

with the boundary traversed counterclockwise — which is what the outward-normal-first rule produces in the plane.

Case Divergence theorem

$M\subseteq\mathbb{R}^3$ a solid region, $\omega$ the $2$-form corresponding to a field $F$. Then $d\omega=(\nabla\cdot F)\,dV$ and

$\displaystyle\iiint_M\nabla\cdot F\,dV =\iint_{\partial M}F\cdot n\,dS,$

with $n$ the outward normal — again straight from the induced orientation.

Case Classical Stokes

$M$ an oriented surface in $\mathbb{R}^3$ with boundary curve, $\omega$ the $1$-form of a field $F$. Then $d\omega$ corresponds to $\nabla\times F$ and

$\displaystyle\iint_M(\nabla\times F)\cdot n\,dS =\oint_{\partial M}F\cdot dr,$

the curve oriented by the right-hand rule relative to $n$.

Theorem Four theorems, one proof

Each case above is the same identity with $k=1,2,3$ and the appropriate degree of $\omega$. The apparent differences — a difference of values, a line integral, a flux integral — come entirely from the vector calculus dictionary of Unit 12 and the coincidence $\binom32=3$ in $\mathbb{R}^3$.

Using it

Example Area from the boundary

Taking $\omega=\tfrac12(-y\,dx+x\,dy)$ gives $d\omega=dx\wedge dy$, so the area of a plane region equals $\tfrac12\oint(-y\,dx+x\,dy)$ over its boundary. That integral is what a planimeter mechanically evaluates, and it is the shoelace formula in the polygonal case.

Example Proving non-exactness

The angle form $\omega$ on the punctured plane is closed with $\oint_{S^1}\omega=2\pi$. If it were exact, say $\omega=df$, then Stokes on the circle — a closed manifold — would give $\oint\omega=0$. So it is not exact, and the obstruction is the puncture.

Example Closed manifolds kill exact forms

$\int_{S^2}d\eta=0$ for every $1$-form $\eta$, since $S^2$ has no boundary. Consequently the volume form of $S^2$, whose integral is $4\pi$, is not exact — a statement about the topology of the sphere obtained by pure calculus.

Theorem Where cohomology starts

Define $H^k_{dR}(M)$ as closed $k$-forms modulo exact ones. Stokes says integration over a closed $k$-manifold is well defined on this quotient, and de Rham's theorem says the quotient computes the topology of $M$. That is the doorway out of this course, into MAT327H1 and beyond.

Common pitfalls

• Getting the induced orientation wrong. Outward normal first, every time; the classical right-hand rules are consequences, not extra conventions.
• Dropping compactness or compact support. Both sides can then be infinite or unequal.
• Applying it across a singularity. The punctured disc is not a manifold with boundary containing the puncture, which is exactly why the angle form survives.
• Mismatching degrees. On a $k$-manifold, $\omega$ must be a $(k-1)$-form.
• Concluding a form is exact because its integral vanishes over one cycle. It must vanish over every cycle, and even then the conclusion needs de Rham.

Practice

Original problems written for this guide in the style of Spivak and Munkres exercises. Write a full solution before opening the answer.

Practice 1 · Green by hand

Evaluate $\oint_C(y^2\,dx+x^2\,dy)$ over the unit circle counterclockwise, two ways.

Solution
By Green: $\iint(2x-2y)\,dA=0$ by symmetry of the disc. Directly: substitute $x=\cos t$, $y=\sin t$ and both integrals over $[0,2\pi]$ vanish.
Practice 2 · Flux through a sphere

Compute the flux of $F=(x,y,z)$ out of the unit sphere.

Solution
$\nabla\cdot F=3$, so the flux is $3\cdot\tfrac43\pi=4\pi$. Directly, $F\cdot n=1$ on the sphere and the area is $4\pi$.
Practice 3 · Area of an ellipse from its boundary

Use the boundary formula on $x=a\cos t$, $y=b\sin t$.

Solution
$\tfrac12\oint(-y\,dx+x\,dy)=\tfrac12\int_0^{2\pi}ab\,dt=\pi ab$.
Practice 4 · Closed surface, zero curl flux

Why is $\iint_{S}(\nabla\times F)\cdot n\,dS=0$ for a closed surface $S$?

Solution
$S$ has no boundary, so Stokes gives zero. Equivalently the field is a curl, hence divergence free, and the divergence theorem gives zero.
Practice 5 · Two surfaces, one boundary

Two surfaces share a boundary curve. Compare the flux of a curl through each.

Solution
Equal, provided the orientations induce the same orientation on the curve. Both equal the line integral. Their difference is a closed surface, over which the flux of a curl is zero.
Practice 6 · The winding obstruction

Let $C$ be a loop in the punctured plane winding twice around the origin. Compute $\oint_C\omega$ for the angle form.

Solution
$4\pi$. The integral counts $2\pi$ per turn, and Stokes on the region between $C$ and two small circles shows the answer depends only on the winding number.
Practice 7 · Integration by parts

Derive $\int_M d\alpha\wedge\beta =\int_{\partial M}\alpha\wedge\beta-(-1)^{k}\int_M\alpha\wedge d\beta$ for a $k$-form $\alpha$.

Solution
Apply Stokes to $\alpha\wedge\beta$ and expand $d(\alpha\wedge\beta)$ with the graded Leibniz rule. This is the differential-forms version of integration by parts, and the source of every Green's identity.
Practice 8 · Volume from the boundary

Show the volume of a solid $M\subseteq\mathbb{R}^3$ equals $\tfrac13\iint_{\partial M}(x,y,z)\cdot n\,dS$.

Solution
The position field has divergence $3$, so the divergence theorem gives $3\,\mathrm{vol}(M)$ for the flux. Divide by three. This is how volumes are computed from triangulated surface meshes.

Expanded topic checklist

Course coverage. This unit is part of the complete MAT257Y1 topic map. It should cover the following items before you move on:

Textbook/source alignment

Spivak's final chapter states and proves the theorem in the form given here, then derives the classical cases; Munkres does the same at greater length with more attention to the orientation bookkeeping. Confirm which classical cases the syllabus expects you to derive.

Core theorem map

Manifolds and orientation give the left and right sides meaning. Partitions of unity reduce the proof to a chart. The fundamental theorem of calculus finishes it. $d^2=0$ paired with $\partial\partial=\emptyset$ is what the whole framework was built to express.

Study routine. Derive each classical theorem from the general statement, on paper, without looking. If the orientation conventions come out right you have understood the induced orientation; if they do not, that is the part to reread.

Deep practice extensions

Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.

Extension 1 · The statement

Write Stokes' theorem in one line and say what each side means.

Guide
$\int_Md\omega=\int_{\partial M}\omega$: the total derivative over the region equals the form's total over the edge.
Extension 2 · Orientation rule

State the induced boundary orientation.

Guide
Outward normal first, then a positively oriented basis of the boundary tangent space.
Extension 3 · No boundary

What does the theorem give on a closed manifold?

Guide
$\int_Md\omega=0$: exact forms integrate to zero, which is how non-exactness gets proved.
Extension 4 · Duality

Which two facts are dual to each other under the theorem?

Guide
$d^2=0$ and $\partial\partial=\emptyset$. Applying Stokes twice turns either one into the other.