Green's theorem can be read backward: a double integral over a region can be computed from a line integral around its edge. The simplest double integral, $\iint_D 1\,dA$, is the area. So any field with $Q_x - P_y = 1$ turns the area of a region into a line integral around its boundary. Surveyors' instruments called planimeters measure areas on a map this way, by tracing the outline. You need the circulation form.
Key idea
Why it works
Shoelace: on the segment $(x_1, y_1) + t(x_2 - x_1, y_2 - y_1)$, $$x\,dy - y\,dx = [x_1(y_2 - y_1) - y_1(x_2 - x_1)]\,dt = (x_1 y_2 - x_2 y_1)\,dt,$$ so each side contributes $x_1 y_2 - x_2 y_1$.
The same idea gives other quantities of a region from its boundary. With $\mathbf{F} = \left\langle 0, \frac{x^2}{2} \right\rangle$, $Q_x - P_y = x$, so $\oint_C \frac{x^2}{2}\,dy = \iint_D x\,dA$, the moment used to find the centroid $\bar{x}$. Software that measures shapes in images works this way: it stores an outline as a list of points and computes areas and centroids from sums over the edges, without ever filling in the inside.
Worked examples
Worked example: An ellipse
- $$x\,dy - y\,dx = (a\cos t)(b\cos t)\,dt - (b\sin t)(-a\sin t)\,dt = ab\,dt.$$
- $A = \frac{1}{2}\int_0^{2\pi} ab\,dt = \pi ab$.
Answer: $\pi ab$
Worked example: A triangle
- The vertices go counterclockwise. Side terms: ${}0 \cdot 1 - 4 \cdot 0 = 0$; ${}4 \cdot 3 - 1 \cdot 1 = 11$; ${}1 \cdot 0 - 0 \cdot 3 = 0$.
- $A = \frac{1}{2}(0 + 11 + 0) = \frac{11}{2}$.
Answer: $\frac{11}{2}$
Worked example: A loop
- $$x\,y' - y\,x' = (t^2 - 1)(3t^2 - 1) - (t^3 - t)(2t) = t^4 - 2t^2 + 1 = (t^2 - 1)^2.$$
- $A = \frac{1}{2}\int_{-1}^1 (t^2 - 1)^2\,dt = \frac{1}{2} \cdot \frac{16}{15} = \frac{8}{15}$.
- The integral came out positive, so this direction of travel is counterclockwise.
Answer: $\frac{8}{15}$