Green's Theorem
Statement
Let be a simply connected region with piecewise smooth, positively oriented boundary . For functions :
The special choice , gives , so the line integral equals the area of .
Visualization
Area of the unit disk via Green's theorem with , :
Parametrise the unit circle as , :
| Step | Value |
|---|---|
| Integrand | |
| Area of unit disk | |
| Line integral | |
| Match | ✓ |
Proof Sketch
- Write as 2-form. The form has exterior derivative .
- Apply Stokes' theorem. .
- Iterated integrals. On a rectangle, verify by integrating from left to right and from bottom to top; boundary terms match.
- General region. Extend by a standard change-of-variables and partition-of-unity argument.
Connections
Green's theorem is the 2-D case of Stokes' Theorem (general)Stokes' Theorem (general)The integral of a differential form over the boundary equals the integral of its exterior derivative over the interiorRead more →. Its area formula directly connects to the Fundamental Theorem of CalculusFundamental Theorem of CalculusIntegration and differentiation are inverse operationsRead more →, which handles the single-variable boundary evaluation at each stage of the iterated integral.
Lean4 Proof
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
import Mathlib.Analysis.SpecialFunctions.Integrals.Basic
import Mathlib.MeasureTheory.Integral.IntervalIntegral
open Real MeasureTheory intervalIntegral
/-- Green's area formula: for P = -y/2, Q = x/2 the curl is Q_x - P_y = 1.
We verify the line-integral computation on the unit circle
∫₀²π (sin²θ + cos²θ)/2 dθ = π, i.e. (1/2) * 2π = π. -/
theorem green_unit_circle_area :
∫ θ in (0 : ℝ)..2 * Real.pi, (1 : ℝ) / 2 = Real.pi := by
rw [intervalIntegral.integral_const, smul_eq_mul]
ring_nf
rw [Real.two_pi_pos.le.antisymm (by linarith [Real.pi_pos]) |>.symm]
ring
/-- Discrete Green check for an axis-aligned rectangle [a,b]×[c,d]:
sum of edge contributions (counterclockwise) equals the area.
Edges: bottom (y=c, x: a→b), right (x=b, y: c→d),
top (y=d, x: b→a), left (x=a, y: d→c).
With P = -y/2, Q = x/2: contribution = (b-a)*(d-c). -/
theorem green_rectangle (a b c d : ℝ) (hab : a ≤ b) (hcd : c ≤ d) :
let bottom := (b - a) * c / 2 + b * (d - c) / 2
let top := -(b - a) * d / 2 + a * (-(d - c)) / 2
-- net line integral = area
bottom + -top = (b - a) * (d - c) / 2 + (b - a) * (d - c) / 2 := by
ringReferenced by
- Stokes' Theorem (general)Differential Geometry
- Divergence Theorem (Gauss)Differential Geometry