# Gauss law

Without Gauss Theorem study of electrostatic is incomplete. So it became necessary to know about the **gauss theorem**. In this article, we are going to discuss the gauss theorem in detail. So keep reading till the end.

In **electromagnetism**, **gauss’s law** is also known as **gauss flux’s theorem. **It is a law that relates the distribution of electric charge to the resulting electric field. Gauss’s Law is mathematically very similar to the other laws of physics. Such as – gauss’s law for magnetism, gauss’s law for gravity.

However, gauss’s law can be expressed in such a way that it is very similar to the inverse square law. In physics, there are many inverse square laws, such as inverse square coulomb’s law, inverse square Newton’s laws of gravity, inverse square magnetic coulomb’s law, etc. Gauss’s law is essentially very equivalent or analogies to these inverse square laws.

There are two forms in which gauss’s law can be expressed. We can express this law mathematically using vector calculus in integral form and in differential form, both forms is equivalent since they are related by the divergence theorem which is also called Gauss theorem.

1). **Integral form** – This form of gauss theorem is used when the distribution of electric charge on any closed surface is continuous or symmetrical. The integral form of gauss law states that electric flux through any arbitrary surface is proportional to the total electric charge enclosed by the surface.

2). **Differential form** – This form of gauss theorem is used when the distribution of electric charge over a closed surface is discontinuous or unsymmetrical. Differential form of gauss law states that the divergence of the electric field is proportional to the local density of charge.

This law was first formulated by Joseph-Louis Lagrange in 1773 and further followed by Carl Friedrich Gauss in 1813. It is one of Maxwell’s four equations. And this law can be used to derive coulomb’s law or vice versa.

Now we are going to talk about each form of **gauss’s law** in detail one by one.

## Gauss law in integral form

### Guass’s law statement

The gauss theorem states that – The surface integral of the electric field intensity over a closed surface (called Gaussian surface) in free space is equal to the $\frac{1}{\epsilon_{0}}$ times the net electric charge enclosed within the surface. Mathematically it is given as -\[

\Phi_E=\oint_{S}{E}.{dS}=\frac{1}{\epsilon_0}\sum_{i=1}^n{qi}=\frac{q}{\epsilon_0}

\]

Where ${\displaystyle{q}=\sum_{i=1}^n{qi}}$ is the algebraic sum of all the charge inside the closed surface. Hence, the total electric flux over a closed surface in a vacuum is $\frac{1}{\epsilon_{0}}$ times the total charge within the surface irrespective of how that charge is distributed.

### Proof of Gauss’s theorem for spherically symmetric surface

Take a q charge and make a Gaussian surface of radius r. Now cut a small area element dS through which we will find electric flux. See fig. above : Electric flux through this small symmetrical area element(surface) dS is given as –

\begin{align*}

d\phi&=E.dS=\frac{1}{4\pi\epsilon_0}\frac{q}{r^2}\hat{r}.\left(dS\hat{n}\right)\\

d\phi&=\frac{1}{4\pi\epsilon_0}\frac{qdS}{r^2}\hat{r}.\hat{n}

\end{align*}

Here, ${\displaystyle\hat{r}.\hat{n}=1.1\cos0^{\circ}=1}$, now the equation become:

$$

d\phi=\frac{1}{4\pi\epsilon_0}\frac{qdS}{r^2}

$$

Total electric flux through the spherical surface is given as-

\begin{align*}

\phi_{E}&=\oint_{S}d{\phi}\\

\phi_{E}&=\frac{1}{4\pi\epsilon_0}\frac{q}{r^2}\oint_{S}dS\\

\phi_{E}&=\frac{1}{4\pi\epsilon_0}\frac{q}{r^2}.4\pi{r^2}\\

\phi_{E}&=\frac{q}{\epsilon_0}

\end{align*}

If an electric charge is kept in a medium of dielectric constant k then-

$$

\phi_E=\frac{q}{k\epsilon_0}=\frac{q}{\epsilon_r\epsilon_0}=\frac{q}{\epsilon}

$$

Where, $\displaystyle{k=\epsilon_{r}=\frac{\epsilon}{\epsilon_0}}$

And if there is no any charge enclosed in the Gaussian surface i.e q = 0 then ${\phi_E=0}$

## Gauss law in differential form

Using divergence theorem, gauss’s law can be expressed in differential form as follows:

$$

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

$$

where ∇ · E is the divergence of the electric field, ε0 is the electric constant also called the permittivity of the free space, and ρ is the volumetric charge density (charge per unit volume).

### Equivalence of integral and differential form

Mathematically gauss laws are equivalent in integral and differential form. We can prove this equivalency by using the divergence theorem.

#### Equivalency proof

The integral form of Gauss’ law is: $$ \iint_{S}{\displaystyle \mathbf {E} \cdot \mathrm {d} \mathbf {A} } = \frac{Q}{\varepsilon_0}

$$

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

$$

{\displaystyle \iiint _{V}\nabla \cdot \mathbf {E} \,\mathrm {d} V={\frac {Q}{\varepsilon _{0}}}}

$$

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

$$

{\displaystyle \iiint _{V}\nabla \cdot \mathbf {E} \,\mathrm {d} V=\iiint _{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 for the integrands to be equal everywhere. Therefore, this equation is equivalent to:

$$

{\displaystyle \nabla \cdot \mathbf {E} ={\frac {\rho }{\varepsilon _{0}}}.}

$$

Thus the integral and differential forms are equivalent.**Watch the video for more reference**