In 1D, the Fundamental Theorem of Calculus says that the integral of a derivative over an interval is determined by the values at the endpoints. Vector calculus extends this beautiful idea to higher dimensions: the behavior of a field inside a region is determined entirely by the field on its boundary.
Green’s Theorem (2D)
Green’s Theorem relates a line integral around a closed curve to a double integral over the region enclosed by .
In physical terms: the total “circulation” around the boundary equals the sum of all the tiny “curls” inside.
Stokes’ Theorem (3D)
Stokes’ Theorem is the 3D generalization of Green’s Theorem. It relates the surface integral of the curl of a vector field over a surface to the line integral of the field around the boundary curve .
This is why, in a conservative field (where ), the line integral around any closed loop is zero.
Gauss’ (Divergence) Theorem
The Divergence Theorem relates the volume integral of the divergence of a field to the net “flux” through the surface enclosing that volume.
If there is a net flow of water coming out of a balloon, there must be a source of water (positive divergence) inside the balloon.
Interactive Lab
import numpy as np
# Calculating flux through a unit sphere (Gauss Theorem)
# Field F = [x, y, z] -> Divergence is 1 + 1 + 1 = 3
# Volume of unit sphere = 4/3 * pi
div_F = 3
volume = (4/3) * np.pi
theoretical_flux = div_F * volume
print(f"Total outward flux: {theoretical_flux:.4f}")
print("Instead of a hard surface integral, we used a simple volume integral!")
python
1import numpy as np
2
3# Calculating flux through a unit sphere (Gauss Theorem)
4# Field F = [x, y, z] -> Divergence is 1 + 1 + 1 = 3
12print("Instead of a hard surface integral, we used a simple volume integral!")
13
Why These Matter
These theorems are the foundation of modern physics. Maxwell’s Equations (Electromagnetism), Fluid Dynamics (Navier-Stokes), and General Relativity all rely on the relationship between local changes (derivatives) and global accumulation (integrals).
Exercises
Knowledge Check
According to the Divergence Theorem, if a region contains no sources or sinks ($\nabla \cdot F = 0$), what is the net flux through its boundary?
Answer: Zero.
If nothing is being created or destroyed inside, whatever flows in must flow out, resulting in zero net flux.
According to the Divergence Theorem, if a region contains no sources or sinks ($\nabla \cdot F = 0$), what is the net flux through its boundary?
Knowledge Check
Stokes' Theorem relates which two types of integrals?
Answer: Line integrals and Surface integrals of the curl.
Stokes' Theorem shows that the work done along a loop is equal to the 'turning' of the field across the surface stretched by that loop.
Stokes' Theorem relates which two types of integrals?
Knowledge Check
If you want to calculate the work done by a force along a messy, jagged path, and you know the force is conservative, what is the best strategy?
Answer: Use the values of the potential function at the start and end points ONLY.
For conservative fields, the path doesn't matter (Path Independence). Only the endpoints matter, just like the Fundamental Theorem of Calculus.
If you want to calculate the work done by a force along a messy, jagged path, and you know the force is conservative, what is the best strategy?