Stokes' theorem

Lemma (Green's theorem) open_in_new

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

If $C=\partial A$ has disconnected components, then the inner boundary should go clockwise.

Theorem (Stokes' theorem) open_in_new

Let $S$ be a smooth surface in $\R^3$ with boundary $C=\partial S$. For a smooth vector field $\v F(\v x)$, $$ \int_S (\nabla\times\v F)\cdot d\v S = \oint_C \v F\cdot d\v x. $$ The orientation is that $d\v x\times d\v S$ should point outward of $S$ (the orientation should be along how you curl your right hand figures around the normal vector).

(Green's theorem is obtained by taking $\v F=(P,Q,0)$ and $S$ be on the $z=0$ plane.)

Proof

Example (applying Stokes' theorem to a frustum)