# Gauss’s Law – Integral & Differential

Electric Flux and Gauss’s Law | Electronics Basics #6
Electric Flux and Gauss’s Law | Electronics Basics #6

## Gauss’s law

Gauss’s law states that the net electric flux through any hypothetical closed surface is equal to 1/ε0 times the net electric charge within that closed surface.

ΦE = Q/ε0

We calculate the electric flux through each element and integrate the results to obtain the total flux. The electric flux ΦE is then defined as a surface integral of the electric field.

In electromagnetism, Gauss’s law, also known as Gauss’s flux theorem, relates the distribution of electric charge to the resulting electric field. In its integral form, Gauss’s law relates the charge enclosed by a closed surface (often called as Gaussian surface) to the total flux through that surface. When the electric field, because of its symmetry, is constant everywhere on that surface and perpendicular to it, the exact electric field can be found.

Gauss’s law involves the concept of electric flux, which refers to the electric field passing through a given area. In words:

Gauss’s law states that the net electric flux through any hypothetical closed surface is equal to 1/ε0 times the net electric charge within that closed surface.

ΦE = Q/ε0

In pictorial form, this electric field is shown as a dot, the charge, radiating “lines of flux”. These are called Gauss lines. Note that field lines are a graphic illustration of field strength and direction and have no physical meaning. The density of these lines corresponds to the electric field strength, which could also be called the electric flux density: the number of “lines” per unit area. Electric flux is proportional to the total number of electric field lines going through a surface.

Electric flux depends on the strength of electric field, E, on the surface area, and on the relative orientation of the field and surface. For a uniform electric field E passing through an area A, the electric flux E is defined as:

Φ = E x A

This is for the area perpendicular to vector E. We generalize our definition of electric flux for a uniform electric field to:

Φ = E x A x cosφ (electric flux for uniform E, flat surface)

What happens if the electric field isn’t uniform but varies from point to point over the area ? Or what if is part of a curved surface? For a non-uniform electric field, the electric flux dΦE through a small surface area dA is given by:

dΦE = E x dA

We calculate the electric flux through each element and integrate the results to obtain the total flux. The electric flux ΦE is then defined as a surface integral of the electric field:

## Gauss’s law formula – Integral

In its integral form, Gauss’s law relates the charge enclosed by a closed surface to the total flux through that surface. The precise relation between the electric flux through a closed surface and the net charge Qencl enclosed within that surface is given by Gauss’s law:

where ε0 is the same constant (permittivity of free space) that appears in Coulomb’s law. The integral on the left is over the value of E on any closed surface, and we choose that surface for our convenience in any given situation. The charge Qencl is the net charge enclosed by that surface.

It doesn’t matter where or how the charge is distributed within the surface. Any charge outside this surface must not be included. A charge outside the chosen surface may affect the position of the electric field lines, but will not affect the net number of lines entering or leaving the surface.

## Gauss’s law formula – Differential

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. This divergence theorem is also known as Gauss’s-Ostrogradsky’s theorem.