Thermodynamics

Phase Changes

Solid ↔ liquid ↔ gas — transitions that absorb or release latent heat at a fixed temperature

Matter exists in distinct phases — solid, liquid, gas, and plasma — with sharp boundaries. Phase changes (melting, freezing, vaporization, condensation, sublimation, deposition) involve absorbing or releasing latent heat without temperature change. Phase diagrams plot pressure vs temperature, showing where each phase is stable. Critical for cooking, weather, refrigeration, geology, and material science.

  • Common phasesSolid, liquid, gas, plasma
  • Six transitionsMelt, freeze, vaporize, condense, sublime, deposit
  • Triple point of water273.16 K, 611.7 Pa — all three phases coexist
  • Critical point of water374°C, 22.1 MPa — liquid/gas distinction vanishes
  • Phase diagramPlots P vs T showing phase regions
  • Latent heatAbsorbed/released at transitions (no T change)

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The four phases

PhaseParticle behaviorDensityExamples
SolidStrong bonds, fixed positions, vibrateHighIce, iron, rock
LiquidBonds present but mobileHighWater, oil, mercury
GasMostly free, weak interactionsLowSteam, air, helium
PlasmaIonized atoms, electronsVariableLightning, sun, neon signs

The six phase transitions

From → ToNameHeatExample
Solid → LiquidMelting (fusion)Absorbed (L_f)Ice → water
Liquid → SolidFreezing (solidification)ReleasedWater → ice
Liquid → GasVaporization (boiling, evaporation)Absorbed (L_v)Water → steam
Gas → LiquidCondensationReleasedSteam → water
Solid → GasSublimationAbsorbed (L_s)Dry ice → CO₂ vapor
Gas → SolidDepositionReleasedFrost, snow

Phase diagrams

A phase diagram plots pressure (P) on y-axis vs temperature (T) on x-axis, with regions for each phase. Boundaries are the conditions where transitions occur.

For water:

  • Solid (ice) region — left of melting curve, high P or low T.
  • Liquid water — center.
  • Vapor (gas) — right of vaporization curve, low P or high T.
  • Triple point — 273.16 K, 611.7 Pa. All three phases coexist.
  • Critical point — 647.1 K (374°C), 22.06 MPa. Above this, no liquid-gas distinction.
  • Anomaly — water's solid-liquid line slopes negatively (higher P melts ice at lower T).

Real-world phase change phenomena

PhenomenonExplanation
Pressure cookerHigh P → boiling at >100°C → faster cooking
Mountain altitude — water boils <100°CLower P → lower boiling point. Hard to brew coffee on Everest.
Ice melts under pressureAnomalous; why ice skating works (?? - actually mostly friction)
Frost on cold morningDeposition (water vapor → ice on cold surfaces)
Dew on grassCondensation (water vapor → liquid on cold grass)
Sublimation of dry iceBelow CO₂ triple point at 1 atm; goes directly solid → gas
Boiling water cools surroundingsSteam carries away latent heat
Frozen pipes burstWater expands ~9% when freezing
Cloud formationWater vapor condenses on aerosols as air rises and cools
GeysersSuperheated water → flash to steam → eruption

Clausius-Clapeyron equation

How phase transition temperature varies with pressure:

dP/dT = L / (T·ΔV)

For vaporization at 1 atm, ΔV ≈ V_gas (gas dominates). Using ideal gas (V = RT/P):

dP/dT ≈ L·P / (R·T²)

Integrated form gives boiling point vs pressure curve. Predicts boiling point on Mt. Everest (~70°C at ~30% sea-level pressure), pressure-cooker boiling (~120°C at ~2 atm).

JavaScript — phase change calculations

// Total heat for ice → liquid → steam
function iceToSteam(mass) {
  const c_ice = 2108;
  const c_water = 4186;
  const c_steam = 2010;
  const L_fusion = 334000;
  const L_vap = 2260000;
  
  // -10°C ice → 0°C ice → 0°C water → 100°C water → 100°C steam → 110°C steam
  const Q_ice_warming = mass * c_ice * 10;        // -10 → 0°C
  const Q_melting = mass * L_fusion;              // melt at 0°C
  const Q_water_warming = mass * c_water * 100;   // 0 → 100°C
  const Q_vaporizing = mass * L_vap;              // boil at 100°C
  const Q_steam_warming = mass * c_steam * 10;    // 100 → 110°C
  
  return {
    Q_ice_warming, Q_melting, Q_water_warming, Q_vaporizing, Q_steam_warming,
    total: Q_ice_warming + Q_melting + Q_water_warming + Q_vaporizing + Q_steam_warming
  };
}

console.log(iceToSteam(1));
// Total ~3.06 MJ; vaporization step is ~74%

// Boiling point at altitude (rough Clausius-Clapeyron)
function boilingPoint(altitude_m) {
  const T_0 = 373.15;  // 100°C
  const P_0 = 101325;
  const M = 0.018;     // water molar mass kg/mol
  const R = 8.314;
  const L = 2.26e6 * M;  // latent heat per mole
  // P ≈ P_0 · exp(-altitude / scale_height); scale_height ~ 8 km
  const P = P_0 * Math.exp(-altitude_m / 8000);
  // ln(P/P_0) = -L/R · (1/T - 1/T_0) → 1/T = 1/T_0 - R·ln(P/P_0)/L
  const T = 1 / (1/T_0 - R * Math.log(P/P_0) / L);
  return T - 273.15;  // Celsius
}

console.log(`Boiling at sea level: ${boilingPoint(0).toFixed(1)}°C`);
console.log(`Boiling at Denver (1.6 km): ${boilingPoint(1600).toFixed(1)}°C`);  // ~94
console.log(`Boiling at Mt Everest (8.85 km): ${boilingPoint(8850).toFixed(1)}°C`);  // ~71

// Pressure cooker effect
function pressureCookerBoiling(P_atm) {
  const T_0 = 373.15;
  const M = 0.018;
  const R = 8.314;
  const L = 2.26e6 * M;
  const P = P_atm * 101325;
  const T = 1 / (1/T_0 - R * Math.log(P / 101325) / L);
  return T - 273.15;
}

console.log(`Pressure cooker (2 atm): ${pressureCookerBoiling(2).toFixed(1)}°C`);  // ~120

// Freezing point depression (e.g., salting roads)
function freezingPointDepression(molality, K_f = 1.86) {
  // ΔT = K_f · m (van't Hoff for non-volatile solute)
  return -K_f * molality;
}

console.log(`5% salt water: ΔT_freeze = ${freezingPointDepression(0.85 * 2).toFixed(1)}°C`);
// Salt dissociates, factor 2; ~1.7 m → -3.2°C (freezes at -3.2°C)

Where phase changes show up

  • Cooking and food. Boiling, frying, freezing, freeze-drying. Pressure cooker exploits raised boiling point.
  • Weather and climate. Cloud formation, rain/snow, hurricanes (driven by latent heat release), permafrost melt.
  • Refrigeration. Refrigerant cycles between liquid and gas to move heat efficiently.
  • Industrial. Distillation, crystallization, freeze-drying, glass making (annealing).
  • Geology. Magma cooling and crystallization, ice ages, rock formation.
  • Astrophysics. Star formation (gas clouds collapse and ignite), planetary atmospheres (volatile boiling and condensation).
  • Medicine. Sterilization (steam at high P), cryogenic preservation, freeze-drying medications.

Common mistakes

  • Forgetting T doesn't change during phase transitions. Adding heat to boiling water keeps T at 100°C; it just makes more steam. Once water is gone, T rises again.
  • Ignoring pressure dependence. Boiling, melting, etc. all depend on pressure. "Boiling point of water" is meaningful only at specified pressure.
  • Mixing up sublimation and evaporation. Evaporation — liquid → gas (slow, surface only). Vaporization includes boiling (rapid, throughout liquid). Sublimation — solid → gas (no liquid stage).
  • Using wrong specific heat or latent heat. Each phase has its own c (ice 2108, water 4186, steam 2010). Each transition has its own L. Don't mix.
  • Treating all matter the same. Each substance has its own phase diagram, transition T, latent heats. Water's behavior (anomalous expansion, high L_v) is unusual.
  • Forgetting the triple and critical points. Above critical T and P, no liquid-gas distinction. Below triple point, no liquid phase at any P. These edges have important physics.

Frequently asked questions

Why do phase changes occur at specific temperatures?

At the transition T, the free energy of the two phases are equal — neither is preferred. Below, one phase is more stable; above, the other. The T depends on pressure (lower P → lower boiling point at altitude). Mathematically, dT/dP = T·ΔV/L (Clausius-Clapeyron equation) describes how transition T varies with P.

What happens at the triple point?

All three phases (solid, liquid, gas) coexist in equilibrium. For water — 0.0098°C and 611.7 Pa. At higher P, only liquid-gas line. At lower P, ice can sublime directly to gas. The triple point of water defined the kelvin (until 2019 SI redefinition).

What's a critical point?

Above the critical T (and P), liquid and gas become indistinguishable — a "supercritical fluid." For water — 374°C, 22.1 MPa. Supercritical CO₂ is used as a solvent (decaffeinating coffee, dry cleaning). At critical point, density of liquid and gas equalize. No surface tension in supercritical state.

Why does water expand when freezing?

Hydrogen bonds. In ice, water molecules form a tetrahedral hexagonal lattice with empty space. In liquid water, molecules are closer (denser). So ice is LESS dense than liquid water — about 9% less. Most substances contract on freezing; water is unusual. Why ice floats; why frozen pipes burst.

What's sublimation and deposition?

Sublimation — solid → gas directly (skipping liquid). Examples: dry ice (CO₂), snow on a sunny dry day, freeze-dried food. Deposition — gas → solid directly. Examples: frost forming on cold surfaces, snowflakes from atmospheric water vapor. Both happen below the triple point pressure for some substances.

How does pressure affect phase transitions?

Higher pressure favors the denser phase. Water — solid is LESS dense, so higher P melts ice at LOWER T (anomalous). Most substances — solid is denser, so higher P raises melting point. Increasing P also raises boiling point (pressure cookers exploit this; boil water at 120°C). Decreasing P (mountains, space) lowers it.

What about other phases beyond solid/liquid/gas?

Plasma (ionized gas) — found in lightning, stars, neon lights. Bose-Einstein condensate — at near-absolute zero, atoms collapse into quantum-coherent state. Superfluid helium — flows without viscosity below 2.17 K. Liquid crystals — ordered intermediate between liquid and solid. Each has unique transition physics.