We are now ready for the generalized Green's Theorem, known as Stokes'
Theorem.  If we have circulation density of 
 in a region and we
want the total circulation, we should integrate the density over the
region.  Thus,
If the following conditions hold:
then we can say that
![]()
where 
 is the unit normal vector to S at each point.
Stokes' Theorem simply says that the total circulation of 
 around
C is the same as the integral of the maximum circulation density over
any surface S with C as its boundary.  Thus, we can choose S to
simplify the calculations as needed.
It is also worth noting that if we let 
 then Stokes's Theorem directly reduces to Green's Theorem in the
plane.