AP Physics C: E&M · Unit 8 lecture · Part 9 of 11 · 10 min

8.6 Gauss's lawGauss's law: let symmetry do the integral

Mr. Thompkins
Now the payoff. Gauss's law connects the flux through any closed surface to the charge inside. With the right symmetry, it turns a hard integral into one line of algebra. This is one of the most tested ideas in the whole course.

Gauss's law:

$$\oint \vec E\cdot d\vec A = \frac{q_{enc}}{\varepsilon_0}$$

In words: the net flux through any closed surface equals the charge enclosed by that surface, divided by $\varepsilon_0$. The surface is imaginary; you choose it, and it's called a Gaussian surface. Only charge inside counts. Charge outside contributes zero net flux: its field lines enter and leave.

Pause and think
A closed surface encloses $+3.0$ nC and $-5.0$ nC. A $+4.0$ nC charge sits just outside. What is the net flux through the surface?
I thought about it. Show me
$\Phi = q_{enc}/\varepsilon_0 = \frac{-2.0 \times 10^{-9}}{8.85 \times 10^{-12}} = -226\ \text{N·m}^2/\text{C}$. The outside charge changes the field on the surface, but not the net flux.
?Wait, how is $\varepsilon_0$ related to k again?
$k = \frac{1}{4\pi\varepsilon_0}$, so $\frac{1}{\varepsilon_0} = 4\pi k$. Numerically $\varepsilon_0 = 8.85 \times 10^{-12}\ \text{C}^2/(\text{N·m}^2)$. Gauss's law is written with $\varepsilon_0$ because the $4\pi$ is hidden in the area of the sphere.

Gauss's law is always true. It's only useful for finding E when there's enough symmetry to pull E out of the integral. You need a surface where, on each part, E is either (1) perpendicular to the surface with a constant size, or (2) parallel to the surface so the flux is zero. Then the integral becomes E times an area.

SymmetryGaussian surfaceFluxField
Spherical (point, ball, shell)Concentric sphere, radius r$E\,4\pi r^2$$q_{enc}/(4\pi\varepsilon_0 r^2)$
Cylindrical (long line or rod)Coaxial cylinder, radius r, length ℓ$E\,2\pi r\ell$ (caps give 0)$q_{enc}/(2\pi\varepsilon_0 r\ell)$
Planar (large sheet)Pillbox through the sheet, caps of area A$2EA$ (side gives 0)$\sigma/(2\varepsilon_0)$
The three symmetries the exam uses, and the surface that matches each.

Point charge and spheres

Around a point charge q, draw a concentric sphere of radius r. By symmetry, E has the same size everywhere on it and points straight out, parallel to $d\vec A$. So $\oint\vec E\cdot d\vec A = E(4\pi r^2) = q/\varepsilon_0$, giving $E = \frac{q}{4\pi\varepsilon_0 r^2}$. Coulomb's law, recovered in one line.

?Wait, what's the surface area of a sphere?
$4\pi r^2$. Its volume is $\tfrac{4}{3}\pi r^3$. You'll need both: the area for the flux, the volume for the enclosed charge.
point charge$E(4\pi r^2) = q/\varepsilon_0$$r$$R$inside a uniform ballonly the charge inside r counts
Left: a Gaussian sphere around a point charge. Right: a Gaussian sphere of radius r inside a uniformly charged ball encloses only part of the charge.

Outside any spherically symmetric charge, the same argument works: $E = kQ/r^2$, as if all the charge sat at the center. Inside a uniformly charged insulating ball of radius R and total charge Q, a Gaussian sphere of radius $r < R$ encloses only the fraction of charge in its volume: $q_{enc} = Q\frac{r^3}{R^3}$.

$$E(4\pi r^2) = \frac{Qr^3}{\varepsilon_0 R^3} \quad\Rightarrow\quad E = \frac{Qr}{4\pi\varepsilon_0R^3} = \frac{kQr}{R^3}$$

Inside, the field grows linearly with r, from zero at the center to $kQ/R^2$ at the surface, then falls as $1/r^2$ outside. Both formulas give the same value at $r = R$: the graph is continuous because there's no surface charge there.

Uniformly charged ball
An insulating ball of radius 0.10 m holds 6.0 nC spread uniformly through its volume. Use Gauss's law to find E at (a) r = 0.050 m and (b) r = 0.20 m.
00.050.10.150.20.250.30100020003000400050006000$r$ (m)$E$ (N/C)$E \propto r$$E \propto 1/r^2$27001350surface
  1. (a) Gaussian sphere of radius 0.050 m, concentric with the ball. By symmetry E is radial and the same everywhere on it: flux $= E(4\pi r^2)$.
    Why?
    State the symmetry and the surface. That is a scoring point on its own.
  2. Enclosed charge: $q_{enc} = Q\frac{r^3}{R^3} = (6.0\ \text{nC})(0.5)^3 = 0.75$ nC.
  3. $E = \frac{kq_{enc}}{r^2} = \frac{(9.0 \times 10^9)(0.75 \times 10^{-9})}{(0.050)^2} = 2700$ N/C, radially outward.
  4. (b) Outside, all 6.0 nC is enclosed: $E = \frac{(9.0 \times 10^9)(6.0 \times 10^{-9})}{(0.20)^2} = 1350$ N/C.

Answer: (a) 2700 N/C. (b) 1350 N/C. Both point radially outward.

Stuck? Get a hint
  1. Inside the ball, only the charge within radius r counts.
  2. Enclosed fraction = (r/R)³.
  3. Then E = k $q_{enc}$ / r².
Check yourself
A uniformly charged insulating ball has radius R. At which distance from its center is the field strongest?
  1. AAt the center
  2. BAt $r = R/2$
  3. CAt the surface, $r = R$
  4. DAt $r = 2R$
Show the answer

C. E rises linearly inside and falls as 1/r² outside, so its peak is at the surface. "At the center" is the trap: by symmetry, the field at the center is zero.

Check yourself
The net electric flux through a closed surface is zero. Which must be true?
  1. AThe field is zero everywhere on the surface.
  2. BThere is no charge anywhere near the surface.
  3. CThe net charge enclosed is zero.
  4. DNo field lines cross the surface.
Show the answer

C. Zero net flux means zero net enclosed charge. Field lines from outside charges can still cross: they enter and leave. Equal positive and negative charges inside also give zero.

  • Gauss's law: $\oint\vec E\cdot d\vec A = q_{enc}/\varepsilon_0$. Always true; useful with symmetry.
  • Choose the surface so E is constant and perpendicular, or parallel (zero flux), on each part.
  • Outside any spherical distribution: $E = kQ/r^2$.
  • Inside a uniform ball: $q_{enc} = Q(r/R)^3$, so $E = kQr/R^3$.
  • Only enclosed charge counts.