impera Open Impera

AP Physics C: Electricity and Magnetism · Electric charges, fields and Gauss's law

Gauss's law

1The law

The net electric flux through any closed surface equals the enclosed charge divided by ε₀:
$$\oint\vec{E}\cdot d\vec{A} = \frac{q_{enc}}{\varepsilon_0}$$

It is always true, but it is useful for finding E only when symmetry makes E constant in magnitude (and parallel or perpendicular to dA) over a chosen Gaussian surface.

Method:

  1. Identify the symmetry (spherical, cylindrical, planar).
  2. Choose a Gaussian surface matching it.
  3. Evaluate the flux as E × (area).
  4. Find the enclosed charge and solve for E.
Check yourself

Gauss's law relates the flux through a closed surface to:

  • The charge outside

  • The surface's area only

  • The total charge in the universe

  • The net charge enclosed

Show the answer

The net charge enclosed

q_enc/ε₀.

2Spherical symmetry

Gaussian surface: a concentric sphere of radius r; flux = $E(4\pi r^2)$.

  • Outside any spherically symmetric charge Q: $E = \frac{kQ}{r^2}$ (as for a point charge).
  • Inside a uniformly charged insulating sphere (radius R): $q_{enc} = Q\frac{r^3}{R^3}$, so

$$E = \frac{kQr}{R^3} \quad (r < R)$$

  • Inside a charged conducting sphere or a thin shell: $q_{enc} = 0$, so E = 0.

Field of a charged sphere from Gauss's law

Check yourself

Inside a uniformly charged insulating sphere, the electric field is proportional to:

  • r

  • 1/r²

  • 1/r

  • r²

Show the answer

r

Enclosed charge grows as r³.

3Cylindrical and planar symmetry

Infinite line of charge (λ): Gaussian cylinder of radius r and length L.

  1. Flux through the curved side: $E(2\pi rL)$; none through the ends.
  2. $E(2\pi rL) = \frac{\lambda L}{\varepsilon_0}$.
  3. $$E = \frac{\lambda}{2\pi\varepsilon_0r}$$

Infinite sheet of charge (σ): Gaussian "pillbox" of face area A straddling the sheet.

  1. Flux through both faces: $2EA = \frac{\sigma A}{\varepsilon_0}$.
  2. $$E = \frac{\sigma}{2\varepsilon_0}$$

Just outside a conductor's surface: flux leaves through only one face (E = 0 inside), so $E = \frac{\sigma}{\varepsilon_0}$.

Check yourself

The field between two large parallel plates with charge densities +σ and −σ is:

  • Zero

  • σ/2ε₀

  • 2σ/ε₀

  • σ/ε₀

Show the answer

σ/ε₀

The two sheets' fields add between the plates.

4Worked examples

Worked example

a solid insulating sphere of radius 0.10 m has charge 8.0 nC spread uniformly.

  1. At r = 0.05 m: $E = \frac{kQr}{R^3} = \frac{(8.99 \times 10^9)(8.0 \times 10^{-9})(0.05)}{0.001} \approx 3600$ N/C.
  2. At r = 0.20 m: $E = \frac{kQ}{r^2} = \frac{71.9}{0.04} \approx 1800$ N/C.

Non-uniform density: if $\rho = \rho_0\frac{r}{R}$, then $q_{enc} = \int_0^r\rho\,4\pi r'^2\,dr' = \frac{\pi\rho_0r^4}{R}$ and $E = \frac{\rho_0r^2}{4\varepsilon_0R}$ inside.

Check yourself

A Gaussian surface encloses charges +3 nC and −3 nC. The net flux through it is:

  • Zero

  • 3 nC/ε₀

  • 6 nC/ε₀

  • −3 nC/ε₀

Show the answer

Zero

Net enclosed charge is zero.

5Going deeper: non-uniform charge, nested conductors and choosing the surface

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

Gauss's law is always true, but it is useful for finding E only when symmetry makes E constant in magnitude and perpendicular (or parallel) to the surface, so that E comes out of the integral.

Choosing the Gaussian surface

  • Spherical symmetry: a concentric sphere; $E(4\pi r^2) = q_{\text{enc}}/\varepsilon_0$.
  • Cylindrical symmetry (long line or cylinder): a coaxial cylinder of length L; $E(2\pi rL) = q_{\text{enc}}/\varepsilon_0$; no flux through the end caps.
  • Planar symmetry (large sheet): a "pillbox" straddling the sheet; $E(2A) = \sigma A/\varepsilon_0$.

Results

  • Outside any spherically symmetric charge: $E = \frac{kQ}{r^2}$, as for a point charge.
  • Inside a uniformly charged insulating sphere: $E = \frac{kQr}{R^3}$, rising linearly.
  • Inside a charged spherical shell: E = 0.
  • Long line: $E = \frac{\lambda}{2\pi\varepsilon_0 r}$. Infinite sheet: $E = \frac{\sigma}{2\varepsilon_0}$. Just outside a conductor: $E = \frac{\sigma}{\varepsilon_0}$.

Worked example (uniform sphere): an insulating sphere of radius 0.10 m carries 8.0 nC uniformly.

  1. At r = 0.050 m: enclosed charge is $\left(\frac{r}{R}\right)^3Q = \frac{1}{8}Q$; $E = \frac{kQr}{R^3} = 3600$ N/C.
  2. At the surface: 7200 N/C, the maximum.
  3. At r = 0.20 m: $\frac{kQ}{r^2} = 1800$ N/C.

Worked example (non-uniform density): a sphere has charge density $\rho = Ar$. Find E inside.

  1. Enclosed charge: $q_{\text{enc}} = \int_0^r Ar'(4\pi r'^2)\,dr' = \pi Ar^4$.
  2. $E(4\pi r^2) = \frac{\pi Ar^4}{\varepsilon_0}$.
  3. $E = \frac{Ar^2}{4\varepsilon_0}$. You must integrate to find the enclosed charge whenever ρ varies; multiplying ρ by volume is wrong.

Worked example (charge inside a conducting shell): a point charge +q sits at the center of a neutral conducting spherical shell.

  1. Inside the metal, E = 0, so a Gaussian sphere within the metal encloses zero net charge.
  2. The inner surface therefore carries −q.
  3. The shell is neutral, so the outer surface carries +q.
  4. Field: $\frac{kq}{r^2}$ in the cavity, zero in the metal, $\frac{kq}{r^2}$ outside.
  5. If the shell instead carried net charge Q, the inner surface would still hold −q and the outer surface Q + q.

Worked example (coaxial cable): an inner wire carries +λ per meter, the outer sheath −λ.

  1. Between them: $E = \frac{\lambda}{2\pi\varepsilon_0 r}$.
  2. Outside the sheath: enclosed charge is zero, so E = 0. The cable is shielded.

Common mistakes

  • Using Gauss's law to find E where there is no symmetry (a finite rod, a cube of charge).
  • Using the total charge when the surface encloses only part of it.
  • Saying E = 0 on a surface because the enclosed charge is zero. Only the net flux is zero.
  • Confusing the Gaussian surface (imaginary) with a real surface.
Check yourself

Inside a uniformly charged insulating sphere, how does the electric field depend on the distance r from the center?

  • It is zero

  • It is proportional to 1 ÷ r²

  • It is proportional to r

  • It is constant

Show the answer

It is proportional to r

Enclosed charge grows as r³ while the surface area grows as r².

6For top marks

  • State the symmetry and describe the Gaussian surface.
  • Explain why E is constant on it and why other faces contribute no flux.
  • Find q_enc carefully (integrate if the density varies).
  • Give E as a function of r in each region.
Check yourself

Why can't Gauss's law easily give the field of a finite charged rod?

  • There is no surface on which E is constant by symmetry

  • Gauss's law is not true for charged rods

  • Electric flux is undefined through rods

  • A finite rod carries no net charge at all

Show the answer

There is no surface on which E is constant by symmetry

Insufficient symmetry.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera