AP® Physics C: Electricity and Magnetism · Unit 12 · Topic 12.1

Gauss's Law for Magnetism

Gauss's law for magnetism says the net magnetic flux through any closed surface is always exactly zero, because magnetic monopoles do not exist. Every field line that enters a closed surface has to exit it somewhere.

Picture any closed surface, a sphere, a cube, a lumpy potato shape, sitting inside a magnetic field. Count the field lines piercing inward as negative and the ones piercing outward as positive. Gauss's law for magnetism says that sum is always zero, no matter the surface, no matter the field. This is written as the closed surface integral of B dot dA equals zero. It holds everywhere, for every magnet and every current configuration, with no exceptions.

The reason traces back to the shape of magnetic field lines themselves. Electric field lines can start on a positive charge and stop on a negative one, because isolated electric charges exist. Magnetic field lines have no such endpoints. A bar magnet's field loops from the north pole, out through space, and back in at the south pole, continuing inside the magnet to close the loop. Cut the magnet in half and you do not get an isolated north and an isolated south; you get two smaller magnets, each with its own matched pair of poles. Since no isolated magnetic charge, or monopole, has ever been found, no field line can begin or end in empty space. Any line that crosses into a closed surface must cross back out, so entries and exits always cancel.

This sits right next to Gauss's law for electric fields, and the contrast is the whole point of the topic. The electric version, closed surface integral of E dot dA equals Q_enclosed over epsilon0, lets the flux be nonzero because charge can be enclosed. The magnetic version has no enclosed-charge term at all; it is flux equals zero, full stop. If you instead look at an open surface, like a single loop's worth of a flat disk, the flux need not be zero, and that nonzero, changing flux is exactly what drives Faraday's law in the next topic.

Key terms

Magnetic flux
The integral of B dot dA over a surface, measuring how much magnetic field passes through it.
Magnetic monopole
A hypothetical isolated north or south magnetic charge that has never been observed to exist.
Closed surface
A surface with no edges that fully encloses a volume, like a sphere or cube.
Gauss's law for electric fields
The law stating electric flux through a closed surface equals enclosed charge divided by epsilon0.

Watch it explained

  1. How it worksWalk me through why having no monopoles means every line coming in must go back out.
  2. Ties togetherHow does Gauss's law for magnetism differ from Gauss's law for electric fields?
  3. Going furtherWhat happens to the flux through an open surface compared with a sealed one?

Check yourself

Your turn1 of 2
Gauss's law for magnetism states the net magnetic flux through ANY closed surface is always exactly zero. Why?

End of topic.