Definition of magnetic scalar potential
Magnetic scalar potential is a scalar field, denoted , that lets you describe the magnetic field intensity through a simple gradient relationship in regions free of free currents and time-varying electric fields. It plays the same role for magnetostatics that electric potential plays in electrostatics: it reduces a vector problem to a scalar one, which is far easier to solve.
This tool shows up constantly when analyzing permanent magnets, magnetic circuits, and shielding problems. Its main limitation is that it only works where . Wherever free currents flow, you need the magnetic vector potential instead.
is measured in amperes (SI) or sometimes quoted in ampere-turns. In CGS, the unit is the gilbert.
Analogy with electric potential
The parallel with electrostatics is direct and worth internalizing:
- In electrostatics, holds wherever there are no time-varying magnetic fields.
- In magnetostatics, holds wherever there are no free currents.
Both relationships work because the relevant field is curl-free in its domain of validity. The negative sign means the field points from high potential toward low potential, just as in the electric case.
Mathematical representation
- is a function of position:
- The defining relation is
- In a source-free region (no free currents, no magnetization), satisfies Laplace's equation:
- In a region containing magnetized material, you can introduce an equivalent magnetic charge density , and then satisfies Poisson's equation:
Note the sign conventions carefully. The "magnetic charge" picture is a mathematical convenience; there are no real magnetic monopoles. The quantity is sometimes called the volume magnetic pole density.
Laplace's equation for magnetic scalar potential
Laplace's equation governs the scalar potential in any region that is both current-free and free of magnetized material (or where is uniform so that ). Solving it is the central task in most scalar-potential problems.
Derivation from Maxwell's equations
- Start with the magnetostatic curl equation in a current-free region: .
- Because is curl-free, you can write .
- Now use Gauss's law for magnetism, . In free space or a linear medium with constant permeability , , so .
- Substituting the gradient expression: , which gives .
The key prerequisite is step 1: you must be in a region with no free current density .
Boundary conditions
Laplace's equation is an elliptic PDE, so you need boundary conditions on the entire boundary of your domain:
- Dirichlet condition: the value of is specified on the boundary surface.
- Neumann condition: the normal derivative is specified on the boundary surface. Since , this is equivalent to specifying the normal component of .
- Interface condition: at a boundary between two media with permeabilities and , continuity of the normal component of requires . The tangential component of is continuous (when no surface current is present), so itself is continuous across the interface.
Poisson's equation for magnetic scalar potential
When magnetized material is present, the divergence of acts as an effective source term, and Laplace's equation generalizes to Poisson's equation.
Derivation from Maxwell's equations
- In a current-free region, still holds.
- Write and apply :
- Substitute :
Some texts define so the equation looks like the electrostatic Poisson equation: . Watch the sign convention in whatever source you're using.
Boundary conditions
The same Dirichlet and Neumann conditions apply as for Laplace's equation. At an interface where the magnetization jumps discontinuously, there is an effective surface magnetic charge density . This produces a jump in the normal derivative of across the surface:
This is directly analogous to the surface charge jump condition for electric potential.
Presence of magnetic sources
The "magnetic charges" and are fictitious. No magnetic monopoles exist. They are a bookkeeping device: wherever the magnetization has a nonzero divergence (volume poles) or a discontinuity at a surface (surface poles), you get an effective source for . This picture is especially useful for permanent magnets, where is given and you want to find the resulting field.

Solution methods for Laplace's and Poisson's equations
The mathematical structure of these equations is identical to what you encounter in electrostatics, so the same toolkit applies.
Separation of variables
This is the go-to analytical method when the geometry matches a standard coordinate system:
- Choose coordinates that align with the boundary surfaces (Cartesian, cylindrical, or spherical).
- Assume a product solution, e.g., in spherical coordinates.
- Substitute into Laplace's equation and separate into ODEs for each coordinate.
- Solve each ODE and apply boundary conditions to fix the constants.
Typical applications include the field of a uniformly magnetized sphere (expand in Legendre polynomials), fields inside and outside cylindrical shells, and coaxial geometries.
Green's functions
For Poisson's equation with a distributed source , the solution can be written as an integral:
This is the magnetic analog of the Coulomb integral for electric potential. Surface pole contributions add a surface integral with . The Green's function approach is powerful but requires you to know (or construct) the Green's function for your boundary geometry.
Numerical techniques
When analytical methods fail due to complex geometry or inhomogeneous materials:
- Finite difference method (FDM): discretize the domain on a grid and replace derivatives with difference quotients. Straightforward to implement but less flexible with irregular boundaries.
- Finite element method (FEM): divide the domain into small elements (triangles, tetrahedra) and approximate with basis functions on each element. Handles complex shapes and material interfaces well. This is what most commercial EM solvers use.
- Boundary element method (BEM): only the boundary surfaces are meshed, reducing a 3D problem to a 2D one. Efficient when the source region is small compared to the total domain.
Magnetic fields from scalar potential
Once you have , extracting the field is straightforward: take the gradient and flip the sign.
Gradient of scalar potential
In the three standard coordinate systems:
- Cartesian:
- Cylindrical:
- Spherical:
The negative sign means points from regions of high toward regions of low .
Curl-free nature of magnetic fields
Any field derived from a scalar potential is automatically irrotational:
This is a vector identity, true for any smooth scalar field. It confirms internal consistency: you started by assuming (no free currents), and the scalar potential formulation preserves that condition exactly.
Comparison with vector potential approach
| Feature | Scalar potential | Vector potential |
|---|---|---|
| Defining relation | ||
| Valid when | (no free currents) | Always (no restriction) |
| Field type produced | Irrotational (curl-free) only | Solenoidal (divergence-free) only |
| Degrees of freedom | 1 scalar function | 3 component functions (minus gauge freedom) |
| Computational cost | Lower | Higher |
Use when you can (current-free regions). Use when you must (current sources present, or when you need to be automatically divergence-free).
Applications of magnetic scalar potential

Magnetostatics problems
- Permanent magnets: given a known magnetization , compute the equivalent magnetic charges and solve Poisson's equation for . The classic example is the uniformly magnetized sphere, where the internal field turns out to be uniform: .
- Magnetic circuits: in high-permeability cores, drops primarily across air gaps, analogous to voltage drops across resistors. This makes magnetic circuit analysis very natural in the scalar potential picture.
- Magnetic lenses: the focusing fields in electron optics are often computed via in the current-free bore region.
Shielding and field confinement
High-permeability materials (like mu-metal, with ) create a low-reluctance path that diverts magnetic flux away from the shielded region. In the scalar potential picture, the potential is nearly constant inside the shield, so there. Designing effective shields amounts to solving a boundary value problem for with the appropriate permeability contrast.
Magnetic materials and permeability
For linear materials with , the scalar potential formulation remains clean. For nonlinear materials (where depends on ), the equation becomes nonlinear and typically requires iterative numerical solution. Inhomogeneous materials with spatially varying lead to a modified equation:
This replaces the simple Laplacian and must generally be solved numerically.
Limitations of magnetic scalar potential
Inability to handle current sources
The entire formulation rests on . The moment free current density is present, Ampère's law gives , and no scalar potential can reproduce a field with nonzero curl. You cannot use inside or near conductors carrying current.
A partial workaround exists: in problems with localized currents (like a coil), you can define in the current-free region outside the coil, but you must handle the multivaluedness that arises when the region is not simply connected. This leads to the concept of a reduced scalar potential or total scalar potential with branch cuts, which adds significant complexity.
Need for vector potential in certain cases
When currents or time-varying fields are present, you must use the magnetic vector potential , defined by . The vector potential has no restriction on curl and automatically satisfies . The tradeoff is that you're solving for three component functions instead of one scalar.
Connection with magnetic vector potential
Gauge transformations
The vector potential is not unique. You can replace with (where is any smooth scalar function) without changing , because . This freedom is called gauge invariance.
Common gauge choices:
- Coulomb gauge: . Simplifies magnetostatics; the vector potential satisfies a vector Poisson equation .
- Lorenz gauge: . Puts the wave equations for and into symmetric form. Relevant for electrodynamics, not magnetostatics.
The scalar potential has no gauge freedom. It is uniquely determined (up to an additive constant) once boundary conditions are specified.
Helmholtz decomposition theorem
The Helmholtz theorem provides the theoretical foundation connecting the two potential approaches. Any well-behaved vector field that vanishes sufficiently fast at infinity can be decomposed as:
- The first term is irrotational (curl-free): this is the part captured by the scalar potential.
- The second term is solenoidal (divergence-free): this is the part captured by the vector potential.
For the magnetic field , the irrotational part comes from magnetic "charges" (bound poles in magnetized matter), while the solenoidal part comes from free currents. In a current-free region, only the scalar potential piece survives, which is exactly why works there.