Exercises — Gauss's law — integral form, choosing Gaussian surfaces
Throughout, and the master equation is
Level 1 — Recognition
Goal: identify the flux, the enclosed charge, or the right surface — no field solving yet.
L1.1 — Reading flux off a box
A closed cubical box encloses a net charge of . What is the total electric flux through the whole surface of the box?
Recall Solution
The shape does not matter — Gauss's law only asks for the charge trapped inside. Using (the leakage symbol defined above), A nanocoulomb is . We divided the trapped charge by ; the cube's size and orientation are irrelevant.
L1.2 — Charge outside the bag
A point charge sits just outside a closed spherical surface. What is the net flux through that sphere?
Recall Solution
Zero. With pointing outward everywhere (see the sign-convention box), a field line from an outside charge that enters the sphere gives (), and where the same line leaves it gives (). Each entry is matched by an exit (Step 3 of the parent derivation), so they cancel. No charge is enclosed, so and . Note: the field on the surface is not zero — the outside charge is felt pointwise — but the net flux cancels.
L1.3 — Match the surface to the symmetry
For each charge distribution, name the Gaussian surface that makes Gauss's law solvable: (a) a single point charge, (b) an infinitely long charged wire, (c) an infinite charged sheet.
Recall Solution
Match the surface to the symmetry so that on every face, is either parallel to (flux ) or perpendicular (flux ).
- (a) point charge → concentric sphere (spherical symmetry).
- (b) infinite line → coaxial cylinder (cylindrical symmetry).
- (c) infinite plane → pillbox straddling the sheet (planar symmetry).
L1.4 — A charge sitting on the surface
A point charge is placed so that it lies exactly on the Gaussian surface itself (neither clearly inside nor outside). Is it "enclosed"? What flux does Gauss's law predict?
Recall Solution
This is a genuine ambiguity — a mathematical point on a zero-thickness surface is neither in nor out, so is not well defined and Gauss's law gives no clean answer.
- The physical resolution: real charges have finite size, so nudge the surface an infinitesimal amount to one side. If the surface passes symmetrically through an ideal point charge, half its field lines poke out and half stay in, so you count half the charge: , giving .
- Practical advice: never draw a Gaussian surface through a charge. Choose it so every charge is unambiguously inside or outside; then all the bookkeeping is clean.
Level 2 — Application
Goal: run the standard machine — pick surface, split faces, solve for .
L2.1 — Field of a point charge
Find the magnitude of at from a charge .
Recall Solution
Surface: sphere of radius . On it is constant and parallel to , so . Using : .
L2.2 — Infinite line charge
An infinite wire carries linear density . Find at .
Recall Solution

Read the figure: the field arrows cross the curved wall perpendicularly (parallel to → flux ) but run parallel to the flat end caps (never pierce them → flux ).
Surface: coaxial cylinder, radius , length .
- Curved wall: radial , constant → flux .
- End caps: → flux .
- . The cancels:
L2.3 — Infinite charged sheet
An infinite sheet has . Find near it.
Recall Solution
Surface: pillbox straddling the sheet. Field exits both flat faces, so ; the side wall gives . With : This is independent of distance — the field is uniform.
Level 3 — Analysis
Goal: handle position-dependent enclosed charge, multiple regions, and degenerate points.
L3.1 — Solid sphere, inside and outside
A sphere of radius carries total charge spread uniformly through its volume. Find at (a) (inside), (b) (outside).
Recall Solution

(a) Inside (): the Gaussian sphere of radius traps only the charge inside its own volume. With and (defined above), The cancels, leaving the clean . Then (b) Outside (): the whole is enclosed; it acts like a point charge: Degenerate check: at (centre), — by symmetry no direction is preferred, and indeed (the origin dot in the figure).
L3.2 — Hollow (surface-charged) shell
A thin spherical shell of radius carries spread only on its surface. Find at (a) (inside the hollow), (b) (outside).
Recall Solution
(a) Inside (): the Gaussian sphere encloses no charge (all charge is on the outer shell), so and The field inside a uniform shell is exactly zero everywhere — the pulls from opposite sides cancel. (b) Outside (): all enclosed, point-charge field: Contrast with L3.1: outside, solid and shell agree (both look like a point charge). Inside, the solid sphere has but the shell has — the enclosed charge differs.
L3.3 — Net negative enclosed charge (negative flux)
A Gaussian sphere of radius encloses an inner shell of and an outer shell of . Find (a) the total flux through the sphere, and (b) the magnitude and direction of on it.
Recall Solution
The enclosed charge is the signed sum: . (a) Flux: The flux is negative — with pointing outward, a negative means the field points, on net, inward. Field lines are terminating on the net negative charge inside. (b) Magnitude and direction: pointing radially inward (toward the net negative charge).
Level 4 — Synthesis
Goal: combine geometries, superposition, and sign bookkeeping.
L4.1 — Two parallel sheets (capacitor idea)
Two infinite sheets are parallel. The left carries , the right carries , with . Find (a) between the sheets, (b) outside (either side).
Recall Solution

Each sheet alone makes a uniform field of magnitude pointing away from a sheet and toward a sheet. Superpose (add the vectors):
- Between (red arrows region): both fields point the same way (from toward ), so they add:
- Outside: the two fields point in opposite directions and cancel: This is why a parallel-plate capacitor confines its field to the gap.
L4.2 — Line plus point (superposition of flux)
A closed cylinder of radius and length is coaxial with an infinite wire of . A point charge also sits inside the cylinder. What is the total flux through the cylinder?
Recall Solution
Why we may add the flux contributions (superposition): The real field is the vector sum of the field made by the wire and the field made by the point charge, (this is Coulomb's law plus superposition of forces/fields). The flux integral is linear in : A sum inside an integral splits into a sum of integrals, so the total flux is just the flux each charge would produce on its own — that is why fluxes superpose. Each piece equals its own enclosed charge over , so the totals combine into one .
The enclosed charge. The cylinder traps a length of the wire plus the whole point charge:
The total flux. Notice we found the flux even though the combined field is not symmetric enough to pull out of the integral — flux only ever needs the enclosed charge, never the detailed field.
Level 5 — Mastery
Goal: subtle enclosed-charge accounting and limiting behaviour.
L5.1 — Non-uniform charge density
A solid sphere of radius has volume charge density (denser toward the edge), with . Find at .
Recall Solution
The enclosed charge is the integral of over the ball of radius . Using shells of thickness (volume ): Then by Gauss on a sphere of radius : Plug in: Sanity: here (steeper than the uniform-density ) because charge piles up outward.
L5.2 — Conductor vs. isolated sheet (the factor-2 showdown)
A large flat conductor slab has surface charge density on its face. Find the field just outside that face, and explain why it differs from the isolated-sheet result .
Recall Solution
For a conductor, the field inside the metal is zero (see Electric field of conductors). Draw a pillbox with one face inside the metal (flux there) and one face just outside (flux ). Only one face leaks: The isolated sheet leaks through both faces → . Same law, different number of leaking faces — that is the whole difference.
L5.3 — Limiting behaviour: line charge far vs. near
For the infinite line charge , describe how behaves as and as , and contrast the fall-off () with a point charge ().
Recall Solution
- As : . The idealised line has all its charge crammed onto a zero-thickness filament, so hugging it gives an unbounded field. (Real wires have finite radius, capping this.)
- As : , but only like — slowly.
- Contrast: a point charge falls off like because its lines spread over a sphere (). A line's lines spread over a cylinder (), one dimension less, so they thin out more gently — . The geometry of how field lines dilute is the exponent.
Wrap-up
Recall One-line strategy for any Gauss problem
- Identify the symmetry → pick sphere / cylinder / pillbox, with pointing outward.
- Split the surface into faces; mark each flux as , , or .
- Count only the enclosed charge, adding charges with their signs (integrate if non-uniform); never let a Gaussian surface pass through a charge.
- Solve for the field: set and divide by the leaking area to get .
- Check limits and signs — a net negative gives negative flux and an inward field.
Related tools worth revisiting: Divergence theorem (turns this integral law into the differential one), Maxwell's equations (where Gauss's law is equation one), and Symmetry in physics (why any of this is solvable at all).