# Gauss's law for gravity

{{#invoke:Hatnote|hatnote}}

In physics, **Gauss's law for gravity**, also known as **Gauss's flux theorem for gravity**, is a law of physics which is essentially equivalent to Newton's law of universal gravitation. It is named after Carl Friedrich Gauss. Although Gauss's law for gravity is physically equivalent to Newton's law, there are many situations where Gauss's law for gravity offers a more convenient and simple way to do a calculation than Newton's law.

The form of Gauss's law for gravity is mathematically similar to Gauss's law for electrostatics, one of Maxwell's equations. Gauss's law for gravity has the same mathematical relation to Newton's law that Gauss's law for electricity bears to Coulomb's law. This is because both Newton's law and Coulomb's law describe inverse-square interaction in a 3-dimensional space.

## Qualitative statement of the law

{{#invoke:main|main}}

The gravitational field **g** (also called gravitational acceleration) is a vector field – a vector at each point of space (and time). It is defined so that the gravitational force experienced by a particle is equal to the mass of the particle multiplied by the gravitational field at that point.

*Gravitational flux* is a surface integral of the gravitational field over a closed surface, analogous to how magnetic flux is a surface integral of the magnetic field.

Gauss's law for gravity states:

*The gravitational flux through any closed surface is proportional to the enclosed mass.*

## Integral form

The integral form of Gauss's law for gravity states:

where

- Template:Oiint (also written ) denotes a surface integral over a closed surface,
- ∂
*V*is any closed surface (the*boundary*of a closed volume*V*), *d***A**is a vector, whose magnitude is the area of an infinitesimal piece of the surface ∂*V*, and whose direction is the outward-pointing surface normal (see surface integral for more details),**g**is the gravitational field,*G*is the universal gravitational constant, and*M*is the total mass enclosed within the surface ∂*V*.

The left-hand side of this equation is called the flux of the gravitational field. Note that according to the law it is always negative (or zero), and never positive. This can be contrasted with Gauss's law for electricity, where the flux can be either positive or negative. The difference is because *charge* can be either positive or negative, while *mass* can only be positive.

## Differential form

The differential form of Gauss's law for gravity states

where denotes divergence, *G* is the universal gravitational constant, and *ρ* is the mass density at each point.

### Relation to the integral form

The two forms of Gauss's law for gravity are mathematically equivalent. The divergence theorem states:

where *V* is a closed region bounded by a simple closed oriented surface ∂*V* and *dV* is an infinitesimal piece of the volume *V* (see volume integral for more details). The gravitational field **g** must be a continuously differentiable vector field defined on a neighborhood of *V*.

Given also that

we can apply the divergence theorem to the integral form of Gauss's law for gravity, which becomes:

which can be rewritten:

This has to hold simultaneously for every possible volume *V*; the only way this can happen is if the integrands are equal. Hence we arrive at

which is the differential form of Gauss's law for gravity.

It is possible to derive the integral form from the differential form using the reverse of this method.

Although the two forms are equivalent, one or the other might be more convenient to use in a particular computation.

## Relation to Newton's law

### Deriving Gauss's law from Newton's law

Gauss's law for gravity can be derived from Newton's law of universal gravitation, which states that the gravitational field due to a point mass is:

where

**e**is the radial unit vector,_{r}*r*is the radius, |**r**|.*M*is the mass of the particle, which is assumed to be a point mass located at the origin.

A proof using vector calculus is shown in the box below. It is mathematically identical to the proof of Gauss's law (in electrostatics) starting from Coulomb's law.^{[1]}

Outline of proof: (Click [show] button to the right.) **g**(**r**), the gravitational field at**r**, can be calculated by adding up the contribution to**g**(**r**) due to every bit of mass in the universe (see superposition principle). To do this, we integrate over every point**s**in space, adding up the contribution to**g**(**r**) associated with the mass (if any) at**s**, where this contribution is calculated by Newton's law. The result is:(d

^{3}**s**stands for d*s*_{x}d*s*_{y}d*s*_{z}, each of which is integrated from -∞ to +∞.) If we take the divergence of both sides of this equation with respect to**r**, and use the known theorem^{[1]}where δ(

**s**) is the Dirac delta function, the result isUsing the "sifting property" of the Dirac delta function, we arrive at

which is the differential form of Gauss's law for gravity, as desired.

### Deriving Newton's law from Gauss's law and irrotationality

It is impossible to mathematically prove Newton's law from Gauss's law *alone*, because Gauss's law specifies the divergence of **g** but does not contain any information regarding the curl of **g** (see Helmholtz decomposition). In addition to Gauss's law, the assumption is used that **g** is irrotational (has zero curl), as gravity is a conservative force:

Even these are not enough: Boundary conditions on **g** are also necessary to prove Newton's law, such as the assumption that the field is zero infinitely far from a mass.

The proof of Newton's law from these assumptions is as follows:

## Poisson's equation and gravitational potential

Since the gravitational field has zero curl (equivalently, gravity is a conservative force) as mentioned above, it can be written as the gradient of a scalar potential, called the gravitational potential:

Then the differential form of Gauss's law for gravity becomes Poisson's equation:

This provides an alternate means of calculating the gravitational potential and gravitational field. Although computing **g** via Poisson's equation is mathematically equivalent to computing **g** directly from Gauss's law, one or the other approach may be an easier computation in a given situation.

In radially symmetric systems, the gravitational potential is a function of only one variable (namely, ), and Poisson's equation becomes (see Del in cylindrical and spherical coordinates):

while the gravitational field is:

When solving the equation it should be taken into account that in the case of finite densities ∂ϕ/∂*r* has to be continuous at boundaries (discontinuities of the density), and zero for *r* = 0.

## Applications

Gauss's law can be used to easily derive the gravitational field in certain cases where a direct application of Newton's law would be more difficult (but not impossible). See the article Gaussian surface for more details on how these derivations are done. Three such applications are as follows:

### Bouguer plate

{{#invoke:main|main}}

We can conclude (by using a "Gaussian pillbox") that for an infinite, flat plate (Bouguer plate) of any finite thickness, the gravitational field outside the plate is perpendicular to the plate, towards it, with magnitude 2*πG* times the mass per unit area, independent of the distance to the plate^{[2]} (see also gravity anomalies).

More generally, for a mass distribution with the density depending on one Cartesian coordinate *z* only, gravity for any *z* is 2*πG* times (the mass per unit area above *z*, minus the mass per unit area below *z*).

In particular, a combination of two equal parallel infinite plates does not produce any gravity inside.

### Cylindrically symmetric mass distribution

In the case of an infinite cylindrically symmetric mass distribution we can conclude (by using a cylindrical Gaussian surface) that the field strength at a distance *r* from the center is inward with a magnitude of 2*G*/*r* times the total mass per unit length at a smaller distance (from the axis), regardless of any masses at a larger distance.

For example, inside an infinite hollow cylinder, the field is zero.

### Spherically symmetric mass distribution

{{#invoke:main|main}}

In the case of a spherically symmetric mass distribution we can conclude (by using a spherical Gaussian surface) that the field strength at a distance r from the center is inward with a magnitude of *G*/*r*^{2} times only the total mass within a smaller distance than r. All the mass at a greater distance than r from the center can be ignored.

For example, a hollow sphere does not produce any net gravity inside. The gravitational field inside is the same as if the hollow sphere were not there (i.e. the resultant field is that of any masses inside and outside the sphere only).

Although this follows in one or two lines of algebra from Gauss's law for gravity, it took Isaac Newton several pages of cumbersome calculus to derive it directly using his law of gravity; see the article shell theorem for this direct derivation.

## Derivation from Lagrangian

{{#invoke:main|main}}

The Lagrangian density for Newtonian gravity is

Applying Hamilton's principle to this Lagrangian, the result is Gauss's law for gravity:

See Lagrangian (Newtonian gravity) for details.

## In fiction

In Arthur C. Clarke's science fiction novel, *2010: Odyssey Two*, while investigating the alien Monolith orbiting Jupiter, the *Leonov* 's chief scientist, Vasili Orlov, has engineer Curnow park one of the revived *Discovery* 's space pods a short distance from the Monolith's two-kilometer-long surface, recalling Bauguer's Anomaly, derived from Gauss's law. He remarks, "I've just remembered an exercise from one of my college astronomy courses - the gravitational attraction of an infinite flat plate. I never thought I'd have a chance of using it in real life." ^{[3]}

## See also

{{#invoke:Portal|portal}} Template:Colbegin

- Carl Friedrich Gauss
- Divergence theorem
- Gauss's law for electricity
- Gauss's law for magnetism
- Vector calculus
- Integral
- Flux
- Gaussian surface

## References

- ↑
^{1.0}^{1.1}See, for example, {{#invoke:citation/CS1|citation |CitationClass=book }} - ↑ The mechanics problem solver, by Fogiel, pp 535–536
- ↑ Clarke, Arthur C. (1982)
*2010: Odyssey Two*. Del Rey ISBN 0-345-41397-0

- For usage of the term "Gauss's law for gravity" see, for example, this article.