Gauss's law

In physics and mathematical analysis, Gauss's law is the electrostatic application of the generalized Gauss's theorem giving the equivalence relation between any flux, e.g. of liquids, electric or gravitational, flowing out of any closed surface and the result of inner sources and sinks, such as electric charges or masses enclosed within the closed surface. The law was developed by Carl Friedrich Gauss. By Divergence theorem generalized Gauss's law can be used in any context where the inverse-square law holds. Electrostatics and Newtonian gravitation are two examples. The differential form of four equations underpins electromagnetic theory.