Visual walkthrough — Gauss's law — integral form, choosing Gaussian surfaces
Step 0 — The two pictures we must trust before line one
Before any symbol appears, let's agree on two mental images.
Now every symbol we use will be earned against these two pictures.
Step 1 — One patch, and what actually means
WHAT. Take a single tiny flat patch of a surface. Two arrows live on it:
- — the electric field arrow (direction the field pushes, length = strength).
- — the area-vector of the patch: an arrow that stands perpendicular () to the patch, points out of the closed surface, and whose length equals the patch's area. We write its length as , so . Whenever you see the plain scalar it means this same patch area — same object, just its length.
WHY these two. Flux is "field facing the surface." To measure facing, we need the field arrow and an arrow saying which way the patch looks. That second arrow is .
PICTURE. In the figure, arrives at angle to the normal . Only the shadow of along counts — the sideways part slides along the surface catching nothing.
The dot product (defined at the top) does the middle step automatically: . Why and not, say, ? Because is when the field hits the patch head-on (, full flux) and when the field grazes (, zero flux). That is precisely the rain-loop behaviour — exactly why the dot product is the right tool here, not plain multiplication.
Step 2 — Coulomb's law: the only field we start out trusting
WHAT. Place a single point charge alone in space. Coulomb's law tells us its field.
WHY start here. We cannot derive Gauss's law from nothing — we bootstrap it from the one field law already established: Coulomb.
PICTURE. The field arrows radiate straight out (if ) like spokes of a wheel, thinning with distance.
- = distance from the charge.
- = a length-one arrow pointing straight away from .
- = the field fades as the square of distance — hold this thought, it is about to collide with an area that grows as the square of distance.
- = how "permitting" empty space is to field.
Step 3 — The magic cancellation: flux through a sphere
WHAT. Wrap in a sphere of radius , centred on . Add up flux over the whole sphere — that "add up over a closed surface" is what the ring on the integral sign means:
WHY a sphere. By symmetry, every point of the sphere is identical to : same distance, and the field there points straight out — parallel to the sphere's outward area-vector. So , everywhere. The dot product then equals , and is the same on every patch, so it pops out of the sum.
PICTURE. Every red field arrow pierces the sphere head-on; the shell area is .
The dot survives right up to the point where lets us drop it. Look at the collision: the that weakened the field is the same that enlarged the sphere. They divide out perfectly. The answer has no in it — a bigger sphere catches weaker but wider field, and the total leakage never changes. This exact cancellation is the beating heart of Gauss's law.
Step 4 — Tilt and stretch a patch: solid angle proves the sphere wasn't special
WHAT. Replace the sphere with a lumpy closed surface. A patch on it is generally tilted (angle ) and farther than a sphere patch.
WHY. We must show any closed surface gives , not just the neat sphere. Two effects fight, and we watch them cancel.
PICTURE. A tilted patch of area at distance , where = the distance from the charge to this particular patch (it varies from patch to patch on a lumpy surface, unlike the constant of the sphere). Its head-on-facing part is (smaller — tilt loses flux). But sitting farther, the field is weaker by ... and the cone of lines through it defines a solid angle .
The distance and the tilt both disappear into . The lumpy closed surface gives the identical . The sphere was just the easy case; the answer is shape-blind.
Step 5 — Charge outside: lines that enter must leave
WHAT. Now put outside the closed surface entirely.
WHY. We must prove that outside charges add zero net flux — this is what lets ignore them.
PICTURE. A field line from the outside charge stabs into the closed surface on one side (flux , field points inward there, so ) and stabs out the far side (flux ). In, then out: every line pierces an even number of times, and the minus cancels the plus.
Step 6 — Many charges at once: flux just adds up
WHAT. Real space has many charges. Their fields superpose: .
WHY superposition works. Fields add as vectors (a fact from Coulomb's law). The dot product and the sum are both linear — you can distribute them over the signs. So flux of a sum is the sum of fluxes.
PICTURE. Two charges inside, one outside. Inside ones each donate ; the outside one donates .
- = grand total of the charges sealed inside the closed surface.
- Outside charges silently drop to .
- The surface's shape never entered. Done.
Step 7 — Degenerate cases you must not trip on
WHAT. The corner cases where a beginner second-guesses.
WHY. A law you can't apply at , or with negative charge, or on the surface itself, is a law you don't yet own.
PICTURE. Three small vignettes: empty closed surface, negative charge, charge sitting on the surface.
- Empty surface (). Net flux . Field lines may thread through (from outside charges) but as many enter as leave. Zero net — not zero field.
- Negative charge inside (). : lines point inward, net flux is negative. The surface "drinks" lines.
- Charge exactly on the surface. This is not a well-posed setup: the patch through the charge has a divergent field and the enclosed amount is undefined. The rigorous fix is a limiting process — nudge the surface an infinitesimal amount so the charge is cleanly inside or cleanly outside, then take the limit. In practice: never draw a Gaussian surface through a point charge.
- Field of a finite rod / off-centre charge. The law still holds (always true!), but symmetry is broken, won't leave the integral, and you can't solve for . Validity usability — same trap as with Electric field of conductors problems.
The one-picture summary
Everything above, compressed: a lumpy closed surface with charges inside (contributing) and outside (net zero), field lines counted as they pierce, radius cancelling on the reference sphere.
Recall Feynman retelling — say it back in plain words
Imagine any closed surface you like. Field lines are threads that only start on plus charges and end on minus charges — they never just stop in mid-air. So if I want to know how much charge is trapped inside, I just count how many threads net-poke-out through its skin. A charge outside threads a line in one side and out the other, so it nets to nothing — I can ignore it. A charge inside has all its threads escaping, so it always contributes the same, no matter how I shape the surface: I proved that by putting it in a sphere, where the field weakens as but the sphere's skin grows as , and the two cancel so the radius vanishes. Tilt and stretch the patches into any weird shape and the "solid angle" bookkeeping keeps that cancellation intact. Add many charges — fields just add, so fluxes just add. The grand total of poking-out threads equals the trapped charge divided by . That's the whole law: net leakage counts the caged charge, nothing else.
Recall Quick self-test
Why does the sphere's radius cancel? ::: Field shrinks exactly as the sphere's area grows; product has no . Does an outside charge change on the surface? ::: Yes, pointwise — but its net flux is zero, so it drops out of . What makes the lumpy-surface case reduce to the sphere case? ::: Solid angle: tilt loses of area but distance compensates, and always. Net flux through a surface enclosing zero charge? ::: Zero — lines that enter also leave. (Field inside need not be zero.) Why can't we get for a finite rod from Gauss? ::: No symmetry to pull out of the integral; law is valid but not solvable.