Vector Calculus & the Green–Stokes–Gauss Theorems
Line and surface integrals, conservative fields, divergence and curl, and the orientation-sensitive boundary theorems that connect local derivatives to global circulation and flux.
Vector calculus connects three levels of description:
- a field assigns a scalar or vector to each point;
- derivatives such as gradient, divergence, and curl describe local change;
- integrals over curves, surfaces, and volumes measure accumulated effects.
Green’s, Stokes’, and the divergence theorem say that an integral of a derivative over a region equals an integral of the original field over the oriented boundary. Most mistakes are therefore not algebra mistakes but boundary, topology, or orientation mistakes.
The physical questions behind the notation #
| Object | A concrete question it answers | Typical units |
|---|---|---|
| In which direction does temperature rise fastest, and by how much per metre? | ||
| How much work does a force perform along a path? | ||
| How much fluid volume crosses a surface per second? | ||
| Is a small neighborhood acting like a source or a sink? | ||
| Around which axis does the local flow tend to rotate? |
The operators describe the same field at different scales: derivatives inspect one tiny neighborhood, while integrals add the effect along a path, across a surface, or through a volume.
Curves and line integrals #
Let a piecewise curve be parameterized by
For a scalar field ,
This integral is independent of orientation because reversing the parameter changes and together, leaving positive.
For a vector field ,
This integral changes sign when the curve orientation reverses. For a force field, it is work; around a closed curve, it is circulation.
The parameterization must trace the intended curve with the intended orientation. A nonregular point where can be acceptable in a piecewise-regular representation, but formulas that divide by speed cannot be used there.
Conservative fields and potentials #
A field is conservative on a domain if there is a scalar potential with
Then the chain rule gives
so
Consequences:
- the integral depends only on endpoints;
- every closed-loop integral is zero;
- work can be computed without following the path.
If is and conservative, then . The converse needs topology. On an open simply connected domain, the equality implies conservativity. Without the no-hole condition it can fail.
A standard counterexample is
on . Its scalar curl is zero wherever defined, but its circulation around the unit circle is . The hole contains the obstruction.
Divergence and curl #
For ,
measures local net outflow per unit volume.
The curl
measures local circulation density and axis.
These interpretations are local and differential. A pointwise zero divergence does not by itself say that flux through an arbitrary open surface is zero, and zero curl implies a global potential only with suitable domain hypotheses.
For sufficiently smooth fields,
The smoothness matters because the identities use equality of mixed partial derivatives.
Surface area and flux #
Let an oriented parametric surface be
The tangent vectors span the tangent plane. Their cross product supplies both a normal direction and the area scale:
A scalar surface integral is
The flux of through an oriented surface is
Swapping and reverses the cross product and hence the flux sign.
A surface must be orientable to choose a continuous unit normal globally. A Möbius strip has no global two-sided orientation, so an ordinary global flux integral is not defined without additional treatment.
Green’s theorem #
Let be a planar region with positively oriented boundary , meaning the region stays on the left as the boundary is traversed. Under the usual piecewise-smooth boundary and field hypotheses,
The flux form is
For regions with holes, each inner boundary is oriented clockwise so that the region remains on the left. Simply writing “counterclockwise” for every component gives the wrong sign.
Stokes’ theorem #
Let be an oriented piecewise-smooth surface with positively induced boundary orientation , and let have continuous first partial derivatives on a neighborhood of . Then
The right-hand rule couples the normal to the boundary direction. If the fingers curl along , the thumb points along the chosen normal.
Stokes’ theorem depends only on the boundary curve and the field, not on which spanning surface is selected, provided the replacement surface stays in a region where is smooth and the orientation agrees. This often turns a difficult curved-surface integral into a simple planar one.
Worked Stokes example #
Take
and let be the unit circle in the -plane, counterclockwise from . Since
choose the unit disk with upward normal:
Directly, , so
and , confirming the orientation and scale.
Divergence theorem #
Let be a solid with piecewise-smooth closed boundary , oriented outward. If has continuous first partial derivatives on an open neighborhood containing , then
For on the ball of radius ,
so
On the sphere, , so the direct calculation also gives .
The theorem applies to the complete closed boundary. If a side surface is open, cap it, apply the theorem to the closed surface, and subtract the cap flux with its induced outward orientation.
One boundary principle #
The theorems can be remembered structurally:
- Fundamental theorem of calculus: interval endpoints.
- Fundamental theorem for line integrals: curve endpoints.
- Green: planar region boundary curve.
- Stokes: oriented surface boundary curve.
- Divergence: volume closed boundary surface.
This mnemonic does not replace hypotheses; it tells you which object and orientation to audit.
Failure modes #
- Omitting from a scalar line integral.
- Adding an absolute value to a vector line integral and destroying orientation.
- Inferring “curl-free implies conservative” on a domain with a hole.
- Using a potential across disconnected domain components without fixing constants separately.
- Treating and as interchangeable.
- Applying Green’s theorem with every boundary component counterclockwise.
- Applying Stokes without matching the curve direction to the surface normal.
- Applying the divergence theorem to an open surface without adding and subtracting caps.
- Ignoring a field singularity inside the region, even when the field is smooth on the boundary itself.
- Computing one symmetric half of a flux and reporting it as the whole-surface answer.
Sources
- bookDifferential and Integral Calculus of Functions of Several Variables and Differential Equations: Lecture Notes and Practicumpdfnotes
- bookLine Integrals
- bookConservative Vector Fields
- bookGreen's Theorem
- bookDivergence and Curl
- bookSurface Integrals
- bookStokes' Theorem
- bookThe Divergence Theorem