Search Knowledge

© 2026 LIBREUNI PROJECT

Calculus & Analysis / Overview

The Fundamental Theorems of Vector Calculus

The Fundamental Theorems

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 CC to a double integral over the region DD enclosed by CC.

C(Pdx+Qdy)=D(QxPy)dA\oint_C (P dx + Q dy) = \iint_D \left( \frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y} \right) dA

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 SS to the line integral of the field around the boundary curve CC.

S(×F)dS=CFdr\iint_S (\nabla \times \mathbf{F}) \cdot d\mathbf{S} = \oint_C \mathbf{F} \cdot d\mathbf{r}

This is why, in a conservative field (where ×F=0\nabla \times \mathbf{F} = 0), 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.

V(F)dV=SFdS\iiint_V (\nabla \cdot \mathbf{F}) dV = \iint_S \mathbf{F} \cdot d\mathbf{S}

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.

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
5# Volume of unit sphere = 4/3 * pi
6 
7div_F = 3
8volume = (4/3) * np.pi
9theoretical_flux = div_F * volume
10 
11print(f"Total outward flux: {theoretical_flux:.4f}")
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

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?

Stokes' Theorem relates which two types of integrals?

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?

Previous Module Sequences and Series
Next Module Systems of ODEs