The localization proof and corner/edge estimates extend the elementary calculations below to the precisely stated finite regular boundary classes, including holes and cavities. The local proofs retained here do not assume an unproved decomposition.
Circulation and curl
Theorem
Stokes' theorem
Let be a compact oriented piecewise regular surface, made of finitely many regular patches meeting along their edges, with piecewise smooth boundary , and let have continuous first partial derivatives on an open neighbourhood of the surface. With oriented compatibly by the right-hand rule,
The thumb of the right hand points along the chosen normal while curled fingers indicate the positive boundary direction.
The complete patch proof in the integral-theorem supplement assumes a regular parametrization on a neighborhood of its compact parameter region, interior once-only coverage and boundary coverage without overlap except endpoints. Its parameter region must have the proved Green property, or an explicitly given finite decomposition with matched edges. Finite compatible patches can then be added with internal boundaries canceled. This does not silently supply a decomposition theorem for every general piecewise smooth surface.
Green's circulation theorem is the planar case with upward normal. The surface need not be flat: if two oriented surfaces share the same compatible boundary and the hypotheses hold for each, either surface may be used to compute the common circulation.
Worked example
Choose the simplest spanning surface
Let be in the -plane, counterclockwise viewed from above, and . Here . Choose the disk with upward normal, giving
The orientation must match: the downward normal would require clockwise boundary orientation.
Theorem
Green's theorem, circulation form
Let be a bounded planar region whose boundary consists of finitely many disjoint piecewise smooth simple closed curves, positively oriented relative to . Suppose are on an open neighbourhood of . Then
Positive orientation keeps the region to the left as one traverses the boundary: counterclockwise on an outer boundary and clockwise around a hole.
Proof
Complete proof on the double-simple class
Assume first that has both descriptions , and , , with ordered continuous boundary functions whose graphs are supplied as finitely many piecewise arcs, and the indicated positive orientation. The fundamental theorem of calculus gives
The lower boundary is traversed left to right and the upper boundary right to left, so this is precisely their contribution; vertical pieces have . Similarly,
The right boundary is traversed upwards and the left boundary downwards; horizontal pieces have . Adding proves Green's formula in this class. If a specific finite decomposition into such pieces is given, with disjoint interiors and matched piecewise smooth boundary arcs, sum their identities. Each internal arc has opposite induced directions and cancels.
The boundary graphs need not have finite graph derivatives at projection endpoints, provided their continuous graphs are supplied as finitely many piecewise arcs. Here is the required parameter argument. For the lower graph put . Its integrand is continuous. Along an oriented regular arc with increasing , the chain rule gives . The fundamental theorem therefore identifies the arc's integral with , even if the inverse graph parameter has a vertical tangent at an endpoint. Reversed traversal changes the sign. The same reasoning applies to the upper graph and to the two graphs. This supplies the boundary-integral identifications above without assuming a bounded derivative of each graph function at its endpoints.
In particular the disk , , has continuous bounds and the analogous horizontal bounds. Its semicircles have regular angle parametrizations, so this disk lies in the proved class. For the annulus , split into four quadrant pieces: in the first quadrant the vertical bounds are , , and the horizontal description is obtained by exchanging coordinates. They are continuous and their boundary arcs are piecewise . The reflected pieces have matching internal edges, so the stated finite-cancellation extension also covers this annulus.
This proves the formula for the double-simple class and for those given finite decompositions. The general region class in the stated theorem requires an additional decomposition or approximation result; this calculation does not by itself prove that every such region admits the required finite decomposition.
Stokes for a regular parametrized patch
Let be compact and let be a parametrization on an open neighborhood of , one-to-one on its interior, with . Assume has the Green property just proved and its piecewise smooth boundary maps to the surface boundary without overlap except endpoints. Let be near the image. Orient the surface by and the boundary by the positive orientation of .
Set , . The chain rule and equality of give
The last equality follows by expanding the three curl components and the cross product. The boundary line integral pulls back to . Green converts it to the integral of , which is exactly the oriented curl surface integral. This proves Stokes for the patch. For finitely many compatible patches, add their identities and cancel paired internal boundary curves. Compatibility of normals is necessary for those orientations to oppose each other.
Flux and divergence
Theorem
Divergence theorem
Let be a bounded solid with compact closure and piecewise smooth closed boundary oriented outward, and let be on an open neighbourhood of . Then
Every boundary component must be included. At a cavity the outward normal of the solid points into the cavity.
Proof
How interior contributions cancel
On a rectangular box, integrate with respect to : the fundamental theorem gives the flux through the two faces normal to the -axis. Do the same for the and components, producing the total outward flux. For a suitable subdivided solid, the flux through shared internal faces cancels between adjacent pieces. The box calculation alone does not justify curved boundaries; the localization proof linked below supplies that step for its explicitly stated regular classes.
The integral-theorem supplement now proves the precisely stated regular classes there, including solids whose boundaries consist of finitely many regular faces, edges and vertices, as well as the stated planar regions and oriented surfaces. Local charts, a finite partition of unity and corner/edge estimates justify the curved-boundary step for those classes; no unproved finite coordinate-simple decomposition is assumed. Arbitrary nonregular or weak boundaries remain outside the claim.
Worked example
Closed surface flux
Let be the ball of radius and . Its divergence is , so
If instead only the upper hemisphere is requested, this theorem applies only after adding a disk to close the surface; compute and subtract the disk's outward flux with the correct normal.
The sliced-integration foundation used in three dimensions
Here is the precise integration fact needed by the divergence proof. Let be compact and Jordan measurable, let be continuous real functions on , and set
For continuous on a box containing ,
First prove the region is Jordan. Compactness of and continuity of the two bounds make compact. Its boundary is contained in the two graphs and the vertical wall over . To cover either graph, use a small square grid in the base. On a base square meeting , uniform continuity bounds the height variation by a single ; enclosing the graph values in a slab of height at most gives total covering volume at most a fixed base-box area times this height. Thus both graphs are Jordan null. The wall is null because a finite rectangle cover of with arbitrarily small total area can be multiplied by one fixed bounded interval. The Jordan boundary criterion therefore makes measurable.
Next prove both integrals exist. Write . If is a common interval length and bounds , then
Hence is continuous on . Continuous functions on compact Jordan sets, extended by zero, are Riemann integrable by the boundary-cell argument. This applies both to on and to on .
Finally identify the values by finite sums. Extend by zero outside in the box. For a rectangular grid with intervals and base cells , let be the infimum and supremum of that zero extension on . For every fixed , integrating the cell bounds in gives
where is zero outside . Integrate these inequalities over the base cells and add. The iterated value lies between the same three-dimensional lower and upper sums as . Their gap can be made arbitrarily small by integrability. This proves equality without presupposing a three-dimensional Fubini interchange. The three-dimensional Darboux criterion itself uses the same finite common-refinement proof: refinement raises lower sums and lowers upper sums, and a common grid compares any pair; equality of their supremum and infimum is equivalent to arbitrarily small gaps.
The field in the divergence theorem is initially only on an open neighborhood of , not necessarily on the whole containing box. This causes no hidden extension assumption. Cover by finitely many open half-cubes whose full closed cubes lie in . On each cube take a product cutoff , equal to one on the half-cube and zero outside the full cube. Such a one-variable cutoff is obtained by joining the constants zero and one with , whose derivatives vanish at both ends; coordinate products give the cube cutoff. Then
equals one near and has compact support inside . Extend by zero outside . It is globally , because its support stays away from the boundary of , and it and all first derivatives agree with near . Its component derivatives are continuous on the containing box, so the proved sliced formula applies to as used below. No extension of a merely arbitrary discontinuous integrand is being asserted.
Divergence for a solid simple in each coordinate
Let be a compact solid describable as the interval between two ordered continuous graphs, piecewise on their regular boundary pieces, in the direction over a compact Jordan planar domain, and likewise in the and directions. Assume the associated boundary graph formulas apply outside finitely many edges, and let be near its closure. The boundary is oriented outward.
Require, in each coordinate description, that off a Jordan-null part of the projection and that the two graphs represent distinct actual boundary faces away from the exceptional edges. This excludes positive-area zero-thickness pieces with coincident faces; the slab integration lemma itself permits , but such a degenerate set does not supply the two outward faces used by this flux proof.
Write the description as over . The fundamental theorem and iterated integration give
On the right graph, the outward vector area has component ; on the left it has . Side pieces generated parallel to the direction have normal component zero. Thus the right side is exactly the flux of over the boundary. Repeat using the and descriptions for the other components. Addition proves
Finite unions again follow by cancellation of matched interior faces. General approximation or decomposition beyond this class needs an additional theorem; it is not hidden in the word “cancellation.”
Choosing the theorem and checking hypotheses
Use Stokes for an oriented boundary curve and a spanning surface; use divergence for a closed oriented surface and the enclosed solid. The latter cannot be applied directly to an open surface, and neither theorem permits ignoring singularities inside the relevant region. To use a closing surface, account explicitly for its flux and its outward direction. Verify a purported boundary orientation before changing surfaces.
Practice
- Evaluate the circulation of around the counterclockwise unit circle in the -plane.
- Find the outward flux of through the unit cube.
- A solid has a cavity. Which way does its outward normal point on the cavity boundary?
- Why cannot the divergence theorem be used directly on an open hemisphere alone?
Full solutions
- Curl is . The upward disk is compatible, so Stokes gives .
- Divergence is and the unit cube has volume , so outward flux is .
- Into the cavity: outward means away from the solid, not necessarily away from a chosen origin.
- Its boundary is a circle, so the hemisphere is not a closed surface bounding a solid by itself. Add the base disk, apply the theorem to the resulting closed boundary, then subtract the disk flux.
Synthesis
Stokes relates boundary circulation to curl through a spanning surface; divergence relates outward flux over a closed surface to divergence throughout its volume. Their geometry and orientation conditions determine when the conversion is legitimate.