Gauss' theorem states that the integral of the normal component of any vector over any closed surface is equal to the integral of the divergence of the vector over the volume enclosed by the surface.