It is incredibly important when using Gauss' and Stokes' Theorem to remember that one must deal with closed surfaces (with Gauss' Theorem) or closed loops (with Stokes' Theorem). Otherwise the equations are not applicable.

Having established the concepts of curl and divergence, and related them to vector calculus through our two theorems, we can apply these concepts to magnetic fields.