B2 · Lesson 9 · Electric flux
Counting field lines through a surface
How much field passes through a window depends on how big the window is, how strong the field is, and how squarely the window faces it: turn it edge-on and nothing gets through. That quantity, the electric flux, is the field-line count through a surface. It turns out to be the key to a remarkable shortcut: the total flux out of any closed surface depends only on the charge inside, however it's arranged and whatever charges lie outside. That's Gauss's law, the next lesson.
- A flat window of area sits in a uniform field . The angle θ is between the field and the window's normal, the direction its face points.
- The curve is the flux through the window as it turns. Face-on (θ = 0) it's largest; edge-on (θ = 90°) it's zero; past that it goes negative, because the field passes through from the back.
- How does the flux change if you double the area? Double the field?
Predict
A 1 nC charge sits at the center of a closed cube. What is the electric flux through one face?
About 19 V·m. The total flux out of any closed surface around the charge is V·m, and by symmetry the six faces share it equally. The cube's size doesn't matter: a bigger cube has weaker field on its faces but bigger faces, and the two exactly compensate.
Name it
Flux through a flat surface
For a uniform field and a flat surface of area whose normal makes angle θ with the field:
where is a vector of length pointing along the normal. The units are V·m (or N·m²/C). Flux is proportional to the number of field lines crossing the surface, with sign: positive where they cross the way the normal points.
Flux in general
For a curved surface or a varying field, add up the flux through small patches:
the surface integral of A9.30. For a closed surface, the normals point outward, so outgoing field lines count positive and incoming ones negative.
What the flux through a closed surface measures
- With no charge inside, every field line that enters also leaves: the net flux is zero, however strong or uneven the field.
- With charge inside, the net flux is , whatever the surface's shape and wherever the charge sits inside it. That's Gauss's law (lesson 10).
So a point charge's flux, , splits among the faces of any surface around it; for a charge at a cube's center each face gets . Any open surface bounded by the same rim catches the same flux from a field with no charges between them: a hemisphere and the flat disk under it intercept the same lines.
Worked example
A 10 cm by 20 cm window faces 60° away from a uniform 500 V/m field. What flux passes through it?
Show the solution
- Area. m².
- Flux.
- Face-on. Facing the field squarely, it would be 10 V·m.
Answer 5 V·m passes through the window.
Worked example
A closed surface around some electronics has a net outward flux of 226 V·m. What net charge is inside?
Show the solution
- Gauss's law.
- What counts. The surface's shape and the charge's arrangement inside don't matter, only the total.
Answer 2 nC of net charge is inside.
Check
A uniform field of 200 V/m passes a flat surface of 100 cm², at 70° to the surface's normal. What is the flux?
Write units the way you normally would: 1.5 V·m, 1500 mV·m and 0.0015 kV·m are the same answer.
Check
A charge of 5 nC sits inside a closed surface of any shape. What is the net flux out of it?
Write units the way you normally would: 1.5 V·m, 1500 mV·m and 0.0015 kV·m are the same answer.
Check
An 8 nC charge sits at the center of a cube. What flux passes through one face?
Write units the way you normally would: 1.5 V·m, 1500 mV·m and 0.0015 kV·m are the same answer.
Check
A hemisphere of radius 5 cm sits with its flat side square to a uniform 300 V/m field. What flux passes through its curved surface?
Write units the way you normally would: 1.5 V·m, 1500 mV·m and 0.0015 kV·m are the same answer.
Check
A closed surface has a net outward flux of 340 V·m. What net charge does it enclose?
Write units the way you normally would: 1.5 nC, 1500 pC and 0.0015 µC are the same answer.
Check
A closed box sits in a strong, uniform electric field, with no charge inside. What is the net flux out of it?
Check
Write disk_flux(q, z, R, n) for a point charge q a height z above the center of a flat disk of radius R: split the disk into n rings, add up over them with the midpoint rule, and return the flux. Compare it with the exact . Use ε₀ = 8.854 × 10⁻¹².
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why doesn't the flux from a point charge through a surround depend on the surround's size?
A point charge's field weakens as , but the area of a sphere around it grows as . Their product, the flux, stays the same at every radius: the same field lines, spread over more area. Any other closed surface around the charge is crossed by exactly those field lines too, each crossing once going out (or an odd number of times, the extra crossings canceling). So the flux is set by the charge alone, .
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.