Ising Model
The Ising model is perhaps the most prevalent statistical model in physics, serving as the “fruit fly” for understanding phase transitions, critical phenomena, and emergent behavior in complex systems. While deceptively simple in its definition, it successfully reproduces the collective behavior observed in real-world ferromagnetic materials.
This post presents the results of a computational study of the 2D Ising model, moving from the microscopic dynamics of individual spins to macroscopic thermodynamic observables.
Mathematical Foundations
The model is defined on a graph
Where
is the coupling constant. We consider the ferromagnetic case where , meaning neighboring spins lower their energy by aligning ( ). is an external magnetic field. For this study, we set to observe spontaneous symmetry breaking.
We are interested in how the macroscopic order of the system changes with temperature
- Magnetization (Order Parameter):
. We look at to quantify the degree of order regardless of direction. - Magnetic Susceptibility (
): Related to fluctuations in magnetization. - Specific Heat (
): Related to fluctuations in internal energy.
Simulation Methodology
To simulate thermal equilibrium, we employ Markov Chain Monte Carlo (MCMC) methods, specifically the single-spin-flip Metropolis-Hastings algorithm.
For each step, we propose flipping a random spin
This satisfies detailed balance, ensuring the system eventually reaches the Boltzmann equilibrium distribution. To handle significant computational loads, the underlying graph topology (a 2D periodic lattice) was represented using SciPy sparse matrices, and the core Metropolis loop was JIT-compiled using Numba to achieve near C-level performance.
Discussion of Results
The following dashboard summarizes the complete analysis, visualizing the system from four different analytical perspectives.
1. Microscopic Dynamics and Domain Growth
The top row visualizes the non-equilibrium time evolution of the lattice at a fixed temperature below the critical point (
2. Macroscopic Equilibrium States
The second row displays equilibrium snapshots of the lattice across a range of temperatures.
- Low Temperature (
): The system is deeply in the ordered ferromagnetic phase. Note at , a stable “domain wall” exists; the thermal energy is too low to allow the system to escape this local energy minimum and align fully. - High Temperature (
): Entropy dominates. The system is in the disordered paramagnetic phase, resembling random noise. - Critical Temperature (
): The system exhibits critical opalescence. We observe fractal-like clusters of spins at all length scales, indicating the divergence of the correlation length.
3. Quantitative Phase Transition
The third row presents the thermodynamic averages plotted against temperature, confirming the visual intuition from the snapshots.
- Magnetization: Shows a sharp, continuous phase transition. Below critical temperature
, spontaneous symmetry breaking occurs, and rapidly rises from 0 toward 1. - Susceptibility & Specific Heat: Both quantities exhibit sharp peaks (theoretically diverging in the infinite size limit) precisely at the critical temperature. This indicates that at
, the system becomes hypersensitive to external perturbations and experiences maximum fluctuations in energy and magnetic order.
4. Metastability and the Free Energy Landscape
The final row investigates the system’s behavior at a temperature slightly below critical (
- Trajectory (Left): The time series of magnetization shows the system residing in stable states near
. Crucially, it shows spontaneous “tunneling” events where rare, large thermal fluctuations kick the entire system over the energy barrier from one state to the other. - Free Energy Potential (Right): By histogramming the trajectory to get an empirical probability distribution
, we reconstruct the underlying effective free energy landscape . The result is a classic symmetric double-well potential. The two minima correspond to the stable ferromagnetic states, and the central hump at represents the unstable energy barrier that necessitates symmetry breaking.