Magnetic Boundary Conditions
The magnetostatics of vacuum ended with a complete set of crossing rules: at a current sheet, glides through untouched while jumps by . Then the chapter filled space with matter, and the rules need renegotiating — not because the old ones fail (they hold verbatim, bound currents included), but because at a material surface the bound current is precisely the thing you don't know yet. Writing the tangential rule with and total current is true and useless; the chicken-and-egg escape is the same one that motivated in the first place. This article derives the media crossing rules: continuous always, jumping only by the free surface current — usually zero — and, as the fine print, jumping by the magnetization mismatch, the boundary-value voice of . Two dividends follow. For linear media the rules combine into a refraction law, , with a consequence worth staring at: field lines meeting iron at almost any angle are bent nearly parallel to the surface inside it, and exit the far side essentially perpendicular. Iron does not merely respond to flux — it collects and pipes it, which is why transformer cores, recording heads, and mu-metal shields work at all. Second, the rules resurrect the demagnetizing field quantitatively: the shape factors (slab 1, sphere , needle 0) that decide how much of a material's susceptibility you actually measure — for soft iron shaped into a sphere, a of a thousand masquerades as three. The time-dependent upgrade of these rules — where induced fields join the ledger — waits for the electrodynamic boundary conditions at this chapter's far end. Here: static interfaces, magnetized matter, and the exact geometry of the jump.
- is continuous across every interface — vacuum, magnet, iron, superconductor — because admits no magnetic surface charge. This rule crossed unchanged from the vacuum chapter.
- The workhorse: — the tangential jump of is set by the free surface current alone. At an ordinary material interface and is continuous even though jumps by the (unknown-in-advance) bound current.
- The fine print: — normal jumps wherever magnetization ends, the boundary form of .
- Linear media: . Into iron (), a line at 1° from the normal in air bends to 89.3° inside; leaving iron, lines exit almost exactly normal. High- material gathers flux and pipes it.
- Shape rules the measurement: a uniformly magnetized body generates (demagnetizing field), and a measured susceptibility is — negligible correction for para/diamagnets, everything for soft ferromagnets.
- KEY IDEA: continuous (no monopoles, no exceptions); jumps only by free surface current — so at bare material interfaces both are continuous, and those two continuities are the glue of every magnetostatic boundary-value problem.
is continuous always; jumps by — free current only, because was built to hide the bound currents that make 's jump incomputable in advance.
Where this lives today
Magnetic recording lives and dies by these rules. A hard-drive write head is a flux pipe engineered to microns: a high- yoke gathers the write coil's flux (refraction law), pipes it to a nanoscale gap, and the fringing field at the gap — shaped entirely by the crossing rules between yoke, gap, and medium — flips bits in a granular film chosen for its own boundary-condition properties. Modern perpendicular recording added a soft underlayer beneath the medium precisely to close the magnetic circuit through the bit being written: a boundary-conditions redesign, worth an order of magnitude in areal density when it shipped in the mid-2000s. At the other end of the scale, magnetically shielded rooms for MEG (magnetoencephalography — femtotesla brain fields) and for atomic-clock and fundamental-physics laboratories are nested mu-metal shells, sometimes seven layers deep, each layer a working instance of the flux-gathering limit; the record facilities suppress ambient fields by factors beyond . Their design formula — the shell suppression factor with its scaling — belongs to the linear-media article's sphere machinery, but every qualitative decision (why walls must overlap at seams, why holes for cables are piped through high- tubes, why layers are separated by air gaps) is read directly off the refraction law and the continuity pair. And in every finite-element magnetics code — the daily tool of motor, transformer, and MRI-magnet designers — equations (1) and (3) are literally the interface conditions the solver imposes between mesh regions; the crossing rules are not used by the software so much as they are the software's contract between elements.
Origins · 1 minArnold Sommerfeld and how this was discovered
Sommerfeld ran the most productive school of theoretical physics of the twentieth century — Heisenberg, Pauli, Debye, Bethe, and Pauling trained in his Munich seminar, and he was nominated for the Nobel Prize eighty-four times without winning. His own fingerprints are on every corner of this article's subject. His 1896 solution of diffraction by a half-plane was the first rigorous boundary-value solution of Maxwell's equations, an existence proof that interfaces could be treated exactly rather than by hand-waving; his radiation condition disciplined what "boundary condition at infinity" means; and his Lectures on Theoretical Physics — six volumes distilled from four decades of teaching, written out in his seventies — fixed the pillbox-and-loop presentation of interface conditions that this article and every modern textbook run verbatim. Sommerfeld's motto for the trade was that the special problems, worked honestly, teach the general theory: the magnetized sphere, the refracting field line, and the shielded cavity were all seminar staples. He also gave physics the fine-structure constant and the first quantum corrections to the Bohr atom — but it is in the grammar of boundary-value electromagnetism that working physicists quote him daily, usually without knowing it.
The physical picture
Start from what is already banked. The vacuum crossing rules — derived by pillbox and thin loop where this track met its first current sheet — say continuous, jumping by with the total surface current. Those statements are exact at a magnetized surface too: a bar magnet's skin carries a genuine bound sheet , and jumps across it exactly as the vacuum rule demands. So why a new article? Because at a material boundary the total-current rule has the logical structure of a trap. You want the field; the field's jump needs ; needs ; and in any material that responds to fields, needs the field. The tangential- condition is true, and circular. The way out is the same bookkeeping swap that built . Since involves free current only — the current you dial, the current you know — the thin-loop argument run on produces a jump condition with only knowns on the right-hand side. At the vast majority of interfaces (magnet–air, core–gap, iron–iron) no free sheet flows, and the condition collapses to a clean continuity: matches. Pair it with 's unconditional continuity and you have two computable glue conditions, one from each field — exactly the pattern the dielectric chapter established with and , with the normal/tangential roles swapped. The swap is not decoration; it is the deep grammar of the two theories. Electric fields begin on charges, so the free-source condition lives in the perpendicular component ( jumps by ); magnetic fields circulate around currents, so the free-source condition lives in the tangential one ( jumps by ).
One more piece of vacuum kit crosses the door intact: the instruments themselves. The pillbox and the thin loop are local probes; they shrink to zero size, every smooth surface flattens in that limit, and so every rule below holds pointwise on curved interfaces — magnet poles, toroidal cores, shield shells — with and the fields read locally. What changes is only which law we feed the instruments.
The crossing rules for magnetized media
Conventions for everything that follows: points from medium 2 into medium 1; superscripts and are components along and transverse to ; is the free surface current (A/m), and each medium carries its own magnetization just inside the surface.
The goal is the complete set of magnetostatic crossing rules at a material interface: continuous, jumping by the free surface current only, and the less-advertised normal- condition that follows from 's nonzero divergence. The strategy deliberately reuses the vacuum instruments — this derivation's interest is not the geometry (that was settled at the current-sheet article) but which law goes into which instrument, because that choice is what turns a true-but-circular statement into a computable one. Watch the right-hand sides: everything hangs on what survives the thin-limit squeeze.
Step 1. Pillbox on the divergence laws. Straddle the surface with a thin cylinder, faces of area , wall height . Feeding it repeats the vacuum result verbatim — no magnetic surface charge exists to be enclosed, in matter or out of it:
where: both components are taken along at the same surface point. This rule is unconditional — it survived the passage into matter untouched because matter contains currents, not monopoles. But the same pillbox fed the auxiliary field's divergence law, , encloses the "magnetic surface charge" of the pole fiction, across the interface, and returns
where: . Normal jumps wherever magnetization terminates — at a magnet's flat pole face ( drops from to ), steps by . Equation (2) is the boundary-value voice of the fine print the auxiliary-field article prosecuted: is not divergence-free, and its divergence is fed by the ends of .
Step 2. Loop on the curl law — the computable side. Now the thin rectangle: long sides parallel to the surface, short sides . Fed via Stokes, the circulation reads the tangential mismatch while the spanning ribbon catches only free sheet current, (bound currents are absent from this law by construction — that was the entire point of minting ). Running the loop in the two independent tangential orientations, exactly as the vacuum derivation did, and assembling:
where: the jump is tangential, perpendicular to , with the component of along the free current continuous. At the overwhelmingly common interface — magnet–air, core–gap, iron against iron — nobody has installed a free sheet, , and (3) collapses to the working continuity .
Step 3. Audit against the total-current rule. The vacuum rule must be — and is — the same physics. Write and subtract: the tangential part gives , and the magnetization mismatch supplies precisely the bound sheet, across the surface being with — the two descriptions are one, cell for cell. Nothing was gained in content; everything was gained in usability, because (1) and (3) contain no unknown sources. Why the electric swap is exact and not a mnemonic: jumps by because free charge is a divergence-side source; jumps by because free current is a curl-side source. Each auxiliary field carries the free-source condition in the component its own law governs, and each fundamental field (, ) carries an unconditional continuity where nature supplies no source at all.
The pair to memorize is the computable pair: and continuous (bare interface). The pair that jumps — and — jumps by amounts the material decides after the problem is solved. Every magnetostatic boundary-value method in this chapter is a scheme for imposing the first pair; in scalar-potential language ( where ) they read: continuous, and continuous for linear media — the exact grammar of the dielectric matching problems, ported.
The refraction law — how iron pipes flux
For linear media the two continuities talk to each other through , and their conversation is a geometry statement. Let a field line cross from medium 1 into medium 2 with no free sheet on the interface, making angles , with the normal.
Go deeper · Derivation B · 2 minField-line refraction and the flux-gathering limit
The goal is the refraction law and its high-contrast reading — the single most consequential picture in applied magnetostatics: high- material swallows field lines and runs them nearly parallel to its own surface. The strategy is two lines of algebra on the two continuities; the payoff is all in the limits, so watch what happens as reaches the thousands that soft iron actually delivers.
Step 1. Impose the pair. Normal components: , from (1). Tangential components: continuous means , from (3) with and the linear constitutive law spent per medium.
Step 2. Divide. The unknown magnitudes cancel:
where: angles are measured from the normal, so means grazing along the surface. Field lines bend away from the normal in the higher- medium — Snell's law's cousin, with two structural differences worth registering: it is the tangents (not sines) that scale, and the bending is typically enormous, because for iron against air is – where optical index ratios struggle to reach .
Step 3. The high-contrast limits, both directions. Entering iron (, ): a line arriving just off the normal in air continues at , i.e. — inside the iron the line runs essentially parallel to the surface, whatever it was doing outside. Leaving iron: a line at inside exits into air at , — B emerges from a high- surface almost exactly along the normal, the magnetic twin of "E leaves a conductor perpendicular." Iron surfaces are to nearly what equipotential surfaces are to .
Step 4. Read it as engineering. Combine the two limits and a high- bar in an ambient field becomes a flux pipe: lines dive in normal at one region, run along the material's interior (the tangential- inside is enhanced — matching means ), and exit normal elsewhere. Wrap the pipe around a cavity and the ambient flux is guided around the protected volume instead of through it: magnetic shielding. How much the interior field is suppressed — the famous shell factor of mu-metal design — is the linear-media article's business, delivered by its sphere-and-shell machinery; this derivation owns the mechanism, and the mechanism is (4). Why the tangents and not the sines: light refracts by matching wave phase along the interface — a kinematic condition on wavefronts. Field lines refract by conserving flux () while matching circulation () — a statics condition on sources. Same geometry vocabulary, entirely different physics; the tangent form is the fingerprint of the static origin. *The computed limits are and ; the conductor analogy is exact in the limit, where the iron surface becomes a surface of constant scalar potential .*
Shape strikes back — demagnetizing factors
The crossing rules have one more piece of unfinished chapter business: the demagnetizing field, met twice already as a bare fact — the magnetized sphere's interior , and the susceptibility article's warning that a measured can be a property of the shape rather than the material. Both are boundary-condition phenomena, and the rules just derived let us own them.
Go deeper · Derivation C · 3 minDemagnetizing factors and the shape-corrected susceptibility
The goal is the working demagnetization kit: the factor in for the three canonical shapes, its trace identity, and the correction formula that decides when a magnetometer reads the material and when it reads the geometry. The strategy is to work the extreme shapes directly from the crossing rules — that is the derivation's point, that is nothing but equations (1)–(3) expressed per geometry — then assemble the correction by self-consistency, the same feedback bookkeeping the dielectric chapter ran for its cavity fields.
Step 1. The slab, magnetized through its faces. Take an infinite slab, uniform perpendicular to its faces, no free current anywhere. Outside: far above and below an infinite slab all sources look like two opposite, uniform pole sheets ( where terminates, per equation (2)), the exact magnetic image of the charged-capacitor geometry — their fields cancel outside, so and . Inside, apply the rules across a face: continuous gives , hence
where: the entire magnetization is spent fighting itself — a flat plate magnetized through its thin dimension generates the maximum possible demagnetizing field. (This is the precise magnetic twin of the polarized slab, whose and the dielectric chapter exhibited; the roles of the vanishing field swap, .)
Step 2. The needle and the sphere. A long needle magnetized along its axis: the pole sheets are exiled to the far ends, their at the waist falls off as end-effects, and the crossing rule that matters is the tangential one along the flank — continuous with gives : , — none of the magnetization is wasted. The sphere sits exactly between the extremes: the field-of-a-magnetized-object article solved it outright, , so — and the crossing rules audit it: at the pole, jumps by (from inside to outside ✓, the dipole's polar value); at the equator, is continuous ( both sides ✓). For a general ellipsoid, uniform gives uniform with shape factors along the principal axes obeying the trace identity
where: the slab (), needle (), and sphere () are the identity's three famous rows. The identity itself is the pole-fiction twin of the depolarization sum rule the Lorentz-cavity article exhibited for dielectrics — same potential theory, relabeled.
Step 3. The feedback loop — measured versus intrinsic susceptibility. Now put a linear body (, demagnetizing factor along the applied direction) into an applied field . The field inside is the applied field minus the self-generated demagnetizing field:
and the magnetometer, which knows only what it applied, reports
where: the correction term is the whole story. For diamagnets and paramagnets, : the correction is parts in or less and shape is irrelevant — the Gouy-balance numbers of the susceptibility article needed no shape correction, and now we know why. For a soft ferromagnet with measured on a sphere: — the reading is entirely geometry, within half a percent of the shape-saturated limit . Measuring the material demands the needle geometry (toroids and long strips in practice, ), which is precisely how honest permeability tables are produced. Why the shape-saturated limit is a feature, not a failure: when the body arranges its magnetization so that — the magnetic mirror of a conductor screening . The sample has become a flux-gathering object whose response is capped by how much demagnetizing field its own shape can generate; the material's greediness beyond that cap is invisible from outside. *The sphere pole/equator audits close against the magnetized-sphere solution (, exterior dipole); equation (5) at , gives , and at (aluminum) the correction is relative — negligible.*
Limiting cases
| case | result | meaning |
|---|---|---|
| bare interface, | and both continuous | the computable glue pair — the default for every material boundary |
| free sheet present (wound coil surface) | jumps by | the driven case: windings on a core, sheet conductors |
| rules collapse to the vacuum current-sheet set | consistency with the magnetostatic-field boundary article ✓ | |
| lines inside 2 run at ; in medium 1 meets the surface normally | flux piping; iron surface ≈ magnetic equipotential | |
| slab ⊥-magnetized | : , | maximal self-defeat; twin of the polarized slab with |
| needle ∥-magnetized | : , | zero demagnetization — the honest-measurement geometry |
| reading saturates at pure geometry; material greediness hidden | ||
| time-varying fields | tangential rules gain induced-field terms | deferred by name to the electrodynamic boundary conditions (E6) |
Worked examples
1 · A field line's journey through an iron plate (confidence builder)
An ambient field in air meets a large soft-iron plate () at from the normal. Follow the line in, along, and out, and find the tangential amplification inside.
Step 1. Entering. Refraction law (4), air iron: , so . One degree off normal outside becomes two-thirds of a degree off the surface inside: the line has been captured into the plate.
Step 2. What amplifies and what doesn't. Across the entry face, is continuous — the normal flux density is whatever it was, . The tangential component obeys continuity: — a factor 5000 amplification of the along-surface flux density. The iron is not creating flux (no rule allows that); it is concentrating lines sideways into itself from a huge catchment of the surrounding air, which is why the picture shows neighboring lines converging on the plate.
Step 3. Exiting. At the far face, iron air with the line now at : — it leaves at , restored to nearly normal exit. Enter normal, travel parallel, exit normal: the plate is a flux pipe, and a closed loop of such plate — a transformer core — pipes essentially all of its flux around the magnetic circuit, which is why the gapped-ring analysis of Ampère's law for H could assume the same flux threads iron and gap.
2 · One material, two thermometers — the sphere that lied about its susceptibility (exam level)
A student measures a small sphere of annealed soft iron in a weak applied field and reports . A handbook lists the material's low-field susceptibility as . Reconcile, and state what measurement would have recovered the handbook number.
Step 1. Apply the correction formula. Sphere: . Equation (5) predicts — the student's 2.99 is the correct measurement of a true material of ; nothing is broken but the geometry.
Step 2. Diagnose the regime. : the reading sits within of the shape-saturated ceiling . Check the interior field: — the sphere's own pole sheets have annihilated 99.7% of the applied field before the material gets to respond to it. In this regime the experiment measures to three digits and the material to zero digits: doubling to would move the reading only to .
Step 3. Fix the experiment. Shrink . A needle-shaped sample along the field, or better the standard laboratory geometry — a toroid, which is a needle bent to bite its own tail, exactly, no poles anywhere — removes the feedback: . This is why permeability standards are measured on ring cores with a winding, never on spheres or plates, and why the susceptibility article's warning about iron's "–" tables carries the silent footnote toroidal geometry, stated field point.
Step 4. The contrast case. Run the same sphere logic on aluminum, : the correction factor is — a 7-parts-per-million effect, far below any balance's resolution. Shape corrections are everything for ferromagnets and nothing for para/diamagnets; equation (5) contains both verdicts.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §6.3.3 (Eqs. 6.25–6.27) and Problem 6.24 · Jackson, Classical Electrodynamics, 3rd ed., §5.8–5.12 · Purcell & Morin, Electricity and Magnetism, 3rd ed., Ch. 11 · Zangwill, Modern Electrodynamics, §13.3 Constants used: (CODATA classical value); (typical soft iron, illustrative). Ellipsoid values for slab, needle, and sphere are worked directly from the crossing rules; the mu-metal shell suppression factor is derived in the Linear and Nonlinear Magnetic Media article, while only its mechanism is treated here. Worked numbers: / refraction pair, at , aluminum correction .
Builds on: Ampere's Law for H · The Auxiliary Field H · Bound Currents · Magnetic Permeability
Leads to: Linear and Nonlinear Magnetic Media · Field of a Magnetized Object · Magnetic Susceptibility
Why do we need boundary conditions at all when the differential equations hold everywhere?
Because at an idealized sharp interface the fields are not differentiable — steps from one value to another across zero thickness, and derivatives of steps are not functions the differential equations can digest pointwise. The integral forms of the same laws, applied to instruments (pillbox, loop) that straddle the step, remain perfectly well defined and encode the differential laws' content as jump conditions. Nothing new is being postulated: equations (1)–(3) are , , and read at point-blank range. In a real material the "step" is a few atomic layers, the fields ramp smoothly through it, and the boundary conditions are the exact statement of what survives when you observe from any distance large compared to those layers.
If the B-field rules from the vacuum chapter are still exactly true, why not just use them and skip H entirely?
You can — in principle. 's rules with total current are exact at every material surface. The obstruction is practical: the bound sheet appearing in 's tangential jump is determined by the magnetization, which in any responsive material is determined by the field you are trying to find. The -only formulation is a fixed-point problem with the unknown on both sides. The formulation moves every unknown source into the field's own definition and leaves only free current — experimentally dialed, known in advance — on the right-hand side. For hard permanent magnets (where is genuinely fixed) the -route is workable and sometimes used; for everything soft or linear, the -route is the only one that terminates.
Is the refraction law really analogous to Snell's law? The formula looks different.
The analogy is honest but strictly geometric: a directed line crosses a surface and changes direction by a law involving a material ratio. The physics differs at the root. Snell's law matches the phase of a propagating wave along the interface — a kinematic statement, sines involved, refractive indices of order one. The field-line law matches flux ( continuous) against circulation ( continuous) for a static field — tangents involved, and material ratios of order thousands. Two consequences of the difference: static refraction is far more violent than optical refraction ever gets (a 1° line bends to 89.3°), and there is no total-internal-reflection analog — the tangent law has a solution for every incident angle, so no flux is ever "trapped" at the interface; it is merely redirected.
What physically creates the demagnetizing field — the material is not doing anything against itself on purpose?
The pole sheets. Wherever magnetization terminates against a surface (or diverges in the bulk), equation (2) says steps — equivalently, the pole fiction places effective surface charge there, and those sheets source an that runs from north-face charge to south-face charge — through the material's inside, hence against . Shape decides how much: a slab magnetized through its faces puts two big opposing sheets right next to each other (maximal internal field, ); a long needle exiles its little end-sheets to infinity (); a sphere is exactly intermediate (). Nothing is purposeful — the demagnetizing field is just the magnetostatics of the configuration the magnetization itself created, which is also why it is the term that makes the self-consistency loop in close.
Why is a toroid the gold-standard geometry for measuring magnetic materials?
Because it is the one convenient shape with no poles at all. Magnetize a ring along its circumference and never terminates — it runs head-to-tail forever, on every surface and inside — so no pole sheets, no demagnetizing field, exactly, not approximately. The applied from a uniform winding (Ampère's law for H: , material-blind) is then the true internal field, and the measured response is the material's own or , uncorrected. Every serious B–H curve in a materials handbook was traced on a ring core for this reason; the needle is merely the best open geometry, with small end corrections, for samples that cannot be made into rings.
Do these conditions apply to superconductors?
Yes, and instructively — a superconductor in the Meissner state is the boundary conditions' most extreme client. Flux expulsion means inside; continuity then forces just outside the surface: external field lines must meet a superconductor tangentially, the exact opposite of the soft-iron case where they arrive normally. The tangential condition runs in its driven form: a free surface current (the screening supercurrent, flowing in a penetration-depth skin) takes whatever value requires to hold the interior at zero. In the linear-media dialect a superconductor behaves as the endpoint — perfect flux expeller, mirror image of iron's perfect flux collector — a limit the linear-media article's sphere formulas contain as ; the quantum mechanism behind it is honestly deferred to superconductivity itself.
At a corner or edge of a magnetic body, which normal do I use?
None — the rules as stated need a tangent plane, and a corner has two. The pillbox/loop instruments assume the surface flattens as they shrink, which fails exactly at edges; there the honest statement is that each smooth face carries its own conditions up to the edge, and the fields near the edge develop the same kind of local singular behavior that electrostatics found at conductor corners (field enhancement at exterior edges, suppression in reentrant ones), governed by the opening angle and the permeability ratio. In practice this is why gapped cores and pole pieces are radiused or chamfered — sharp iron corners concentrate flux and saturate first — and why finite-element solvers refine their meshes at every material edge. Away from the singular line, at distances small compared to the body but large compared to zero, the flat-interface rules resume verbatim.