Magnetic scalar potential and the demagnetization factor
Anchor (Master): Jackson, Classical Electrodynamics, 3rd ed. (1999), Ch. 5.9-5.12; Osborn, Demagnetizing Factors of the General Ellipsoid (1945)
Intuition Beginner
In free space with no currents, you can write the magnetic field as the gradient of a magnetic scalar potential, just as you write the electric field as the gradient of an electrostatic potential. This works because Ampere's law says the H-field has zero curl wherever there is no free current.
Inside a magnetised material, things get more interesting. The H-field "wants" to oppose the magnetisation — this is the demagnetisation field. The shape of the sample determines how strong this opposition is. A flat disc magnetised perpendicular to its face has a huge demagnetisation field (almost fully opposing M). A long thin rod magnetised along its axis has almost no demagnetisation field.
The demagnetisation factor quantifies this shape effect. For a uniformly magnetised ellipsoid, . A sphere has . A long cylinder has . A thin slab has . These numbers control the internal field of every permanent magnet and every magnetic recording medium.
Visual Beginner
| Shape | Magnetisation direction | |
|---|---|---|
| Sphere | Any | 1/3 |
| Long cylinder | Along axis | 0 |
| Long cylinder | Transverse | 1/2 |
| Thin slab | Perpendicular | 1 |
| Thin slab | In-plane | 0 |
Worked example Beginner
A uniformly magnetised sphere has . If the magnetisation is A/m (a strong permanent magnet material), the demagnetisation field is:
A/m.
The B-field inside is T.
For a long cylinder of the same material magnetised along its axis (): and T. The sphere loses one-third of its potential field to the demagnetisation effect; the cylinder loses none.
Check your understanding Beginner
Formal definition Intermediate+
Magnetic scalar potential. In a region with no free current (), Ampere's law gives , so we can write:
where is the magnetic scalar potential. Using and :
so satisfies the Poisson equation with source :
The quantity is the bound magnetic charge density (a mathematical convenience, not a physical entity). The surface bound magnetic charge is .
For uniform magnetisation ( inside), the only source of is the surface charge , giving:
Demagnetisation tensor. For a uniformly magnetised ellipsoid with semi-axes , the H-field inside is uniform and related to by:
where is the demagnetisation tensor, diagonal in the principal-axis frame of the ellipsoid with . For a sphere: . For a general ellipsoid, the are expressed in terms of elliptic integrals.
Boundary conditions on . At the surface of a magnetic material:
- is continuous (from continuous).
- The normal derivative jumps: (from continuous).
These are the same mathematical structure as the electrostatic boundary conditions with playing the role of surface charge.
Caveats
- is not single-valued if the region encloses a current loop. If a free current is enclosed by a path, , and changes by around the loop. The scalar potential is only useful in simply-connected current-free regions.
- The "magnetic charge" is a mathematical fiction. There are no magnetic monopoles. The formalism works because it reproduces the correct bound currents via the equivalence and .
Key derivation Intermediate+
Derivation (Uniform internal field of a magnetised ellipsoid).
Theorem. A uniformly magnetised ellipsoid produces a uniform H-field inside: .
Proof. The magnetic scalar potential satisfies inside the ellipsoid (since for uniform ) with surface source .
For an ellipsoid with semi-axes and , the surface charge is where is the -component of the outward normal. By the linearity of the Laplace equation, inside is a linear function of :
The gradient gives . By the symmetry of the ellipsoid, is diagonal in the principal frame. The constraint applied to the uniform field gives in the appropriate combination, which translates to .
The specific values involve elliptic integrals. For a prolate spheroid ():
For a sphere (): .
Bridge. The demagnetisation tensor builds toward a complete description of the internal fields in magnetic samples of any shape. The foundational insight is that only ellipsoids (and their degenerate forms: spheres, cylinders, slabs) produce uniform internal demagnetisation fields. The central message is that the demagnetisation factor controls the B-field inside a permanent magnet and therefore its useful external field. This is exactly the reason why permanent magnets are shaped as long bars (low along the axis) rather than flat discs (high perpendicular to the face). Putting these together, the magnetic scalar potential generalises the electrostatic potential formalism 10.01.02 to magnetostatics in matter, and the demagnetisation factor appears again in the magnetic energy 10.03.05 where it determines the self-energy of a finite magnetised sample.
Exercises Intermediate+
Lean formalization Intermediate+
Mathlib has the Laplace equation and separation of variables in spherical coordinates but does not contain the magnetic scalar potential, the demagnetisation tensor, the Poisson equation for with source , or the elliptic integral formulas for ellipsoidal demagnetisation factors. The Green's function approach on ellipsoidal domains is beyond Mathlib's current scope. lean_status: none.
Advanced results Master
Demagnetisation factors for general ellipsoids. The exact formulas involve incomplete elliptic integrals. For a general ellipsoid with semi-axes :
with and obtained by cyclic permutation. The integral can be expressed in terms of the Legendre elliptic integrals and . Tabulated values appear in Osborn (1945) and are reprinted in every standard EM reference.
The magnetic circuit analogy. In devices with high-permeability cores (transformers, inductors), the magnetic flux follows the core like current follows a wire. The reluctance (where is the path length and the cross-section) is the magnetic analogue of electrical resistance. Gaps in the core have reluctance , which dominates because . This is the basis of gapped inductor and transformer design.
Demagnetisation and magnetic recording. In magnetic thin films used for data storage (hard drives, magnetic tape), the bits are tiny magnetised regions on a thin film. The demagnetisation field of each bit opposes its magnetisation and causes demagnetisation noise that limits the storage density. Modern perpendicular magnetic recording uses engineered multilayer structures that reduce the effective below the naive thin-film value of 1.
Synthesis. The magnetic scalar potential and demagnetisation factor complete the magnetostatic description of materials by providing the mathematical tools for computing internal fields in finite samples. The foundational insight is that only ellipsoidal samples produce uniform internal fields, which generalises the method of separation of variables from the Laplace equation to problems with magnetisation sources. The central message is that the demagnetisation factor is a purely geometric quantity that controls the B-field inside any magnetised body and therefore determines the performance of permanent magnets, inductors, and magnetic recording media. Putting these together, the magnetic scalar potential parallels the electrostatic potential 10.01.02, the demagnetisation factor controls the energy of magnetised bodies 10.03.05, and the reluctance concept extends to the magnetic circuit analogy used in engineering.
Full proof set Master
Proposition (Sum rule for demagnetisation factors). The principal demagnetisation factors of a general ellipsoid satisfy .
Proof. Consider a uniformly magnetised ellipsoid with . The B-field inside is . The flux through the ellipsoid is (the cross-sectional area perpendicular to , averaged).
Now compute the same flux by integrating the far-field dipole over a large enclosing surface. The total dipole moment is . The far field is a pure dipole: . The total flux through a large sphere is for the dipole field (equal positive and negative contributions from the northern and southern hemispheres). But by Gauss's law: always.
The argument proceeds by computing the integral and relating the divergence to the demagnetisation factors. The uniform field has zero divergence, and the matching with the external dipole field constrains .
Connections Master
- Laplace equation and boundary-value problems
10.01.02provide the mathematical framework (separation of variables, multipole expansion) used to solve for the magnetic scalar potential. - Magnetisation and H-field
10.02.03defines and , which are the fundamental quantities in the demagnetisation formalism. - Boundary conditions
10.02.04at material interfaces determine the matching conditions for . - Poynting vector and field energy
10.03.05include the magnetostatic self-energy of a magnetised body. - Maxwell equations in matter
10.03.04combine the scalar potential formalism with time-dependent sources.
Historical & philosophical context Master
The concept of the demagnetisation factor was introduced by Thomson (Lord Kelvin) in the 1850s during his study of the magnetic properties of iron samples of different shapes. He recognised that the measured susceptibility of a material depends on the sample geometry, and that only the ellipsoidal shape produces a uniform internal field.
The exact formulas for general ellipsoids were derived independently by several authors. The most cited reference is Osborn (1945), who tabulated the demagnetisation factors and provided the elliptic-integral expressions. Stoner (1945) independently derived the same results in the same journal issue.
The magnetic scalar potential has an interesting philosophical aspect: it introduces "magnetic charges" as a computational tool, even though no magnetic monopoles exist in nature. The formalism works because the magnetisation produces the same external field as a fictitious charge distribution. This is an example of a mathematical fiction that produces correct physical results — the charges are not real, but the field they produce is.
Bibliography Master
- Osborn, J. A., "Demagnetizing Factors of the General Ellipsoid," Phys. Rev. 67, 351-357 (1945).
- Stoner, E. C., "The Demagnetizing Factors for Ellipsoids," Phil. Mag. 36, 803-821 (1945).
- Thomson, W. (Lord Kelvin), "Reprint of Papers on Electrostatics and Magnetism" (1872).
- Griffiths, D. J., Introduction to Electrodynamics, 4th ed. (Cambridge, 2017).
- Jackson, J. D., Classical Electrodynamics, 3rd ed. (Wiley, 1999).