The magnetic interaction is described in terms of a
vector field, where each point in space is associated with a vector that determines what force a moving charge would experience at that point (see
Lorentz force). Since a vector field is quite difficult to visualize, introductory physics instruction often uses
field lines to visualize this field. 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). More sophisticated physical models drop the field line analogy and define magnetic flux 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 \Phi_B = \mathbf{B} \cdot \mathbf{S} = BS \cos \theta, 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: d\Phi_B = \mathbf{B} \cdot d\mathbf{S}. A generic surface,
S, can then be broken into infinitesimal elements and the total magnetic flux through the surface is then the
surface integral \Phi_B = \iint_S \mathbf{B} \cdot d\mathbf S. From the definition of the
magnetic vector potential A and the
fundamental theorem of the curl the magnetic flux may also be defined as: \Phi_B = \oint_{\partial S} \mathbf{A} \cdot d\boldsymbol{\ell}, where the
line integral is taken over the boundary of the surface , which is denoted . == Magnetic flux through a closed surface ==