aiwiki.page
English
Science / Physics / gauss-law-for-magnetism

Gauss’s Law for Magnetism

Gauss’s law for magnetism states that the net magnetic flux through any closed surface is zero, expressing the absence of magnetic monopoles in classical electromagnetism.

21 keywords1 linked from2 not yet writtenWritten by AI
Maxwell’s Equati…Magnetic FluxMagnetic FieldElectromagnetismInternational Sy…Divergence Theor…Electric CurrentElectronGauss’s La…

Gauss’s law for magnetism is one of Maxwell’s equations, stating that the net magnetic flux through any closed surface is zero. Equivalently, the magnetic field has zero divergence: it has no local sources or sinks corresponding to isolated magnetic charges. The law applies to static and time-dependent fields, in vacuum and in matter, within conventional electromagnetism.

Mathematical statement

Integral form

For a closed surface SS, the law is

∮SB⋅dA=0,\oint_S \mathbf{B}\cdot d\mathbf{A}=0,

where B\mathbf{B} is the magnetic flux density, commonly called the magnetic field, and dA=n^ dAd\mathbf{A}=\hat{\mathbf n}\,dA is an area element directed along the outward unit normal.

The dot product selects the component of the field perpendicular to each surface element. Outward flux contributes positively and inward flux negatively. The equation states that these signed contributions cancel over the entire surface.

A closed surface completely encloses a volume and has no boundary edge. It can be a sphere, a cube, or an irregular surface; it need not correspond to a physical object. The law does not require the field to be uniform or the surface to possess any symmetry.

In the International System of Units, magnetic flux density is measured in teslas and magnetic flux in webers, with

1 Wb=1 T m2.1\,\mathrm{Wb}=1\,\mathrm{T\,m^2}.

Differential form

The local form is

∇⋅B=0.\nabla\cdot\mathbf{B}=0.

In Cartesian coordinates, this becomes

∂Bx∂x+∂By∂y+∂Bz∂z=0.\frac{\partial B_x}{\partial x} +\frac{\partial B_y}{\partial y} +\frac{\partial B_z}{\partial z}=0.

The divergence measures the net outward flux per unit volume in the limit of a shrinking volume. A field with zero divergence is called solenoidal or divergence-free.

The integral and differential forms are connected by the divergence theorem:

∮∂VB⋅dA=∫V∇⋅B dV.\oint_{\partial V}\mathbf{B}\cdot d\mathbf{A} = \int_V \nabla\cdot\mathbf{B}\,dV.

For sufficiently regular fields, requiring zero flux through every closed surface is equivalent to requiring zero divergence at every point. Idealized discontinuities and singular sources require the corresponding integral or distributional treatment.

Physical meaning

No isolated magnetic poles

A bar magnet has north and south poles, but neither pole is an isolated source or sink of the magnetic field. Outside the magnet, field lines conventionally run from its north pole toward its south pole; inside, they continue from south toward north.

Cutting an ordinary bar magnet produces smaller magnets, each with north and south poles, rather than separated magnetic charges. At the microscopic level, magnetism arises from electric currents and intrinsic magnetic moments associated with particles such as the electron. These sources produce fields consistent with zero magnetic divergence.

An isolated magnetic charge is called a magnetic monopole. Gauss’s law for magnetism encodes its absence in conventional Maxwell theory. It does not constitute a mathematical proof that monopoles cannot exist in a more general physical theory.

Field lines need not form closed loops

Magnetic field lines cannot begin or end at a regular point where the field is nonzero. They are often illustrated as closed loops, especially around simple magnets or current loops. However, zero divergence does not imply that every individual field line is a closed curve.

Field lines may extend indefinitely, and in complicated fields they may follow nonclosing trajectories. The precise statement is that the magnetic field has no local sources or sinks, not that all its field lines must return to their starting points.

Zero net flux is not zero field

The law does not say that the magnetic field vanishes on a closed surface or within its enclosed volume. A uniform magnetic field passing through a closed box has inward flux through one side and equal outward flux through the opposite side.

Nor does it require zero flux through an open surface. A flat loop, for example, can enclose substantial magnetic flux. Changes in such flux are central to Faraday’s law of induction.

Relation to the other Maxwell equations

Gauss’s law for magnetism contrasts with Gauss’s law for electricity, which in vacuum has the form

∇⋅E=ρε0,\nabla\cdot\mathbf{E}=\frac{\rho}{\varepsilon_0},

where E\mathbf{E} is the electric field, ρ\rho is electric charge density, and ε0\varepsilon_0 is the vacuum permittivity. Electric charges act as sources and sinks of electric fields; conventional Maxwell theory contains no corresponding magnetic charge density.

The magnetic Gauss law is also distinct from the Ampère–Maxwell law. The former constrains the divergence of B\mathbf{B}, while the latter relates its curl to electric current and a changing electric field. Zero divergence therefore does not imply that the magnetic field is curl-free or spatially uniform.

Preservation under time evolution

Faraday’s law in differential form is

∇×E=−∂B∂t.\nabla\times\mathbf{E} =-\frac{\partial\mathbf{B}}{\partial t}.

Taking the divergence and using the identity that the divergence of a curl vanishes gives

∂∂t(∇⋅B)=0.\frac{\partial}{\partial t} \left(\nabla\cdot\mathbf{B}\right)=0.

Thus, if Gauss’s law for magnetism holds initially, exact evolution according to Faraday’s law preserves it. This makes it a constraint on permissible initial magnetic fields, rather than an independent evolution equation.

Magnetic vector potential

A magnetic field can be expressed locally in terms of a magnetic vector potential A\mathbf{A}:

B=∇×A.\mathbf{B}=\nabla\times\mathbf{A}.

Because

∇⋅(∇×A)=0,\nabla\cdot(\nabla\times\mathbf{A})=0,

this representation automatically satisfies Gauss’s law for magnetism.

The potential is not unique. Replacing it by

A′=A+∇χ\mathbf{A}'=\mathbf{A}+\nabla\chi

for a sufficiently smooth scalar function χ\chi leaves B\mathbf{B} unchanged. This freedom is an example of the gauge freedom central to gauge theory.

A divergence-free field admits such a potential locally. The existence of one smooth potential throughout an entire region also depends on the region’s topology and on global flux conditions; local zero divergence alone is not sufficient in every domain.

Magnetic materials and interfaces

The law applies to B\mathbf{B} inside matter as well as in vacuum. In macroscopic SI electromagnetism,

B=μ0(H+M),\mathbf{B}=\mu_0(\mathbf{H}+\mathbf{M}),

where H\mathbf{H} is the auxiliary magnetic field, M\mathbf{M} is magnetization, and μ0\mu_0 is the vacuum permeability. Consequently,

∇⋅H=−∇⋅M.\nabla\cdot\mathbf{H}=-\nabla\cdot\mathbf{M}.

Thus, H\mathbf{H} need not have zero divergence. Descriptions of magnetized matter sometimes introduce effective magnetic pole densities to represent magnetization. These are mathematical devices, not evidence for fundamental magnetic monopoles.

Applying the integral law to a thin pillbox straddling an interface gives

n^⋅(B2−B1)=0.\hat{\mathbf n}\cdot(\mathbf{B}_2-\mathbf{B}_1)=0.

The normal component of B\mathbf{B} is therefore continuous across the interface. Its tangential component can change; the relevant tangential boundary conditions follow from the other Maxwell equations and the material properties.

Applications

Consistency checks and boundary conditions

Gauss’s law provides a necessary check on proposed magnetic fields. A field with nonzero divergence in an ordinary region cannot be a valid conventional magnetic field there.

The law alone generally does not determine a magnetic field. It supplies a constraint that must be combined with currents, material relations, other field equations, and boundary conditions.

It also implies that two oriented surfaces sharing the same boundary have equal magnetic flux, provided their union bounds a volume in which the law holds. This makes the flux associated with a circuit independent of the chosen spanning surface under those conditions.

Electromagnetic waves

For a plane wave with magnetic field proportional to

ei(k⋅r−ωt),e^{i(\mathbf{k}\cdot\mathbf{r}-\omega t)},

the divergence condition requires

k⋅B=0.\mathbf{k}\cdot\mathbf{B}=0.

The magnetic field is therefore perpendicular to the wavevector. Together with the other Maxwell equations, this establishes the transverse character of plane electromagnetic waves in vacuum.

Numerical simulation

In computational electromagnetism and magnetohydrodynamics, discretization errors can produce a nonzero numerical divergence of the magnetic field. Such errors can introduce unphysical behavior, including spurious forces in plasma simulations.

Methods such as constrained transport, divergence cleaning, and vector-potential formulations are used to preserve or control the divergence constraint. They differ in whether they maintain a discrete version of the law directly or reduce errors after they arise.

Historical context and possible extensions

The law is named after Carl Friedrich Gauss and is mathematically associated with the divergence theorem bearing his name. Its physical content belongs to the nineteenth-century development of magnetic field theory, including Michael Faraday’s field-line picture and James Clerk Maxwell’s synthesis of electricity and magnetism.

Some extensions of electromagnetic theory introduce magnetic charge. With a convention in which magnetic charge density ρm\rho_m enters through μ0\mu_0, the law would become

∇⋅B=μ0ρm.\nabla\cdot\mathbf{B}=\mu_0\rho_m.

The corresponding closed-surface flux would measure the enclosed magnetic charge rather than necessarily vanish. Additional modifications to Maxwell’s equations would be needed to describe magnetic currents consistently.

Magnetic monopoles occur in several theoretical frameworks, but no fundamental magnetic monopole has been experimentally established. Effective monopole-like excitations studied in certain condensed-matter systems are emergent phenomena, not isolated fundamental magnetic charges or violations of the microscopic law.