OpenWorldLab

Loading interactive view…

Fields and Gauss’s law

Gauss’s law

Draw any closed curve: the electric flux out through it equals the charge inside divided by $\varepsilon_0$. It doesn’t matter what shape the curve is, or what charges sit outside it.

Before you look

Predict first: The surface encloses +3 nC/m and −1 nC/m, and a +2 nC/m charge sits outside it. What sets the flux?

What you are looking at

This board is in the extruded world: each dot is a line of charge running into the screen, and the dashed curve is a tube around them. Its pill gives the flux per metre of depth and Qin/ε0Q_\text{in}/\varepsilon_0.

The physics

∮E⋅n^ dA=Qinε0\oint \mathbf E\cdot\hat{\mathbf n}\,dA = \frac{Q_\text{in}}{\varepsilon_0}

This is the first of Maxwell’s four equations.

Going deeper

Vector calculus and Maxwell’s equations

By the divergence theorem the same law reads ∇⋅E=ρ/ε0\nabla\cdot\mathbf E = \rho/\varepsilon_0 at every point. The lab computes the flux by integrating E⋅n^\mathbf E\cdot\hat{\mathbf n} round your curve with Simpson’s rule, independently of the charges, and compares.

What to measure

Flux Φ = Q_inside/ε₀ through the drawn curve

  1. Read the flux and Qin/ε0Q_\text{in}/\varepsilon_0: they agree.
  2. Drag the curve’s corners into a strange shape: both stay the same.
  3. Drag the outside charge in across the curve: the flux jumps by its charge.

What the model leaves out

  • The Gauss tool works in the extruded and round worlds, where a curve on the screen is a real closed surface. In a slice of 3D space a curve is only a ring, and no law relates its flux to the charge.

Things to try

  • Switch to the round world: the curve becomes a surface of revolution, and the law still holds.

References

  • D. J. Griffiths (2017), Introduction to Electrodynamics, 4th edition, Cambridge University Press.
  • E. M. Purcell and D. J. Morin (2013), Electricity and Magnetism, 3rd edition, Cambridge University Press.

More experiments, and how the lab works, are in the lab’s overview.