The size of the sphere does not matter
In the 3D model, choose A sphere of any size and press Play. A charge nC sits at the centre of an imaginary sphere. The field is the same all over the sphere and meets it at right angles, so the flux is simply .
| r (m) | E (N/C) | A (m²) | E × A (N m²/C) |
|---|---|---|---|
| 0.3 | 885 | 1.13 | ≈ 1000 |
| 0.6 | 221 | 4.52 | ≈ 1000 |
| 0.9 | 98 | 10.2 | ≈ 1000 |
As the sphere grows, E falls as and the area grows as , so their product never changes. Each field line crosses the sphere once, however big it is. With the algebra:
and has cancelled. Here N m²/C.
Gauss’s law
Choose A surface of any shape. Squash the surface into a lump and every line still gets out. Move the charge off-centre and nothing changes while it stays inside. Take it outside, and each line that enters also leaves: the net count is zero.
This is Gauss’s law:
The total flux through any closed surface equals the total charge inside it, divided by . The surface is imaginary, and we are free to choose it. It is called a Gaussian surface.
Only the charge inside counts
Choose Only the charge inside counts.
- +3 nC inside: N m²/C.
- Add −1 nC inside: the charge inside is +2 nC, so N m²/C.
- Bring +5 nC near from outside: every field line bends, yet stays 226 N m²/C.
So there are two different questions. The field E at a point depends on every charge, inside and outside. The total flux depends only on the charge inside.
Why it is so useful
Gauss’s law is always true. It gives E quickly when the charge has symmetry, because then you can choose a surface on which E is the same everywhere and take it outside the integral. The next three lessons do this for a long wire, a flat sheet and a spherical shell.
It works the other way too. For a point charge, take a sphere: gives , which is Coulomb’s law.
Worked example
A charge of 2 μC sits at the centre of a cube. Find the total flux through the cube and the flux through one face.
- Total: N m²/C.
- The six faces are alike, so one face has 3.77 × 10⁴ N m²/C.
Remember: total flux out of a closed surface = charge inside ÷ ε₀. Its size and shape do not matter, and charges outside add nothing.
Formulas and where to use them
Gauss's law
- where
- total flux through the closed surface (N m²/C)
- total charge inside the surface, with signs (C)
- permittivity of free space, 8.85 × 10⁻¹² C²/N m²
Use it when: Any closed surface, for any charges. It gives E directly when symmetry makes E the same all over the surface.
Common mistakes
- Thinking E on the surface depends only on the charge inside. E comes from all charges. Only the total flux depends on just the charge inside.
- Thinking a bigger surface collects more flux. Size and shape do not matter; only the charge enclosed does.
- Forgetting the signs. Add the charges inside with their signs: +3 nC and −1 nC make +2 nC.
- Using Gauss’s law to find E with no symmetry. The law is always true, but it gives E simply only when symmetry lets you take E out of the integral.
Quick check
Test yourself — pick an answer to see if you got it.
1. A charge of 8.85 nC is inside a closed surface. The total flux through it is…
.
2. The Gaussian sphere around a charge is made twice as big. The flux through it…
It depends only on the charge inside.
3. A charge sits just outside a closed surface. The total flux through the surface due to it is…
Each line that enters also leaves.
4. A charge q sits at the centre of a cube. The flux through one face is…
All six faces share equally.
5. A closed surface holds +5 nC and −5 nC. The total flux through it is…
The charge inside adds up to zero.