Skip to main content
Engineering LibreTexts

7.2: Gauss’ Law for Magnetic Fields - Integral Form

  • Page ID
    3938
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Gauss’ Law for Magnetic Fields (GLM) is one of the four fundamental laws of classical electromagnetics, collectively known as Maxwell’s Equations. Before diving in, the reader is strongly encouraged to review Section Section 2.5. In that section, GLM emerges from the “flux density” interpretation of the magnetic field. GLM is not identified in that section, but now we are ready for an explicit statement:

    Gauss’ Law for Magnetic Fields (Equation \ref{m0018_eGLM}) states that the flux of the magnetic field through a closed surface is zero.

    This is expressed mathematically as follows:

    \[\boxed{ \oint_{\mathcal S} {\bf B}\cdot d{\bf s} = 0 } \label{m0018_eGLM} \]

    where \({\bf B}\) is magnetic flux density and \({\mathcal S}\) is a closed surface with outward-pointing differential surface normal \(d{\bf s}\). It may be useful to consider the units. \({\bf B}\) has units of Wb/m\(^{2}\); therefore, integrating \({\bf B}\) over a surface gives a quantity with units of Wb, which is magnetic flux, as indicated above.

    GLM can also be interpreted in terms of magnetic field lines. For the magnetic flux through a closed surface to be zero, every field line entering the volume enclosed by \({\mathcal S}\) must also exit this volume – field lines may not begin or end within the volume. The only way this can be true for every possible surface \({\mathcal S}\) is if magnetic field lines always form closed loops. This is in fact what we find in practice, as shown in Figure \(\PageIndex{1}\).

    m0018_fGLMBarMagnet.png
    Figure \(\PageIndex{1}\): Gauss’ Law for Magnetostatics applied to a two-dimensional bar magnet. For the surface \(\mathcal{S}=\mathcal{S}_{A}\), every field line entering \(\mathcal{S}\) also leaves \(\mathcal{S}\), so the flux through \(\mathcal{S}\) is zero. For the surface \(\mathcal{S}=\mathcal{S}_{B}\), every field line within \(\mathcal{S}\) remains in \(\mathcal{S}\), so the flux through \(\mathcal{S}\) is again zero. Image used wtih permission (CC BY SA 4.0; K. Kikkeri)

    Following this argument one step further, GLM implies there can be no particular particle or structure that can be the source of the magnetic field (because then that would be a start point for field lines). This is one way in which the magnetic field is very different from the electrostatic field, for which every field line begins at a charged particle. So, when we say that current (for example) is the source of the magnetic field, we mean only that the field coexists with current, and not that the magnetic field is somehow attached to the current. Summarizing, there is no “localizable” quantity, analogous to charge for electric fields, associated with magnetic fields. This is just another way in which magnetic fields are weird!

    Summarizing

    Gauss’ Law for Magnetic Fields requires that magnetic field lines form closed loops. Furthermore, there is no particle that can be identified as the source of the magnetic field.


    This page titled 7.2: Gauss’ Law for Magnetic Fields - Integral 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) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.