1.8.6Electromagnetism

Gauss's law — integral form, choosing Gaussian surfaces

2,069 words9 min readdifficulty · medium6 backlinks

WHAT is Gauss's Law?

Electric flux ΦE=EdA\Phi_E = \oint \vec E\cdot d\vec A measures how much field "flows through" the surface. The dot product picks out the component of E\vec E along the outward normal — sideways field contributes nothing.


WHY is it true? (Derive from Coulomb's law)

We build it from scratch, step by step.

Step 1 — Flux of a single point charge through a sphere. Put charge qq at the centre of a sphere of radius rr. By Coulomb's law, E=14πε0qr2r^.\vec E = \frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\hat r. Why this step? We start with the only field law we already trust (Coulomb), in the simplest symmetric case.

On the sphere EdA\vec E \parallel d\vec A (both radial), and E|\vec E| is constant. So Φ=EdA=EdA=q4πε0r2(4πr2)=qε0.\Phi = \oint E\,dA = E\oint dA = \frac{q}{4\pi\varepsilon_0 r^2}\cdot(4\pi r^2)=\frac{q}{\varepsilon_0}. Why this step? The r2r^2 in Coulomb's denominator cancels the r2r^2 in the sphere's area. The radius vanished — flux is the same for any sphere. That cancellation is the secret heart of Gauss's law.

Step 2 — Any closed shape, charge inside. A field line from qq that exits a tilted patch crosses an area dAdA, but only the perpendicular bit dAcosθdA\cos\theta catches lines, while the patch is further away by exactly the factor that grows r2r^2. The two effects cancel, so solid angle is what counts: dΦ=q4πε0dΩ,dΩ=4π  Φ=qε0.d\Phi = \frac{q}{4\pi\varepsilon_0}\,d\Omega,\qquad \oint d\Omega = 4\pi \ \Rightarrow\ \Phi=\frac{q}{\varepsilon_0}. Why this step? It shows the sphere was not special — any enclosing surface gives q/ε0q/\varepsilon_0.

Step 3 — Charge outside. A field line entering one side of the surface must leave the other side: it pierces an even number of times, contributing ++ then -. Net Φ=0\Phi = 0 for outside charges. Why this step? This proves outside charges don't enter QencQ_{\text{enc}}.

Step 4 — Superposition. Real fields add: E=Ei\vec E = \sum \vec E_i. Flux is linear, so Φ=iqi(inside)ε0=Qencε0.\Phi = \sum_i \frac{q_i^{\text{(inside)}}}{\varepsilon_0} = \frac{Q_{\text{enc}}}{\varepsilon_0}.\qquad\blacksquare


HOW to use it: choosing the Gaussian surface

The law is always true but only solvable when you can pull EE out of the integral. Choose a surface so that on each face either:

  1. E\vec E is constant in magnitude and parallel to dAd\vec A (θ=0\theta=0), so EdA=EA\int E\,dA = EA, or
  2. EdA\vec E\perp d\vec A (θ=90°\theta=90°), so the flux is zero.
Figure — Gauss's law — integral form, choosing Gaussian surfaces

Worked examples

Example 1 — Field of a point charge

Find E\vec E at distance rr from charge qq.

  • Surface: sphere radius rr. Why? Spherical symmetry → EE depends only on rr and points radially.
  • On sphere: Φ=E(4πr2)\Phi = E\,(4\pi r^2). Why? EE constant & parallel to normal.
  • Gauss: E4πr2=q/ε0E=q4πε0r2E\,4\pi r^2 = q/\varepsilon_0 \Rightarrow E = \dfrac{q}{4\pi\varepsilon_0 r^2}. We recovered Coulomb — consistency check passed.

Example 2 — Infinite line charge, linear density λ\lambda

  • Surface: cylinder radius rr, length LL, coaxial.
  • Curved face: E\vec E radial, dA\parallel d\vec A, constant → flux =E(2πrL)= E\,(2\pi r L).
  • Flat end caps: EdA\vec E \perp d\vec A → flux =0=0. Why? Field points radially, caps face along axis.
  • Qenc=λLQ_{\text{enc}} = \lambda L. E(2πrL)=λLε0  E=λ2πε0rE\,(2\pi r L) = \frac{\lambda L}{\varepsilon_0}\ \Rightarrow\ \boxed{E=\frac{\lambda}{2\pi\varepsilon_0 r}} Why the length LL cancels? The trapped charge and the curved area both scale with LL.

Example 3 — Infinite charged plane, surface density σ\sigma

  • Surface: pillbox, cross-section area AA, straddling the sheet symmetrically.
  • Two flat faces: EdA\vec E\parallel d\vec A, total flux =2EA= 2EA (field exits both sides).
  • Side wall: EdA\vec E\perp d\vec A → 0.
  • Qenc=σAQ_{\text{enc}}=\sigma A. 2EA=σAε0  E=σ2ε02EA=\frac{\sigma A}{\varepsilon_0}\ \Rightarrow\ \boxed{E=\frac{\sigma}{2\varepsilon_0}} Why the factor 2? Flux escapes through both faces. Why EE independent of distance? Infinite plane = constant solid-angle coverage; field is uniform.

Example 4 — Uniformly charged solid sphere, radius RR, total QQ, inside (r<Rr<R)

  • Surface: sphere radius r<Rr<R.
  • Qenc=Qr3R3Q_{\text{enc}} = Q\dfrac{r^3}{R^3} (charge scales with enclosed volume). E4πr2=Qr3/R3ε0E=Qr4πε0R3E\,4\pi r^2=\frac{Q r^3/R^3}{\varepsilon_0}\Rightarrow \boxed{E=\frac{Qr}{4\pi\varepsilon_0 R^3}} Why linear in rr inside? Less charge is enclosed as you go deeper; E0E\to0 at the centre.

Common mistakes (steel-manned)


Flashcards

Gauss's law integral form
SEdA=Qenc/ε0\oint_S \vec E\cdot d\vec A = Q_{\text{enc}}/\varepsilon_0
What is electric flux?
ΦE=EdA\Phi_E=\oint\vec E\cdot d\vec A, the field component through the surface times area, summed.
Does charge OUTSIDE a Gaussian surface contribute to net flux?
No — net flux from external charge is zero (lines enter and leave equally).
Does outside charge contribute to E\vec E on the surface?
Yes, it affects E\vec E pointwise, just not the net flux.
Why does the sphere's radius cancel for a point charge?
E1/r2E\propto 1/r^2 but area r2\propto r^2; product is rr-independent.
Gaussian surface for spherical symmetry
Concentric sphere.
Gaussian surface for infinite line charge
Coaxial cylinder.
Gaussian surface for infinite plane
Pillbox straddling the plane.
Field of infinite line charge λ\lambda
E=λ/(2πε0r)E=\lambda/(2\pi\varepsilon_0 r), radial.
Field of infinite charged sheet σ\sigma
E=σ/(2ε0)E=\sigma/(2\varepsilon_0), uniform, perpendicular.
Field inside uniformly charged solid sphere (r<Rr<R)
E=Qr/(4πε0R3)E=Qr/(4\pi\varepsilon_0 R^3), grows linearly.
Why factor 2 for the plane but not the cylinder caps?
Plane field exits BOTH faces; cylinder caps are perpendicular to radial field → zero flux.
When can Gauss's law give EE directly?
Only with enough symmetry (spherical, cylindrical, planar) to pull EE outside the integral.

Recall Feynman: explain it to a 12-year-old

Imagine a charge is a tiny sprinkler shooting water (field lines) in all directions. Put any closed net around it. All the water that the sprinkler sprays must pass through the net to escape — so by measuring the total water leaving the net, you know exactly how strong the sprinkler inside is. If a sprinkler is outside the net, its water sprays in one side of the net and straight out the other — net water added = zero. So only sprinklers trapped inside count. To make the counting easy, pick a net shaped like the spray pattern: a ball-shaped net for a point sprinkler, a tube for a line of sprinklers.


Connections

  • Coulomb's law — Gauss's law is derived from it; they're equivalent for statics.
  • Electric flux — the quantity Gauss's law constrains.
  • Electric field of conductors — field inside = 0, surface field σ/ε0\sigma/\varepsilon_0 via a pillbox.
  • Divergence theorem — converts integral form to the differential form E=ρ/ε0\nabla\cdot\vec E=\rho/\varepsilon_0.
  • Maxwell's equations — Gauss's law is the first of the four.
  • Symmetry in physics — why surface choice works.

Concept Map

point charge field

r squared cancels

generalize shape

any enclosing surface

lines pierce twice

superposition

superposition

defines

dot product selects

relates flux to

apply with symmetry

Coulomb's law

Flux through sphere

Radius independent flux

Solid angle argument

Inside charge gives q over eps0

Outside charge gives zero flux

Gauss's law integral form

Electric flux E dot dA

Normal component only

Q enclosed over eps0

Choosing Gaussian surface

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Gauss ka law bolta hai ki agar tum koi bhi band (closed) surface banao, to us surface se nikalne wala total electric flux sirf us surface ke andar trapped charge par depend karta hai: EdA=Qenc/ε0\oint \vec E\cdot d\vec A = Q_{enc}/\varepsilon_0. Andar ki charge ki shape, position — kuch fark nahi padta, aur bahar ki saari charges ka net flux zero hota hai (line ek taraf se ghuss ke doosri taraf se nikal jaati hai). Yeh idea Coulomb's law se aata hai: field 1/r21/r^2 se girti hai, lekin sphere ka area r2r^2 se badhta hai — dono cancel ho jaate hain, isliye radius gayab ho jaata hai aur flux hamesha q/ε0q/\varepsilon_0.

Ab asli kaam: yeh law hamesha sach hai, par EE nikalne ke liye tabhi useful hai jab symmetry ho. Trick simple hai — surface ko charge ki symmetry se match karo. Point ya ball charge ke liye sphere, infinite wire ke liye cylinder, infinite sheet ke liye pillbox (ek dabba jo plane ke aar-paar lagta hai). Surface aise choose karo ki har face par ya to EE constant aur normal ke parallel ho (taaki EdA=EA\int E\,dA = EA), ya phir EE perpendicular ho (taaki flux = 0).

Yaad rakhna common galtiyan: integral wale E\vec E mein saari charges ka field hota hai, sirf andar wala nahi — bas net flux mein bahar wale ka contribution zero hota hai. Aur infinite plane ka field σ/2ε0\sigma/2\varepsilon_0 hota hai (do faces se flux nikalta hai, isliye 2 aata hai), jabki conductor ke surface par σ/ε0\sigma/\varepsilon_0. Mnemonic yaad rakho: SCP — Sphere, Cylinder, Pillbox, aur "Flux In = Charge In (over epsilon)". Bas itna samajh lo, exam mein Gauss ke sawal aaram se nikal jaayenge.

Go deeper — visual, from zero

Test yourself — Electromagnetism

Connections