AP Physics C: Electricity and Magnetism · Electric charges, fields and Gauss's law
Electric flux
1Definition
Electric flux measures how much electric field passes through a surface:
$$\Phi_E = \vec{E}\cdot\vec{A} = EA\cos\theta \quad\text{(uniform field, flat surface)}$$
where $\vec{A}$ is the area vector: magnitude equal to the area, direction perpendicular (normal) to the surface, and θ is the angle between $\vec{E}$ and the normal. Unit: N·m²/C.
- Field perpendicular to the surface (θ = 0): Φ = EA (maximum).
- Field parallel to the surface (θ = 90°): Φ = 0.
E = 500 N/C through a 0.2 m² surface whose normal is at 60° to the field.
- Φ = 500 × 0.2 × cos 60° = 50 N·m²/C.
Check yourself
A uniform field is parallel to a flat surface. The flux through the surface is:
Show the answer
Zero
No field lines cross it.
2Flux as an integral
For a non-uniform field or curved surface:
$$\Phi_E = \int\vec{E}\cdot d\vec{A}$$
For a closed surface, $d\vec{A}$ points outward: flux leaving is positive, flux entering is negative. The net flux through a closed surface is written $\oint\vec{E}\cdot d\vec{A}$.
Flux is proportional to the number of field lines crossing the surface.
Flux depends on the angle between the field and the surface normal
Check yourself
For a closed surface, flux is counted as positive when the field:
Show the answer
Leaves the surface
Outward normal.
3Flux through closed surfaces
- A closed surface in a uniform field with no charge inside has zero net flux: every line that enters also leaves.
- A closed surface around a point charge q has net flux $q/\varepsilon_0$, whatever its shape or size.
a sphere of radius r centred on a charge q.
- E is radial and constant over the sphere: $E = \frac{q}{4\pi\varepsilon_0r^2}$.
- $\Phi = E(4\pi r^2) = \frac{q}{\varepsilon_0}$, independent of r.
a cube of side 0.1 m in a uniform field of 200 N/C along +x.
- Right face: +200 × 0.01 = +2 N·m²/C. Left face: −2 N·m²/C. Other faces: 0.
- Net flux = 0.
Check yourself
A charge q sits at the centre of a cube. The flux through one face is:
Show the answer
q/(6ε₀)
Total q/ε₀ shared equally by six faces.
4Non-uniform fields
E = (3x) î N/C (x in metres). Find the net flux through a cube with faces at x = 0 and x = 2 m, each of area 4 m².
- Face at x = 2 m: E = 6 N/C outward: +24 N·m²/C.
- Face at x = 0: E = 0: flux 0.
- Other faces: field parallel, flux 0. Net flux = 24 N·m²/C, so charge is enclosed: $q = \varepsilon_0\Phi \approx 2.1 \times 10^{-10}$ C.
Check yourself
If the net flux through a closed surface is zero, then:
Show the answer
The net charge enclosed is zero
Gauss's law.
5Going deeper: symmetry shortcuts and non-uniform fields
Definition: $\Phi_E = \int\vec{E}\cdot d\vec{A}$. For a flat surface in a uniform field, $\Phi = EA\cos\theta$, with θ between the field and the normal to the surface. For a closed surface, the area vector points outward: flux leaving is positive, flux entering negative.
Gauss's law: the net flux through any closed surface is $\frac{q_{\text{enc}}}{\varepsilon_0}$, whatever the shape of the surface and wherever the charge sits inside.
Worked example (tilted surface): a field of 200 N/C passes through a flat 0.50 m² sheet whose normal makes 60° with the field.
- $\Phi = 200(0.50)\cos 60° = 50$ N·m²/C.
- Edge-on to the field (θ = 90°), the flux is zero.
Worked example (charge at the center of a cube): a +6.0 nC charge.
- Total flux = $\frac{6.0 \times 10^{-9}}{8.85 \times 10^{-12}} = 678$ N·m²/C.
- By symmetry each of the six faces gets one-sixth: 113 N·m²/C.
- The field is not uniform over a face, so integrating directly would be hard. Symmetry does the work.
Worked example (charge at a corner of a cube): the same charge sits exactly at one corner.
- Eight such cubes would surround the charge symmetrically, so this cube receives $\frac{1}{8}$ of the flux: 85 N·m²/C.
- The three faces that meet at the charge have zero flux (the field skims along them).
- Each of the three far faces gets $\frac{q}{24\varepsilon_0} = 28$ N·m²/C.
Worked example (hemisphere): a hemispherical bowl of radius R sits in a uniform field E parallel to its axis.
- Close it with a flat disc. No charge is enclosed, so net flux is zero.
- Flux through the disc has magnitude $E\pi R^2$.
- So the flux through the curved surface is also $E\pi R^2$ in magnitude, with no integration over the curve.
Worked example (non-uniform field): the field in a region is $\vec{E} = bx\,\hat{i}$ with b = 100 N/C per meter. A cube of side a = 0.20 m has one face at x = 0 and the opposite face at x = a.
- Only the two faces perpendicular to x have flux. At x = 0 the field is zero.
- At x = a: $\Phi = (ba)(a^2) = ba^3 = 100(0.008) = 0.80$ N·m²/C, outward.
- Enclosed charge = $\varepsilon_0\Phi = 7.1 \times 10^{-12}$ C. A field that grows along its own direction must have charge in the region.
A closed surface in a uniform field has zero net flux: as much enters as leaves.
A charge outside a closed surface contributes zero net flux through it, though it does change the field at each point on the surface.
Common mistakes
- Measuring θ from the surface in place of from its normal.
- Thinking zero net flux means zero field on the surface.
- Thinking flux depends on the surface's size or on where inside the charge sits.
- Forgetting signs: inward flux is negative.
Check yourself
A point charge q sits at the center of a spherical surface. If the radius of the surface is doubled, the net flux through it:
Show the answer
Stays the same
Flux depends only on the enclosed charge; the field falls as 1 ÷ r² while area grows as r².
6For top marks
- Use the angle between E and the normal, not the surface.
- Treat each face of a box separately with outward normals.
- Remember net flux depends only on the enclosed charge.
- Use symmetry to share flux between identical faces.
Check yourself
A point charge is moved from the centre of a spherical surface to a point near its edge, still inside. The total flux through the sphere:
Show the answer
Stays the same
Depends only on enclosed charge.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera