Back

Stokes theorem in 2D (Green's theorem)

What you are seeing: a vector field plotted as arrows with a rectangular region. The circulation around the rectangle equals the surface integral of the curl: CFdr=R(Q/xP/y)dA\oint_C \mathbf{F} \cdot d\mathbf{r} = \iint_R (\partial Q / \partial x - \partial P / \partial y) dA. For the unit-curl field F=(y/2,x/2)\mathbf{F} = (-y/2, x/2) the right-hand side is just the area; for the shear F=(y,0)\mathbf{F} = (y, 0) it is the negative of the area; conservative fields give zero.

Figure 1. Vector field arrows and Stokes-theorem circulation rectangle.
fieldunit
rect width2.00
rect height1.50

WHAT TO TRY

  • Vary each control and watch the rail readouts respond.
  • Compare the diagnostic plot against the live scene.