Sub topic 9
Electric flux through a surface
This chapter assumes you can resolve vectors into components, use the dot product, and have met the electric field and field lines in earlier chapters. Flux is the quantity that Gauss's law, in the next chapter, is built on.
What flux measures
Electric flux measures how much electric field passes through a surface. Picture field lines as streams of water and the surface as a net held in the stream. The flux is large when the net faces the stream and zero when the net is edge-on.
For a small flat patch of area $dA$, define the area vector $d\vec{A}$. Its magnitude is $dA$, and its direction is along the normal to the patch. For a closed surface, the normal points outward by convention.
Flux in a uniform field
For a flat surface of area $A$ in a uniform field $\vec{E}$:
$$\Phi = \vec{E}\cdot\vec{A} = EA\cos\theta$$
Here $\theta$ is the angle between $\vec{E}$ and the area vector (the normal), not the angle between $\vec{E}$ and the surface itself.
- $\theta = 0^\circ$: the field is along the normal, and flux is maximum, $EA$.
- $\theta = 90^\circ$: the field is parallel to the surface, and flux is zero.
- $\theta = 180^\circ$: the field points against the normal, and flux is $-EA$.
Flux is a scalar. Its SI unit is N m²/C (equivalently V m).
For a curved surface or a non-uniform field, add up the contributions from small patches:
$$\Phi = \int \vec{E}\cdot d\vec{A}$$
Worked example: a tilted square
A square of side 0.20 m sits in a uniform field of 500 N/C. The field makes an angle of 60° with the surface (not with the normal). Find the flux.
- The area is $A = 0.20^2 = 0.04\ \text{m}^2$.
- The angle with the surface is 60°, so the angle with the normal is $\theta = 90^\circ - 60^\circ = 30^\circ$.
- $\Phi = EA\cos 30^\circ = 500 \times 0.04 \times 0.866 \approx 17.3\ \text{N m}^2/\text{C}$.
import math
def flux_uniform(E, A, theta_deg):
"""Flux through a flat surface. theta_deg is the angle between E and the normal."""
return E * A * math.cos(math.radians(theta_deg))
print(flux_uniform(500, 0.04, 30)) # about 17.3
print(flux_uniform(500, 0.04, 60)) # wrong angle used: about 10.0The second line shows the common mistake of using the angle with the surface directly. It gives about 10.0 instead of 17.3.
Flux through a closed surface
For a closed surface, the outward normal fixes the sign of each contribution:
- Where field lines leave the surface, $\vec{E}\cdot d\vec{A} > 0$, so flux is positive.
- Where field lines enter, $\vec{E}\cdot d\vec{A} < 0$, so flux is negative.
The net flux is the sum of both. In a uniform field, every line that enters a closed surface also leaves it, so the net flux is zero.
Take a cube of side $a$ in a uniform field along $+x$. The face at the left has the normal along $-x$, so its flux is $-Ea^2$. The face at the right has the normal along $+x$, so its flux is $+Ea^2$. The four faces parallel to the field give zero. The total is zero.
E = 100.0 # N/C along +x
a = 0.5 # m
faces = {
"right (+x)": E * a**2 * 1,
"left (-x)": E * a**2 * -1,
"top (+y)": 0.0,
"bottom (-y)": 0.0,
"front (+z)": 0.0,
"back (-z)": 0.0,
}
print(sum(faces.values())) # 0.0Flux from a point charge
For a point charge $q$ at the centre of a sphere of radius $r$, the field is radial and has the same magnitude $E = \dfrac{q}{4\pi\varepsilon_0 r^2}$ everywhere on the sphere. It is parallel to $d\vec{A}$ at every point, so:
$$\Phi = E \times 4\pi r^2 = \frac{q}{\varepsilon_0}$$
The radius cancels. This is the key result that leads to Gauss's law.
Common errors
| Error | Correction |
|---|---|
| Using the angle between $\vec{E}$ and the surface | Use the angle between $\vec{E}$ and the normal |
| Treating flux as a vector | Flux is a scalar. Only $d\vec{A}$ is a vector |
| Using an inward normal on a closed surface | Always use the outward normal |
| Expecting nonzero net flux from charges outside | Lines that enter also leave, so the net flux is zero |
Exercise
A circular loop of radius 0.10 m lies in a uniform field of 200 N/C. The field makes an angle of 30° with the plane of the loop. Find the flux through the loop. Use π ≈ 3.14.
Show answer
The area is A = πr² = 3.14 × 0.01 = 0.0314 m². The angle with the normal is 90° − 30° = 60°. Flux = EA cos 60° = 200 × 0.0314 × 0.5 ≈ 3.14 N m²/C.
Exercise
A point charge of 3 μC sits at the centre of a cube. What is the net flux through the whole cube, and through one face? Use ε₀ = 8.85 × 10⁻¹² C²/(N m²).
Show answer
Net flux = q/ε₀ = 3 × 10⁻⁶ / 8.85 × 10⁻¹² ≈ 3.4 × 10⁵ N m²/C. By symmetry, each of the six faces gets one sixth: about 5.6 × 10⁴ N m²/C.