Forces and Torques on Magnetic Dipoles
The dipole now has a field; this article gives it a life. Put a magnetic moment into someone else's field and three questions exhaust its mechanics: which way is it twisted, where is it pulled, and what does its orientation cost? The answers are a triptych of formulas — , , — compact enough to fit on a thumbnail and consequential enough to run compasses, molecular-beam experiments, magnetic tweezers, and every MRI scanner on Earth. The chapter has met fragments of this before, and the debts get paid in order. The force-on-wires article derived the torque for one special case — a rectangular loop — and packaged ; here the rectangle becomes a theorem for arbitrary localized currents. The same article deferred, by name, the force question: a closed loop in a uniform field feels zero net force (), so pulling on a dipole requires a field gradient — and this article computes exactly how, deriving from the Lorentz force at first order in the gradient and confronting its evil twin , identical in empty space and different exactly where current flows. The energy arrives with the fine print the Lorentz-force article's work-paradox audit prepared us for: for current loops, "energy" is a two-account ledger, and the battery quietly pays double. The triptych then produces this article's most consequential surprise. A dipole that carries angular momentum — and at the atomic scale they all do, since — does not swing toward alignment like a compass needle. The torque feeds , and the moment precesses around the field at the Larmor frequency , circling forever unless something drains energy. That one dynamical fact, plus a field gradient, is Stern–Gerlach; plus a resonant push, it is all of magnetic resonance. The atomic values of are the next article's business; the dynamics is owned here.
- Torque on any localized current distribution in a locally uniform field: — the rectangle result of the wires article, upgraded to a theorem.
- Orientation energy: — minimum aligned, maximum anti-aligned; for rigid moments it is the honest potential energy, for current loops it is the fixed-current ledger (the battery pays double behind the scenes).
- Uniform fields only twist; gradients pull: , derived from the Lorentz force at first order in the field gradient.
- The twin form equals only where — i.e., away from local currents; the difference is .
- A spinning dipole () does not align — it precesses: , cone angle fixed, Larmor frequency (proton: 42.58 MHz/T).
- Stern–Gerlach = this article in hardware: gradient converts moment into deflection; quantized moments → discrete spots.
- KEY IDEA: one scalar function generates the mechanics — its angular derivative is the torque, its spatial gradient (sign flipped) the force — and adding angular momentum turns "align" into "precess."
Everything follows from one scalar energy : rotate it for the torque , gradient it for the force — and for spinning moments , the torque drives Larmor precession at instead of alignment.
Where this lives today
Magnetic resonance imaging is this article, industrialized. A 3 T scanner sets the body's protons precessing at MHz (equation 5); a resonant radio pulse tips the precession cone; and — the geometry-encoding trick — gradient coils superimpose mT/m field gradients so the Larmor frequency becomes a position label: spins at different locations hum at different pitches, and Fourier analysis of the returning hum is the image. Torque, precession, and gradient — the article's three derivations — appear as the magnet, the pulse sequence, and the encoding, respectively. The same precession physics runs chemistry's NMR spectrometers (where parts-per-million shifts of read out molecular structure) and the proton magnetometers that map planetary fields. At the force end, gradient-pulling has gone quantitative and microscopic. Magnetic tweezers grip micron-scale beads ( A·m²) in T/m gradients, applying calibrated piconewton forces to single DNA molecules to measure their elasticity and the motors that walk on them. Neutral-atom traps hold "low-field-seeking" states (moment anti-aligned, expelled toward field minima — the sign of equation (3) read in reverse) in quadrupole and bottle geometries, the front door to Bose–Einstein condensation. And magnetic separation — from scrapyard cranes to immunomagnetic cell sorting in clinical labs — is with induced moments, engineering's oldest use of the newest formula here.
Origins · 1 minJoseph John Larmor and how this was discovered
Larmor was the last great physicist of the ether and, in the same career, an accidental architect of what replaced it. His Aether and Matter (1900) — pursuing electrons as spinning strain-centers in a universal medium — contains, a decade before Einstein, the full Lorentz transformations and the first derivation of time dilation for orbiting charges; history filed the equations under Lorentz's name and the physics under Einstein's, leaving Larmor the precession and the radiation formula that bear his. The precession result (1897) is exactly this article's Derivation C: a charge's orbital moment, rigidly tied to its angular momentum, responds to a magnetic field not by tilting but by circling it at — which Larmor used to analyze the just-discovered Zeeman effect, magnetism's first spectroscopic fingerprint. Holder of the Lucasian chair for thirty years, Ulster-conservative, famously resistant to both relativity's abandonment of the ether and Cambridge's introduction of bathrooms ("we have done without them for four hundred years"), he lived to see his frequency become the operating principle of magnetic resonance — measured today to twelve digits in the electron's .
The physical picture
Hold a compass. The needle is a magnetic moment in the Earth's (locally uniform) field, and what the field does to it is pure twist: north pole pulled one way, south pole equally the other — a couple, no net force. The needle does not slide across the table toward Canada; it rotates until lies along , overshoots, oscillates, and settles as friction drains the swing. That is the uniform-field story complete: torque , energy landscape with its valley at alignment, and dissipation as the unsung third ingredient that lets the valley be reached at all. Now bring the needle toward a real magnet, and a new thing happens: it leaps. Near the pole face the field is stronger on the needle's near end than its far end; the two pole forces no longer cancel, and the residue is a net pull toward stronger field. This is the force law's entire content — a dipole feels no force from a field, only from a field's change — and it explains at a stroke why iron filings fly to the poles of a magnet (field gradients are fiercest there), why the uniform interior of a good solenoid exerts torque but no pull, and why every magnetic trap, tweezer, and separator is in the business of shaping gradients, not just making fields.
The third panel of the mental picture is the one classical intuition gets wrong. Replace the compass needle by an atom: the moment is now welded to angular momentum, . Apply the same torque and watch what changes: torque is , and a pushed always perpendicular to itself (that is what does) changes direction, never magnitude — the tip of circles the field direction on a cone of fixed angle. Gyroscope logic, exactly: gravity's torque doesn't topple a spinning top, it precesses it. An atomic moment in a magnetic field hums around at the Larmor frequency, alignment energy untouched, forever — until coupling to an environment (radiation, collisions, the lattice) drains it. Every "spins align with the field" sentence in a textbook silently includes that dissipative fine print, and magnetic resonance lives entirely inside it.
The triptych, derived
All three laws follow from the Lorentz force summed around the circuit, expanded in how the field varies across the (small) dipole. Zeroth order in the variation: torque. First order: force. The bookkeeping of both: energy.
The goal is for any localized steady current in a field that is uniform across the source — generalizing the wires article's rectangle, whose couple picture (two opposite side-forces, lever arm, ) we recall by name rather than repeat. The strategy: write the total torque about the dipole's location as a loop integral, and reuse the exact vector-area lemma that extracted the dipole moment two articles ago — the same identity does both jobs, which is no accident.
Step 1. Set up the torque integral. With uniform over the circuit,
Step 2. Expand the triple product. BAC–CAB with constant:
The second term integrates to zero: around a closed loop (an exact differential's round trip).
Step 3. Spend the vector-area lemma. What remains is — the multipole article's integral with , and its lemma gave for any constant . Hence
where: — torque about the dipole's own location; magnitude , axis perpendicular to both, sense that swings toward . For volume currents the same result follows from with the symmetric/antisymmetric split — the multipole article's other maneuver — confirming that (1) is a statement about the moment, indifferent to the plumbing that produces it. Why "uniform across the source" is the real hypothesis: in a gradient there are corrections to (1) of order (source size)/(field scale) — and also a net force, next derivation. For atoms in laboratory fields the ratio is : equation (1) is exact for all practical purposes at the atomic scale, which is why it can be fed into precession dynamics with a clear conscience. *Verified: rectangle check — for the wires article's loop, (1) reproduces ✓; dimensions ✓; matches Griffiths Eq. 6.1, Jackson §5.7.*
The energy is the torque integrated. Rotating from angle to against the aligning torque stores , and with the conventional zero at :
where: the landscape runs from (aligned, the valley) through zero (perpendicular) to (anti-aligned, the summit) — a span that sets every magnetic-orientation scale in physics, from the compass ( J for a needle in Earth's field) to the hydrogen hyperfine splitting ( J). Read equation (2) with the honesty the Lorentz-force article's paradox audit taught: for a rigid, permanent moment (an electron's spin), is a genuine potential energy, full stop. For a current loop held at constant , rotating toward alignment changes the flux through the loop, induction fights the change, and the battery must do work to hold the current — so the loop's "energy" depends on which account you audit: the mechanical work available is governed by (2), while the total ledger includes the source. This is precisely the fixed- versus fixed- story of the dielectric-forces article, transposed to magnetism; the full accounting arrives with magnetic energy in the matter chapter. Equation (2), used as the generator of forces and torques, is correct in both cases — that is all this article needs.
Go deeper · Derivation B · 2 minForce in a nonuniform field — and the two-forms subtlety
The goal is the force law from first principles: sum the Lorentz force around a small loop in a field that varies slowly across it, keeping the first gradient correction — the term the wires article showed is the only survivor, since the uniform piece cancels by . The strategy: Taylor-expand, reuse the vector-area lemma once more, then confront the identity that separates this form from its look-alike .
Step 1. Expand the field across the loop. About the loop's center (origin), The total force:
— the uniform term dies by closure (no net force in uniform fields, now proved rather than asserted), and the gradient term leads.
Step 2. Lemma, one last time. Component bookkeeping on the surviving integral (each Cartesian gradient component acts as a constant vector for the loop integral) reduces it, via , to
evaluated at the dipole's location, for constant . (The compact route to the same result: from equation (2) — the honest loop-integral derivation is what certifies that shortcut.)
where: the force points up the gradient of : aligned moments are pulled toward strong field, anti-aligned moments expelled toward weak field. That one sign carries the whole phenomenology of the next chapter — para- versus dia-magnetic drift — and of every magnetic trap.
Step 3. The evil twin. Textbooks also quote . The E0 product rule relates them, for constant :
Wherever the dipole sits in current-free space — outside magnets, between coils, in a beam line — and the two forms agree identically; use whichever computes faster. Sitting inside a current distribution () they differ by , and which is correct becomes a genuine physics question about the dipole's model: (3) is the force on a rigid current-loop (Amperian) dipole, the kind this chapter builds and the kind atoms are. The distinction matters in magnetized matter and in precision hyperfine physics — flagged here, spent when the matter chapter needs it. Verified: dimensions ✓; uniform-field limit gives ✓ (recovering the wires article's theorem); on-axis trap check — for , (3) gives , the standard Stern–Gerlach working formula ✓; matches Griffiths Eq. 6.3 and Jackson §5.7 including the two-forms discussion.
Go deeper · Derivation C · 2 minLarmor precession — why spinning moments circle instead of aligning
The goal is the motion of a dipole that carries angular momentum in fixed ratio, — the universal atomic case — in a uniform field: the result is precession about at the angular frequency , with the cone angle a constant of the motion. The strategy is two lines of rigid-body mechanics plus a geometric reading; the payoff is the operating principle of NMR, ESR, and MRI. The atomic values of (orbital , spin ) are owned by the next article; here is a given constant.
Step 1. The equation of motion. Torque is the rate of change of angular momentum, and the torque is (1):
Step 2. Two conservation laws, read off directly. Dot (4) with : , so is constant — the push is always perpendicular, direction changes, magnitude cannot. Dot with : , so is constant — the cone angle between and never changes. And since , the orientation energy is conserved too: no approach to alignment whatsoever.
Step 3. Recognize rotation. An equation of the form is rigid rotation of about . Rewriting (4) as identifies
the tip of (and with it ) sweeps a cone around the field at the Larmor frequency, sense set by the sign of , rate proportional to with the moment-to-angular-momentum ratio as the only material input. Why the frequency is the measurable gold: depends on and , nothing else — not the cone angle, not the moment's history. Measure the hum and you either read at fixed (precision moment metrology) or read at known (every NMR magnetometer and teslameter). For protons, MHz/T; a 3 T clinical scanner hums at 127.7 MHz, recomputed below. *Why compasses still align: a needle's is not rigidly tied to a large intrinsic — its mechanical angular momentum starts at zero and friction on the pivot drains the oscillation, so it walks down the energy landscape (2). Atomic moments in vacuum have no such drain; they precess until relaxation processes (spin–lattice, radiative) supply the missing dissipation. The timescale hierarchy — precession in nanoseconds, relaxation in milliseconds-to-seconds — is exactly what makes magnetic resonance spectroscopy possible: thousands to billions of coherent turns before the phase is lost. Verified: (5) matches the classical Larmor result and the quantum Heisenberg equation for spin in a field (identical form — one of quantum mechanics' cleanest classical correspondences); proton check : MHz at 3 T ✓.*
Limiting cases
| case | result | meaning |
|---|---|---|
| uniform field, non-spinning moment | twist to alignment (with dissipation) | compass regime; oscillation period |
| uniform field, | precession at , no alignment | atomic regime; NMR/ESR/MRI |
| gradient, moment aligned | pulled to strong field | paramagnetic drift; tweezers, traps |
| gradient, moment anti-aligned | expelled to weak field | diamagnetic levitation preview; low-field-seeking atom traps |
| current-free region | both force forms legal | |
| inside current density | forms differ by | Amperian dipole takes |
| field varying strongly across source | dipole approximation fails | higher moments feel higher derivatives |
Worked examples
1 · Gauss's oscillating magnet (confidence builder)
A bar magnet ( A·m², length 10 cm, mass 50 g) hangs from a torsion-free thread in the local horizontal field T of the mid-latitude Earth. Find the torque at deflection and the small-oscillation period.
Step 1. Torque. = N·m — the restoring couple twisting the magnet back toward magnetic north.
Step 2. Pendulum dynamics. For small angles, : angular harmonic motion. The rod's moment of inertia about its center: kg·m².
Step 3. Period.
Step 4. Why this humble pendulum is famous. Timing it measures the product ; the deflection experiment of the dipole article's Gauss band measures the ratio . Two bench measurements, multiply and divide: both the magnet's moment and the Earth's field in absolute units — the 1832 Intensitas scheme, and the first time anyone knew the strength of any magnetic field as a number. The formula in Step 3 ran the world's magnetic observatories for a century.
2 · Stern–Gerlach, by the numbers (exam level)
Silver atoms ( kg, moment J/T from the lone 5s electron — next article's business why) exit an oven at m/s and cross a cm magnet with vertical gradient T/m, then drift 20 cm to a plate. Find the splitting.
Step 1. The force. Moments quantize along (the quantum input) into : N — about times the atom's weight, delivered by pure field shaping.
Step 2. Inside the magnet. ; transit time s; deflection m, exit transverse velocity m/s.
Step 3. The drift lever arm. Over cm of field-free flight: additional mm. Total per branch mm; separation between the and spots: mm — comfortably resolvable, exactly the two-spot photograph of 1922.
Step 4. What the two spots proved. Classically, oven-randomized moments would smear continuously from to : one elongated blob. Two clean spots mean takes two values — space quantization, before spin was even proposed (and, in the modern reading, the electron's spin- doublet caught on film). Note the precession article's fine print doing real work here: the moments do not align in the magnet, they precess about at rad/s while the force acts on the conserved component — the cone, not the swing, is what the experiment sorts.
Going further
References. Griffiths, Introduction to Electrodynamics, 4th ed., §6.1 (Eqs. 6.1–6.3) · Jackson, Classical Electrodynamics, 3rd ed., §5.7 · Zangwill, Modern Electrodynamics, §12.2–12.4 · Purcell & Morin, Electricity and Magnetism, 3rd ed., §11.6
Provenance. Equations cross-checked against Griffiths 4th ed. §6.1 (Eqs. 6.1–6.3 for , , ) and Jackson 3rd ed. §5.7 (force/torque on a localized current distribution, including the form and the correction). A verifier should re-derive the loop force/torque integrals to first order in the field gradient and confirm the vector identity for constant . The proton gyromagnetic ratio MHz/T is a standard tabulated value (CODATA). (Worked numbers: torque N·m, period 4.1 s; Stern–Gerlach N, mm two-spot separation; 127.7 MHz at 3 T — recomputed.)
Builds on: Magnetic Dipole and Magnetic Moment · Magnetic Force on Current-Carrying Wires · Lorentz Force Law · Torque and Force on a Dipole in a Field
Leads to: Magnetization · Magnetic Dipole Moment of Atoms · Paramagnetism · Diamagnetism
If the force comes from a gradient, how does a uniform-field solenoid pick up a paperclip at its mouth?
It doesn't do it with its uniform interior — it does it with its fringe. The mouth of a solenoid is exactly where the ideal uniform-inside/zero-outside field must transition, so the gradients there are enormous (all of collapsing over roughly a bore radius). The clip's induced moment aligns with the local field, is largest inside, and points into the bore. Deep inside, once the field is genuinely uniform, the pull disappears and only torque remains — which is why magnetic separators and scrapyard lifters are engineered around pole edges and shaped pole pieces: the design variable is the gradient map, not the field's peak value.
Why doesn't the magnetic force law violate the no-work theorem for magnetic forces?
The theorem — magnetic forces on a charge do no work, — survives intact; the resolution is bookkeeping inside the dipole, and it is the wires article's rising-bar audit in miniature. When a gradient pulls a current loop forward and the loop gains kinetic energy, the microscopic Lorentz forces on its carriers still do zero net work; what happens is a transfer: the motion through nonuniform field induces an EMF, the carriers' drift rearranges, and the source maintaining the current supplies the energy that appears as mechanical work (for a permanent/spin moment, the "source" is the quantum rigidity of the moment — no classical circulating current needs feeding). packages this bookkeeping so you never have to reopen it for mechanics — but it is packaging, and the warning box's two-ledger caution is the receipt.
Which force form applies to an electron's spin moment — Amperian or the other one?
Experiment says Amperian. The two models of a point dipole — circulating current ("Amperian," force , interior field along ) versus two magnetic charges ("Gilbertian," force , interior field against ) — agree everywhere outside matter and disagree inside current or magnetization density. The clean test is the neutron: neutral, but with a moment, passing through magnetized foils. Interferometry and scattering experiments match the Amperian prediction — consistent with the dipole article's contact term, which is likewise the Amperian signature (and is confirmed spectacularly by hyperfine structure). Electrons, protons, neutrons: current-loop-type dipoles, however pointlike, with no magnetic charge in sight.
How can Stern-Gerlach separate moments if they're all precessing wildly inside the magnet?
Because precession and deflection use different components. The field (mostly along ) drives precession of at rad/s — those components average to zero almost instantly on the transit timescale. But precession conserves (Derivation C: constant), and the deflecting force is : built entirely from the conserved piece. So the magnet sorts atoms by while the transverse components blur harmlessly. The fast precession is even helpful: it suppresses the effect of stray transverse gradient components (they average out over a precession cycle), which is why the naive one-axis analysis of the worked example gives the right answer in a field that can't strictly be gradient-along- only ( forbids that).
Is minus m dot B the interaction energy of two dipoles as well?
Yes — evaluate one dipole's field at the other and insert: . Its anatomy repays a minute: side-by-side parallel moments (both perpendicular to ) carry positive energy — they prefer to anti-align, which is why adjacent compass needles on a table settle antiparallel — while head-to-tail parallel moments (both along ) carry , the deepest arrangement — which is why magnets snap into chains. The energy gives the dipole–dipole force by differentiation — the far-field law between any two magnets, and the next article makes it a worked example. At atomic spacings this energy is J K: real but weak, which is why dipole–dipole coupling alone almost never explains ferromagnetism — a flag the matter chapter picks up with the exchange interaction.
What sets the amplitude of a compass needle's oscillation decay, given that the period formula has no damping in it?
The period formula is the conservative skeleton; decay is whatever dissipation rides along — pivot friction, air drag, and (in good instruments, dominantly) eddy currents: the swinging needle's changing flux induces currents in nearby conductors, whose ohmic loss drains the oscillation (many survey compasses deliberately mount a copper damping vane for exactly this purpose — critical damping makes readings fast). The physics splits cleanly: from the energy landscape, decay time from the loss channels, and the quality factor measures their ratio. The same split governs atomic moments — Larmor frequency from this article, relaxation times from environmental coupling — and reading both is precisely what an MRI pulse sequence does.
Do these formulas apply to induced moments, or only permanent ones?
The instantaneous laws apply to whatever moment exists at that instant, but the energy landscape changes when responds to . For an induced linear moment (dia- or para-magnetic response), the correct energy is — half the naive , the same factor the polarizability article earned for induced electric dipoles by auditing the spring: the field must do work building the moment it then pulls on. Forces follow: , toward strong field for (paramagnets) and away for (diamagnets — hence frog levitation over a Bitter magnet, where balances gravity). The permanent-moment formulas of this article are the -independent skeleton; the halves and signs of response are the next chapter's opening business.