Home /Modules/stanford-math/EQUATIONS-THERMODYNAMICS.md

EQUATIONS-THERMODYNAMICS.md

stanford-math/EQUATIONS-THERMODYNAMICS.md · 202 line(s) · markdown

Thermodynamics & Statistical Mechanics Canon

48 equations, sourced from SMThermoEquations.sleela -- the single source of truth. This document is a human-readable mirror of that record; if the two ever disagree, the .sleela canon wins and this file is stale.

Thermodynamics and statistical mechanics from the four laws outward: entropy (Clausius, Boltzmann, Gibbs), the free energies, equations of state, the Maxwell-Boltzmann distribution and partition function, the critical point where molecular attraction governs, chemical affinity, and the equilibrium (equality) conditions, out to the bridge to information at Landauer's limit. This is the reach the Stanford probability tradition touches through statistical mechanics, each row with a one-line note on why it matters.

The one hard rule governs every row: values are faithful to the subject's real origin where publicly known; diffuse or unknown attributions are marked honestly (unknown, classical, attrib.), never invented to look legitimate. Symbolic forms use plain-ASCII notation (^ power, * product, sqrt, integral, sum, product, laplacian, Greek names spelled out) so they stay greppable and diff-friendly. The Why it matters column states each result's significance in one faithful line.

The 48 equations

#EquationFormFieldDiscoverer(s)YearWhy it matters
1Zeroth law of thermodynamicsA~C and B~C => A~B (thermal equilibrium is transitive)thermodynamicsFowler & Guggenheim (named)1939Thermal equilibrium is transitive; what makes temperature a well-defined quantity.
2First law of thermodynamicsdU = dQ - dWthermodynamicsClausius; Joule; Mayer1850Energy is conserved as heat and work; thermodynamic bookkeeping of energy.
3Second law (Clausius)dS >= dQ / T, dS_universe >= 0thermodynamicsRudolf Clausius1865Entropy never decreases; the law that gives time its direction.
4Third law of thermodynamicsS -> 0 as T -> 0 (perfect crystal)thermodynamicsWalther Nernst1906Entropy approaches a constant at absolute zero; absolute zero is unreachable.
5Entropy (Clausius definition)dS = dQ_rev / TthermodynamicsRudolf Clausius1865Defines entropy from reversible heat flow; the macroscopic origin of the concept.
6Boltzmann entropyS = k * ln(W)statistical mechanicsLudwig Boltzmann1877S = k ln W links entropy to microscopic arrangements; the founding equation of statistical mechanics.
7Gibbs entropyS = -k * sum p_i ln p_istatistical mechanicsJ. Willard Gibbs1878Entropy from a probability distribution over states; the general statistical definition.
8Ideal gas lawP V = n R TthermodynamicsClapeyron (combined)1834Pressure, volume, and temperature in one relation; the first equation of state students learn.
9Gibbs free energyG = H - T SthermodynamicsJ. Willard Gibbs1873Predicts spontaneity at constant T and P; the chemist's criterion for reaction direction.
10Helmholtz free energyF = U - T SthermodynamicsHermann von Helmholtz1882The usable work at constant temperature and volume; central to statistical mechanics.
11EnthalpyH = U + P VthermodynamicsKamerlingh Onnes (term)1909Heat content at constant pressure; the accounting variable for reactions and phase changes.
12Carnot efficiencyeta = 1 - T_cold / T_hotthermodynamicsSadi Carnot1824The absolute ceiling on any heat engine; founded the second law and thermodynamic temperature.
13Maxwell-Boltzmann distributionf(v) ~ v^2 e^(-m v^2 / (2 k T))statistical mechanicsMaxwell; Boltzmann1860The spread of molecular speeds in a gas; first link from mechanics to temperature.
14Boltzmann factorP(E) ~ e^(-E / (k T))statistical mechanicsLudwig Boltzmann1868Probability of a state falls exponentially with its energy; the single most-used rule in stat-mech.
15Partition functionZ = sum_i e^(-E_i / (k T))statistical mechanicsBoltzmann; Gibbs1901Sums over all states; the generating function from which every thermodynamic quantity follows.
16Stefan-Boltzmann lawj = sigma T^4thermodynamicsStefan; Boltzmann1879Radiated power scales as T^4; how we measure the temperatures of stars.
17Clausius-Clapeyron relationdP/dT = L / (T dV)thermodynamicsClausius; Clapeyron1834Governs how phase-boundary pressure varies with temperature; explains boiling and melting curves.
18Gibbs-Helmholtz equationd(G/T)/dT = -H / T^2thermodynamicsGibbs; Helmholtz1882Relates free energy to enthalpy and temperature; key to the temperature dependence of equilibria.
19Sackur-Tetrode equationS = N k [ln(V/N (4 pi m U/(3 N h^2))^{3/2}) + 5/2]statistical mechanicsSackur; Tetrode1912The absolute entropy of an ideal gas from quantum constants; a triumph of early quantum stat-mech.
20Landauer's principleE_min = k T ln(2) per bit erasedinformation thermodynamicsRolf Landauer1961Erasing a bit costs a minimum of kT ln2 of energy; the physical price of information.
21Van der Waals equation of state(P + a n^2/V^2)(V - n b) = n R TthermodynamicsJohannes van der Waals1873The first realistic gas law with molecular size and attraction; predicts condensation.
22Heat capacity relation (ideal gas)C_p - C_v = n RthermodynamicsMayer's relation1842Cp - Cv = nR links the two heat capacities; an early quantitative success of kinetic theory.
23Fourier's law of heat conductionq = -k grad TthermodynamicsJoseph Fourier1822Heat flows down the temperature gradient; the constitutive law of conduction and the heat equation.
24Chemical potential (Gibbs)mu = (dG/dN)_{T,P}statistical mechanicsJ. Willard Gibbs1876The free-energy cost of adding one particle; the driver of diffusion, reactions, and phase change.
25Critical-point conditions(dP/dV)_T = 0 and (d2P/dV2)_T = 0thermodynamicsvan der Waals (locus); Gibbs (stability)1873The first and second volume-derivatives of pressure both vanish -- this locates the critical point where liquid and gas become one.
26Van der Waals critical constantsV_c = 3 n b, T_c = 8 a / (27 R b), P_c = a / (27 b^2)thermodynamicsJohannes van der Waals1873Solving the critical conditions gives Tc, Pc, Vc directly from the attraction a and size b -- molecular attractiveness fixes where the phase law sits.
27De Donder chemical affinityA = -sum_i nu_i mu_i, with A dxi >= 0chemical thermodynamicsTheophile De Donder1922A = -sum nu_i mu_i is the thermodynamic driving force of a reaction; the bridge from thermodynamics to chemical kinetics.
28Chemical / phase equilibrium (affinity = 0)A = 0 => sum_i nu_i mu_i = 0 (phase coexistence: mu_1 = mu_2 at equal T, P)chemical thermodynamicsGibbs; De Donder1876Equilibrium is the equality A = 0 (sum nu_i mu_i = 0); for coexisting phases it means equal T, P, and chemical potential.
29Maxwell relation (dS/dV = dP/dT)(dS/dV)_T = (dP/dT)_VthermodynamicsJames Clerk Maxwell1871A thermodynamic cross-derivative identity from the free energy; relates measurable quantities.
30Maxwell relation (dS/dP = -dV/dT)(dS/dP)_T = -(dV/dT)_PthermodynamicsJames Clerk Maxwell1871A Maxwell relation connecting entropy, pressure, and thermal expansion.
31Maxwell relation (dT/dV = -dP/dS)(dT/dV)_S = -(dP/dS)_VthermodynamicsJames Clerk Maxwell1871A Maxwell relation from the internal energy; links temperature and pressure derivatives.
32Maxwell relation (dT/dP = dV/dS)(dT/dP)_S = (dV/dS)_PthermodynamicsJames Clerk Maxwell1871A Maxwell relation from the enthalpy; a tool for deriving equations of state.
33Euler relation (extensivity)U = T S - P V + sum mu_i N_ithermodynamicsJ. Willard Gibbs1875Integrates the fundamental relation using extensivity; yields the Gibbs-Duhem constraint.
34Gibbs-Duhem relationS dT - V dP + sum N_i dmu_i = 0thermodynamicsGibbs; Duhem1875Constrains how intensive variables can jointly vary; limits independent chemical potentials.
35Clausius inequalityclosed_integral dQ/T <= 0thermodynamicsRudolf Clausius1865Entropy cannot decrease in a cycle; the mathematical form of the second law.
36Entropy change (reversible)dS = dQ_rev / TthermodynamicsRudolf Clausius1865Defines entropy via reversible heat over temperature; the operational definition of entropy.
37Joule-Thomson coefficientmu_JT = (dT/dP)_HthermodynamicsJoule; Thomson1852Describes temperature change on throttling a gas; the basis of refrigeration and liquefaction.
38Dulong-Petit lawC_molar = 3 Rstatistical mechanicsDulong; Petit1819Solids have roughly constant molar heat capacity; an early classical result corrected by quantum theory.
39Einstein heat capacityC_V = 3 N k_B (x^2 e^x)/(e^x - 1)^2statistical mechanicsAlbert Einstein1907The first quantum model of solid heat capacity; explained its fall at low temperature.
40Grand canonical partition functionXi = sum e^(-(E - mu N)/(k_B T))statistical mechanicsJ. Willard Gibbs1902Sums over particle number and energy; the engine of open-system statistical mechanics.
41Grand potentialOmega = -k_B T ln Xi = -P Vstatistical mechanicsJ. Willard Gibbs1902The thermodynamic potential for open systems; equals minus pressure times volume.
42Free energy from partition functionF = -k_B T ln Zstatistical mechanicsJ. Willard Gibbs1902Connects microscopic states to macroscopic free energy; the bridge of statistical mechanics.
43Equipartition theorem<E> = (f/2) k_B Tstatistical mechanicsBoltzmann; Maxwell1876Each quadratic degree of freedom carries kT/2 of energy; a classical cornerstone.
44Fluctuation-dissipation (energy variance)<dE^2> = k_B T^2 C_Vstatistical mechanicsEinstein; Nyquist1905Energy fluctuations relate to heat capacity; a case of the fluctuation-dissipation theorem.
45Onsager reciprocal relationsL_ij = L_jinon-equilibrium thermodynamicsLars Onsager1931Symmetry of coupled irreversible flows; the founding result of non-equilibrium thermodynamics.
46Clapeyron equationdP/dT = L / (T dV)phase transitionsEmile Clapeyron1834The slope of a phase boundary from latent heat and volume change; governs phase coexistence.
47Gibbs adsorption isothermdgamma = -sum Gamma_i dmu_isurface thermodynamicsJ. Willard Gibbs1878Links surface tension to adsorbed concentration; the basis of surfactant science.
48Kirchhoff's law (enthalpy vs T)d(dH)/dT = dC_pthermochemistryGustav Kirchhoff1858How reaction enthalpy varies with temperature via heat capacities; a thermochemistry workhorse.

Validate

These equations are compiled, not just documented. Build the source compiler, then check and run the sibling demo (which prints every entry and the running total across all four canons):

SLEELA_LIB="$PWD/stanford-math" impl/build/sleela check stanford-math/SMArchive.sleela
SLEELA_LIB="$PWD/stanford-math" impl/build/sleela run   stanford-math/SMArchive.sleela

Sources & attribution

Names, forms, discoverers, and years follow the standard history-of-science record; the Why it matters notes summarize the result's established significance. See SMProvenance.sleela for the tiered source registry (primary papers, secondary references such as NIST DLMF / Abramowitz & Stegun, and tertiary locators including Wikipedia, cited as CC BY-SA and never treated as a primary authority) and the repo README.md for per-class integrity goals. This archive records and attributes published results; it does not originate, own, or certify them.

Definitions & relevance (second-layer additions)

The entries below are the second-layer additions to this canon, organized by type. Each gives a short definition (what the relation states and what its symbols mean) and its relevance (why it is foundational to thermodynamics and statistical mechanics).

Classical thermodynamics

The four Maxwell relations each follow from the equality of mixed second derivatives of a thermodynamic potential (U, H, F, G). Their shared relevance is enormous leverage: they replace hard-to-measure entropy derivatives with easy mechanical ones, so an entropy response can be gotten from a measured equation of state.

Maxwell relation (dS/dV = dP/dT) — (dS/dV)_T = (dP/dT)_V. Derived from the Helmholtz free energy F(T,V), it expresses how entropy responds to volume in terms of how pressure responds to temperature — the most-used Maxwell relation.

Maxwell relation (dS/dP = -dV/dT) — (dS/dP)_T = -(dV/dT)_P. Derived from the Gibbs free energy G(T,P), it connects the entropy–pressure response to thermal expansion, directly measurable in the lab.

Maxwell relation (dT/dV = -dP/dS) — (dT/dV)_S = -(dP/dS)_V. Derived from the internal energy U(S,V), it links temperature and pressure derivatives along adiabats.

Maxwell relation (dT/dP = dV/dS) — (dT/dP)_S = (dV/dS)_P. Derived from the enthalpy H(S,P), it is a standard tool for building and checking equations of state.

Euler relation (extensivity) — U = T S - P V + sum mu_i N_i. Because energy is a first-order homogeneous function of the extensive variables, it integrates to this closed form. It is the structural backbone that makes the fundamental relation self-consistent and yields the Gibbs-Duhem constraint.

Gibbs-Duhem relation — S dT - V dP + sum N_i dmu_i = 0. Constrains how the intensive variables (temperature, pressure, chemical potentials) may vary together, so they are not all independent. It is foundational for phase and mixture thermodynamics, fixing how many intensive quantities one can set freely.

Clausius inequality — closed_integral dQ/T <= 0. Over any cyclic process the integral of heat over temperature cannot be positive, with equality only for reversible cycles. It is the precise mathematical statement of the second law and the origin of entropy as a state function.

Entropy change (reversible) — dS = dQ_rev / T. Defines the entropy change of a system as the reversible heat transferred divided by temperature. It is the operational definition that turns entropy from an abstraction into a computable quantity.

Joule-Thomson coefficient — mu_JT = (dT/dP)_H. The temperature change of a real gas as it is throttled at constant enthalpy; its sign decides whether the gas heats or cools. It is the thermodynamic basis of gas liquefaction and refrigeration.

Statistical mechanics

Dulong-Petit law — C_molar = 3 R. Classical equipartition predicts a constant molar heat capacity for crystalline solids. Its success at high temperature and failure at low temperature was a key clue that led to quantum theories of heat capacity.

Einstein heat capacity — C_V = 3 N k_B (x^2 e^x)/(e^x - 1)^2. The first quantum model of a solid, treating atoms as identical quantized oscillators. It explained the fall of heat capacity toward zero at low temperature — an early triumph of quantum ideas.

Grand canonical partition function — Xi = sum e^(-(E - mu N)/(k_B T)). Sums over both energy and particle number for a system open to a reservoir. It is the engine of open-system statistical mechanics, from which pressure, particle number, and fluctuations follow.

Grand potential — Omega = -k_B T ln Xi = -P V. The thermodynamic potential natural to open systems, connecting the grand partition function to measurable pressure and volume. It is the open-system analog of the free energy.

Free energy from partition function — F = -k_B T ln Z. The single most important bridge in statistical mechanics: it links the microscopic sum over states to the macroscopic Helmholtz free energy. Every thermodynamic quantity can be derived from it.

Equipartition theorem — <E> = (f/2) k_B T. Each quadratic degree of freedom carries an average energy of k_B T / 2 in classical equilibrium. It explains ideal-gas heat capacities and sets the classical baseline that quantum effects later modify.

Fluctuation-dissipation (energy variance) — <dE^2> = k_B T^2 C_V. Relates the size of spontaneous energy fluctuations to the heat capacity. It is a concrete case of the deep fluctuation-dissipation theorem linking noise to response.

Beyond equilibrium, phases, surfaces & thermochemistry

Onsager reciprocal relations — L_ij = L_ji. The matrix of coefficients coupling thermodynamic forces to flows is symmetric, a consequence of microscopic time-reversal symmetry. It is the founding result of near-equilibrium irreversible thermodynamics (and earned Onsager a Nobel Prize).

Clapeyron equation — dP/dT = L / (T dV). Gives the slope of a coexistence line in the pressure–temperature plane from the latent heat and volume change of the transition. It is the exact governing relation for first-order phase boundaries.

Gibbs adsorption isotherm — dgamma = -sum Gamma_i dmu_i. Relates the change in surface tension to the amount of each species adsorbed at an interface. It is foundational to surface thermodynamics and the science of surfactants.

Kirchhoff's law (enthalpy vs T) — d(dH)/dT = dC_p. The temperature dependence of a reaction's enthalpy equals the difference in heat capacities of products and reactants. It is the standard tool for correcting thermochemical data to a target temperature.