Electromagnetism

The window a spinning magnet floats in

No arrangement of fixed magnets can hold another magnet still in mid-air, and a spinning top made of a magnet floats above a magnetised base for minutes. The spin does not cancel the theorem; it changes what the top's energy depends on, from one component of the field to the field's strength, which can have a minimum. But the minimum exists only in a band of height a few millimetres thick, for a weight right to a couple of per cent, at a spin neither too slow nor too fast, and the well holding the top is about as deep as the energy of a twenty-gram weight dropped fifty micrometres.

Assumes: Nothing can be held still by a static field · The loop that behaves like a needle

Nothing can be held still by a static field proved that a charge placed among fixed charges always has somewhere to fall, because a potential obeying Laplace’s equation has no interior minimum, and that the same is true of a magnet of fixed orientation among fixed magnets. It named the escapes: change the sign of the response, as a diamagnet does; make the field vary in time; or let the orientation move. The last was dispatched in two paragraphs. A spinning magnet’s axis follows the local field, its energy depends on the field’s strength rather than on one component of it, and the strength of a field can have a minimum where its components cannot.

That is correct, and it is about a tenth of the story. A magnetic top floating above a ring magnet — sold since the 1990s as the Levitron, after a mechanism Roy Harrigan patented in 1983 — is famous among physicists for how hard it is to get working. The base must be levelled, the top weighed out with washers to a fraction of a gram, spun up within a range, and it floats for a couple of minutes before air friction slows it out of the range and it falls. Every one of those fussy requirements is the escape from Earnshaw’s theorem being narrow, and each can be computed.

The device had an awkward reception. Harrigan, an inventor working on his own, found that physicists he approached assumed the theorem settled the matter and that a floating magnet must conceal a battery or a trick, and his patent went largely unnoticed. Bill Hones and his father Edward developed a commercial version from the idea in the early 1990s and sold it from 1994, and it was the toy on laboratory desks, rather than the patent, that set theorists to work out why it worked.

A strength, not a component

A magnet with moment μ\boldsymbol\mu in a field B\mathbf B has energy −μ⋅B-\boldsymbol\mu\cdot\mathbf B. If its orientation is held fixed — vertical, say — the energy is ∓μBz\mp\mu B_z, a component of the field, and one component of a field in empty space satisfies Laplace’s equation just as an electrostatic potential does. It has no minimum. A fixed magnet always slides off somewhere.

Now spin the magnet about its axis. A spinning body’s axis resists being turned; a torque on it produces not a turn but a sideways precession. The field exerts a torque μ×B\boldsymbol\mu \times \mathbf B on the top, and the axis precesses about the local field direction. If the precession is fast compared with how quickly the field direction changes as the top drifts about, the axis keeps its angle to the field as the field turns — exactly the adiabatic following that the drift that does not care what the charge is found keeps a gyrating particle’s magnetic moment constant as it moves through a slowly changing field. The top’s moment then stays anti-parallel to the field wherever it goes, and its energy is

U=+μ ∣B∣+mgz.U = +\mu\,|\mathbf B| + m g z.

The magnitude ∣B∣|\mathbf B| is not a harmonic function. Its square can have minima, and so can it. The top behaves, in effect, like a diamagnet: a body that seeks low field.

A well fifty micrometres deep

The base is a magnetised ring, here modelled as the field of a single current loop ten centimetres across, which is what a loop that behaves like a needle found any small magnet to be in disguise. On its axis the field falls with height as (1+z2/a2)−3/2(1 + z^2/a^2)^{-3/2}, and a twenty-gram top with a moment of 0.6 ampere-square-metres, held against the field, feels an upward push equal to μ\mu times the field’s rate of fall.

The well a field-following magnet sits in. The energy of a 20 g magnet with a moment of 0.6 A·m² on the axis of a ring-shaped base, modelled as one loop 10 cm across, against height, in microjoules from the floating position; gravity included. With its moment held opposite to the base's field — the arrangement a spinning top keeps — the energy is μ|B| + mgz, and it has a minimum 2.82 cm up, where the field is 12.7 mT and its upward fall exactly balances the weight. The well is extraordinarily shallow: the barrier below it, 2.20 cm up, is 10.3 μJ high, the energy the top would gain falling 53 μm. Pushed down past it, the top falls onto the base. Flipped to lie along the field, the same magnet's energy −μ|B| + mgz falls by about 0.4 μJ for every micrometre it descends, has no minimum anywhere on the axis, and is too steep to draw here. The curve says nothing about sideways motion.
Fig. 1 The energy of a 20 g top held against the field on the axis of a ring 10 cm across, in microjoules from where it floats, 2.82 cm up in 12.7 mT. The barrier below, 2.20 cm up, is 10.3 μJ — the energy of the top falling 53 μm. Shaded: the heights stable in every direction.

The top floats 2.82 centimetres up, where the push equals the weight. Along the axis that balance is a minimum of energy, but a remarkably shallow one: half a centimetre lower the energy has risen by only ten microjoules and then falls away towards the base. Ten microjoules is the energy a twenty-gram top gains falling fifty-three micrometres. A careless lift that lets the top dip half a centimetre is enough to lose it. The magnetic forces involved are not small — the push holding the top up is its whole weight — but the curvature of the balance is, because the top is floating close to the height at which the field’s fall stops steepening, and that is not an accident. It is where the trap has to be.

Two curvatures, one band

Being a minimum along the axis is not enough. The top must also be pushed back when it drifts sideways, and the two conditions pull in opposite directions.

Close to the axis the field strength at height zz and distance ρ\rho off the axis is, to second order,

∣B∣≈B+ρ2(B′28B−B′′4),|\mathbf B| \approx B + \rho^2\left(\frac{B'^2}{8B} - \frac{B''}{4}\right),

where BB and its derivatives are taken along the axis. Vertical stability needs the field’s fall to be decelerating, B′′>0B'' > 0. Sideways stability needs the bracket to be positive, B′2>2BB′′B'^2 > 2BB''. For a loop the first holds only above half a radius, the inflection point of the axial field; the second holds only below 2/5\sqrt{2/5} of a radius, 0.632, above which the field’s own curvature overwhelms the term that makes the strength rise off-axis.

Two stiffnesses, positive together only in a band. The stiffness of the trap for a field-following magnet above a ring base, against height in units of the ring's radius: vertically, proportional to the curvature of the field strength along the axis; sideways, proportional to the curvature of |B| across it, B′²/4B − B″/2. Below half a radius the field's fall is still steepening, the vertical stiffness is negative, and a magnet nudged downward keeps going. Above √(2/5) = 0.632 radii the field strength no longer rises away from the axis, the sideways stiffness is negative, and a magnet drifts off to the side. Only between 0.500 and 0.632 radii are both positive — 6.6 mm of height for a 10 cm ring. For the nominal top, floating at 0.565, the trap's natural frequencies are 1.36 Hz vertically and 0.82 Hz sideways.
Fig. 2 The trap’s vertical stiffness, from the axial curvature of the field, and its sideways stiffness, from the curvature of |B| across the axis, against height in ring radii. Both are positive only between 0.500 and 0.632 radii: 6.6 mm of height for a 10 cm ring. The nominal top floats at 0.565, where the trap’s frequencies are 1.36 Hz vertically and 0.82 Hz sideways.

So the trap is a band. Below it the top is laterally stable but falls; above it the top holds its height but slides off. For a ring ten centimetres across the band is 6.6 millimetres thick. Within it the restoring forces are soft — the top swings to and fro sideways at less than once a second and bobs vertically at a little more — which is why a floating Levitron visibly wanders before it settles.

The sideways stiffness is the surprising half, and it is worth checking directly rather than through the expansion. The figure below computes the field of the ring off its axis, by adding up the contributions of each element of the loop, and draws the top’s energy against sideways displacement at its floating height, for two cases.

The same magnet, held still and spinning. The energy of the top against sideways displacement at its floating height, 2.82 cm above a 10 cm ring, computed from the field of the ring off its axis. If the top's moment is held pointing straight down, its energy follows one component of the field, and that component falls away from the axis: −112.5 μJ at 15 mm out. The top slides off, as Earnshaw's theorem requires of any fixed magnet in a static field. If the moment turns to follow the local field's direction, as a fast-spinning top's axis does, its energy follows the field's strength, which rises away from the axis at this height: +45.9 μJ at the same distance. The well exists only because the magnet's orientation is not fixed.
Fig. 3 The top’s energy against sideways displacement at its floating height, from the ring’s field computed off the axis. With its moment held vertical the energy falls away, −113 μJ at 15 mm, and it slides off. With its moment following the field direction the energy rises, +46 μJ at 15 mm: a well.

The same magnet at the same height sits on a hill if its axis is clamped vertical and in a valley if its axis follows the field. Earnshaw’s theorem is intact in the first case and irrelevant in the second, and nothing changes between them but whether the orientation is allowed to move. The theorem never said the magnet could not float. It said the magnet could not float holding still.

How exactly it must weigh

The band of stable heights translates directly into a band of weights, because the height at which the top floats is wherever the field’s upward push equals its weight.

How exactly the top must weigh. The height at which the top's weight balances the field's push, against its mass as a fraction of the nominal 20 g; solid where the balance is stable in every direction. A top lighter than 96.5 per cent of nominal floats too high and slides off sideways; one heavier than 101.3 per cent finds no stable balance at all and drops — the field's push cannot exceed its value at the inflection half a radius up. The window is ±2.4 per cent of the weight, 0.96 g wide for this top. Ferrite magnets lose about 0.2 per cent of their magnetisation per kelvin, and since both magnets weaken the push falls twice as fast: a top tuned to the middle of the window leaves it after about 3 kelvin of warming.
Fig. 4 The floating height against the top’s mass as a fraction of nominal, solid where stable. A top below 96.5 per cent floats too high and slides off; above 101.3 per cent it finds no balance at all, since the push cannot exceed its value at the inflection. The window is ±2.4 per cent of the weight, 0.96 g wide.

The upward push μ∣B′∣\mu|B'| is largest at the inflection, half a radius up, so a top heavier than the push there can be held anywhere finds no balance and drops onto the base. A top only slightly lighter floats higher and higher, until above 0.632 radii it is laterally unstable and slides away. The usable range is less than five per cent of the weight — under a gram for a twenty-gram top. The Levitron ships with a set of thin washers, and finding the right combination is most of what makes it hard.

Making the base larger does not help as much as it seems to. Every condition in the band is a ratio — of heights to the ring’s radius, of the push at one height to the push at another — so a base twice as wide gives a band twice as thick in millimetres but the same ±2.4 per cent tolerance in weight, and the same sensitivity to warming. The tolerance is a property of the shape of the field, not of its size or strength, and the only way to widen it is to shape the base’s field differently, which the commercial bases do with a region of reversed magnetisation at their centre.

The window also explains the toy’s best-known foible: it works for a while in a cool room and then stops. Ferrite magnets lose about 0.2 per cent of their magnetisation per kelvin of warming. Both the top and the base weaken, so the push falls by about 0.4 per cent per kelvin, which to the trap is the same as the top gaining that fraction of its weight. A top tuned to sit 1.3 per cent from the heavy edge of the window, as the model top is, leaves it after about three kelvin. A hand’s warmth, the base sitting in sunlight, or the room heating through an afternoon is enough, and users learn to add and remove washers as the day goes on.

A diamagnet stronger than any material

The comparison with a diamagnet can be made quantitative, and it shows how much the spin buys. A diamagnetic body — water, graphite, a frog — acquires a moment proportional to the field it sits in, pointing against it, so its energy per unit volume is ∣χ∣B2/2μ0|\chi|B^2/2\mu_0 and the upward force per unit volume is ∣χ∣BB′/μ0|\chi|BB'/\mu_0. Water’s susceptibility is about −9×10−6-9 \times 10^{-6}, and to hold it up against gravity the product of the field and its gradient must reach about 1,400 square teslas per metre: the reason the magnetism classical physics forbids can float a frog only in the bore of a sixteen-tesla research magnet.

The spinning top’s moment does not grow with the field. It is permanent, about 0.6 ampere-square-metres from a few cubic centimetres of ferrite, and the spin merely keeps it pointed the diamagnetic way. Its upward force is μB′\mu B', and to hold its twenty grams it needs a gradient of only a third of a tesla per metre in a field of thirteen millitesla — fields a fridge magnet makes. Measured as if it were a diamagnet, the top behaves like a material whose susceptibility is about minus twenty: millions of times water’s, and larger in magnitude even than a superconductor’s minus one, which is the most negative value any real material can have. That is the whole commercial point. A field-following permanent magnet does better than a superconductor’s levitation, at room temperature, bought with a spin.

It also explains why the trap is so much shallower than the forces in it. A diamagnet’s energy is quadratic in the field, so it always seeks the weakest field and a field minimum is easy to make. The top’s energy is linear in the field strength, and the minimum it needs is a minimum of ∣B∣+mgz/μ|\mathbf B| + mgz/\mu — of field plus height — which exists only where the field’s fall is levelling off at just the rate the weight requires. The narrowness of the band is the price of using a linear response to do a quadratic one’s job.

A spin that is neither too slow nor too fast

The adiabatic following on which everything depends needs the spin to be in a range, and both ends can be estimated.

Too slow it flips, too fast it stops following. The rate at which the spinning top's axis precesses about the local field, against its spin, on a logarithmic scale, for a 20 g disc 3.2 cm across in the 12.7 mT field where it floats. The precession is μB divided by the spin's angular momentum, so it falls as the spin rises. Below about 12 revolutions a second the spin's angular momentum is too small to hold the axis against the field's torque, and the top, whose moment points the unfavourable way, flips over. Above about 92 a second the axis precesses more slowly than the top swings sideways in its trap, 0.82 Hz, so the axis cannot keep up with the changing field direction; it stays fixed in space, the magnet behaves as a fixed one, and Earnshaw's theorem returns. These two estimates bound the window; the published dynamical analyses find the real edges inside them, and the top is spun up past the upper one and floats once friction with the air has slowed it into the window.
Fig. 5 The precession rate of the top’s axis about the field against its spin, for a 20 g disc 3.2 cm across in 12.7 mT, with the trap’s sideways swing at 0.82 Hz. Below about 12 revolutions a second the spin cannot hold the axis against the torque and the top flips; above about 92 its axis precesses more slowly than it swings and stops following the field. Shaded, the estimated window.

Too slow, and the top simply flips. Its moment points the unfavourable way, against the field, so the field’s torque tries to turn it over, like gravity acting on a top balanced upside down. Spin holds it up for the same reason a sleeping top stays upright: the top that nods before it settles found that the axis is stable when the spin’s angular momentum is large enough against the torque, I32ωs2>4I1μBI_3^2\omega_s^2 > 4I_1\mu B. For the model top that needs about twelve revolutions a second.

Too fast, and the following fails. The axis precesses about the field at μB/I3ωs\mu B/I_3\omega_s, which falls as the spin rises. When it is slower than the rate at which the field direction changes under the top as it swings about in the trap — about once a second — the axis cannot keep up. It stays fixed in space, the top becomes a magnet of fixed orientation, and Earnshaw’s theorem returns. For the model top that happens above about ninety revolutions a second.

These are estimates of where each mechanism fails, not the boundaries of the full dynamics, which couple the spin, the precession and the swing; the published analyses of the Levitron, by Michael Berry in 1996 and by Martin Simon, Lee Heflinger and Stuart Ridgway in 1997, find the real window inside them and measure it in the laboratory. The practical consequence is in the way the toy is used: the top is spun up on a plastic plate above the base, faster than it needs, lifted to the floating height, and released. It floats while air resistance slows it through the window and falls when it reaches the bottom. Spun too fast and released at once, it drifts off sideways; spun too slow, it flips immediately.

The same trap for atoms

The mechanism is not confined to toys. A neutral atom with a magnetic moment has an angular momentum too — its spin — and in a field it precesses about the field direction at the Larmor frequency, exactly as the top’s axis does. An atom whose moment is anti-parallel to the field has energy +μ∣B∣+\mu|B|, seeks low field, and can be held at a minimum of ∣B∣|B| made by a set of coils. Every magnetic trap for cold atoms, and the magnetic bottles in which ultracold neutrons are stored for many minutes to measure the neutron’s lifetime, is a Levitron with the spin supplied by quantum mechanics instead of a finger.

The two failure modes come too. Where the field is zero the Larmor precession stops, the atom’s spin can no longer follow the field direction as the atom passes through, and it flips into the state that is expelled — the atomic version of a top spun too fast for its swing. These losses, named after Ettore Majorana, who calculated them in 1932, drained the first simple traps, whose field minimum was a zero. The cure was to add a uniform bias so the minimum of ∣B∣|B| is not zero but small — the Ioffe–Pritchard trap — or to rotate the zero around the atoms faster than they can follow it, which is a cousin of the vibrating pivot that holds up a pendulum by a force that averages to nothing. Both escapes from Earnshaw’s theorem that a spinning top uses, orientation that moves and fields that move, reappear in the instruments that made Bose–Einstein condensates.

What the one-loop model leaves out

The base is drawn as a single circular current. A real Levitron base is a magnetised ferrite plate with a central region of reversed or missing magnetisation, whose field near the axis has the same shape but different numbers; published fields of real bases put the stable band at a similar fraction of the base’s size, a few millimetres thick, and the top’s weight tolerance at about one per cent rather than two. The model’s top is a uniform disc with a point dipole at its centre, and its trap frequencies, precession rates and spin window inherit those simplifications.

The pictures also leave out what makes the spin estimates estimates. The top’s axis does not follow the field exactly: it lags, tilts and nutates, and the energy μ∣B∣\mu|B| is the first term of an expansion in the ratio of the precession period to the swing period. The next term shifts the trap’s stiffness and is what sets the true upper spin limit. Air drag on the spin and on the swing slowly changes everything, and the toy works only because the spin decays slowly compared with the swing — a separation of time scales that the static figures cannot show. And the base must be level to a fraction of a degree, because a tilted base adds a sideways component of gravity that the soft sideways stiffness cannot resist; the figures assume perfect symmetry.

The domain of the argument is a magnet whose spin is fast enough to hold its axis against the field’s torque and slow enough to let the axis follow the field as the magnet swings, in a static field whose strength has a minimum where gravity is balanced. Within it, Earnshaw’s theorem does not apply, because its premise, a fixed orientation, is false.

Still open: how small a spin-stabilised trap can be

The Levitron’s balance scales: the stable band is a fixed fraction of the base, the weight tolerance a fixed percentage, the spin window set by ratios of moments and frequencies. Smaller versions have been built, and spin-stabilised levitation of micrometre-sized magnetic particles, spun by rotating fields rather than by hand, is being explored as a way to make frictionless rotors and sensitive detectors of rotation and force. How far down the window survives — where thermal agitation becomes comparable to a trap only microjoules deep at desk scale and correspondingly shallower at small scale, and where the spin itself must be maintained against damping by a driving field — is being worked out experimentally rather than predicted.

What can be predicted is the shape of the escape. A magnet whose axis follows the field has energy μ∣B∣+mgz\mu|B| + mgz, and ∣B∣|B| can have a minimum where no field component can; above a ring that minimum exists only between half a radius and 2/5\sqrt{2/5} of one, so the weight must be right to about two per cent, a few kelvin of warming moves it out, and the spin must be fast enough to stop the top flipping but slow enough for its axis to keep turning with the field. The theorem forbids the stillness, and the top is never still: it is a gyroscope tracking a field direction about once a second, inside a well fifty micrometres deep.

Part 6 of 6

This essay is one argument about Magnetism. The others:

The objects named here

The third axis, after the field and the reading path: the things themselves, and every essay that touches each one.

Adiabatic invariantEarnshaw theoremGyroscopeMagnetic dipoleMagnetic levitationMagnetic trapPrecessionStability