# Description

The magnetic interaction is described in terms of a vector field, where each point in space (and time) is associated with a vector that determines what force a moving charge would experience at that point (see Lorentz force). ^{[1]} Since a vector field is quite difficult to visualize at first, in elementary physics one may instead visualize this field with field lines. The magnetic flux through some surface, in this simplified picture, is proportional to the number of field lines passing through that surface (in some contexts, the flux may be defined to be precisely the number of field lines passing through that surface; although technically misleading, this distinction is not important). The magnetic flux is the *net* number of field lines passing through that surface; that is, the number passing through in one direction minus the number passing through in the other direction (see below for deciding in which direction the field lines carry a positive sign and in which they carry a negative sign).^{[2]}
In more advanced physics, the field line analogy is dropped and the magnetic flux is properly defined as the surface integral of the normal component of the magnetic field passing through a surface. If the magnetic field is constant, the magnetic flux passing through a surface of vector area **S** is

where *B* is the magnitude of the magnetic field (the magnetic flux density) having the unit of Wb/m2 (tesla), *S* is the area of the surface, and *θ* is the angle between the magnetic field lines and the normal (perpendicular) to **S**. For a varying magnetic field, we first consider the magnetic flux through an infinitesimal area element d**S**, where we may consider the field to be constant:

A generic surface, **S**, can then be broken into infinitesimal elements and the total magnetic flux through the surface is then the surface integral

From the definition of the magnetic vector potential **A** and the fundamental theorem of the curl the magnetic flux may also be defined as:

where the line integral is taken over the boundary of the surface *S*, which is denoted ∂*S*.

# Magnetic flux through a closed surface

Gauss's law for magnetism, which is one of the four Maxwell's equations, states that the total magnetic flux through a closed surface is equal to zero. (A "closed surface" is a surface that completely encloses a volume(s) with no holes.) This law is a consequence of the empirical observation that magnetic monopoles have never been found.

In other words, Gauss's law for magnetism is the statement:

for any closed surface *S*.

# Magnetic flux through an open surface

While the magnetic flux through a closed surface is always zero, the magnetic flux through an open surface need not be zero and is an important quantity in electromagnetism.

# Changing magnetic flux

For example, a change in the magnetic flux passing through a loop of conductive wire will cause an electromotive force, and therefore an electric current, in the loop. The relationship is given by Faraday's law:

where

The two equations for the EMF are, firstly, the work per unit charge done against the Lorentz force in moving a test charge around the (possibly moving) surface boundary ∂Σ and, secondly, as the change of magnetic flux through the open surface Σ. This equation is the principle behind an electrical generator.

# Comparison with electric flux

By way of contrast, Gauss's law for electric fields, another of Maxwell's equations, is

where

The flux of **E** through a closed surface is *not* always zero; this indicates the presence of "electric monopoles", that is, free positive or negative charges.

# See also

- Magnetic circuit is a closed path in which magnetic flux flows
- Magnetic flux quantum is the quantum of magnetic flux passing through a superconductor.