This page is the practice floor for the unification note . The parent told you why the four classical theorems are one identity ∫ ∂ M ω = ∫ M d ω . Here we run the identity by hand across every situation it can face — every dimension, every sign of orientation, every degenerate input — and we always compute both sides to watch them agree.
Intuition What every example here is really doing
Each worked example computes the left side (integrate ω over the boundary) and the right side (integrate d ω over the inside) separately , then checks they match. That double-computation IS the theorem being verified — it is not busywork, it is the whole point.
Definition Two "measuring sticks" we integrate against
d s = the arclength element : a tiny piece of length along a curve . Summing 1 ⋅ d s around a loop gives the loop's total length. We use it when the boundary is a 1D curve.
d S = the surface-area element : a tiny patch of area on a surface . Summing 1 ⋅ d S over a surface gives its total area. We use it when the boundary is a 2D surface.
d S = n ^ d S = the oriented area element : the patch d S times the outward unit normal n ^ . So F ⋅ d S = ( F ⋅ n ^ ) d S measures how much of F pokes through the patch — that is flux .
Before computing, let us name every kind of situation that this one identity has to handle. Each row is a "cell" the reader might land on; each worked example below is tagged with the cell it covers.
Cell
Dimension k
The twist being tested
Covered by
A
k = 1 (FTC)
orientation sign at endpoints, f ( b ) − f ( a )
Example 1
B
k = 2 Green
curl term Q x − P y = 0 (genuine circulation)
Example 2
C
k = 2 Green
degenerate : Q x − P y = 0 everywhere (conservative field) → answer 0
Example 3
D
k = 2 Green as flux / 2D-divergence
expanding radial field, both readings
Example 4
E
k = 3 Divergence
full 3D flux out of a solid; boundary vs inside
Example 5
F
k = 3 Divergence
degenerate : ∇ ⋅ F = 0 (incompressible) → net flux 0
Example 6
G
any k
d 2 = 0 trap : integrand is already an exact derivative of a derivative → 0
Example 7
H
k = 2 Stokes (curl, surface in 3D)
non-flat surface, only boundary matters
Example 8
I
word problem
fluid leaving a tank (real-world divergence)
Example 9
J
exam twist
wrong orientation deliberately, watch the sign flip
Example 10
We will use these background rules the whole way (from Exterior Derivative and Differential Forms and the Wedge Product ):
Worked example Example 1 (Cell A)
Let M = [ 1 , 3 ] oriented left-to-right, and ω = f the 0 -form f ( x ) = x 2 . Verify ∫ ∂ M ω = ∫ M d ω .
Forecast: guess the single number both sides will give before reading on. (Hint: it's the change in x 2 across the interval.)
Step 1 — Find the boundary as signed points .
The boundary of the oriented interval [ 1 , 3 ] is ∂ M = { 3 } − { 1 } : the endpoint you arrive at counts + , the one you leave counts − .
Why this step? In dimension 1 the "boundary" is not an edge to walk — it is two points, and induced orientation is exactly the ± tags. That minus sign is the whole content of FTC.
Step 2 — Integrate the 0 -form over those points (left side).
Integrating a 0 -form over a point just evaluates it:
∫ ∂ M f = f ( 3 ) − f ( 1 ) = 9 − 1 = 8.
Why this step? There is no length to integrate against at a point; the signed sum of values IS the integral.
Step 3 — Compute d ω and integrate over the inside (right side).
d ω = f ′ ( x ) d x = 2 x d x , so
∫ M d ω = ∫ 1 3 2 x d x = [ x 2 ] 1 3 = 9 − 1 = 8.
Why this step? d on a function is its ordinary derivative-times-d x ; the right side is the familiar Riemann integral of f ′ .
Verify: left = 8 , right = 8 . ✅ This is literally ∫ a b f ′ = f ( b ) − f ( a ) — the Fundamental Theorem of Calculus is the k = 1 costume.
Worked example Example 2 (Cell B)
Let ω = − y d x + x d y over the unit disk M (boundary = unit circle, counterclockwise). Verify Stokes.
Forecast: this field swirls counterclockwise. Do you expect the circulation to be positive, negative, or zero?
Step 1 — Read off P and Q .
With ω = P d x + Q d y we have P = − y , Q = x .
Why this step? Green's Theorem needs the two component functions before we can build the curl term.
Step 2 — Build d ω using antisymmetry.
d ω = ( Q x − P y ) d x ∧ d y = ( 1 − ( − 1 ) ) d x ∧ d y = 2 d x ∧ d y .
Why this step? The four terms of d P ∧ d x + d Q ∧ d y collapse to one because d x ∧ d x = d y ∧ d y = 0 and d y ∧ d x = − d x ∧ d y . The surviving coefficient Q x − P y is the 2D curl .
Step 3 — Integrate the inside (right side).
∫ M 2 d x d y = 2 ⋅ ( area of unit disk ) = 2 π .
Why this step? The integrand is the constant 2 , so the double integral is just 2 times the region's area; the unit disk has area π . This is the right-side "add up the curl over every patch" reading.
Step 4 — Integrate around the boundary (left side).
Parametrize the circle x = cos t , y = sin t , t ∈ [ 0 , 2 π ] , so d x = − sin t d t , d y = cos t d t :
∮ ∂ M ( − y d x + x d y ) = ∫ 0 2 π ( sin 2 t + cos 2 t ) d t = ∫ 0 2 π 1 d t = 2 π .
Why this step? Walking the boundary directly is the "left side" reading; it must equal the inside sum.
Verify: both sides = 2 π . ✅ Positive, as forecast — the field really does circulate counterclockwise. (This field is the classic "twice the area" detector.)
Worked example Example 3 (Cell C)
Let ω = 2 x y d x + x 2 d y around any closed loop ∂ M (take the unit square for concreteness). Verify the answer is 0 .
Forecast: notice ω = d ( x 2 y ) . What must the loop integral of an exact form be?
Step 1 — Compute the curl term.
P = 2 x y , Q = x 2 , so Q x − P y = 2 x − 2 x = 0 .
Why this step? When Q x − P y ≡ 0 the field is conservative (curl-free); this is the degenerate cell where the inside integrand vanishes identically.
Step 2 — Right side.
∫ M 0 d x d y = 0.
Why this step? The inside integrand Q x − P y is identically zero, so no matter which region M the loop encloses, summing zero over every patch gives zero. The answer does not depend on the loop's shape.
Step 3 — Confirm with the exactness view.
Since ω = d ( x 2 y ) is exact, applying d again gives d ω = d ( d ( x 2 y ) ) = 0 by $d^2=0$ . So the right side is
∫ M d ω = ∫ M d ( d ( x 2 y ) ) = ∫ M 0 = 0 ,
which matches Step 2 and forces the boundary integral ∮ ∂ M ω = 0 too.
Why this step? It shows the zero is structural, not lucky: an exact form's exterior derivative vanishes (d 2 = 0 ), so its inside integral — and hence its loop integral — must be zero for every closed loop.
Verify: both readings give 0 . ✅ Degenerate cell handled — a conservative field around any closed curve is always zero.
Worked example Example 4 (Cell D)
Let F = ( x , y ) on the unit disk. Compute the outward flux two ways. (This is the parent note's unification example — worked here in full.)
Forecast: the arrows all point outward and grow with radius. Positive or negative net flux?
Step 1 — Right side: divergence over the inside.
∇ ⋅ F = ∂ x x + ∂ y y = 1 + 1 = 2 , so
∬ M 2 d A = 2 ⋅ π = 2 π .
Why this step? In 2D the flux form's exterior derivative is ( ∇ ⋅ F ) d x ∧ d y ; look at the red outward arrows in the figure — the divergence measures how much they spread apart.
Step 2 — Left side: flux across the boundary circle.
On the unit circle the outward unit normal is n ^ = ( cos t , sin t ) , and F = ( cos t , sin t ) there, so F ⋅ n ^ = cos 2 t + sin 2 t = 1 . Arclength element is d s = d t here and the total length is 2 π :
∮ ∂ M F ⋅ n ^ d s = ∫ 0 2 π 1 d t = 2 π .
Why this step? The teal boundary arrows in the figure are the flux crossing the fence — this is the "walk the edge" reading, integrating flux density F ⋅ n ^ against arclength d s .
Verify: both = 2 π . ✅ Positive, as forecast: outward-spreading field ⇒ positive net outflow.
Worked example Example 5 (Cell E)
Let F = ( x , y , z ) and M the solid unit ball. Verify ∬ ∂ M F ⋅ d S = ∭ M ∇ ⋅ F d V .
Forecast: the divergence is a constant. Multiply it by the ball's volume — what do you get?
Step 1 — Build the flux 2-form and its d .
ω = x d y ∧ d z + y d z ∧ d x + z d x ∧ d y , and by the parent's rule
d ω = ( ∂ x x + ∂ y y + ∂ z z ) d x ∧ d y ∧ d z = 3 d V .
Why this step? Each term of d survives only when it hits the missing coordinate; the others wedge to zero. The surviving sum is the divergence — see Divergence Theorem .
Step 2 — Right side: integrate over the solid ball.
Volume of the unit ball is 3 4 π , so
∭ M 3 d V = 3 ⋅ 3 4 π = 4 π .
Why this step? The integrand is the constant divergence 3 , so the triple integral is just 3 times the ball's volume; this is the right-side "add up the source strength over every little chunk of the solid" reading.
Step 3 — Left side: flux out of the sphere.
On the unit sphere the outward normal is n ^ = ( x , y , z ) (the position vector), so F ⋅ n ^ = x 2 + y 2 + z 2 = 1 . Surface area of the unit sphere is 4 π , and d S = n ^ d S :
∬ ∂ M F ⋅ d S = ∫ sphere 1 d S = 4 π .
Why this step? On the boundary the field is exactly the outward normal, so flux density is 1 everywhere; total flux = surface area.
Verify: both = 4 π . ✅ Constant divergence × volume matches the surface flux — the k = 3 costume works.
Worked example Example 6 (Cell F)
Let F = ( y , − x , 7 ) over any closed surface (take the unit ball). Verify net flux is 0 from the divergence.
Forecast: the third component is a constant 7 . Does a constant contribute to divergence?
Step 1 — Compute the divergence.
∇ ⋅ F = ∂ x ( y ) + ∂ y ( − x ) + ∂ z ( 7 ) = 0 + 0 + 0 = 0.
Why this step? A field with zero divergence is incompressible — whatever flows into any region flows back out. This is the degenerate 3D cell.
Step 2 — Right side.
∭ M 0 d V = 0.
Why this step? The inside integrand is the divergence, which is identically zero here, so summing it over every chunk of the solid gives zero regardless of the ball's size — the right side collapses to 0 before we ever touch the surface.
Step 3 — Interpret the boundary side.
By the Divergence Theorem , the total outward flux across the closed sphere must therefore also be 0 : any patch's outflow is exactly cancelled by inflow elsewhere.
Why this step? It shows zero divergence forces zero net flux regardless of the surface's shape — a strong structural fact, not a lucky cancellation.
Verify: flux = 0 . ✅ Degenerate 3D case handled. (Even the constant 7 contributes nothing — its derivative is zero.)
Worked example Example 7 (Cell G)
Let f ( x , y ) = x 3 y − sin ( x y ) . Show that ∫ M d ( df ) = 0 over any region M , and that it equals ∮ ∂ M df .
Forecast: df is already a derivative. What does the parent note say about applying d twice ?
Step 1 — First derivative.
df = f x d x + f y d y .
Why this step? We need the 1 -form df before applying d again.
Step 2 — Second derivative, watch the mixed partials.
d ( df ) = ( f y x − f x y ) d x ∧ d y .
By equality of mixed partials f x y = f y x , so d ( df ) = 0 identically .
Why this step? This is $d^2=0$ : the exterior derivative applied twice always vanishes. It is ∇ × ∇ f = 0 in form language.
Step 3 — Boundary side.
Stokes says ∮ ∂ M df = ∫ M d ( df ) = 0 . Directly: df is exact, and ∫ ∂ M df = f ( end ) − f ( start ) = 0 around any closed loop.
Why this step? Both the inside (d 2 = 0 ) and the boundary (∂ 2 = 0 , a closed loop has no endpoints) give zero — the two facts are dual through Stokes.
Verify: d ( df ) = 0 and its loop integral = 0 . ✅
Worked example Example 8 (Cell H)
Let F = ( − y , x , 0 ) . Take M = the upper unit hemisphere (z ≥ 0 ), whose boundary ∂ M is the equator circle x 2 + y 2 = 1 in the plane z = 0 , oriented counterclockwise seen from above. Verify Stokes' Theorem (curl) .
Forecast: the surface is curved and bulges up. But the boundary is just the flat equator. Which one is easier — and must they still agree?
Step 1 — Compute the curl.
∇ × F = ( ∂ y 0 − ∂ z x , ∂ z ( − y ) − ∂ x 0 , ∂ x x − ∂ y ( − y ) ) = ( 0 , 0 , 2 ) .
Why this step? Stokes' curl theorem integrates ( ∇ × F ) ⋅ n ^ over the surface; we need the curl vector first. It points straight up with magnitude 2 .
Step 2 — Right side, using the flat-cap shortcut.
Here is the payoff of Stokes: the surface integral of the curl depends only on the boundary , so we may replace the bulging hemisphere by the flat disk it bounds (same equator, from Orientation and Induced Boundary Orientation ). On the flat disk n ^ = ( 0 , 0 , 1 ) , so ( ∇ × F ) ⋅ n ^ = 2 and d S = n ^ d S :
∬ disk ( ∇ × F ) ⋅ d S = ∬ disk 2 d S = 2 ⋅ π = 2 π .
Why this step? The plum boundary circle in the figure is the only thing the integral "sees"; the curved cap and the flat cap share it, so both give the same number.
Step 3 — Left side: circulation around the equator.
With x = cos t , y = sin t , z = 0 : F = ( − sin t , cos t , 0 ) , d r = ( − sin t , cos t , 0 ) d t :
∮ ∂ M F ⋅ d r = ∫ 0 2 π ( sin 2 t + cos 2 t ) d t = 2 π .
Why this step? This is the "walk the boundary" left-side reading: we add up the field's push along the equator, and by Stokes it must equal the curl flux computed in Step 2.
Verify: both = 2 π . ✅ The curved surface and the flat disk agree because Stokes only cares about the shared boundary.
Worked example Example 9 (Cell I)
Water in a cubical tank [ 0 , 1 ] 3 (metres) has velocity field v = ( x , 2 y , 3 z ) in metres per second. How many cubic metres per second leave the tank in total?
Forecast: the field speeds up in every direction, so water is being "created" (a source). Positive net outflow — but how much?
Step 1 — Recognise this as a flux question.
Net outflow = ∬ ∂ M v ⋅ d S , the flux of v across the cube's surface, where d S = n ^ d S measures how much water crosses each area patch d S .
Why this step? "How much leaves per second across the boundary" is exactly the left side of the Divergence Theorem .
Step 2 — Convert to the easy inside integral.
∇ ⋅ v = 1 + 2 + 3 = 6 s − 1 (a constant), so
∭ M 6 d V = 6 ⋅ ( 1 ) 3 = 6.
Why this step? Summing over six faces is tedious; the divergence theorem trades the surface for the volume, where the constant integrand makes it trivial — just 6 times the cube's volume 1 m 3 .
Verify — including units: 6 s − 1 × 1 m 3 = 6 m 3 / s . Positive as forecast. ✅ The tank sheds 6 cubic metres per second (a source field). The units work: [ s − 1 ] ⋅ [ m 3 ] = [ m 3 / s ] , a flow rate.
Worked example Example 10 (Cell J)
Reconsider Example 2 (ω = − y d x + x d y , unit disk), but a student walks the boundary clockwise (the reversed orientation). What do they get, and why is it "wrong"?
Forecast: the field's true circulation is + 2 π . Reversing the walk should do what?
Step 1 — Reverse the parametrization.
Clockwise: x = cos t , y = − sin t , so d x = − sin t d t , d y = − cos t d t :
∮ cw ( − y d x + x d y ) = ∫ 0 2 π ( − sin 2 t − cos 2 t ) d t = − 2 π .
Why this step? Reversing the direction of travel negates every d r , flipping the integral's sign.
Step 2 — Compare with the inside integral.
The right side is fixed: ∫ M 2 d A = + 2 π (the region and its induced orientation didn't change).
Why this step? Stokes only holds when ∂ M carries the induced orientation. The clockwise walk uses the opposite orientation, so ∫ ∂ M ω = − 2 π = + 2 π .
Step 3 — The fix.
The induced boundary orientation for a region in the plane is counterclockwise ("region on your left"). Using it restores + 2 π = + 2 π .
Why this step? This is the "ignore orientation" mistake from the parent note made concrete: a sign, not a magnitude, error — and it is total, not partial.
Verify: clockwise gives − 2 π ; correct (ccw) gives + 2 π = ∫ M d ω . ✅ Orientation is not decorative — it owns the sign.
Recall Which cell is which — quick self-test
Field ( x , y ) on the disk, flux ::: Cell D, answer 2 π
Field ( x , y , z ) on the ball, flux ::: Cell E, answer 4 π
Q x − P y = 0 around a closed loop ::: Cell C, answer 0
∇ ⋅ F = 0 over a closed surface ::: Cell F, net flux 0
Reversing boundary direction ::: Cell J, flips the sign of ∫ ∂ M ω
Integrating d ( df ) over any region ::: Cell G, always 0 by d 2 = 0
Mnemonic The whole page in one line
Compute both sides. If they disagree, you got the orientation wrong. Every cell above is just ∫ ∂ M ω = ∫ M d ω with different clothes on.