girgit.org

Electric Charges and Fields

Can you count the charge inside a box from outside?

The big ideaGauss's law: the total electric flux out of any closed surface equals the charge inside it divided by \( \varepsilon_0 \), \( \phi = q/\varepsilon_0 \), whatever the surface's shape and wherever the charge sits inside.

In simple words

Wrap a charge in a closed bag of any shape. Count all the field lines poking out through the bag, and subtract the ones poking in. The answer depends only on how much charge is inside the bag, nothing else. Squeeze the bag, stretch it, move the charge around inside: the count stays the same. And if no charge is inside, every line that goes in also comes out, so the count is zero.

First: charge spread out

So far our charges were separate points. But the charge on a metal ball, a long wire or a cloud is spread over billions of electrons; listing each one is hopeless. Instead we take a small piece that is tiny to us but still holds a very large number of charges, and ask how much charge it carries. This gives a continuous charge distribution, described by a density:

Charge spread alongDensityDefinitionUnit
a line (wire)linear charge density \( \lambda \)\( \lambda = \Delta Q/\Delta l \)C/m
a surfacesurface charge density \( \sigma \)\( \sigma = \Delta Q/\Delta S \)C/m²
a volumevolume charge density \( \rho \)\( \rho = \Delta Q/\Delta V \)C/m³

These are macroscopic, smoothed-out averages: they ignore the graininess of charge, just as the density of milk ignores its separate molecules.

To find the field of such a distribution, cut it into small volumes \( \Delta V \), each holding charge \( \rho\Delta V \), treat each as a point charge and add up their fields (superposition):

\[ \mathbf{E} \approx \sum_{\text{all }\Delta V}\frac{1}{4\pi\varepsilon_0}\,\frac{\rho\,\Delta V}{r'^2}\,\hat{\mathbf{r}}' \]

where \( r' \) is the distance from the small piece to the point and \( \hat{\mathbf{r}}' \) points from the piece to the point. (With \( \Delta V \to 0 \) the sum becomes an integral.) Coulomb's law plus superposition handle any distribution at all, but the sum is usually hard to do. Gauss's law gives a shortcut.

Flux out of a sphere

Put a point charge \( q \) at the centre of a sphere of radius \( r \). Everywhere on the sphere, \( E = \dfrac{q}{4\pi\varepsilon_0 r^2} \), and the field points straight out, along the normal. So each small patch has flux \( E\,\Delta S \), and the total is

\[ \phi = E \times (\text{area of sphere}) = \frac{q}{4\pi\varepsilon_0 r^2} \times 4\pi r^2 = \frac{q}{\varepsilon_0} \]

The \( r^2 \) cancels: the flux is the same for a sphere of any size. This is a simple case of a general law.

Try it: grow and shrink a sphere round a charge and watch the flux.

Gauss's law

\[ \oint_S \mathbf{E}\cdot d\mathbf{S} = \frac{q}{\varepsilon_0} \]

Gauss's law: the electric flux through any closed surface S equals \( 1/\varepsilon_0 \) times \( q \), the total charge enclosed by S.

So if no charge is enclosed, the flux is zero. Check with a closed cylinder whose axis lies along a uniform field: lines enter one flat end (flux \( -ES \)), leave the other (\( +ES \)) and run along the curved side (zero). Total: zero, as it must be.

Points about Gauss's law

  • It holds for any closed surface, of any shape or size.
  • \( q \) is the sum of all charges inside, wherever they sit.
  • The field \( \mathbf{E} \) in the flux is due to all charges, inside and outside. Charges outside change \( \mathbf{E} \) on the surface, but add nothing to the total flux.
  • The chosen surface is the Gaussian surface. It must not pass through a point charge (the field there is not defined), but it may pass through a continuous distribution.
  • It is most useful when the charges have symmetry, so a clever surface makes \( E \) easy to pull out.
  • It rests on the inverse square law. If Gauss's law failed, Coulomb's \( 1/r^2 \) would be wrong.

Try it: move a charge in and out of an oddly shaped closed surface and count the crossings.

Worked example

The net outward flux through a closed box is \( 2.26 \times 10^{5} \) N C−1 m2. What charge does it hold?

  1. \( q = \varepsilon_0\phi = (8.854 \times 10^{-12})(2.26 \times 10^{5}) \)
  2. \( q \approx 2.0 \times 10^{-6} \) C = 2 µC, positive since the net flux is outward.

Try it

A charge \( q \) sits at the exact centre of a cube. What is the flux through one face?

Answer
The total through the cube is \( q/\varepsilon_0 \). By symmetry all six faces are alike, so one face gets \( q/6\varepsilon_0 \).

See the cube answer built face by face.

Words to know

Continuous charge distribution
Charge treated as smeared smoothly over a line, surface or volume.
\( \lambda, \sigma, \rho \)
Charge per unit length (C/m), per unit area (C/m²), per unit volume (C/m³).
Gauss's law
Flux through a closed surface = enclosed charge ÷ \( \varepsilon_0 \).
Gaussian surface
The imaginary closed surface you choose for applying Gauss's law.
Enclosed charge
The algebraic sum of the charges inside the surface.

A charge \( q \) is inside a closed surface. The surface is stretched to twice its size, with the charge still inside. The total flux

  1. halves
  2. stays \( q/\varepsilon_0 \)
  3. doubles

The net flux through a closed surface is zero. Which must be true?

  1. The field is zero everywhere on the surface
  2. The total charge inside is zero
  3. There are no charges anywhere nearby

A closed surface holds \( +3\ \mu\text{C} \) and \( -1\ \mu\text{C} \), and a \( +5\ \mu\text{C} \) charge sits just outside. The flux out of the surface is

  1. \( 7\ \mu\text{C}/\varepsilon_0 \)
  2. \( 2\ \mu\text{C}/\varepsilon_0 \)
  3. \( 4\ \mu\text{C}/\varepsilon_0 \)