Sub topic 6
Electric flux through open and closed surfaces
This chapter assumes you can take dot products of vectors, know the area of a sphere (4πr²), and have met the electric field E and Coulomb's law. It defines flux and shows how to compute it. The next chapter uses flux to state Gauss's law.
What flux measures
Electric flux is the amount of electric field passing through a surface. For a small patch of area dA, define an area vector dA. Its magnitude is the patch area, and it points along the surface normal. The flux through the patch is E · dA. Summing over the whole surface gives:
Φ = ∫ E · dA
The unit is N m²/C. If E is uniform and the surface is flat, this reduces to:
Φ = E A cos θ
Here θ is the angle between E and the normal to the surface. It is not the angle between E and the surface itself.
Open surfaces
An open surface, such as a disc or a bowl, has two possible normals. The sign of its flux depends on which you choose, so state the choice. Field lines that cross in the direction of the normal give positive flux. Lines that cross against it give negative flux.
A useful shortcut: every line passing through a bowl also passes through its flat rim. In a uniform field, the flux through a hemisphere of radius R is therefore the same as through the flat disc across its mouth. Its magnitude is E πR² when the field is along the axis.
Closed surfaces
For a closed surface, the normal always points outward. Field lines leaving the surface give positive flux. Lines entering give negative flux.
In a uniform field, the flux through any closed surface is zero. Every line that enters also leaves. A cube in a uniform field shows this. Two faces give +EA and −EA, and the four faces parallel to the field give zero.
A point charge is different. At distance r the field is kq/r² and is perpendicular to a concentric sphere. The flux is (kq/r²)(4πr²) = 4πkq = q/ε₀. The r cancels because the field falls as 1/r² while the area grows as r². This is the seed of Gauss's law.
import math
EPS0 = 8.854e-12 # C^2 / (N m^2)
K = 1 / (4 * math.pi * EPS0)
def flux_uniform(E, area, theta_deg):
"""Flux through a flat surface; theta is the angle between E and the normal."""
return E * area * math.cos(math.radians(theta_deg))
def flux_point_charge_sphere(q, r):
"""Flux of a point charge through a concentric sphere of radius r."""
E = K * q / r**2
return E * 4 * math.pi * r**2
print(round(flux_uniform(200, 0.5, 60), 6)) # 50.0
for r in (0.1, 1.0, 10.0):
print(flux_point_charge_sphere(1e-9, r)) # same value each time
print(1e-9 / EPS0) # q / eps0, about 113.0Common errors
- Using the angle to the surface instead of to the normal. This swaps cos and sin.
- Forgetting the outward normal on a closed surface and getting the wrong sign.
- Assuming that zero net flux means zero field. A cube in a uniform field has zero net flux, but the field is not zero.
Exercise
A uniform field of 300 N/C points along +x. A flat square of side 0.2 m has its normal at 30° to the field. Find the flux.
Show answer
Φ = E A cos θ = 300 × 0.04 × cos 30° = 12 × 0.866 ≈ 10.4 N m²/C.
Exercise
A uniform field E points along the axis of a hemispherical bowl of radius R, and the bowl's mouth faces the field. Find the magnitude of the flux through the curved surface. Why is it not zero?
Show answer
The flux through the curved surface equals the flux through the flat circular mouth, so its magnitude is E πR². With the outward normal of the closed bowl-plus-disc surface, the curved part gives +E πR² (or −E πR², depending on direction) and the disc gives the opposite, so the closed total is zero. The curved surface alone is an open surface, so it need not give zero.