Gauss's law states ∮ E⃗·dA⃗ = Q_enc/ε₀. For charge distributions with high symmetry, choosing a Gaussian surface aligned with that symmetry makes the flux integral trivial, enabling rapid field calculation without explicit integration. This is a powerful computational tool that embodies the fundamental relationship between charge and field.
From your work with electric fields from continuous charge distributions, you know how to compute E⃗ by integrating Coulomb's law over every infinitesimal piece of charge. That approach works, but it can be laborious — even a line charge requires a careful one-dimensional integral. Gauss's law offers a shortcut that is sometimes vastly faster, but only when the charge distribution has enough symmetry. Understanding when and how to apply it is as important as the law itself.
Electric flux is the key quantity. Think of flux as "how much electric field passes through a surface": Φ_E = ∮ E⃗ · dA⃗, where dA⃗ is a small area element whose direction is the outward normal to the surface. When E⃗ and dA⃗ are parallel, the field passes straight through and contributes maximally; when they are perpendicular, the field skims the surface and contributes nothing. Gauss's law says the total outward flux through any closed surface equals the enclosed charge divided by ε₀. This is not just a computational trick — it is a deep statement about how field lines begin on positive charges and end on negative ones.
The computational power appears when you choose your Gaussian surface wisely. The goal is to pick a closed surface on which E⃗ is (a) constant in magnitude and (b) either perfectly parallel or perfectly perpendicular to dA⃗ everywhere. When that holds, the integral simplifies: ∮ E⃗ · dA⃗ = E × (area of parallel portion). Three geometries give such surfaces: a sphere for a point charge or spherically symmetric distribution (choose a concentric spherical surface, giving E × 4πr² = Q_enc/ε₀); a cylinder for an infinite line charge (choose a coaxial cylindrical surface, giving E × 2πrL = Q_enc/ε₀); and a pillbox (flat cylinder) for an infinite plane of charge. Each case produces the field in one line of algebra.
The step that trips up most learners is recognizing that Gauss's law always holds — it is exact and universal — but it is only useful as a calculation tool when symmetry is present. For an irregular charge blob with no symmetry, the integral is just as hard as direct Coulomb integration, and there is nothing to be gained. The law also tells you what happens inside a conductor: any excess charge resides on the surface, and the field inside is exactly zero in electrostatic equilibrium. You can prove this in one line: draw a Gaussian surface just inside the conductor, note that E⃗ = 0 there (no field inside a conductor in equilibrium), so the enclosed charge must be zero. The charge must all be on the outer surface — a result that Gauss's law makes immediate and elegant.