Home/Laboratories/Gauss’s Law Lab
Interactive experiment — complete Chapter 9 · Electrostatics and Current Electricity

Gauss’s Law Lab

Wrap charges in adjustable surfaces and count the flux — inside counts, outside cancels.

Learn the physics first

Draw any closed surface around a charge and count the electric field lines threading outward through it: that count (formally the flux Φ = E·A·cos θ summed over the surface) depends only on the charge enclosed — Φ = q_enc/ε₀ with ε₀ = 8.854×10⁻¹² C²/(N·m²). Charges outside send exactly as many lines in as come back out, contributing nothing. Drag a charge across the boundary in this lab and watch the flux jump by its full q/ε₀ — 2 µC inside gives Φ = 2.26×10⁵ N·m²/C whether the surface is a sphere, a cube or a lopsided blob, and wherever inside the surface the charge sits.

Gauss’s law is always true but only useful when symmetry pins the field down. The charged sphere is the classic: outside, a Gaussian sphere of radius r encloses the full Q, so E·4πr² = Q/ε₀ and E = kQ/r² — the sphere behaves as a point charge at its centre. Inside a conductor all the excess charge sits on the surface, a Gaussian sphere in the metal encloses nothing, and E = 0. Inside a uniformly charged insulator the enclosed charge grows as r³, giving E = kQr/R³ — a straight climb from zero at the centre to the surface value kQ/R².

Electric fluxΦ = E A cos θ  (N·m²/C)
Gauss’s lawΦ_closed = q_enclosed / ε₀,  ε₀ = 8.854×10⁻¹² C²/N·m²
Charged sphere, outside (r ≥ R)E = kQ / r²
Insideconductor: E = 0;  uniform insulator: E = kQ r / R³

Model assumptions. Point charges, static fields, and field lines traced through the true superposed field (8 lines per 2 µC, so the line census is a coarse cousin of the exact flux — the readout Φ = q_enc/ε₀ is exact). The sphere explorer assumes electrostatic equilibrium for the conductor and uniform volume charge for the insulator.

Experiment

Ready

Symmetric solution: E(r) of a charged sphere

switch to sphere mode to use

In sphere mode the marker rides the Gaussian-sphere radius r you drag; the flux through that sphere is q_enc(r)/ε₀.

Controls

Mode
Closed surface
Charges (drag in or out)
Material

Flux readout

Φ = q_enc/ε₀
Flux Φ through surface
—
Enclosed charge
—
Field lines crossing
—
Line census
—
E at r (Gaussian sphere)
—
Flux through it
—
Charge enclosed
—

Drag a charge across the boundary: Φ jumps by that charge’s full q/ε₀. In sphere mode, drag the handle on the dashed Gaussian circle to sweep r through R.

Try this. Park one +2 µC charge inside and one −2 µC charge outside: Φ counts only the inside one. Now drag the outside charge in — Φ swings to (2 − 2) µC/ε₀ = 0 even though fields rage everywhere. Then switch to sphere mode, set the material to insulator, and slide r from 0 out through R: the E(r) marker climbs the straight line kQr/R³ and joins the kQ/r² curve at the surface without a jump.

Predict before you check

In flux mode with exactly one +2.0 µC charge inside the surface (the default bench): what is the flux Φ through it?

N·m²/C

Understand

Experiment completion

Test all three surface shapes, cross charges in and out, and sweep the Gaussian radius through both sphere materials.

Where to go next