Sub topic 9
Electric flux through a surface
This chapter assumes you can resolve vectors into components, compute a dot product, and use the electric field of a point charge. Electric flux is the bridge between the field and Gauss's law, so the goal here is to compute it correctly for a flat surface in a uniform field, a tilted surface, and a closed surface.
What flux measures
Electric flux measures how much of an electric field passes through a surface. Picture the field lines as a stream of water and the surface as a hoop held in the stream. The flow through the hoop is largest when the hoop faces the stream. It is zero when the hoop is edge-on. It changes sign if you turn the hoop around.
Flux is a scalar. It has a sign, but no direction. The SI unit is N m²/C, which is the same as V m.
The area vector
To handle orientation, we describe a flat surface by an area vector.
- The magnitude of the area vector A is the area of the surface, in m².
- The direction of A is perpendicular (normal) to the surface.
A flat surface has two normals, pointing in opposite directions. You must choose one. For a closed surface, the convention is fixed: the normal points outward, away from the enclosed volume.
Flux in a uniform field
For a flat surface in a uniform field E, the flux is the dot product of the field and the area vector:
Φ = E · A = 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.
| Orientation | θ | Flux |
|---|---|---|
| Surface face-on, normal parallel to **E** | 0° | +E A (maximum) |
| Surface tilted | between 0° and 90° | E A cos θ |
| Surface edge-on, normal perpendicular to **E** | 90° | 0 |
| Normal opposite to **E** | 180° | −E A (most negative) |
Equivalently, flux is E times the projected area A cos θ. This is the area of the shadow the surface casts on a plane perpendicular to the field.
Worked example: a tilted square
A square plate of side 0.20 m sits in a uniform field of 500 N/C. The field makes an angle of 60° with the plane of the plate. Find the flux.
The angle with the plane is 60°, so the angle with the normal is θ = 90° − 60° = 30°.
A = 0.20 × 0.20 = 0.040 m²
Φ = E A cos 30° = 500 × 0.040 × 0.866 ≈ 17.3 N m²/C
If you had used 60° in the cosine, you would get 10 N m²/C, which is the standard NEET trap.
import math
def flux_uniform(E, area, theta_deg):
"""Flux in N m^2/C through a flat surface.
theta_deg is the angle between the field and the surface NORMAL."""
return E * area * math.cos(math.radians(theta_deg))
E = 500.0
area = 0.20 * 0.20
angle_with_plane = 60.0
theta = 90.0 - angle_with_plane # convert to the angle with the normal
print(flux_uniform(E, area, theta)) # about 17.3
print(flux_uniform(E, area, 0.0)) # 20.0, face-on
print(flux_uniform(E, area, 90.0)) # about 0, edge-on
print(flux_uniform(E, area, 180.0)) # -20.0, reversed normalFlux through a non-uniform field or curved surface
When the field changes from point to point, or the surface is curved, one value of E cos θ does not work for the whole surface. Divide the surface into small patches, each so small that it is nearly flat and the field is nearly uniform across it. Each patch has its own area vector ΔA. Add the contributions:
Φ = Σ E · ΔA
In the limit of infinitely small patches, this sum becomes an integral over the surface:
Φ = ∫ E · dA
You do not need to evaluate hard integrals for NEET. You need to recognize when the integral collapses to E A. That happens when E is constant in magnitude over the surface and is parallel to the area vector everywhere on it. This is exactly the situation that a good Gaussian surface creates, which is why this idea leads directly to Gauss's law.
Example: a sphere around a point charge
Take a sphere of radius r centred on a point charge q. The field at every point of the sphere has magnitude kq/r² and points radially outward. The outward normal also points radially outward, so θ = 0° everywhere, and E is the same everywhere on the sphere.
Φ = E × (surface area) = (kq/r²)(4πr²) = 4πkq = q/ε₀
The radius cancels. The flux through the sphere depends only on the enclosed charge, not on the size of the sphere. This is the result that Gauss's law generalizes.
import math
k = 9e9 # N m^2 / C^2
eps0 = 8.85e-12 # C^2 / (N m^2)
q = 2e-6 # C
for r in (0.1, 0.5, 2.0):
E = k * q / r**2
flux = E * 4 * math.pi * r**2
print(r, flux) # same value for every radius, about 2.26e5
print(q / eps0) # about 2.26e5 N m^2/CFlux through a closed surface
For a closed surface, the outward normal convention gives each part of the surface a sign.
- Where field lines leave the volume, E · dA is positive.
- Where field lines enter the volume, E · dA is negative.
The net flux is the sum of the outward flux and the (negative) inward flux. Three cases follow from this.
- A closed surface enclosing a positive charge has positive net flux. More lines leave than enter.
- A closed surface enclosing a negative charge has negative net flux.
- A closed surface enclosing no net charge has zero net flux. Every line that enters also leaves.
Worked example: a cube in a uniform field
A cube of side a sits in a uniform field E along +x, with faces perpendicular to the axes.
- The face at the left (normal −x) has θ = 180°, so its flux is −E a².
- The face at the right (normal +x) has θ = 0°, so its flux is +E a².
- The four faces parallel to the field have θ = 90°, so each contributes zero.
The net flux is −E a² + E a² + 0 = 0. A uniform field has no sources inside the cube, so whatever enters also leaves.
def cube_flux_uniform(E, a):
"""Flux of a uniform field E (along +x) through each face of a cube of side a."""
area = a * a
faces = {
"left (-x)": -E * area,
"right (+x)": +E * area,
"front (+y)": 0.0,
"back (-y)": 0.0,
"top (+z)": 0.0,
"bottom(-z)": 0.0,
}
return faces, sum(faces.values())
faces, total = cube_flux_uniform(1000.0, 0.1)
for name, value in faces.items():
print(name, value)
print("net:", total) # 0.0What does not matter for net flux
The net flux through a closed surface is set by the enclosed charge. The following do not change it.
- Shape and size of the surface. A sphere, a cube, and a lumpy surface around the same charge give the same net flux.
- Where the charge sits inside. Moving a charge within the surface changes the field at individual points, and so the flux through each patch, but not the total.
- Charges outside the surface. They contribute a field at the surface, but the flux they produce enters on one side and leaves on the other, so it sums to zero. Outside charges do change the field E at each point, but not the net flux.
This distinction is the root of many Gauss's law questions. The field E in Gauss's law is the total field from all charges. The flux depends only on enclosed charge.
Common mistakes
- Using the angle with the surface. The formula needs the angle with the normal. If a question gives the angle between the field and the plane, subtract it from 90°, or use sin instead of cos.
- Forgetting the sign convention for closed surfaces. The normal points outward. Flux into the surface is negative.
- Treating flux as a vector. It is a scalar. Add flux values with their signs.
- Thinking zero net flux means zero field. The cube example has zero net flux but the field is not zero.
- Dropping the units. Flux is N m²/C, not N/C.
Flux through part of a closed surface
Symmetry can give you flux through a part of a surface without integrating. A point charge q at the centre of a cube sends a total flux q/ε₀ through the six faces. The six faces are equivalent by symmetry, so each face receives one sixth:
Φ(one face) = q / (6ε₀)
If the charge sits at a corner of the cube, imagine eight cubes meeting at that corner. The charge is at the centre of the combined larger cube, so the total flux through all 24 faces that surround it is q/ε₀. The three faces that touch the charge have zero flux, because the field lies in those faces (θ = 90°). The other three faces share the flux equally, so each carries q/(24ε₀).
eps0 = 8.85e-12
q = 1e-9 # 1 nC
total = q / eps0
print("charge at centre of cube, one face:", total / 6)
print("charge at a corner, one far face: ", total / 24)Exercise
A uniform field of 200 N/C makes an angle of 30° with the plane of a flat circular loop of radius 0.10 m. (a) Find the flux through the loop. (b) A point charge of 4.4 nC is at the centre of a cube. Find the flux through one face, using ε₀ = 8.85 × 10⁻¹² C²/(N m²).
Show answer
(a) The angle with the normal is 90° − 30° = 60°. The area is π(0.10)² = 0.0314 m². Φ = 200 × 0.0314 × cos 60° = 200 × 0.0314 × 0.5 ≈ 3.14 N m²/C. (b) The total flux is q/ε₀ = 4.4 × 10⁻⁹ / 8.85 × 10⁻¹² ≈ 497 N m²/C. By symmetry each of the six faces gets one sixth, so the flux through one face is about 83 N m²/C.
Exercise
A closed surface encloses a charge of +3 µC and a charge of −5 µC. A third charge of +8 µC lies outside the surface. What is the net flux through the surface, in terms of ε₀? Does the outside charge change the field at points on the surface?
Show answer
Only enclosed charge counts. The net enclosed charge is +3 µC − 5 µC = −2 µC, so the net flux is −2 × 10⁻⁶ / ε₀ N m²/C, which is about −2.26 × 10⁵ N m²/C. It is negative, so more field lines enter than leave. The outside charge does change the field at points on the surface, but it adds no net flux, because every line from it that enters the surface also leaves.