Worked examples — Gauss's law — integral form, choosing Gaussian surfaces
This page is the exercise gym for the parent Gauss's law note. We don't teach new theory here — we grind through every kind of situation the law can hand you, so that when an exam invents a "new" problem, you recognise which cell of the matrix it lives in.
Everything below rests on the one boxed law:
If any symbol here feels unfamiliar, pause and reread the parent — this page assumes you already met Electric flux (the "how many field lines poke out" quantity), Coulomb's law (the field of a point charge), and the symmetry-matching rule for picking surfaces.
The scenario matrix
Before working examples, let's name every case class this topic can produce. Each cell is a distinct kind of trap. The examples that follow are labelled by the cell(s) they cover.
| # | Case class | What's different about it | Covered by |
|---|---|---|---|
| A | Positive point charge (baseline sphere) | field points outward, flux | Ex 1 |
| B | Negative charge / sign flip | field points inward, flux | Ex 2 |
| C | Charge outside the surface (degenerate: ) | flux is exactly zero though | Ex 2 |
| D | Line symmetry, field far vs near | , caps give zero | Ex 3 |
| E | Planar symmetry, factor-2 trap | constant, both faces leak | Ex 4 |
| F | Solid sphere, two regions ( and ) | limiting values, continuity at | Ex 5 |
| G | Spherical shell / cavity (degenerate: empty inside) | inside, jump outside | Ex 6 |
| H | Conductor vs insulated sheet ( vs ) | which geometry gives which factor | Ex 7 |
| I | Real-world word problem | translate SI numbers, get a real force | Ex 8 |
| J | Exam twist — off-centre / non-uniform | law valid but not solvable; reasoning-only | Ex 9 |
We hit every row. Let's go.
Example 1 — Positive point charge (cell A)
Forecast: Guess before reading — will the flux depend on the radius you pick? Will it be positive or negative?

- Pick a concentric sphere of radius . Why this step? The charge has spherical symmetry, so can only depend on and must point radially (look at the lavender arrows in the figure — all the same length on the dashed circle). This is the only surface on which is constant and parallel to .
- Write flux . Why this step? Because everywhere (, so ) and is constant, , where is the whole area of .
- Set equal to and solve. Why this step? is the Coulomb constant — we just recovered Coulomb's law.
- Total flux . Why this step? The total flux is the right-hand side of Gauss's law read directly: the whole surface integral just equals , so we don't even need — the flux depends only on the trapped charge.
Recall Verify Example 1
Units of : ✓. The flux answer contains no — pick any radius, same flux. Forecast check: flux is (charge positive), independent of . ✓
Example 2 — Negative charge, and a charge outside (cells B & C)
Forecast: Which of these gives zero flux? Which gives negative flux?

Part (a):
- Flux . Why? Gauss's law doesn't care about sign — plug the signed charge straight in.
- Interpret the minus. Why this step? Negative flux means field lines point into the surface — the coral inward arrows in the figure. A negative charge swallows field lines.
Part (b):
- Identify . Why? Gauss counts only charge inside the closed surface . The nC is outside, so .
- Conclude . Why this step? Look at the right panel: each field line that enters the surface on one side leaves on the other. Enter , leave , they cancel in pairs. The field on the surface is not zero — but the net flux is.
Recall Verify Example 2
(a) Sign matches: negative charge → negative flux ✓. (b) exactly, even though pointwise — this is the classic degenerate case C. ✓
Example 3 — Infinite line charge, near and far (cell D)
Forecast: Doubling the distance — does drop by a factor of 2, or 4?

- Coaxial cylinder, radius , length . Why? Line symmetry: depends only on distance from the wire and points straight out (mint arrows). A cylinder shares that symmetry.
- Curved wall: flux . Why? On the wall and constant; here the wall area is .
- End caps: flux . Why? On the flat caps (radial) is perpendicular to (axial). .
- Solve with : Why cancels? Both the trapped charge and the wall area grow with .
- Plug numbers:
Recall Verify Example 3
Ratio . Because (not ), doubling halves — forecast answer is factor 2. ✓
Example 4 — Infinite charged sheet, the factor-2 trap (cell E)
Forecast: Will the field be weaker at 10 cm than just above?

- Pillbox straddling the sheet, cap area . Why? Planar symmetry: field is perpendicular to the sheet, same on both sides. A symmetric box captures that. Here is the area of one flat cap of the box.
- Two caps leak, side wall gives zero. Why? Field exits both faces (butter arrows point away on each side) → total cap flux . The wall is parallel to → zero.
- Solve with : Why does vanish? It multiplies both sides — the answer can't depend on the size of box we imagined.
- At 10 cm: still N/C. Why unchanged? No in the answer — an infinite plane gives a uniform field.
Recall Verify Example 4
Answer contains no distance → same at 0 cm and 10 cm. Forecast answer: no, it stays the same ✓. Note the factor 2 from two faces.
Example 5 — Solid sphere: inside and outside (cell F, limiting values)
Forecast: Does grow or shrink as you move outward from the centre, inside the ball?

- Inside (): . Why? Uniform volume density → enclosed charge scales with enclosed volume , so the fraction inside radius is . At :
- Outside (): (all of it). At :
- Check continuity at . Why? Because the charge is purely volumetric — there is no thin shell of surface charge sitting on the boundary — no extra appears exactly at , and the field cannot jump. (A surface charge would cause a jump; here there is none.) Evaluate both formulas at and compare the actual numbers: The two give the same N/C, so the field is continuous at the surface.
Recall Verify Example 5
Inside → grows linearly from at centre (forecast: grows). N/C — no jump. ✓
Example 6 — Charged spherical shell / cavity (cell G, degenerate empty inside)
Forecast: What is the field inside a hollow charged shell?

- Inside (): . Why? All charge lives on the shell at radius ; a Gaussian sphere of smaller radius encloses nothing. Why exactly zero everywhere inside? Symmetry forces radial and constant on the inner sphere; zero flux + constant ⇒ . The cavity is field-free (lavender region in the figure).
- Outside (): . Why the same form as a point charge? From outside, a shell looks identical to a point charge at its centre.
Recall Verify Example 6
Inside: (forecast answer: zero — this is the shielding of a cavity, foundational to Electric field of conductors). Outside behaves like a point . ✓
Example 7 — Conductor surface vs insulated sheet (cell H)
Forecast: Same — same field? Or does one double the other?

- Insulated sheet: pillbox leaks from both faces. Why? Field exists on both sides, so (with = area of one cap):
- Conductor surface: pillbox leaks from one face only. Why? Inside a conductor (charges rearrange until it is), so the inner cap catches no flux. Only the outer cap leaks: :
- Compare. The conductor field is exactly twice the sheet field for the same .
Recall Verify Example 7
exactly — the factor comes purely from how many faces leak (one vs two), not from any new physics. Forecast answer: conductor doubles it. ✓
Example 8 — Real-world word problem (cell I)
Forecast: A negative speck near a positive wire — pulled in or pushed out?
- Field of the line at that radius. Why start here? Force needs the field the speck sits in; use the line-charge result from Example 3.
- Force magnitude . Why the absolute value ? We first compute only the size of the force; (the magnitude of the charge, ignoring its sign) times gives a positive number of newtons. We handle the direction separately in the next step, so we deliberately strip the sign here to avoid double-counting it.
- Direction. Why? points away from the positive wire, but , so (with the sign restored) points toward the wire — the speck is pulled in. That's exactly how toner is attracted to the drum.
Recall Verify Example 8
Units: ✓. Sign of flips the force inward. Forecast answer: pulled in. ✓
Example 9 — Exam twist: valid but not solvable (cell J)
Forecast: Does the off-centre position change the flux? Does it change your ability to solve for ?
- Net flux (part a). Why unchanged? Gauss counts only enclosed charge, not its position. As long as is inside the closed surface :
- Finding (part b). Why not solvable? The charge being off-centre breaks spherical symmetry: now varies from point to point on the surface (stronger on the near side, weaker on the far side). Because is no longer constant over , you cannot pull it out of the integral . The equation stays true, but it is one number balancing infinitely many unknown values of across the surface — so Gauss's law alone cannot give you here.
- What to do instead. Why switch tools? Since symmetry is gone, use Coulomb's law / superposition directly for ; keep Gauss only for the total flux. Conclusion: flux is fixed at , but the field is not obtainable by Gauss's law without symmetry.
Recall Verify Example 9
Flux regardless of position (validity). Symmetry broken ⇒ not solvable for (usability). Forecast: flux unchanged, but not obtainable by Gauss. ✓
Recap of the matrix coverage
Recall Which example hit which cell?
A→Ex1, B & C→Ex2, D→Ex3, E→Ex4, F→Ex5, G→Ex6, H→Ex7, I→Ex8, J→Ex9. Every cell filled.
Validity vs solvability
What does mean in ?
Flux of a charge outside the surface
Field inside a hollow charged shell
Insulated sheet vs conductor surface field
Field inside a uniform solid sphere
Does off-centre charge change the enclosed flux?
Related: Divergence theorem converts this integral law to the local form in Maxwell's equations; the shielding in Ex 6 underlies Electric field of conductors.