Live Paper Main Simulator
MRIjs Educational Suite

The Physical Foundations of Magnetic Resonance

An Interactive Computational Presentation

Use Space or Arrow Keys to navigate slides. Every widget on every slide is completely interactive.

Presentation Outline

  • Module 1: B₀ & Precession (The Larmor Relationship)
  • Module 2: Gradients & Spatial Encoding (Phase & Frequency)
  • Module 3: RF Pulses & B₁ Magnetic Field (Resonant Nutation)
  • Module 4: Image Formation & k-Space (2D Fourier Transform)
Module 01

Nuclear Precession & The Larmor Equation

Nuclei with non-zero spin have a magnetic moment $\vec{\mu} = \gamma \vec{I}$. In a static field $\vec{B}_0 = B_0 \hat{z}$, torque $\vec{\tau} = \vec{\mu} \times \vec{B}_0$ induces precession:

$$\omega_0 = \gamma B_0 \quad (\text{rad/s}) \qquad f_0 = \frac{\gamma}{2\pi} B_0 \quad (\text{MHz})$$

For hydrogen protons ($^1\text{H}$), $\frac{\gamma}{2\pi} \approx 42.576\text{ MHz/T}$. Frequency scales linearly with field strength.

Interactive Larmor Calculator

Larmor Frequency63.864 MHz
Period (T₀)15.66 ns
Water-Fat Shift223.5 Hz
Thermal Polarization4.8 ppm

Laboratory vs. Rotating Frame

Numerical Simulation: Chemical Shift Beat Signal

BlochSimulator (FID, Water w=0, Fat w=40Hz)
Module 02

Magnetic Gradients & Spatial Encoding

To localize signals, small linear gradient fields are superimposed along $\hat{z}$:

$$\vec{B}(x) = (B_0 + G_x x)\hat{z} \implies \omega(x) = \omega_0 + \gamma G_x x$$

Each coordinate position $x$ precesses at a distinct frequency. Phase accumulates as $\phi(x, t) = \gamma G_x x t$.

Spatial Isochromat Array Simulator

Net: 18.4%

Numerical Simulation: Gradient Echo (GRE)

Dephasing (-G) and Rephasing (+G) forming Echo at TE
Module 03

RF Pulses & The B₁ Magnetic Field

An oscillating field $\vec{B}_1(t) = 2 B_1^e(t) \cos(\omega_{rf} t)\hat{x}$ creates a resonant torque in the transverse plane. In the rotating frame at $\omega_{rf} = \omega_0$:

$$\alpha = \int_0^{T_{rf}} \gamma B_1(t) \, dt \quad \stackrel{\text{Rect}}{\Longrightarrow} \quad \alpha = \gamma B_1 T_{rf}$$

By engineering RF amplitude $B_1$ and duration $T_{rf}$, any flip angle $\alpha$ ($90^\circ$ excitation, $180^\circ$ refocusing) is generated.

Interactive 3D Nutation & Slice Profiler

Numerical Simulation: Magnetization Dynamics

Bloch Relaxation & Recovery post Flip
Module 04

Image Formation & 2D k-Space

The received signal $S(t)$ is the continuous 2D Fourier Transform of the object spin density $\rho(x, y)$:

$$S(k_x, k_y) = \iint \rho(x, y) e^{-i 2\pi [k_x x + k_y y]} dx dy$$

Reconstruction calculates the 2D Inverse Discrete Fourier Transform (2D IDFT) of k-space samples.

2D k-Space Trajectory & Filtering Studio

k-Space $|S(k_x, k_y)|$
Reconstructed $|\rho(x, y)|$

Numerical Simulation: 1D Profile via 1D FFT

1D Multi-Object Echo Reconstruction
Summary

Key Takeaways

✓ B₀ establishes precession frequency ω₀ = γ B₀ and chemical shift separations.

✓ Gradients encode spatial position into frequency and phase ϕ(x) = γ G_x x t.

✓ RF Pulses tip magnetization via resonant nutation α = γ ∫ B₁(t) dt.

✓ Image Formation maps spatial frequency raw data S(k_x, k_y) into anatomy via 2D IDFT.