Thermodynamics Basics Introduction
Introduction to Thermodynamics: Key Concepts and Principles
Spontaneous Processes and Entropy
The Ball-and-Box Analogy
Consider a box divided into two halves by a partition, with six non-interacting gas molecules on the left side. When the partition is removed, the molecules spontaneously spread out to fill the entire volume. This process occurs spontaneously — without any external influence — because the more evenly distributed state is more probable.
The number of possible arrangements (configurations) determines the likelihood of each state. With six distinguishable balls:
All six on one side: 1 configuration
Five on one side, one on the other: 6 configurations
Four on one side, two on the other: 15 configurations
Three on each side: 20 configurations
Entropy is defined as the number of different combinations or arrangements of a system. A state with few combinations is a low entropy state; a state with many combinations is a high entropy state.
The spontaneous expansion from a small volume (all molecules on left) to a larger volume (molecules spread throughout) is thus an increase in entropy. This is a direct consequence of probability: the system evolves toward the most probable (highest entropy) configuration.
The Second Law of Thermodynamics
Second Law of Thermodynamics: In an isolated system, entropy never decreases; it either stays the same or increases. Systems naturally move from low entropy to high entropy.
This explains why we observe mixing and spreading in nature, and never see all air molecules in a room suddenly gather in one corner — the probability is astronomically small. For a mole of molecules (6.022×1023 particles), the likelihood of finding them all on one side is effectively zero.
Work can decrease entropy locally — you can push molecules back, clean your room — but doing so increases the entropy of the surroundings. The total entropy of the universe always increases.
Time Scales of Spontaneous Processes
Spontaneous does not mean instantaneous. The rate depends on the system:
Gas molecules in a room: hundreds of nanoseconds
Glass flowing in ancient cathedral windows: centuries
Tar drop experiment (University of Australia): one drop approximately every 8-9 years, captured on a decades-long webcam
Diffusion in Solutions
Non-Interacting Molecules
When a concentrated region of labeled molecules is introduced into a uniform medium, the labeled molecules diffuse and spread out spontaneously. This is again an entropy-driven process: the mixed state has more possible configurations than the concentrated state.
Diffusion is the process by which a concentrated region becomes uniformly distributed. No external work is required — it happens spontaneously due to the increase in entropy.
For non-interacting molecules, the equilibrium state is a uniform mixture (maximum entropy).
Interacting Molecules: Attraction and Repulsion
When molecules interact with each other, the behavior changes:
Attractive interactions between labeled molecules cause spontaneous unmixing. After labeling some molecules with an attractive tag, waiting leads to clustering — the molecules gather together rather than spreading out. This decreases entropy but may lower the system's energy (enthalpy) sufficiently to favor the clustered state.
Repulsive interactions cause increased ordering. For example, during an exam students spread apart to avoid sitting next to each other, creating a more ordered arrangement. This represents a decrease in entropy relative to a random distribution.
The balance between entropy (which favors disorder) and energy/enthalpy (which favors lower energy configurations) determines the final state.
Endothermic and Exothermic Processes
Endothermic Process: Ammonium Nitrate Dissolving
This reaction absorbs heat (Q) from the surroundings — it is endothermic. The system gains energy (energy increases) and also gains entropy (the solid phase becomes a liquid solution, which is more disordered). Both energy and entropy increase, so which drives the reaction?
The instant cold pack contains ammonium nitrate pellets and water in separate compartments. When squeezed, the bags break and the ammonium nitrate dissolves, absorbing heat and making the pack cold. The reaction proceeds spontaneously to the right (dissolution) because the entropy increase wins over the energy increase.
Exothermic Process: Sodium Acetate Crystallization
This reaction releases heat (Q) to the surroundings — it is exothermic. The system loses energy (energy decreases) and also loses entropy (some material goes from liquid to solid, which is more ordered). Both energy and entropy decrease.
The instant hot pack contains a supersaturated sodium acetate solution. When a metal disc is clicked (or the pack is flexed), crystallization is triggered, releasing heat and making the pack hot. The reaction proceeds spontaneously to the right because the energy decrease (enthalpy) wins over the entropy decrease.
The Balance: Thermodynamics as a Balancing Act
Nature must balance two competing tendencies:
Maximize entropy (disorder)
Minimize energy (enthalpy)
These two forces are represented on a balance (like a see-saw). For ammonium nitrate at room temperature and pressure, entropy wins; for sodium acetate, enthalpy wins. The equilibrium state for any given conditions is determined by the balance between these two factors.
Thermodynamics provides a rigorous framework to calculate this balance for any system — whether solids, liquids, gases, or reacting chemical mixtures.
Phase Diagrams: Communicating the Balance
Phase diagrams are the visual tool used in materials science to communicate the equilibrium state (the result of the entropy-enthalpy balance) for a given set of conditions.
Water Phase Diagram
Axes: Pressure (y) and Temperature (x)
Shows stable phases: ice (multiple solid phases, labeled Roman numerals I to XII), liquid water, and water vapor
At atmospheric pressure, heating ice produces liquid water then vapor — each transition increases entropy
Increasing pressure favors smaller volume phases (solids) and reveals exotic ice phases found on other planets (e.g., Europa)
Binary Phase Diagram (Copper-Zinc System)
Axes: Temperature (y) and Composition (x)
Shows the liquidus line — above it the system is a uniform liquid mixture
Below it, various solid phases (α, β, γ, δ, ε, η) appear alone or in combination
Brass (Cu-Zn) is a classic example with well-established phase diagram
Other Phase Diagram Types
Pourbaix diagram: Phase stability as a function of electrochemical potential and pH (used for corrosion prediction, battery optimization)
Ternary phase diagram: Three components (e.g., Ti-W-C), with temperature and pressure embedded as higher dimensions
Richardson-Ellingham diagram: Predicts whether a metal or its oxide is stable as a function of temperature and oxygen partial pressure (used in semiconductor processing, smelting)
Computational Phase Diagrams (CALPHAD)
CALPHAD (CALculation of PHAse Diagrams) uses databases of material properties and thermodynamic models to compute phase diagrams computationally. Software packages like Thermo-Calc allow engineers to quickly determine the equilibrium state for a given composition and conditions — essential for practical decision-making (e.g., "What percentage carbon in this steel?").
Course Overview
The thermodynamics section of this course has three parts:
Foundations of Equilibrium (Lectures 1-7): How nature determines the balanced state for any conditions — the entropy-enthalpy balance.
Application to Complex Systems: Using equilibrium concepts to calculate, construct, read, and apply phase diagrams for increasingly complex physical systems.
Statistical Physics Foundations: Returning to the basics of entropy from a molecular/statistical perspective, including more sophisticated analyses and possibly Carnot cycles.
A Final Note on Learning Thermodynamics
"Thermodynamics is a funny subject. The first time you go through it, you don't understand it at all. The second time you go through it, you think you understand it except for one or two small points. The third time you go through it, you know you don't understand it, but by that time you're used to it so it doesn't bother you anymore." — Arnold Sommerfeld
This quote reflects the common experience of learning thermodynamics. The goal of this course is not immediate mastery but rather to become proficient in using phase diagrams and understanding where they come from — even if the deeper theoretical framework takes time to fully absorb.

Ask anything
We've read this whole study set, so questions about it get the best answers.