E and MCharges, Fields and Gauss's Law

Gauss's Law

The total flux through any closed surface equals q_enclosed/ε₀.

Not started Jump to practice

Here is a surprising fact about electric flux. Put a point charge $q$ at the center of an imaginary sphere of radius $r$. The field on the sphere is $kq/r^2$, straight out through every patch, and the sphere's area is $4\pi r^2$. So the flux is $$\Phi_E = \frac{kq}{r^2}\cdot 4\pi r^2 = 4\pi k q = \frac{q}{\varepsilon_0}.$$ The radius dropped out. A bigger sphere has a weaker field over a larger area, and the two changes cancel exactly, because the field falls as $1/r^2$ and area grows as $r^2$.

Key idea

Gauss's law: for any closed surface, $$\oint \vec{E}\cdot d\vec{A} = \frac{q_{\text{enc}}}{\varepsilon_0},$$ where $q_{\text{enc}}$ is the net charge inside. Charges outside the surface add nothing to the net flux.

Why it works

Any shape: the field lines leaving a point charge are the same lines whether you surround it with a sphere, a cube or a potato; each line crosses the surface once on its way out, so every closed surface around the charge collects the same $q/\varepsilon_0$.
Charges outside: a line from an outside charge that enters the surface must leave it again. It adds negative flux where it enters and the same positive flux where it leaves. The field on the surface changes, but the total does not.
Many charges: fields add, so fluxes add: $\Phi = (q_1 + q_2 + \dots)/\varepsilon_0$ over the charges inside.
A Gaussian surface (dashed) among three charges. Red arrows show field leaving the surface and blue ones field entering. Charges outside change the arrows but not the total.

Worked examples

Worked example: Counting what is inside

A closed surface contains $q_1 = +4.0\ \text{nC}$ and $q_2 = -1.0\ \text{nC}$; $q_3 = +6.0\ \text{nC}$ sits just outside. Find the net flux.
  1. Only the inside charges count: $q_{\text{enc}} = 4.0 - 1.0 = 3.0\ \text{nC}$.
  2. $\Phi_E = \dfrac{3.0 \times 10^{-9}}{8.85 \times 10^{-12}} = 339\ \text{N·m²/C}$.
  3. $q_3$ is close and strong, but its lines go in and come back out.

Answer: $\Phi_E \approx 339\ \text{N·m²/C}$

Worked example: One face of a cube

A $12\ \text{nC}$ charge sits at the center of a cube. How much flux passes through one face?
  1. The whole cube gets $q/\varepsilon_0$. The six faces are identical as seen from the center, so they share it equally.
  2. $\Phi_{\text{face}} = \dfrac{q}{6\varepsilon_0} = \dfrac{12 \times 10^{-9}}{6(8.85 \times 10^{-12})} = 226\ \text{N·m²/C}$.

Answer: $\Phi \approx 226\ \text{N·m²/C}$

Worked example: A charge at a corner

An $8.0\ \text{nC}$ charge sits exactly at one corner of a cube. How much flux passes out through the cube?
  1. Eight cubes meeting at that corner would surround the charge completely and share $q/\varepsilon_0$ equally.
  2. So one cube gets $\dfrac{q}{8\varepsilon_0} = 113\ \text{N·m²/C}$. (The three faces touching the corner get none: the field skims along them.)

Answer: $\Phi \approx 113\ \text{N·m²/C}$

Common mistake

"A charge outside the surface changes the flux through it." It changes the field at points on the surface, sometimes a lot, but not the net flux: each of its lines enters and leaves. Check yourself with a surface that encloses no charge at all: its net flux is zero no matter what fields are around it.
Gauss's law is always true, but it gives you $E$ only when symmetry makes $E$ the same size on the whole surface (or on whole pieces of it). Spheres, long cylinders and flat sheets have that symmetry; the next two topics use it.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • OpenStax University Physics Volume 2, 6.2 Explaining Gauss's Law
  • MIT OpenCourseWare, 8.02 Physics II: Electricity and Magnetism
@teddyrookbook GitHub