Vector Calculus Fundamentals
Vector Fields and Differential Forms
A vector field assigns a vector to each point in a region of space. The curl of , written , measures the infinitesimal rotation of the field at each point:
You can also remember this as the determinant of the symbolic matrix with in the first row, partial operators in the second, and in the third. Curl shows up whenever you need to describe rotational behavior: fluid vortices, magnetic fields curling around currents, etc.
Stokes' theorem has a particularly clean formulation in the language of differential forms:
- A 1-form is the object you integrate over curves.
- A 2-form is the object you integrate over surfaces. The wedge product is antisymmetric: .
The exterior derivative takes a -form to a -form and unifies gradient, curl, and divergence into a single operation. For a 1-form :
Notice that is exactly the 2-form whose coefficient functions are the components of . This is why Stokes' theorem, phrased in forms as , directly encodes the curl version.
Integration Concepts

Surface and Line Integrals
The surface integral measures the total flux of through an oriented surface . Here , where is the unit outward normal and is the scalar area element. If is parametrized by , then , and the direction of the cross product determines the orientation.
The line integral evaluates the component of tangent to a curve , accumulated along the path. With , this integral computes quantities like work done by a force or circulation of a velocity field.
Orientable Surfaces and Boundary Curves
Stokes' theorem requires the surface to be orientable, meaning you can choose a continuously varying normal vector across the entire surface without contradiction. Spheres, tori, and planes are all orientable. A Möbius strip is the classic non-orientable counterexample: if you try to push a normal vector continuously around the strip, it flips when you return to the starting point.
The boundary curve is the edge of the surface , and its orientation must be compatible with the surface orientation via the right-hand rule: if your right thumb points in the direction of the chosen surface normal , your fingers curl in the direction of traversal along . Getting this orientation agreement right is essential; reversing it flips the sign of the line integral.

Stokes' Theorem
Statement
Stokes' theorem states that for a smooth vector field defined on an open region containing an oriented, piecewise-smooth surface with piecewise-smooth boundary curve :
In the language of differential forms, this is , which is the generalized Stokes' theorem applied to a 1-form on a 2-dimensional domain.
The theorem says: the total curl flux through a surface equals the total circulation around its boundary. This is a higher-dimensional analog of the Fundamental Theorem of Calculus, where integrating a derivative over a region reduces to evaluating something on the boundary.
Relationship to other theorems:
- Green's Theorem is Stokes' theorem applied to a flat surface in the -plane.
- The Fundamental Theorem of Line Integrals is the case where (so ).
- The Divergence Theorem is the analogous result one dimension up, relating a volume integral of divergence to a surface integral of flux.
Proof Outline
The full proof handles general oriented surfaces by decomposing them into patches, but the core argument is clearest for a surface that is the graph of a function over a region in the -plane. Here's the structure:
-
Reduce to components. Write . Because both sides of Stokes' theorem are linear in , it suffices to prove the theorem separately for , then , then . The full result follows by adding.
-
Work out one component. Take . Its curl is:
-
Compute the surface integral. Parametrize by over . The outward normal (with upward orientation) gives . Dotting with the curl:
By the chain rule, since depends on both directly and through : So the surface integral equals .
-
Compute the line integral. On the boundary curve , the integral reduces to . Since lies above (the boundary of the planar region), and on the surface, this becomes .
-
Apply Green's Theorem in the plane. Green's theorem gives: This matches the surface integral from step 3.
-
Repeat for the other components and using analogous arguments, then sum.
For a general oriented surface that isn't a single graph, you decompose into patches, each of which is a graph over one of the coordinate planes. The interior boundary contributions from adjacent patches cancel (they're traversed in opposite directions), leaving only the integral over the outer boundary .
Applying Stokes' Theorem
When you encounter a problem, follow these steps:
- Identify the vector field , the surface , and the boundary curve .
- Check orientations. Make sure the surface normal and boundary traversal direction are compatible via the right-hand rule.
- Decide which side to compute. Stokes' theorem is useful precisely because one side is often much easier than the other. A complicated surface integral of curl might reduce to a simple line integral around a circle, or vice versa.
- Compute the curl if you're evaluating the surface side.
- Parametrize whichever side you chose and evaluate the integral.
Common applications:
- Faraday's law: The EMF around a closed loop equals the negative rate of change of magnetic flux through any surface bounded by that loop. This is Stokes' theorem applied to the electric field.
- Kelvin's circulation theorem: The circulation of a velocity field around a closed curve equals the integral of vorticity over any spanning surface.
- Surface independence: If throughout a simply connected region, then for every closed curve in that region. Stokes' theorem is what makes this conclusion possible.