Gauss's law applies to any inverse-square central force. This law was first discovered by Joseph-Louis Lagrange in 1773, and was later rediscovered by Carl Friedrich Gauss in 1835.
Suppose that we have an isolated point source that emits an incompressible fluid isotropically in all directions at
the rate
. By symmetry, we would expect the fluid to flow radially away from the source, isotropically in all directions. In other words, if the source is located at the origin then we expect the fluid
velocity at displacement
to be of the form
 |
(1.242) |
Let us surround our source by an imaginary spherical surface of radius
. See Figure 1.11. The net volume rate of
flow of fluid out of the surface is
. However, if the fluid is incompressible (and the flow pattern
has achieved a steady-state) then the volume rate of flow out of the surface must equal the volume rate of
flow from the source (otherwise, the fluid inside the surface would suffer compression or rarefaction). In other words,
. Hence, Equation (1.242) becomes
 |
(1.243) |
It can be seen that the previous expression has an analogous form to expression (1.241), provided that
we make the identifications
and
.
Figure 1.11:
Fluid outflow from a point source.
|
Suppose that we have
point sources of incompressible fluid. Let the
th source have a volume rate of
flow
. Let us surround these sources by an imaginary closed surface (that is
not necessarily spherical),
. Now, the volume rate of flow of fluid out of
is
, where
is the flow field, and
is an (outward pointing) element of
. (See Section A.16.) However, if the fluid is incompressible (and the flow pattern
has achieved a steady-state) then the volume rate of flow out of
must match the sum of the volume
rates of flow of the sources within
(otherwise, the fluid inside the surface would suffer compression or rarefaction). Thus, we deduce that
 |
(1.244) |
Now, if there are sources that lie outside
then they do not affect the previous relation (because
a source outside
gives rise to zero net flow of incompressible fluid out of
). Hence,
we can interpret the sum in the previous equation as a sum that includes all sources that lie inside
, but excludes any sources that lie outside
.
Finally, we can exploit the previously mentioned analogy between incompressible fluid flow and gravitational acceleration to
deduce the following result. Suppose that there are
point objects of mass
. Let us surround these objects by an imaginary surface
. Making use of the
identifications
and
, the previous equation
transforms to give
 |
(1.245) |
As before, if there are objects outside
then they do not affect the previous relation. Thus, we deduce that
the flux of gravitational acceleration out of an arbitrary closed surface,
, is equal to
multiplied
by the sum of the masses of any objects lying inside the surface. This is Gauss's law. The imaginary surface
is known as a Gaussian surface.
Suppose that, instead of having a collection of point objects, we have a continuous mass distribution whose
mass density is
. The previous equation generalizes to give
 |
(1.246) |
where
is the volume enclosed by
, and
is an element of
. (See Section A.17.)
Now, according to the divergence theorem (see Section A.20),
 |
(1.247) |
where
is the
divergence of the acceleration field. The previous two equations yield
 |
(1.248) |
However, the volume
is arbitrary, so the only way that the previous equation could hold for all
possible volumes is if
 |
(1.249) |
This is the differential form of Gauss's law.