Thermodynamics studies heat, work, energy, entropy, and equilibrium behavior in macroscopic systems. Statistical mechanics explains those same ideas from microscopic states, probabilities, and particle energies. This cheat sheet connects the two views so students can move between state variables, thermodynamic potentials, and partition functions.
It is useful for solving problems involving engines, phase changes, ideal gases, ensembles, and equilibrium conditions.
The core ideas are the laws of thermodynamics, the fundamental relation , and the statistical definition of entropy . Free energies such as and identify natural variables and predict spontaneity under common constraints. In statistical mechanics, the partition function contains the main thermodynamic information, including and .
Key Facts
- The first law of thermodynamics is , and for pressure-volume work done by the system, \delta W = P\,dV.
- For a reversible process, the entropy change is , and for an isolated system, .
- The fundamental thermodynamic identity for a simple compressible system is .
- The Helmholtz free energy is , with differential .
- The Gibbs free energy is , with differential .
- For the canonical ensemble, the partition function is where .
- Canonical ensemble averages follow , , and .
- One Maxwell relation from is .
Vocabulary
- Entropy
- Entropy is a state function measuring energy dispersal or microscopic multiplicity, with statistical form .
- Temperature
- Temperature is the thermodynamic variable defined by .
- Partition function
- The partition function is a weighted sum over accessible energy states that determines equilibrium thermodynamic properties.
- Canonical ensemble
- The canonical ensemble describes systems with fixed , , and that exchange energy with a heat bath.
- Chemical potential
- Chemical potential is the change in internal energy when particles are added, given by .
- Free energy
- Free energy is a thermodynamic potential, such as or , used to predict equilibrium under specified constraints.
Common Mistakes to Avoid
- Confusing heat with temperature is wrong because heat is energy transferred by a temperature difference, while temperature is a state variable.
- Using for irreversible processes is wrong because the equality requires a reversible path, so use for entropy changes.
- Forgetting natural variables of thermodynamic potentials is wrong because derivatives like only hold when the correct variables are fixed.
- Treating the partition function as just a normalization constant is wrong because also gives thermodynamic quantities through derivatives of .
- Dropping the sign in work conventions is wrong because assumes work is done by the system during expansion.
Practice Questions
- 1 A monatomic ideal gas has and expands isothermally at from to . Calculate .
- 2 A two-level system has energies and . Write the canonical partition function and find the probability of occupying the excited state.
- 3 For a system with Helmholtz free energy , where is a constant, find and .
- 4 Explain why minimizing is the correct equilibrium criterion for fixed , , and , while minimizing is used for fixed , , and .
Understanding Thermodynamics and Statistical Mechanics
A key skill is separating state functions from process quantities. Internal energy, entropy, pressure, volume, and temperature describe an equilibrium state. Their changes depend only on the starting and ending states.
Heat and work describe energy transferred during a particular process. They depend on the route taken. A gas can reach the same final volume by slow compression, rapid compression, heating, or cooling.
The work can differ in each case. Slow reversible paths are especially useful because the system stays close to equilibrium, so its pressure and temperature are well defined throughout.
Real processes usually create friction, turbulence, or finite temperature differences. These make entropy and often waste heat increase.
Thermodynamic potentials are tools for choosing the right energy account for the conditions held fixed. Helmholtz free energy is useful for a system in contact with a heat bath while volume stays fixed. This appears in models of gases in a rigid container, solids, and magnetic materials.
Gibbs free energy is useful when temperature and pressure stay fixed. Many chemistry and materials problems use these conditions because reactions happen in open containers at roughly atmospheric pressure.
At fixed temperature and pressure, a change that lowers Gibbs free energy is favored until equilibrium is reached. For phase changes, such as ice melting or water boiling, the two phases can coexist when their Gibbs free energies per particle are equal.
Statistical mechanics explains why temperature enters these rules. A macroscopic sample contains an enormous number of particles, so it can occupy a huge number of microscopic arrangements. In a system connected to a heat bath, low energy arrangements are more likely than high energy arrangements.
Higher temperature makes the energy preference less strict, allowing more excited states to contribute. The partition function adds the statistical weights of all allowed states. It works like a complete inventory of the accessible microscopic behavior.
Once it is known, energy, entropy, pressure, heat capacity, and other average properties can be found from it. Fluctuations still occur, but for a large sample their relative size is usually tiny. This is why pressure gauges and thermometers give stable readings.
The choice of ensemble matters because it states what the surroundings can exchange with the system. The microcanonical ensemble fits an isolated system with fixed energy, volume, and particle number. The canonical ensemble fits a sealed system that exchanges heat with a reservoir.
The grand canonical ensemble fits systems that exchange both heat and particles, such as gas adsorption on a surface or electrons moving between a small device and electrical contacts. Students should always write down the fixed variables before selecting a potential or partition function. This simple step prevents many sign and derivative mistakes.
Maxwell relations may look abstract, but they connect quantities that are easier to measure with quantities that are harder to measure directly. For example, a relation can connect how entropy changes when volume changes with how pressure changes when temperature changes. Pressure versus temperature data can therefore reveal entropy behavior.
These relations come from the fact that thermodynamic potentials are state functions with consistent mixed derivatives. When solving problems, pay close attention to subscripts on derivatives. They state which variables are held fixed.
Also check work sign conventions, since textbooks may define work done on a system instead of work done by it. A correct physical explanation should match the signs, units, and limiting behavior of the result.