# Physics:Gauss's law

__: Foundational law of electromagnetism relating electric field and charge distributions__

**Short description**In physics and electromagnetism, **Gauss's law**, also known as **Gauss's flux theorem**, (or sometimes simply called Gauss's theorem) is a law relating the distribution of electric charge to the resulting electric field. In its integral form, it states that the flux of the electric field out of an arbitrary closed surface is proportional to the electric charge enclosed by the surface, irrespective of how that charge is distributed. Even though the law alone is insufficient to determine the electric field across a surface enclosing any charge distribution, this may be possible in cases where symmetry mandates uniformity of the field. Where no such symmetry exists, Gauss's law can be used in its differential form, which states that the divergence of the electric field is proportional to the local density of charge.

The law was first^{[1]} formulated by Joseph-Louis Lagrange in 1773,^{[2]} followed by Carl Friedrich Gauss in 1835,^{[3]} both in the context of the attraction of ellipsoids. It is one of Maxwell's four equations, which forms the basis of classical electrodynamics.^{[note 1]} Gauss's law can be used to derive Coulomb's law,^{[4]} and vice versa.

Part of a series of articles about |

Electromagnetism |
---|

## Qualitative description

In words, Gauss's law states that

*The net electric flux through any hypothetical closed surface is equal to *[math]\displaystyle{ \frac{1}{\varepsilon_0} }[/math]*times the net electric charge within that closed surface*.^{[5]}

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.

The law can be expressed mathematically using vector calculus in integral form and differential form; both are equivalent since they are related by the divergence theorem, also called Gauss's theorem. Each of these forms in turn 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.^{[6]}

## Equation involving the E field

Gauss's law can be stated using either the electric field **E** or the electric displacement field **D**. This section shows some of the forms with **E**; the form with **D** is below, as are other forms with **E**.

### Integral form

Gauss's law may be expressed as:^{[6]}

[math]\displaystyle{ \Phi_E = \frac{Q}{\varepsilon_0} }[/math]

where Φ_{E} is the electric flux through a closed surface S enclosing any volume V, Q is the total charge enclosed within V, and *ε*_{0} is the electric constant. The electric flux Φ_{E} is defined as a surface integral of the electric field:

- [math]\displaystyle{ \Phi_E = }[/math] [math]\displaystyle{ \scriptstyle _S }[/math] [math]\displaystyle{ \mathbf{E} \cdot \mathrm{d}\mathbf{A} }[/math]

where **E** is the electric field, d**A** is a vector representing an infinitesimal element of area of the surface,^{[note 2]} and · represents the dot product of two vectors.

In a curved space-time, the flux of an electromagnetic field through a closed surface is expressed as

- [math]\displaystyle{ \Phi_E = c }[/math] [math]\displaystyle{ \scriptstyle _S }[/math] [math]\displaystyle{ F^{\kappa 0} \sqrt {-g} \, \mathrm{d} S_\kappa }[/math]

where [math]\displaystyle{ c }[/math] is the speed of light; [math]\displaystyle{ F^{\kappa 0} }[/math] denotes the time components of the electromagnetic tensor; [math]\displaystyle{ g }[/math] is the determinant of metric tensor; [math]\displaystyle{ \mathrm{d} S_\kappa = \mathrm{d} S^{ij} = \mathrm{d}x^i \mathrm{d}x^j }[/math] is an orthonormal element of the two-dimensional surface surrounding the charge [math]\displaystyle{ Q }[/math]; indices [math]\displaystyle{ i,j,\kappa = 1,2,3 }[/math] and do not match each other.^{[8]}

Since the flux is defined as an *integral* of the electric field, this expression of Gauss's law is called the *integral form*.

In problems involving conductors set at known potentials, the potential away from them is obtained by solving Laplace's equation, either analytically or numerically. The electric field is then calculated as the potential's negative gradient. Gauss's law makes it possible to find the distribution of electric charge: The charge in any given region of the conductor can be deduced by integrating the electric field to find the flux through a small box whose sides are perpendicular to the conductor's surface and by noting that the electric field is perpendicular to the surface, and zero inside the conductor.

The reverse problem, when the electric charge distribution is known and the electric field must be computed, is much more difficult. The total flux through a given surface gives little information about the electric field, and can go in and out of the surface in arbitrarily complicated patterns.

An exception is if there is some symmetry in the problem, 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

By the divergence theorem, Gauss's law can alternatively be written in the *differential form*:
[math]\displaystyle{ \nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0 \varepsilon_r} }[/math]

where ∇ · **E** is the divergence of the electric field, *ε*_{0} is the vacuum permittivity, [math]\displaystyle{ \varepsilon_r }[/math] is the relative permittivity, and ρ is the volume charge density (charge per unit volume).

### Equivalence of integral and differential forms

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

**Outline of proof**

The integral form of Gauss' law is:

- [math]\displaystyle{ {\scriptstyle _S} }[/math] [math]\displaystyle{ \mathbf{E} \cdot \mathrm{d}\mathbf{A} }[/math][math]\displaystyle{ = \frac{Q}{\varepsilon_0} }[/math]

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

[math]\displaystyle{ \iiint_V \nabla \cdot \mathbf{E} \, \mathrm{d}V = \frac{Q}{\varepsilon_0} }[/math]

for any volume V containing charge Q. By the relation between charge and charge density, this equation is equivalent to:
[math]\displaystyle{ \iiint_V \nabla \cdot \mathbf{E} \, \mathrm{d}V = \iiint_V \frac{\rho}{\varepsilon_0} \, \mathrm{d}V }[/math]
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:

[math]\displaystyle{ \nabla \cdot \mathbf{E} = \frac{\rho}{\varepsilon_0}. }[/math] Thus the integral and differential forms are equivalent.

## Equation involving the D field

### Free, bound, and total 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** (above), 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 the total charge form:

[math]\displaystyle{ \Phi_D = Q_\mathrm{free} }[/math]

where Φ_{D} is the **D**-field flux through a surface S which encloses a volume V, and *Q*_{free} is the free charge contained in V. The flux Φ_{D} is defined analogously to the flux Φ_{E} of the electric field **E** through S:

- [math]\displaystyle{ \Phi_D = }[/math] [math]\displaystyle{ {\scriptstyle _S} }[/math] [math]\displaystyle{ \mathbf{D} \cdot \mathrm{d}\mathbf{A} }[/math]

### Differential form

The differential form of Gauss's law, involving free charge only, states: [math]\displaystyle{ \nabla \cdot \mathbf{D} = \rho_\mathrm{free} }[/math]

where ∇ · **D** is the divergence of the electric displacement field, and *ρ*_{free} is the free electric charge density.

## Equivalence of total and free charge statements

**Proof that the formulations of Gauss's law in terms of free charge are equivalent to the formulations involving total charge.**

In this proof, we will show that the equation [math]\displaystyle{ \nabla\cdot \mathbf{E} = \dfrac{\rho}{\varepsilon_0} }[/math] is equivalent to the equation [math]\displaystyle{ \nabla\cdot\mathbf{D} = \rho_\mathrm{free} }[/math] Note that we are only dealing with the differential forms, not the integral forms, but that is sufficient since the differential and integral forms are equivalent in each case, by the divergence theorem.

We introduce the polarization density **P**, which has the following relation to **E** and **D**:
[math]\displaystyle{ \mathbf{D}=\varepsilon_0 \mathbf{E} + \mathbf{P} }[/math]
and the following relation to the bound charge:
[math]\displaystyle{ \rho_\mathrm{bound} = -\nabla\cdot \mathbf{P} }[/math]
Now, consider the three equations:
[math]\displaystyle{ \begin{align}
\rho_\mathrm{bound} &= \nabla\cdot (-\mathbf{P}) \\
\rho_\mathrm{free} &= \nabla\cdot \mathbf{D} \\
\rho &= \nabla \cdot(\varepsilon_0\mathbf{E})
\end{align} }[/math]
The key insight is that the sum of the first two equations is the third equation. This completes the proof: The first equation is true by definition, and therefore the second equation is true if and only if the third equation is true. So the second and third equations are equivalent, which is what we wanted to prove.

## Equation for linear materials

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

[math]\displaystyle{ \mathbf{D} = \varepsilon \mathbf{E} }[/math]

where ε is the permittivity of the material. For the case of vacuum (aka free space), *ε* = *ε*_{0}. Under these circumstances, Gauss's law modifies to

[math]\displaystyle{ \Phi_E = \frac{Q_\mathrm{free}}{\varepsilon} }[/math]

for the integral form, and

[math]\displaystyle{ \nabla \cdot \mathbf{E} = \frac{\rho_\mathrm{free}}{\varepsilon} }[/math]

for the differential form.

## Interpretations

This section may contain content that is repetitive or redundant of text elsewhere in the article. Please help improve it by merging similar text or removing repeated statements. (September 2016) |

### In terms of fields of force

Gauss's theorem can be interpreted in terms of the lines of force of the field as follows:

The flux through a closed surface is dependent upon both the magnitude and direction of the electric field lines penetrating the surface. In general a positive flux is defined by these lines leaving the surface and negative flux by lines entering this surface. This results in positive charges causing a positive flux and negative charges creating a negative flux. These electric field lines will extend to infinity decreasing in strength by a factor of one over the distance from the source of the charge squared. The larger the number of field lines emanating from a charge the larger the magnitude of the charge is, and the closer together the field lines are the greater the magnitude of the electric field. This has the natural result of the electric field becoming weaker as one moves away from a charged particle, but the surface area also increases so that the net electric field exiting this particle will stay the same. In other words the closed integral of the electric field and the dot product of the derivative of the area will equal the net charge enclosed divided by permittivity of free space.

## Relation to Coulomb's law

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

Strictly speaking, Gauss's law cannot be derived from Coulomb's law alone, since Coulomb's law gives the electric field due to an individual, electrostatic point charge only. However, Gauss's law *can* be proven from Coulomb's law if it is assumed, in addition, that the electric field obeys the superposition principle, and that the point charge is electrostatic. The superposition principle states that the resulting field is the vector sum of fields generated by each particle (or the integral, if the charges are distributed smoothly in space).

**Outline of proof**

Coulomb's law states that the electric field due to a stationary point charge is: [math]\displaystyle{ \mathbf{E}(\mathbf{r}) = \frac{q}{4\pi \varepsilon_0} \frac{\mathbf{e}_r}{r^2} }[/math] where

**e**_{r}is the radial unit vector,- r is the radius, |
**r**|, *ε*_{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
[math]\displaystyle{ \mathbf{E}(\mathbf{r}) = \frac{1}{4\pi\varepsilon_0} \int \frac{\rho(\mathbf{s})(\mathbf{r}-\mathbf{s})}{|\mathbf{r}-\mathbf{s}|^3} \, \mathrm{d}^3 \mathbf{s} }[/math]
where ρ is the charge density. If we take the divergence of both sides of this equation with respect to **r**, and use the known theorem^{[9]}

[math]\displaystyle{ \nabla \cdot \left(\frac{\mathbf{r}}{|\mathbf{r}|^3}\right) = 4\pi \delta(\mathbf{r}) }[/math]
where *δ*(**r**) is the Dirac delta function, the result is
[math]\displaystyle{ \nabla\cdot\mathbf{E}(\mathbf{r}) = \frac{1}{\varepsilon_0} \int \rho(\mathbf{s})\, \delta(\mathbf{r}-\mathbf{s})\, \mathrm{d}^3 \mathbf{s} }[/math]

Using the "sifting property" of the Dirac delta function, we arrive at [math]\displaystyle{ \nabla\cdot\mathbf{E}(\mathbf{r}) = \frac{\rho(\mathbf{r})}{\varepsilon_0}, }[/math] which is the differential form of Gauss' law, as desired.

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.

**Proof (without Dirac Delta)**

Let [math]\displaystyle{ \Omega \subseteq R^3 }[/math] be a bounded open set, and [math]\displaystyle{ \mathbf E_0(\mathbf r) = \frac {1}{4 \pi \varepsilon_0} \int_{\Omega} \rho(\mathbf r')\frac {\mathbf r - \mathbf r'} {\left \| \mathbf r - \mathbf r' \right \|^3} \mathrm{d}\mathbf{r}' \equiv \frac {1}{4 \pi \varepsilon_0} \int_{\Omega} e(\mathbf{r, \mathbf{r}'}){\mathrm{d}\mathbf{r}'} }[/math] be the electric field, with [math]\displaystyle{ \rho(\mathbf r') }[/math] a continuous function (density of charge).

It is true for all [math]\displaystyle{ \mathbf{r} \neq \mathbf{r'} }[/math] that [math]\displaystyle{ \nabla_\mathbf{r} \cdot \mathbf{e}(\mathbf{r, r'}) = 0 }[/math].

Consider now a compact set [math]\displaystyle{ V \subseteq R^3 }[/math] having a piecewise smooth boundary [math]\displaystyle{ \partial V }[/math] such that [math]\displaystyle{ \Omega \cap V = \emptyset }[/math]. It follows that [math]\displaystyle{ e(\mathbf{r, \mathbf{r}'}) \in C^1(V \times \Omega) }[/math] and so, for the divergence theorem:

[math]\displaystyle{ \oint_{\partial V} \mathbf{E}_0 \cdot d\mathbf{S} = \int_V \mathbf{\nabla} \cdot \mathbf{E}_0 \, dV }[/math]

But because [math]\displaystyle{ e(\mathbf{r, \mathbf{r}'}) \in C^1(V \times \Omega) }[/math],

[math]\displaystyle{ \mathbf{\nabla} \cdot \mathbf{E}_0(\mathbf{r}) = \frac {1}{4 \pi \varepsilon_0} \int_{\Omega} \nabla_\mathbf{r} \cdot e(\mathbf{r, \mathbf{r}'}){\mathrm{d}\mathbf{r}'} = 0 }[/math] for the argument above ([math]\displaystyle{ \Omega \cap V = \emptyset \implies \forall \mathbf{r} \in V \ \ \forall \mathbf{r'} \in \Omega \ \ \ \mathbf{r} \neq \mathbf{r'} }[/math] and then [math]\displaystyle{ \nabla_\mathbf{r} \cdot \mathbf{e}(\mathbf{r, r'}) = 0 }[/math])

Therefore the flux through a closed surface generated by some charge density outside (the surface) is null.

Now consider [math]\displaystyle{ \mathbf{r}_0 \in \Omega }[/math], and [math]\displaystyle{ B_R(\mathbf{r}_0)\subseteq \Omega }[/math] as the sphere centered in [math]\displaystyle{ \mathbf{r}_0 }[/math] having [math]\displaystyle{ R }[/math] as radius (it exists because [math]\displaystyle{ \Omega }[/math] is an open set).

Let [math]\displaystyle{ \mathbf{E}_{B_R} }[/math] and [math]\displaystyle{ \mathbf{E}_C }[/math] be the electric field created inside and outside the sphere respectively. Then,

- [math]\displaystyle{ \mathbf{E}_{B_R} = \frac {1}{4 \pi \varepsilon_0} \int_{B_R(\mathbf{r}_0)} e(\mathbf{r, \mathbf{r}'}){\mathrm{d}\mathbf{r}'} }[/math], [math]\displaystyle{ \mathbf{E}_C = \frac {1}{4 \pi \varepsilon_0} \int_{\Omega \setminus B_R(\mathbf{r}_0)} e(\mathbf{r, \mathbf{r}'}){\mathrm{d}\mathbf{r}'} }[/math] and [math]\displaystyle{ \mathbf{E}_{B_R} + \mathbf{E}_C = \mathbf{E}_0 }[/math]

[math]\displaystyle{ \Phi(R) = \oint_{\partial B_R(\mathbf{r}_0)} \mathbf{E}_0 \cdot d\mathbf{S} = \oint_{\partial B_R(\mathbf{r}_0)} \mathbf{E}_{B_R} \cdot d\mathbf{S} + \oint_{\partial B_R(\mathbf{r}_0)} \mathbf{E}_C \cdot d\mathbf{S} = \oint_{\partial B_R(\mathbf{r}_0)} \mathbf{E}_{B_R} \cdot d\mathbf{S} }[/math]

The last equality follows by observing that [math]\displaystyle{ (\Omega \setminus B_R(\mathbf{r}_0)) \cap B_R(\mathbf{r}_0) = \emptyset }[/math], and the argument above.

The RHS is the electric flux generated by a charged sphere, and so:

[math]\displaystyle{ \Phi(R) =\frac {Q(R)}{\varepsilon_0} = \frac {1}{\varepsilon_0} \int_{B_R(\mathbf{r}_0)} \rho(\mathbf r'){\mathrm{d}\mathbf{r}'} = \frac {1}{\varepsilon_0} \rho(\mathbf r'_c)|B_R(\mathbf{r}_0)| }[/math] with [math]\displaystyle{ r'_c \in \ B_R(\mathbf{r}_0) }[/math]

Where the last equality follows by the mean value theorem for integrals. Using the squeeze theorem and the continuity of [math]\displaystyle{ \rho }[/math], one arrives at:

[math]\displaystyle{ \mathbf{\nabla} \cdot \mathbf{E}_0(\mathbf{r}_0) = \lim_{R \to 0} \frac{1}{|B_R(\mathbf{r}_0)|}\Phi(R) = \frac {1}{\varepsilon_0} \rho(\mathbf r_0) }[/math]

### 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).

**Outline of proof**

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

[math]\displaystyle{ \oint_S\mathbf{E}\cdot d\mathbf{A} = \frac{Q}{\varepsilon_0} }[/math]

By the assumption of spherical symmetry, the integrand is a constant which can be taken out of the integral. The result is
[math]\displaystyle{ 4\pi r^2\hat{\mathbf{r}}\cdot\mathbf{E}(\mathbf{r}) = \frac{Q}{\varepsilon_0} }[/math]
where **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
[math]\displaystyle{ \mathbf{E}(\mathbf{r}) = \frac{Q}{4\pi \varepsilon_0} \frac{\hat{\mathbf{r}}}{r^2} }[/math]
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' law.

## See also

## Notes

- ↑ The other three of Maxwell's equations are: Gauss's law for magnetism, Faraday's law of induction, and Ampère's law with Maxwell's correction
- ↑ More specifically, the infinitesimal area is thought of as planar and with area d
*N*. The vector d**R**is normal to this area element and has magnitude d*A*.^{[7]}

## Citations

- ↑ Duhem, Pierre (1891) (in fr).
*Leçons sur l'électricité et le magnétisme*. Paris Gauthier-Villars. vol. 1, ch. 4, p. 22–23. https://archive.org/stream/leonssurllec01duheuoft#page/22/mode/2up. shows that Lagrange has priority over Gauss. Others after Gauss discovered "Gauss' Law", too. - ↑ Lagrange, Joseph-Louis (1773). "Sur l'attraction des sphéroïdes elliptiques" (in fr).
*Mémoires de l'Académie de Berlin*: 125. https://books.google.com/books?id=4XkAAAAAMAAJ&pg=PA619. - ↑ Gauss, Carl Friedrich (1877) (in la).
*Theoria attractionis corporum sphaeroidicorum ellipticorum homogeneorum methodo nova tractata*. https://books.google.com/books?id=0TxeAAAAcAAJ&pg=PA3. (Gauss,*Werke*, vol. V, p. 1). Gauss mentions Newton's*Principia*proposition XCI regarding finding the force exerted by a sphere on a point anywhere along an axis passing through the sphere. - ↑ Halliday, David; Resnick, Robert (1970).
*Fundamentals of Physics*. John Wiley & Sons. pp. 452–453. - ↑ Serway, Raymond A. (1996).
*Physics for Scientists and Engineers with Modern Physics*(4th ed.). p. 687. - ↑
^{6.0}^{6.1}Grant, I. S.; Phillips, W. R. (2008).*Electromagnetism*. Manchester Physics (2nd ed.). John Wiley & Sons. ISBN 978-0-471-92712-9. - ↑ Matthews, Paul (1998).
*Vector Calculus*. Springer. ISBN 3-540-76180-2. - ↑ Fedosin, Sergey G. (2019). "On the Covariant Representation of Integral Equations of the Electromagnetic Field".
*Progress in Electromagnetics Research C***96**: 109–122. doi:10.2528/PIERC19062902. Bibcode: 2019arXiv191111138F. https://rdcu.be/ccV9o. - ↑ See, for example, Griffiths, David J. (2013).
*Introduction to Electrodynamics*(4th ed.). Prentice Hall. p. 50.

## References

- Gauss, Carl Friedrich (1867).
*Werke Band 5*. Digital version - Jackson, John David (1998).
*Classical Electrodynamics*(3rd ed.). New York: Wiley. ISBN 0-471-30932-X. David J. Griffiths (6th ed.)

## External links

- MIT Video Lecture Series (30 x 50 minute lectures)- Electricity and Magnetism Taught by Professor Walter Lewin.
- section on Gauss's law in an online textbook
- MISN-0-132
*Gauss's Law for Spherical Symmetry*(PDF file) by Peter Signell for Project PHYSNET. - MISN-0-133
*Gauss's Law Applied to Cylindrical and Planar Charge Distributions*(PDF file) by Peter Signell for Project PHYSNET.

Original source: https://en.wikipedia.org/wiki/Gauss's law.
Read more |