Skip to content

Physics · Ch 5 — Magnetism and Matter

Magnetism and Gauss's Law

5.3

Magnetism and Gauss's Law

The Core Idea: Why Magnetism is Different from Electricity

Gauss's Law for magnetism is a fundamental statement about the nature of magnetic fields. Unlike electric fields, which can start and end on charges, magnetic field lines are continuous and form closed loops. This means there are no isolated magnetic "charges" (monopoles). The simplest magnetic object is a dipole (like a bar magnet) or a current loop.

The Law: Net Magnetic Flux Through Any Closed Surface is Zero

Consider any closed surface (like a sphere or a box). The magnetic flux (ΦB\Phi_B) through it is the total number of magnetic field lines passing through it.

  • For electric fields: The net flux through a closed surface is proportional to the net charge enclosed (q/ϵ0q/\epsilon_0). If you enclose a positive charge, more lines leave than enter.
  • For magnetic fields: Because field lines are closed loops, every line that enters a closed surface must also leave it. The number of lines entering is always exactly balanced by the number leaving.

Therefore, the net magnetic flux through any closed surface is always zero.

The Mathematical Statement

We define the magnetic flux through a tiny area element ΔS\Delta \mathbf{S} (a vector whose magnitude is the area and direction is normal to the surface) as:

ΔΦB=B⋅ΔS\Delta \Phi_B = \mathbf{B} \cdot \Delta \mathbf{S}

where B\mathbf{B} is the magnetic field at that element.

To find the total flux through a closed surface SS, we sum (integrate) over all these tiny elements:

ΦB=∑allΔΦB=∑allB⋅ΔS=0\Phi_B = \sum_{\text{all}} \Delta \Phi_B = \sum_{\text{all}} \mathbf{B} \cdot \Delta \mathbf{S} = 0

This is the mathematical form of Gauss's Law for Magnetism.

Comparison with Gauss's Law for Electrostatics

FeatureElectrostaticsMagnetism
Source of fieldElectric charges (++ and −-)Moving charges (currents), magnetic dipoles
Fundamental unitMonopole (single charge)Dipole (no isolated poles)
Field linesStart on ++ charges, end on −- chargesForm continuous closed loops
Gauss's Law∑E⋅ΔS=qϵ0\sum \mathbf{E} \cdot \Delta \mathbf{S} = \frac{q}{\epsilon_0}∑B⋅ΔS=0\sum \mathbf{B} \cdot \Delta \mathbf{S} = 0

The right-hand side is zero for magnetism because isolated magnetic poles (monopoles) do not exist. If they did, the law would be modified to ∑B⋅ΔS=μ0qm\sum \mathbf{B} \cdot \Delta \mathbf{S} = \mu_0 q_m, where qmq_m is the enclosed magnetic charge.

Key Implications (from the Examples)

  • Field lines never start or end: A diagram showing field lines emanating from a point (like a positive charge) is wrong for magnetism.
  • Field lines never cross: The direction of the field would be ambiguous at the crossing point.
  • Static magnetic field lines must enclose a current: A closed loop of a static magnetic field cannot exist in empty space; it must wrap around a current-carrying wire. …
Figure 5.5Magnetic field B, area element ΔS and the outward normal n̂ for Gauss's law of magnetism.
Fig. 5.5 — Magnetic field B, area element ΔS and the outward normal n̂ for Gauss's law of magnetism.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your textbook's own diagram.

What the Figure Shows

The diagram depicts a uniform magnetic field — several parallel, straight field lines running diagonally from lower-left to upper-right. Embedded in this field is a small, flat area element ΔS\Delta S, shown as a shaded oval or parallelogram patch. From this patch, an outward unit-normal vector n^\hat{n} points up-left. A magnetic field vector B\mathbf{B} (bold, with an arrowhead) lies along one of the field lines. At the patch, the angle θ\theta between n^\hat{n} and B\mathbf{B} is marked. The labels n^\hat{n}, B\mathbf{B}, θ\theta, and ΔS\Delta S are all present.

The Physical Idea

This figure is the visual foundation for Gauss’s law of magnetism. It shows how to compute the magnetic flux through a tiny piece of a closed surface. The key insight: because magnetic field lines form continuous closed loops (unlike electric field lines, which can start or end on charges), the number of field lines entering any closed surface exactly equals the number leaving it. The net magnetic flux through any closed surface is therefore always zero.

The Key Formula

The magnetic flux through the small area element ΔS\Delta S is defined as:

ΔϕB=B⋅ΔS\Delta \phi_B = \mathbf{B} \cdot \Delta \mathbf{S}

where:

  • B\mathbf{B} is the magnetic field vector at the location of ΔS\Delta S,
  • ΔS\Delta \mathbf{S} is the vector area element: its magnitude is the area ΔS\Delta S, and its direction is along the outward normal n^\hat{n} (so ΔS=ΔS n^\Delta \mathbf{S} = \Delta S \, \hat{n}).

Using the dot product, this becomes:

ΔϕB=B ΔS cos⁡θ\Delta \phi_B = B \, \Delta S \, \cos\theta

where θ\theta is the angle between B\mathbf{B} and n^\hat{n} (exactly the angle marked in the figure).

To get the net magnetic flux through an entire closed surface SS, we sum over all such area elements: …