Simulating and understanding phase change | Guest video by Vilas Winstein

3Blue1Brown3Blue1Brown
Education3 min read42 min video
Aug 28, 2025|419,715 views|15,400|547
Save to Pod

Key Moments

TL;DR

Understanding phase transitions via a liquid-vapor simulation and Boltzmann's formula.

Key Insights

1

Phase transitions are changes in the equilibrium behavior of matter as parameters like temperature and pressure vary.

2

The Boltzmann formula (probability of a microstate is proportional to exp(-Energy/Temperature)) is central to statistical mechanics and explains how energy and entropy compete to determine system behavior.

3

Temperature can be defined as the quantity that equalizes when systems exchange energy, related to the derivative of entropy with respect to energy.

4

The liquid-vapor simulation demonstrates phase transitions by modeling molecules interacting on a grid, with behavior influenced by temperature and chemical potential.

5

The simulation uses Kawasaki Dynamics (a Markov chain Monte Carlo method) to sample microstates efficiently, approximating the Boltzmann distribution.

6

Universality suggests that fundamental microscopic rules, rather than specific details, govern macroscopic behaviors like phase transitions.

INTRODUCTION TO PHASE TRANSITIONS AND THE LIQUID-VAPOR MODEL

Phase transitions describe changes in the equilibrium behavior of matter, distinct from chemical reactions, driven by variations in parameters like temperature and pressure. The video introduces a simulation of a discretized fluid model, the liquid-vapor model, which exhibits phase transitions. This model provides a visual and computational platform to explore fundamental concepts in statistical physics, including the Boltzmann formula and the emergence of distinct macroscopic phases from microscopic interactions.

THE BOLTZMANN FORMULA AND THE CONCEPT OF TEMPERATURE

At the heart of understanding statistical behavior is the Boltzmann formula, which states that the probability of a system being in a particular microstate is proportional to the exponential of the negative of its energy divided by the temperature. This formula arises from the idea that in isolated systems, all microstates of a given energy are equally likely. Temperature itself is defined as the quantity that equalizes when systems exchange energy; more precisely, it's inversely proportional to the derivative of a system's entropy with respect to its energy.

ENERGY AND ENTROPY COMPETITION DRIVING PHASE TRANSITIONS

The Boltzmann distribution reveals a fundamental competition between minimizing energy and maximizing entropy. At low temperatures, minimizing free energy primarily means minimizing energy, leading to ordered structures like liquids. At high temperatures, maximizing entropy becomes dominant, favoring disordered states like gases. The simulation models this by assigning energy penalties for molecules being too far apart and implicitly favors configurations with more adjacent molecules (lower energy). This interplay dictates the most probable macroscopic state of the system.

SIMULATION MECHANICS AND KAWASAKI DYNAMICS

The liquid-vapor model is simulated on a grid where pixels represent molecules or empty space. To efficiently sample microstates according to the Boltzmann distribution, an algorithm called Kawasaki Dynamics is employed. This involves randomly selecting pixels and deciding whether to swap molecule positions based on the energy difference and temperature, ensuring the system gradually approaches equilibrium without needing to enumerate all exponentially many microstates.

CHEMICAL POTENTIAL AND THE PHASE DIAGRAM

To replicate a more complete phase diagram like that of water, the simulation introduces chemical potential alongside temperature. Chemical potential governs the number of molecules in the system, acting as a proxy for pressure. By varying temperature and chemical potential, the simulation generates a phase diagram showing distinct liquid, gas, and supercritical fluid regions, mirroring real-world thermodynamic behavior with remarkable qualitative accuracy despite the model's simplifications.

UNIVERSALITY AND RELATED MODELS

The observed phase transition behavior in the simplified liquid-vapor model highlights the principle of universality: specific microscopic details often matter less than fundamental rules. This model is isomorphic to the Ising model of ferromagnetism, demonstrating how similar mathematical principles can describe vastly different physical phenomena. Concepts like metastability at the critical point and the self-similarity of fractal structures at criticality are also explored, linking to broader scientific ideas.

Common Questions

A phase transition is a change in the equilibrium behavior of a system as its parameters, like temperature and pressure, are varied. It's not a chemical reaction, but rather a change in how molecules interact, leading to different phases of matter like solid, liquid, or gas.

Topics

Mentioned in this video

conceptmetastability

A phenomenon where a system remains in a non-equilibrium macrostate for a long time due to the absence of external impulses.

bookBoltzmann formula

A fundamental formula in statistical physics used to describe the probability distribution of microstates in a system at thermal equilibrium.

conceptwolf shape

A term mentioned for further research related to the calculated shape of droplet bubbles in the simulation as a function of temperature.

conceptNewton's laws of motion

The classical physics laws governing the motion of particles, forming the basis of deterministic simulations that the Boltzmann law approximates probabilistically.

conceptfree energy

A thermodynamic quantity (E - T*S) that is minimized at equilibrium, balancing energy and entropy considerations.

conceptIsing model

A simplified model of a magnet used to illustrate phase transitions, analogous to the liquid vapor model where molecules correspond to magnetic elements.

conceptliquid vapor model

A discretized simulation model of a fluid used to study phase transitions, visualized with blue pixels for molecules and white pixels for empty space.

conceptcritical point

The specific point on a phase diagram where the distinction between liquid and gas phases disappears, exhibiting fractal-like structures and self-similarity.

conceptBoltzmann distribution

The probability distribution for microstates, where probability is proportional to exp(-Energy/Temperature), fundamental to statistical mechanics.

conceptH2O

The chemical compound represented by water, ice, and steam, highlighting that phase transitions do not change the molecular composition.

conceptUniversality

The principle that macroscopic behavior can be similar across different models, suggesting that only fundamental microscopic rules are important.

softwareKawasaki Dynamics

An algorithm used in simulations for sampling the Boltzmann distribution by making small random changes to the system's microstate, like swapping particle positions.

conceptchemical potential

A thermodynamic parameter used in simulations, analogous to pressure, that controls the number of molecules in a system and is paired with molecule count.

conceptXY model

A model of magnets where elements can point in any direction, leading to phenomena like vortices instead of traditional phase transitions in 2D.

conceptmicrostate

A specific configuration of all microscopic particles in a system, containing all information about their positions and velocities.

conceptsupercritical fluid

A state of matter above its critical temperature and pressure where the distinctions between liquid and gas phases vanish, varying continuously.

bookBoltzmann law

The formula that describes the probability distribution of microstates, proportional to the exponential of negative energy over temperature, crucial for understanding the simulation.

More from 3Blue1Brown

View all 13 summaries

Found this useful? Build your knowledge library

Get AI-powered summaries of any YouTube video, podcast, or article in seconds. Save them to your personal pods and access them anytime.

Try Summify free