Lemma (Green's theorem)

Let $P(x,y), Q(x,y)$ be smooth functions on $\R^2$. Then $$ \int_A \Big(\pdfd Qx - \pdfd Py\Big) \, dA = \oint_C P\,dx + Q\,dy $$ where $C=\partial A$ going anti-clockwise.

Proof