# 7.3: Gauss’ Law for Magnetism - Differential Form


The integral form of Gauss’ Law states that the magnetic flux through a closed surface is zero. In mathematical form:

$\oint_{\mathcal S} {\bf B}\cdot d{\bf s} = 0 \label{m0047_eGLMIF}$

where $${\bf B}$$ is magnetic flux density and $${\mathcal S}$$ is the enclosing surface. Just as Gauss’s Law for electrostatics has both integral and differential forms, so too does Gauss’ Law for Magnetic Fields. Here we are interested in the differential form for the same reason. Given a differential equation and the boundary conditions imposed by structure and materials, we may then solve for the magnetic field in very complicated scenarios.

The equation we seek may be obtained from Equation \ref{m0047_eGLMIF} using the Divergence Theorem, which in the present case may be written:

$\int_{\mathcal V} \left( \nabla \cdot {\bf B} \right) dv = \oint_{\mathcal S} {\bf B}\cdot d{\bf s} \nonumber$

Where $${\mathcal V}$$ is the mathematical volume bounded by the closed surface $${\mathcal S}$$. From Equation \ref{m0047_eGLMIF} we see that the right hand side of the equation is zero, leaving:

$\int_{\mathcal V} \left( \nabla \cdot {\bf B} \right) dv = 0 \nonumber$

The above relationship must hold regardless of the specific location or shape of $${\mathcal V}$$. The only way this is possible is if the integrand is everywhere equal to zero. We conclude:

$\boxed{ \nabla \cdot {\bf B}=0 } \label{m0047_eGLMD}$

The differential (“point”) form of Gauss’ Law for Magnetic Fields (Equation \ref{m0047_eGLMD}) states that the flux per unit volume of the magnetic field is always zero.

This is another way of saying that there is no point in space that can be considered to be the source of the magnetic field, for if it were, then the total flux through a bounding surface would be greater than zero. Said yet another way, the source of the magnetic field is not localizable.

This page titled 7.3: Gauss’ Law for Magnetism - Differential Form is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Steven W. Ellingson (Virginia Tech Libraries' Open Education Initiative) .