UNIHIVE

Study Hub UNIPORT PHY 315

PHY 315 · Electricity and Magnetism I

Gauss's law

The integral and differential forms, choosing Gaussian surfaces, and fields of symmetric charge distributions.

Our notes

2 min read

The law

Integral form: ∮ E·da = Q_enc/ε₀. The flux of E through any closed surface equals the charge enclosed divided by ε₀.
Differential form (by the divergence theorem): ∇·E = ρ/ε₀.

When it is useful

Gauss's law is always true, but it gives E easily only when symmetry lets E come out of the integral:

  • Spherical symmetry: a spherical Gaussian surface.
  • Cylindrical symmetry: a coaxial cylinder.
  • Plane symmetry: a "pillbox" crossing the plane.

Worked example 1: line charge

Cylinder of radius s, length L round a line with λ. Flux through the curved side = E × 2πsL; the ends give none.
E × 2πsL = λL/ε₀ → E = λ/(2πε₀s).
Numbers: λ = 2 nC/m, s = 0.10 m: E = 2 × 10⁻⁹/(2π × 8.854 × 10⁻¹² × 0.10) = 360 V/m.
Check: 2kλ/s = 2 × 8.99 × 10⁹ × 2 × 10⁻⁹/0.10 = 359.6 V/m. ✓

Worked example 2: uniformly charged solid sphere

Radius R, total charge Q, density ρ = Q/(4/3 πR³).

  • Outside (r ≥ R): E 4πr² = Q/ε₀ → E = kQ/r², as if all charge were at the centre.
  • Inside (r < R): Q_enc = Q r³/R³ → E = kQr/R³, rising linearly from zero at the centre.

At r = R both give kQ/R²: E is continuous. ✓

Worked example 3: infinite plane sheet

Surface charge σ. Pillbox of area A: flux = 2EA = σA/ε₀ → E = σ/(2ε₀), the same at any distance. Two opposite sheets (a capacitor) give σ/ε₀ between them and zero outside.

Conductors and Gauss's law

In electrostatic equilibrium:

  • E = 0 inside a conductor.
  • Any net charge sits on the surface.
  • Just outside, E is perpendicular to the surface with E = σ/ε₀.
  • A cavity with no charge inside has zero field (the basis of electrostatic shielding, the Faraday cage).

Using the differential form

If E = (αx, 0, 0) in some region, ρ = ε₀ ∇·E = ε₀α, a uniform charge density.

Exams usually ask

  • State Gauss's law in both forms and derive one from the other.
  • Find E for spheres, shells, cylinders and planes, inside and outside.
  • Explain why E = 0 inside a conductor.

Common mistake

Using Gauss's law for a finite line or a square sheet. Without full symmetry, E is not constant on the surface and cannot be taken out of the integral.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All PHY 315 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.