Bloch Equations (2D)

Spin groups fan out in the transverse plane, a 180° pulse refocuses them into an echo, and the spectrum shows the line widths. Educational physics, not an imaging tool.

Switch to 3D

Readouts

Presets

Magnet, tissue and pulses

Top left: Bloch-sphere side view (B0 points up). Top right: view down the B0 axis, the plane the coil senses. Bottom: pulse-sequence timeline with the measured signal. Arrow colour = frequency offset of the spin group; orange = net magnetisation.

Independent numerical checks

The science

Nuclear spins in a field B0 precess at the Larmor frequency f = (γ/2π) B0 (42.58 MHz per tesla for hydrogen). In the frame rotating at f the Bloch equations are dMx/dt = Δω My - Mx/T2,   dMy/dt = -Δω Mx - My/T2,   dMz/dt = (M0 - Mz)/T1. An RF pulse tips the magnetisation by the flip angle; the transverse part then decays with T2 while the longitudinal part recovers with T1: Mz(t) = 1 - (1 - cosα) e-t/T1.

Real magnets are not perfectly uniform: each spin group sees a slightly different frequency Δf, so the groups fan out in the transverse plane and the net signal falls faster (T2*) than the true T2. A 180° pulse at TE/2 flips the fan over, so the groups come back into phase at TE and form a spin echo of height sinα e-TE/T2. The plotted spectrum is the Fourier transform of the free-induction decay: a Lorentzian of width 1/(πT2) for a perfect field, widened to a box of width W by inhomogeneity.

Simplifications. 240 isochromats with a flat (box) distribution of frequency offsets, instantaneous ideal pulses, a single tissue compartment, no diffusion, no gradients and no image formation. Polarisation (about 5 ppm at 1.5 T, 310 K) and the Larmor values are standard physical constants; T1 and T2 defaults are typical tissue values to be spot-checked. This page is a physics teaching model: nothing here is medical advice or a healing claim.

Magnet and Bloch-sphere sprites: Blender (Cycles) renders of the 3D page's model.

Transverse signal |Mxy|: simulated (orange), analytic (white dashed), T2 envelope (green)
Longitudinal recovery Mz (blue) vs 1 - (1-cos a) e^(-t/T1) (white dashed)
Spectrum of the free decay: absorption line vs frequency offset (Hz)
Made with 🟠 Blender