Sub topic 8
Gauss's law
This chapter states Gauss's law, shows why it follows from Coulomb's law, and works through the cases that cause errors in JEE problems. It assumes you can compute flux through a surface, using Φ = ∮ E · dA, and that you know Coulomb's law and superposition. The next chapters use the law to find fields from symmetry. Here the goal is to understand what the law says and what it does not say.
The statement
Gauss's law says that the net electric flux through any closed surface equals the net charge enclosed by that surface, divided by ε₀:
∮ E · dA = q_enc / ε₀
Here ε₀ = 8.85 × 10⁻¹² C²/(N·m²). The surface is called a Gaussian surface. It is imaginary, and you choose its shape. The area vector dA points outward from the enclosed volume.
Three features of the statement matter in practice:
- The left side uses the total field E at every point of the surface. Charges inside and outside the surface both contribute to E.
- The right side counts only charge inside the surface.
- The law holds for any closed surface and any charge arrangement, including moving-free cases such as charges on conductors. In electrostatics it is exactly equivalent to Coulomb's law.
Why it follows from Coulomb's law
Take a point charge q at the centre of a sphere of radius r. The field is radial with magnitude kq/r², where k = 1/(4πε₀). It is parallel to dA everywhere and constant in size on the sphere, so
Φ = E · 4πr² = (q / 4πε₀r²)(4πr²) = q / ε₀
The r² cancels. The flux does not depend on the sphere's radius. This cancellation happens because Coulomb's force falls off as exactly 1/r², and the sphere's area grows as r². A different power law would break Gauss's law.
The sphere is not essential. A field line leaving the charge crosses any surrounding surface once, however distorted its shape. The flux therefore depends only on how many lines leave the enclosed region, which is set by the enclosed charge. Superposition then extends the result to any collection of charges.
Charges outside the surface
If a charge lies outside the closed surface, every field line from it that enters the surface also leaves it. The inward flux (negative) cancels the outward flux (positive), and the net contribution is zero.
The charge still affects the field at each point of the surface. It changes the local value of E and changes how flux is distributed over the surface. It does not change the total.
Worked example: charge at a corner of a cube
A point charge q sits at one corner of a cube. Find the flux through the whole cube and through each face.
The charge is on the surface, so first place it inside. Imagine eight identical cubes sharing that corner, which together form a larger cube with q at its centre. The total flux through the large cube is q/ε₀. By symmetry each small cube gets one eighth of it.
- Flux through the three faces that touch the charge is zero. The field lies along those faces, so E · dA = 0.
- The other three faces share the flux equally.
Each far face carries (q/8ε₀) / 3 = q/(24ε₀).
Check: for a charge at the cube's centre, each of the six faces carries q/(6ε₀).
Using the law as a calculator
You can compute flux directly from enclosed charge, which is useful when the field itself is hard to find.
EPS0 = 8.854e-12 # C^2 / (N m^2)
def flux_from_charges(enclosed_charges):
"""Net flux (N m^2 / C) through a closed surface, given charges inside it."""
return sum(enclosed_charges) / EPS0
# Charges +3 nC and -1 nC inside, +5 nC outside the surface.
inside = [3e-9, -1e-9]
print(flux_from_charges(inside)) # about 225.9 N m^2/CThe +5 nC charge outside does not appear in the call. Its contribution to the net flux is zero by construction.
Common errors
| Error | Correction |
|---|---|
| Including outside charge in q_enc | Count only charges inside the surface. |
| Saying "net flux is zero, so E is zero on the surface" | Zero net flux means total enclosed charge is zero. The field can be nonzero at every point. |
| Saying "E is zero at the surface, so no charge is enclosed" | Zero field on the surface does not imply zero enclosed charge in general. Positive and negative flux can cancel. For a closed surface, zero everywhere on it would imply zero net flux. |
| Pulling E out of the integral without symmetry | You can write E · A only when E is constant in magnitude and parallel to d**A** on the surface. |
| Using a surface that cuts through a point charge | Choose a surface that avoids point charges, or treat the charge as inside or outside by a limiting argument. |
| Moving a charge inside the surface and expecting flux to change | Flux depends on how much charge is inside, not where. The field on the surface changes, but the total flux does not. |
The second row of errors deserves attention. Gauss's law gives one scalar equation per surface. It tells you the net flux, a single number. It cannot recover a field pattern unless symmetry lets you argue that E is the same everywhere on the surface.
Edge cases
Charge on the surface. For a smooth surface through a point charge, the flux is q/(2ε₀), the half-way value. Exam problems usually avoid this by placing the charge clearly inside or outside, or by using a symmetry such as the cube corner above.
Continuous distributions. Use q_enc = ∫ρ dV, ∫σ dA or ∫λ dl over the part of the distribution inside the surface. For a nonuniform density, integrate before dividing.
Dipole. A neutral dipole has zero net charge, so the flux through any surface enclosing the whole dipole is zero. A surface enclosing only one of its charges has flux ±q/ε₀.
Open surfaces. Gauss's law applies only to closed surfaces. For an open surface you must integrate E · dA directly, or close the surface and subtract the flux through the part you added.
A useful consequence
Because flux relates only to enclosed charge, Gauss's law implies that the field inside a hollow region with no charge must have zero net flux through any closed surface in that region. It does not by itself imply zero field. Zero field in a cavity of a conductor needs additional arguments about potential, which later chapters supply.
Exercise
A charge of +6 nC sits at the centre of a cube of side 20 cm. Another +4 nC charge sits just outside the cube. (a) What is the net flux through the cube? (b) What is the flux through one face due to the +6 nC charge alone? Use ε₀ = 8.85 × 10⁻¹² C²/(N·m²).
Show answer
(a) Only the enclosed +6 nC counts: Φ = 6 × 10⁻⁹ / 8.85 × 10⁻¹² ≈ 678 N·m²/C. The outside charge adds zero net flux. (b) By symmetry the six faces share the flux equally: 678 / 6 ≈ 113 N·m²/C.
Exercise
A student argues: "The net flux through a closed surface is zero, so the electric field must be zero at every point on it." Give a counterexample and state what can be concluded.
Show answer
Place a single point charge outside the surface. The net flux is zero, but the field at each point on the surface is nonzero. All that follows is that the net enclosed charge is zero.