Sub topic 10
Gauss's law and the choice of Gaussian surface
This chapter assumes you can compute electric flux through a surface in a uniform field (Φ = E A cos θ), that you know the field of a point charge, E = kq/r², and that you are comfortable with vector dot products and with the idea of an integral as a sum over small pieces. It builds the statement of Gauss's law and the skill of choosing a surface. The next two chapters use that skill on spheres, lines, and planes.
What Gauss's law says
Gauss's law relates the net flux through any closed surface to the charge inside it:
Φ = ∮ E · dA = q_enclosed / ε₀
- The circle on the integral sign means the surface is closed, with no gaps.
- dA is a small area vector that points outward, perpendicular to the surface.
- E is the total field at each point of the surface. It includes the field from charges inside and from charges outside.
- q_enclosed is the algebraic sum of the charges inside the surface, with signs.
- ε₀ ≈ 8.85 × 10⁻¹² C²/(N m²) is the permittivity of free space. It is related to Coulomb's constant by k = 1/(4πε₀).
A closed surface used in this way is called a Gaussian surface. It is imaginary. It does not have to coincide with any real object.
The law is a statement about flux, a single number for the whole surface. It is not a direct statement about the field at one point. The field at a point is found from it only when symmetry lets you pull E out of the integral.
Where the law comes from
Take a point charge q at the centre of a sphere of radius r. The field is radial and has the same magnitude kq/r² everywhere on the sphere, and dA is also radial, so the flux is
Φ = E × (4πr²) = (q / 4πε₀r²)(4πr²) = q/ε₀
The radius cancels. The flux does not depend on how large the sphere is. This happens because the field falls as 1/r² while the area grows as r², which is a direct consequence of the inverse-square form of Coulomb's law. If the force law had a different power of r, the radius would not cancel and Gauss's law would not hold.
The result extends to any closed shape around the charge, because the number of field lines crossing the surface does not change when you reshape it. Superposition then extends it to any collection of charges.
Charges outside the surface
A charge outside the Gaussian surface contributes nothing to the net flux. Its field lines enter the surface on one side and leave on the other. The flux counted as entering is negative, since E · dA < 0 there, and the flux leaving is positive. They cancel exactly.
This leads to the most common source of confusion, which is worth stating twice.
- Φ depends only on the enclosed charge.
- E at each point on the surface depends on all charges, inside and outside.
Signs of the flux
The sign of the flux tells you the sign of the enclosed charge.
| Net flux Φ | Enclosed charge | Meaning |
|---|---|---|
| Positive | Positive | More field lines leave than enter |
| Negative | Negative | More field lines enter than leave |
| Zero | Zero net charge | Lines in equal lines out |
Here is a quick numerical check. A closed surface encloses charges of +3 μC and −1 μC. The net enclosed charge is +2 μC, so
Φ = 2 × 10⁻⁶ / 8.85 × 10⁻¹² ≈ 2.26 × 10⁵ N m²/C
This is outward, because the sign is positive.
Using the law to find a field
To find E from Gauss's law you need to turn the integral into a product. This works only when you can choose a surface on which, for every part of it, one of two things is true:
- E is perpendicular to the surface (E ∥ dA) and has constant magnitude E, so E · dA = E dA.
- E is parallel to the surface, or zero, so E · dA = 0.
Then the integral splits into pieces. On the pieces of type 1, E comes out of the integral, and what remains is the area of those pieces. On the pieces of type 2, the contribution is zero.
The steps are:
- Decide the direction and the dependence of E from the symmetry of the charge distribution.
- Choose a Gaussian surface through the point where you want the field, matching that symmetry.
- Compute Φ = E × (area where E is perpendicular and constant).
- Find q_enclosed.
- Solve E = q_enclosed / (ε₀ × area).
Choosing the surface by symmetry
Only three symmetries make this method easy. The surface follows the symmetry.
| Charge distribution | Symmetry | Gaussian surface | Area where E is perpendicular |
|---|---|---|---|
| Point charge, sphere, spherical shell | Spherical | Concentric sphere | 4πr² |
| Infinite line, long cylinder | Cylindrical | Coaxial cylinder (a "can") | 2πrl (curved side only) |
| Infinite plane sheet | Planar | Cylinder or box crossing the sheet | 2A (two end faces) |
For the cylinder, the flat end caps have E parallel to the surface, so they contribute zero. For the plane, the curved side contributes zero because E is perpendicular to the sheet and so parallel to the side wall.
The field of a ring, a finite rod, or a dipole has too little symmetry for this method. Gauss's law is still true for them, but it cannot give E at a point. For those you use superposition or integration.
A worked example with a computation
A point charge of 5 μC sits at the centre of a spherical Gaussian surface of radius 0.3 m. Find the flux and the field on the surface. Then confirm that the flux does not depend on the radius.
import math
EPS0 = 8.85e-12 # C^2 / (N m^2)
def flux_enclosed(q_enclosed):
"""Net flux in N m^2/C through a closed surface, from Gauss's law."""
return q_enclosed / EPS0
def field_on_sphere(q_enclosed, r):
"""Field magnitude on a concentric sphere of radius r (spherical symmetry)."""
area = 4 * math.pi * r**2
return flux_enclosed(q_enclosed) / area
q = 5e-6
for r in (0.1, 0.3, 0.6):
area = 4 * math.pi * r**2
E = field_on_sphere(q, r)
print(f"r = {r} m, E = {E:.3e} N/C, flux = {E * area:.3e} N m^2/C")The field is about 5.0 × 10⁵ N/C at r = 0.3 m. The flux printed on each line is the same, about 5.65 × 10⁵ N m²/C. The field changes by a factor of 36 between r = 0.1 m and r = 0.6 m, but the flux does not change.
Edge cases and traps
- Surface through a charge. Do not place a point charge exactly on the Gaussian surface. The enclosed charge is then undefined. Move the surface slightly.
- The "wrong" symmetry. A finite charged rod is not an infinite line. The cylinder trick is valid only far from the ends, where the line looks infinite. NEET problems usually say "infinite" or "long and far from the ends" to signal this.
- Non-symmetric surface with a symmetric charge. You can use a cube around a point charge, and Φ = q/ε₀ still holds. You just cannot solve for E, because E is not constant over the faces.
- Medium. In a dielectric medium of relative permittivity εr, the field due to free charge drops by a factor εr, and ε₀ is replaced by ε₀ε_r in the field results for charges embedded in the medium. In vacuum problems, which dominate NEET, use ε₀.
- Units. Flux is in N m²/C, which equals V m. Do not give it in N/C.
- Conductors. Inside a conductor in electrostatic equilibrium the field is zero. A Gaussian surface drawn entirely inside the conductor therefore has zero flux, so it encloses zero net charge. Any net charge sits on the outer surface. This follows directly from Gauss's law.
A cube and a corner charge
A common NEET variant asks for the flux through one face of a cube when a charge q sits at its centre. Total flux is q/ε₀ and the six faces are equivalent, so each face gets q/(6ε₀).
If the charge is placed at a corner instead, it takes eight cubes sharing that corner to enclose it. The flux through the one cube is then q/(8ε₀). Three of the faces contain the charge, so the field is parallel to them and they carry zero flux. The other three faces share q/(8ε₀) equally, so each carries q/(24ε₀).
Summary of the key points
- Gauss's law: ∮ E · dA = q_enclosed / ε₀. It is true for every closed surface and every charge arrangement.
- It rests on the inverse-square law of Coulomb's force.
- Flux depends only on enclosed charge. The field on the surface depends on all charges.
- To solve for E, choose a surface where E is constant and perpendicular, or parallel, on each piece.
- The method works for spherical, cylindrical, and planar symmetry only.
Exercise
A charge of +6 μC sits at the centre of a cube of side 0.2 m. (a) What is the flux through the whole cube? (b) What is the flux through one face? (c) A second charge of −2 μC is placed outside the cube. How do the answers to (a) and (b) change, and what happens to the field at points on the faces?
Show answer
(a) Φ = q/ε₀ = 6 × 10⁻⁶ / 8.85 × 10⁻¹² ≈ 6.8 × 10⁵ N m²/C. (b) By symmetry each of the six faces carries one sixth, about 1.13 × 10⁵ N m²/C. (c) Neither answer changes, because a charge outside the cube contributes zero net flux. The field at points on the faces does change, because E is the total field from both charges.
Exercise
A point charge q is placed at one corner of a cube of side a. Find the flux through each face that does not touch the charge, and explain why the other three faces carry zero flux.
Show answer
Imagine eight identical cubes meeting at the corner so that the charge is at the centre of the combined large cube. The total flux is q/ε₀, so the flux through the original cube is q/(8ε₀). Of its six faces, three meet at the charged corner. The field there is parallel to the face (it lies in the face plane), so E · dA = 0 and those faces carry zero flux. The other three faces share q/(8ε₀) equally, so each carries q/(24ε₀).
Exercise
Why can Gauss's law be used to find the field of a uniformly charged infinite plane sheet but not of a charged square plate of finite size?
Show answer
For the infinite sheet, symmetry forces E to be perpendicular to the sheet and the same in magnitude at equal distances on either side, so a pillbox surface gives E × 2A = q/ε₀ and E can be taken out of the integral. A finite square plate lacks this symmetry: E varies in magnitude and direction over any simple surface, so E cannot be taken out of the integral. Gauss's law still holds for the plate, but it cannot be solved for E at a point.