Thermodynamics

State variables, the three laws, entropy, and the thermodynamic potentials.

Thermodynamics is the bookkeeping of energy, heat, and work in systems at equilibrium. From a handful of state variables and their equation of state, the first law accounts for energy, the heat capacities and the adiabatic exponent follow, the second and third laws introduce entropy and give time its direction, and the thermodynamic potentials package it all into the energy functions that select equilibrium.