Gauss's Law
Draw Gaussian surfaces. Builds on Electric Field Lines.
A positive charge sits inside a closed spherical surface (a ‘Gaussian surface’). You carefully measure the total electric flux — the total number of field lines passing outward through the surface. Now you move the charge from the center to very near the edge of the sphere (but still inside).
What happens to the total electric flux through the surface?
The total flux stays exactly the same! Yes, the field becomes much stronger on the near side and weaker on the far side. But Gauss’s law says the TOTAL flux through any closed surface depends only on the charge enclosed — not where the charge sits inside. Move it anywhere you like: the total flux is always Q/ε₀.
Loading simulation…
Drag the charge inside the Gaussian sphere and watch the field lines. Some parts of the surface glow brighter (more flux), others dimmer. But the total flux counter at the top stays constant. Try adding a second charge OUTSIDE the sphere — it contributes zero net flux!
Φ = Q_enc / ε₀
Flux counts field lines leaving a closed surface. Only the charge INSIDE determines the total. Position, surface shape, charges outside — none of it matters.
A closed conducting shell shields its interior from external electric fields. Gauss’s law explains why: charges on the conductor rearrange to cancel the field inside perfectly.
Gauss’s law has a gravitational twin. Outside the Earth, gravity acts as if all mass is at the center. Inside a hollow shell, gravity is zero — the same mathematics, different force.
Signals travel in the space between inner and outer conductors. Gauss’s law shows the field is perfectly contained — no signal leaks out, and no interference leaks in.
Sensitive instruments are surrounded by grounded metal enclosures. External fields can’t penetrate — Gauss’s law guarantees the interior field depends only on interior charges.
“Gauss’s law doesn’t care about geometry. Sphere, cube, potato — the total flux depends only on what’s inside. It’s one of the most elegant statements in all of physics.”
Gaussian Surface Lab
Draw your own Gaussian surfaces around charges and watch the flux calculation happen in real time. Move charges in, out, and around. See how symmetry transforms an impossible integral into a one-line calculation.
Loading simulation…
Start with a single positive charge inside a spherical surface. Drag the charge to the edge — the local flux density shifts, but the total stays constant. Now resize the sphere to be tiny or enormous — same total flux. Add a charge OUTSIDE the sphere and confirm it contributes zero net flux. Finally, try the ‘Shell’ mode: place charge on a spherical shell and verify that E = 0 everywhere inside — one of the most stunning results in electrostatics.
Gauss’s law is not just a calculation tool — it reveals deep structure. The flux through a closed surface is a topological invariant: it counts what’s inside, regardless of shape or position. This principle underlies Faraday cages, coaxial cables, and the entire framework of Maxwell’s equations.