The Gauss law, also known as the divergence theorem, is a principle in vector calculus. It establishes the relationship between the flux through a closed surface and the divergence of a vector field within the volume enclosed by that surface.
Mathematically, it states that the total flux is equal to the integrated divergence over the volume. This theorem is fundamental in theoretical physics, especially in electromagnetism and fluid dynamics, and is used to derive fundamental laws of physics.