# Gauss's law

#### Background to the schools Wikipedia

SOS Children, which runs nearly 200 sos schools in the developing world, organised this selection. Click here to find out about child sponsorship.

In physics, Gauss' law, also known as Gauss' flux theorem, is a law relating the distribution of electric charge to the resulting electric field. Gauss' law states that:

The electric flux through any closed surface is proportional to the enclosed electric charge.

The law was formulated by Carl Friedrich Gauss in 1835, but was not published until 1867. It is one of four of Maxwell's equations which form the basis of classical electrodynamics, the other three being Gauss's law for magnetism, Faraday's law of induction, and Ampère's law with Maxwell's correction. Gauss's law can be used to derive Coulomb's law, and vice versa.

Gauss's law may be expressed in its integral form:

$\oint_S \mathbf{E} \cdot \mathrm{d}\mathbf{A} = \frac{Q}{\varepsilon_0},$

where the left-hand side of the equation is a surface integral denoting the electric flux through a closed surface S, and the right-hand side of the equation is the total charge enclosed by S divided by the electric constant.

Gauss's law also has a differential form:

$\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$

where  · E is the divergence of the electric field, and ρ is the charge density.

The integral and differential forms are related by the divergence theorem, also called Gauss's theorem. Each of these forms can also be expressed two ways: In terms of a relation between the electric field E and the total electric charge, or in terms of the electric displacement field D and the free electric charge.

Gauss's law has a close mathematical similarity with a number of laws in other areas of physics, such as Gauss's law for magnetism and Gauss's law for gravity. In fact, any " inverse-square law" can be formulated in a way similar to Gauss's law: For example, Gauss's law itself is essentially equivalent to the inverse-square Coulomb's law, and Gauss's law for gravity is essentially equivalent to the inverse-square Newton's law of gravity.

Gauss's law can be used to demonstrate that all electric fields inside a Faraday cage have an electric charge. Gauss's law is something of an electrical analogue of Ampère's law, which deals with magnetism.

## In terms of total charge

### Integral form

For a volume V with surface S, Gauss's law states that

$\Phi_{E,S} = \frac{Q}{\varepsilon_0}$

where ΦE,S is the electric flux through S, Q is total charge inside V, and ε0 is the electric constant. The electric flux is given by a surface integral over S:

$\oint_S \mathbf{E} \cdot \mathrm{d}\mathbf{A}$

where E is the electric field, dA is a vector representing an infinitesimal element of area, and · represents the dot product..

#### Applying the integral form

If the electric field is known everywhere, Gauss's law makes it quite easy, in principle, to find the distribution of electric charge: The charge in any given region can be deduced by integrating the electric field to find the flux.

However, much more often, it is the reverse problem that needs to be solved: The electric charge distribution is known, and the electric field needs to be computed. This is much more difficult, since if you know the total flux through a given surface, that gives almost no information about the electric field, which (for all you know) could go in and out of the surface in arbitrarily complicated patterns.

An exception is if there is some symmetry in the situation, which mandates that the electric field passes through the surface in a uniform way. Then, if the total flux is known, the field itself can be deduced at every point. Common examples of symmetries which lend themselves to Gauss's law include cylindrical symmetry, planar symmetry, and spherical symmetry. See the article Gaussian surface for examples where these symmetries are exploited to compute electric fields.

### Differential form

In differential form, Gauss's law states:

$\mathbf{\nabla} \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}$

where  · denotes divergence, E is the electric field, and ρ is the total electric charge density (including both free and bound charge), and ε0 is the electric constant. This is mathematically equivalent to the integral form, because of the divergence theorem.

### Equivalence of integral and differential forms

The integral and differential forms are mathematically equivalent, by the divergence theorem. Here is the argument more specifically:

The integral form of Gauss's law is:

$\oint_S \mathbf{E} \cdot \mathrm{d}\mathbf{A} = \frac{Q}{\varepsilon_0}$

for any closed surface S containing charge Q. By the divergence theorem, this equation is equivalent to:

$\iiint\limits_V \nabla \cdot \mathbf{E} \ \mathrm{d}V = \frac{Q}{\varepsilon_0}$

for any volume V containing charge Q. By the relation between charge and charge density, this equation is equivalent to:

$\iiint\limits_V \nabla \cdot \mathbf{E} \ \mathrm{d}V = \iiint\limits_V \frac{\rho}{\varepsilon_0} \ \mathrm{d}V$

for any volume V. In order for this equation to be simultaneously true for every possible volume V, it is necessary (and sufficient) for the integrands to be equal everywhere. Therefore, this equation is equivalent to:

$\nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}.$

Thus the integral and differential forms are equivalent.

## In terms of free charge

### Free versus bound charge

The electric charge that arises in the simplest textbook situations would be classified as "free charge"—for example, the charge which is transferred in static electricity, or the charge on a capacitor plate. In contrast, "bound charge" arises only in the context of dielectric (polarizable) materials. (All materials are polarizable to some extent.) When such materials are placed in an external electric field, the electrons remain bound to their respective atoms, but shift a microscopic distance in response to the field, so that they're more on one side of the atom than the other. All these microscopic displacements add up to give a macroscopic net charge distribution, and this constitutes the "bound charge".

Although microscopically, all charge is fundamentally the same, there are often practical reasons for wanting to treat bound charge differently from free charge. The result is that the more "fundamental" Gauss's law, in terms of E, is sometimes put into the equivalent form below, which is in terms of D and the free charge only.

### Integral form

This formulation of Gauss's law states that, for any volume V in space, with surface S, the following equation holds:

$\Phi_{D,S} = Q_{\mathrm{free}},\!$

where ΦD,S is the flux of the electric displacement field D through S, and Qfree is the free charge contained in V. The flux ΦD,S is defined analogously to the flux ΦE,S of the electric field E through S. Specifically, it is given by the surface integral

$\Phi_{D,S} = \oint_S \mathbf{D} \cdot \mathrm{d}\mathbf{A}.$

### Differential form

The differential form of Gauss's law, involving free charge only, states:

$\mathbf{\nabla} \cdot \mathbf{D} = \rho_{\mathrm{free}}$

where · D is the divergence of the electric displacement field, and ρfree is the free electric charge density.

The differential form and integral form are mathematically equivalent. The proof primarily involves the divergence theorem.

## Equivalence of total and free charge statements

### In linear materials

In homogeneous, isotropic, nondispersive, linear materials, there is a nice, simple relationship between E and D:

$\varepsilon \mathbf{E} = \mathbf{D}$

where ε is the permittivity of the material. Under these circumstances, there is yet another pair of equivalent formulations of Gauss's law:

$\Phi_{E,S} = \frac{Q_{\mathrm{free}}}{\varepsilon}$
$\mathbf{\nabla} \cdot \mathbf{E} = \frac{\rho_{\mathrm{free}}}{\varepsilon}$

## Relation to Coulomb's law

### Deriving Gauss's law from Coulomb's law

Gauss's law can be derived from Coulomb's law, which states that the electric field due to a stationary point charge is:

$\mathbf{E}(\mathbf{r}) = \frac{q}{4\pi \epsilon_0} \frac{\mathbf{e_r}}{r^2}$

where

er is the radial unit vector,
$\epsilon_0$ is the electric constant,
q is the charge of the particle, which is assumed to be located at the origin.

Using the expression from Coulomb's law, we get the total field at r by using an integral to sum the field at r due to the infinitesimal charge at each other point s in space, to give

$\mathbf{E}(\mathbf{r}) = \frac{1}{4\pi\epsilon_0} \int \frac{\rho(\mathbf{s})(\mathbf{r}-\mathbf{s})}{|\mathbf{r}-\mathbf{s}|^3} d^3 \mathbf{s}$

where $\rho$ is the charge density. If we take the divergence of both sides of this equation with respect to r, and use the known theorem

$\nabla \cdot \left(\frac{\mathbf{s}}{|\mathbf{s}|^3}\right) = 4\pi \delta(\mathbf{s})$

where δ(s) is the Dirac delta function, the result is

$\nabla\cdot\mathbf{E}(\mathbf{r}) = \frac{1}{\epsilon_0} \int \rho(\mathbf{s})\ \delta(\mathbf{r}-\mathbf{s})\ d^3 \mathbf{s}$

Using the " sifting property" of the Dirac delta function, we arrive at

$\nabla\cdot\mathbf{E}(\mathbf{r}) = \rho(\mathbf{r})/\epsilon_0$

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

Note that since Coulomb's law only applies to stationary charges, there is no reason to expect Gauss's law to hold for moving charges based on this derivation alone. In fact, Gauss's law does hold for moving charges, and in this respect Gauss's law is more general than Coulomb's law.

### Deriving Coulomb's law from Gauss's law

Strictly speaking, Coulomb's law cannot be derived from Gauss's law alone, since Gauss's law does not give any information regarding the curl of E (see Helmholtz decomposition and Faraday's law). However, Coulomb's law can be proven from Gauss's law if it is assumed, in addition, that the electric field from a point charge is spherically-symmetric (this assumption, like Coulomb's law itself, is exactly true if the charge is stationary, and approximately true if the charge is in motion).

Taking S in the integral form of Gauss's law to be a spherical surface of radius r, centered at the point charge Q, we have

$\oint_{S}\mathbf{E}\cdot d\mathbf{A} = Q/\varepsilon_0$

By the assumption of spherical symmetry, the integrand is a constant which can be taken out of the integral. The result is

$4\pi r^2\hat{\mathbf{r}}\cdot\mathbf{E}(\mathbf{r}) = Q/\varepsilon_0$

where $\hat{\mathbf{r}}$ is a unit vector pointing radially away from the charge. Again by spherical symmetry, E points in the radial direction, and so we get

$\mathbf{E}(\mathbf{r}) = \frac{Q}{4\pi \varepsilon_0}\frac{\hat{\mathbf{r}}}{r^2}$

which is essentially equivalent to Coulomb's law. Thus the inverse-square law dependence of the electric field in Coulomb's law follows from Gauss's law.