Skip to content
MRI Academy

Spin, Magnetization & the Larmor Equation

Nuclear magnetic resonance from first principles

Foundation⏱ ~45 minBloch simulator

We build the bulk magnetization vector from the quantum behavior of the hydrogen nucleus, derive the Larmor frequency, and show — interactively — how an on-resonance RF pulse tips magnetization in the rotating frame. This is the vocabulary the rest of the course speaks.

By the end you will be able to

  • 1Relate nuclear spin and the gyromagnetic ratio to net magnetization M₀ via the Boltzmann distribution
  • 2Derive and apply the Larmor equation ω₀ = γB₀ across clinical field strengths
  • 3Explain precession, the rotating frame, and the action of a B₁ excitation pulse
  • 4Predict the flip angle produced by an RF pulse of given amplitude and duration

Why hydrogen, and why a magnet

Every clinical MR image is, at bottom, a map of hydrogen nuclei — single protons, overwhelmingly in water and fat. Three facts make the proton the ideal reporter: it is abundant in tissue, it possesses the largest magnetic moment of the common biological nuclei, and it carries the quantum property we will exploit throughout this course — spin.

Spin is an intrinsic form of angular momentum. It is not a literal rotation, but it behaves like one: a spinning charge produces a tiny magnetic dipole moment μ\vec{\mu}. For a nucleus, the moment is proportional to its spin angular momentum S\vec{S}:

μ=γS\vec{\mu} = \gamma \vec{S}

The constant of proportionality γ\gamma is the gyromagnetic ratio, and it is the single most important number in MRI. For hydrogen, γ/2π42.58 MHz/T\gamma / 2\pi \approx 42.58\ \text{MHz/T}.

From one spin to net magnetization

Left alone, the magnetic moments of the protons in a voxel point in every direction at random, and their vector sum is zero — there is nothing to detect. Place the tissue in the scanner's strong static field B0\vec{B}_0 (conventionally along +z+z), and two things happen.

First, each moment precesses about B0\vec{B}_0 like a gyroscope in gravity, rather than simply aligning. Second, quantum mechanically the spins distribute between a slightly lower-energy state (aligned with B0\vec{B}_0) and a slightly higher-energy state (anti-aligned). The split is tiny, so the populations are governed by the Boltzmann distribution, and the aligned state wins by only a few parts per million at body temperature.

That minuscule excess is everything. Summed over the enormous number of protons in a voxel, it yields a measurable net magnetization vector M0\vec{M}_0 pointing along B0\vec{B}_0:

Eq. 1.1
Equilibrium magnetization (spin-½)
M0=Nγ22B04kBTM_0 = \frac{N \gamma^2 \hbar^2 B_0}{4 k_B T}
NN
proton density (spins per unit volume)
γ\gamma
gyromagnetic ratio
B0B_0
static field strength
TT
absolute temperature
kBk_B
Boltzmann constant

Two consequences of Eq. 1.1 will recur for the rest of the course. The signal grows with proton density NN — the basis of PD weighting — and it grows with field strength B0B_0. The near-linear gain in available magnetization is the central reason 3 T scanners can deliver more signal (and why ultra-high-field research pushes to 7 T and beyond).

Precession and the Larmor equation

A magnetic moment in a field experiences a torque, and the equation of motion for the net magnetization (ignoring relaxation for now) is

dMdt=γM×B0.\frac{d\vec{M}}{dt} = \gamma\, \vec{M} \times \vec{B}_0 .

A cross product means M\vec{M} does not move toward B0\vec{B}_0; it moves perpendicular to both — it precesses around B0\vec{B}_0 at a fixed angle, tracing a cone. The angular frequency of that precession is the Larmor frequency:

Eq. 1.2
The Larmor equation
ω0=γB0f0=γ2πB0\omega_0 = \gamma B_0 \qquad\Longleftrightarrow\qquad f_0 = \frac{\gamma}{2\pi} B_0
ω0\omega_0
angular precession frequency (rad/s)
f0f_0
precession frequency (Hz)
B0B_0
local magnetic field

The Larmor equation is the hinge on which all of MRI turns. Read it three ways:

  • Resonance. To tip the magnetization, we must irradiate the tissue at exactly f0f_0. At 1.5 T that is about 63.9 MHz; at 3 T, about 127.7 MHz — radiofrequencies, not the dangerous ionizing energies of X-rays.
  • Spatial encoding (preview). If we deliberately make B0B_0 vary with position using gradients, then by Eq. 1.2 frequency varies with position. That is precisely how we will later turn one signal into an image.
  • Chemical shift. Electrons partially shield the nucleus, so fat and water protons see slightly different local fields and precess at slightly different frequencies — the origin of fat-water separation and of chemical-shift artifact.

The rotating frame — the trick that makes everything simple

Watching M\vec{M} precess at 64 million times a second is hopeless. So we adopt a coordinate system — the rotating frame — that spins about zz at the Larmor frequency. In that frame, on-resonance magnetization appears stationary, because we are turning with it. The fast precession is "subtracted out," leaving only the slow, interesting dynamics: excitation and relaxation.

In the rotating frame, the radiofrequency excitation field B1\vec{B}_1 — which in the lab frame is itself oscillating at f0f_0 — appears as a small static field lying in the transverse plane (say, along xx'). And M\vec{M} does to B1\vec{B}_1 exactly what it did to B0\vec{B}_0: it precesses about it. A B1\vec{B}_1 pulse of amplitude B1B_1 applied for a duration τ\tau therefore tips M\vec{M} away from zz by a flip angle

Eq. 1.3
Flip angle from an RF pulse
α=γB1τ\alpha = \gamma B_1 \tau
α\alpha
flip angle (radians)
B1B_1
RF field amplitude
τ\tau
pulse duration

A 90° pulse rotates all of M0\vec{M}_0 into the transverse plane, where it can induce a signal in the receive coil. A 180° pulse inverts it. Only the transverse component MxyM_{xy} is detectable — the receive coil senses the rotating transverse magnetization by Faraday induction; the longitudinal component MzM_z is invisible to it.

Try it: the Bloch simulator

The widget below integrates the magnetization in the rotating frame. Apply a 90° pulse and watch the vector swing into the transverse plane; the readout shows Mxy|M_{xy}| — the signal you could actually detect. Then leave it alone and watch relaxation (the subject of the next lesson) pull it back to equilibrium. Try a small flip angle, change the frame to "lab" to see the precession reappear (slowed for visualization), and introduce a little off-resonance.

|Mxy| = 0.000 (signal)

Mz = 1.000

Excite (B₁ pulse)

Frame

Tip M into the transverse plane with a 90° pulse and watch |Mxy| (the detectable signal) decay with T2 while Mz recovers with T1. Drag to orbit.

Putting it together

We now have the complete vocabulary of an MR experiment's first instant. A static field B0\vec{B}_0 creates a small equilibrium magnetization M0\vec{M}_0 (Eq. 1.1) that precesses at the Larmor frequency (Eq. 1.2). A resonant B1\vec{B}_1 pulse, viewed in the rotating frame, tips that magnetization by a flip angle (Eq. 1.3) into the transverse plane, where it becomes detectable signal. What happens next — how that signal decays and how the longitudinal magnetization recovers — is relaxation, and it is what makes one tissue look different from another.

Check your understanding

  1. 1.A scanner is upgraded from 1.5 T to 3.0 T. Ignoring relaxation changes, what happens to the proton Larmor frequency?

  2. 2.Why does net equilibrium magnetization exist at all, given that thermal energy vastly exceeds the spin energy splitting?

  3. 3.Immediately after an ideal 90° pulse applied to fully relaxed tissue, the longitudinal magnetization Mz is:

  4. 4.An RF pulse produces a 90° flip. To make a 180° pulse of the same duration, you would:

Imaging for this lesson

Explore the correct real MRI for this topic — yours to scroll, window and render.

The bulk magnetization you just excited is exactly what produces these real brains — every bright and dark voxel traces back to spins and the signal equation. Flip between subjects to see real anatomy.

Brain & head

View
Colormap

Scroll to change slice · click-drag to move the crosshair · right-click-drag to window (brightness/contrast).