Introduction to Thermodynamics
Thermodynamic equilibrium is a primitive notion of the theory of thermodynamics. (A primitive notion is not defined in terms of previously defined concepts, but appears to be immediately understandable and thus taken for granted.) Other concepts of thermodynamics (transport processes, state variables) are necessarily defined upon thermodynamic equilibrium.
Thermodynamic equilibrium of a system interacting with its surroundings is the unique stable stationary state of the system that is eventually reached over a long time.
The above postulate asserts thermodynamic equilibrium as a unary relation (i.e. property) of a system. A thermodynamic system, by default, refers to a system at thermodynamic equilibrium.
When two systems are connected, transport processes could happen at the interface. All transport processes are primitive notions in theoretical studies of the corresponding phenomena. Specifically, heat is asserted as a distinct transport process in the theory of thermodynamics.
A contact equilibrium between two systems is defined as the absence of a particular type of transport process when the systems are connected by a path permeable only to that process. Contact equilibrium shall be understood as a macroscopic equilibrium, with (almost) perfectly balanced microscopic exchanges resulting in no macroscopic flow of any kind anywhere.
Two systems are in thermodynamic equilibrium if they are simultaneously in all of the following contact equilibria:
† Paths permeable to substance is always permeable to convective heat flow, thus chemical equilibrium needs special treatment.
The above definition establishes thermodynamic equilibrium as an equivalence relation of two systems. Since contact equilibrium can be interpreted as binary relation, by physical symmetry, every contact equilibrium is a symmetric and reflexive relation. The two contact equilibria other than thermal equilibrium have already been asserted to be Euclidean relations (similar to transitivity). Together with the Zeroth Law which asserts transitivity for thermal equilibrium, the three contact equilibria are all equivalence relations, establishing thermodynamic equilibrium as a (finer) equivalence relation.
Thermodynamic equilibrium of a system is thus partitioned into equivalence classes by these contact equilibria. The thermodynamic state of a thermodynamic system refers to the equivalence class of its current thermodynamic equilibrium.
If a transport process has been assigned a direction, the (quotient set of) equivalence classes defined by the corresponding contact equilibrium can be strictly totally ordered. To capture this order structure, we can assign a unique number to each equivalence class such that the number monotonically decreases along the direction of the transport process. The quantity such assigned can be interpreted as the driving force of the transport process. This type of quantity are intensive properties of a system, because subdividing the system does not affect their value: any two subsystems of a thermodynamic system are in thermodynamic equilibrium with each other. Temperature is the intensive property of a system that drives heat transfer.
Besides order, metric is often found useful in studying equilibrium states. In case of a one-sided chain with metric, the structure of the quotient set of equivalence classes are typically modeled as non-negative real numbers for convenience. In fact, pressure, temperature, and chemical potentials are all nonnegative.
With one macroscopic intensive property for each transport process, we can identify the thermodynamic states of a system with an \(n\)-tuple: pressure, temperature, and chemical potentials.
A definite number of real variables define the states that are the points of the manifold of equilibria. [Carathéodory, C. (1909)]
Every macroscopic intensive property of a thermodynamic system is balanced. In absence of other factors triggering a transport process, the property corresponding to the process must be spatially uniform in a system at equilibrium. Intensive properties other than temperature may be driven to spatial inhomogeneity by a static long-range force field imposed on it by its surroundings. Such equilibrium inhomogeneity does not occur to temperature because, borrowing primitive notions from mechanics, long-range "force" that drives heat flow is not necessary in thermodynamics.
A state variable of a thermodynamic system is a property of the system that only depends on the current thermodynamic equilibrium. A state function, with subtle difference, refers to a state variable regarded as a function of other state variables. Obviously, the intensive properties for transport processes are state variables. State variables can also be extensive properties: volume, entropy, amount of a chemical species. Essentially any function of the thermodynamic states of a system is its state variable.
A conjugate pair is a pair of intensive and extensive properties whose product refers to work/action/energy, and are analogous to generalized force and generalized coordinate in classical mechanics. One state variable of a pair is called the conjugate variable of the other.
Table: State Variables as Conjugate Pairs by Transport Process
Process | Intensive | Extensive |
---|---|---|
Mechanical | \(p\) | \(V\) |
Thermal | \(T\) | \(S\) |
Material | \({μ_i}\) | \({N_i}\) |
Zeroth law of Thermodynamics:
Thermal equilibrium between two systems is a transitive relation. [Carathéodory, C.]
All heat is of the same kind. [Maxwell, J.C. (1871), p. 57.]
First law of Thermodynamics (for closed and open systems)
Heat is the transfer of (internal) energy.
Heat can never autonomously transfer along the temperature gradient.
As the temperature of any condensed system approaches absolute zero, its entropy change in any process also approaches zero.
Only the second and the third laws are actually empirical laws. In fact, Constantin Carathéodory (1909) formulated thermodynamics, up to the second law, on a purely mathematical axiomatic foundation.
Major implications of the laws of thermodynamics:
The intensive parameters of a system are not all independent. In thermodynamics, a phase is a form of matter that is homogeneous in chemical composition and state of matter; a component is a chemical species in a specific phase, each with a unique chemical potential. When chemical species and phases are differentiated, chemical potentials of components in each phase are related through the Gibbs-Duhem relation \( \sum_{i=1}^I N_i \mathrm{d}\mu_i = -S \mathrm{d}T + V \mathrm{d}p \).
Gibbs' phase rule: For a non-reactive thermodynamic system involving \(c\) components and \(p\) phases (\(c \ge p\)), the degree of freedom of its thermodynamic equilibria is \(2+c-p\). The phase space of the thermodynamic equilibria of a single-species single-phase system is two dimensional. Reasoning of Gibbs' phase rule: System at thermodynamic equilibrium has uniform temperature and pressure. If a system consist of multiple components, since it must be homogeneous in each phase at equilibrium, only the amount fractions in each phase count as additional degrees of freedom.
The complete set of thermodynamic (energy) potentials in closed systems: (A closed system has no material exchange with the environment; in other words, conservation of mass holds within the system.) (All the common thermodynamic potentials are energy potentials, but there are also entropy potentials, know as free entropies.)
Capacity | work \(-pV\) | non-mechanical work |
---|---|---|
heat \(TS\) | \(U\) | \(H\) |
no heat | \(F\) | \(G\) |
Principle of maximum work:
For all thermodynamic processes between the same initial and final states, the delivery of work is a maximum for a reversible process.
Criteria for thermodynamic equilibrium of a closed system:
All thermodynamic potentials are (non-standard) Legendre transforms of each other, substituting a variable to its conjugate. The Legendre transforms are nonstandard in that it is the difference, rather than the sum, of the two functions that equals the product of the conjugate pair. This strategy is used to shift each of the independent variables between extensive and intensive properties. If there are \(D\) dimensions to the thermodynamic space, then there are \(2^D\) unique thermodynamic potentials. Depending on the variables controlled in a specific situation, one thermodynamic potential will be the easiest to work with and thus the most useful. Most reactions happen at constant \(p\) and \(T\), so the Gibbs free energy is the most useful potential in studies of chemical reactions.
First derivatives of thermodynamic potentials are state variables conjugate to the varying state variable.
Second derivatives of thermodynamic potentials are material properties:
Grand potential in open systems: \( \Psi = F - \sum_i \mu_i N_i \)
The fundamental thermodynamic relation is first order equation of a thermodynamic potential, which combines the First and the Second Law (for reversible processes). The fundamental thermodynamic relation is one equation, which may be expressed with different natural variables and corresponding thermodynamic potentials. (Natural variables for a thermodynamic potential refers to the state variables appeared as differentials in the corresponding fundamental thermodynamic relation.)
\[ \begin{align} \mathrm{d} U &= &T \mathrm{d} S - p \mathrm{d} V + \sum_i \mu_i \mathrm{d} N_i \\ \mathrm{d} H &= &T \mathrm{d} S + V \mathrm{d} p + \sum_i \mu_i \mathrm{d} N_i \\ \mathrm{d} F &= &-S \mathrm{d} T - p \mathrm{d} V + \sum_i \mu_i \mathrm{d} N_i \\ \mathrm{d} G &= &-S \mathrm{d} T + V \mathrm{d} p + \sum_i \mu_i \mathrm{d} N_i \\ \mathrm{d} \Psi &= &-S \mathrm{d} T - p \mathrm{d} V - \sum_i N_i \mathrm{d} \mu_i \end{align}\]
Maxwell relations are second order equations of thermodynamic potentials: mixed order second derivatives are equal.
\[ Z_{xy} = Z_{yx} \]
Euler integrals of the fundamental thermodynamic relations determine thermodynamic potentials up to a reference constant. For example, \[ U = T S - p V + \sum_i \mu_i N_i \]
For a particular system undergoing quasi-static reversible processes, all properties of its thermodynamic states can be determined with the fundamental thermodynamic relation and the system's constitutive relations. The fundamental thermodynamic relation is based on physical laws, while constitutive relations are phenomenological.
An equation of state is an equation of several state variables. An equation of state may be expressed as an explicit function mapping a set of state variables to some other state variable. If relating the conjugate pairs of the transport processes, an equation of state is a constitutive relation of a given system. If a particular system involves \(D\) distinct transport processes, its phase space has \(D\) dimensions, and it needs \(D\) constitutive relations to fully specify its thermodynamic property. For systems with \(c\) components, it has \(c+1\) constitutive relations, mapping between the independent conjugate pairs. You need one additional extensive state variable (e.g. total particle number or volume) to complete the equations.
Statistical thermodynamics, aka equilibrium statistical mechanics, studies the properties of thermodynamic states of a system of particles. It derives state variables and equations of state from ensemble's probability distribution over micro-states. If not static, the ensemble evolution is given by the Liouville equation for classical particles, which can be derived from particle equations of motion, which in this case are Hamilton's equations. Statistical thermodynamics also studies further the into microscopic level, such as fluctuations. In other words, it takes thermodynamics from phenomenology to mechanistic theory.
Notes on Statistical ensemble theory
A statistical ensemble is a massive collection of independent hypothetical systems; each system is a massive collection of equivalent particles and its configuration evolves under a same set of dynamic equations.
Three scales of statistical ensemble model: (micro) particle -> (macro) system -> ensemble.
An ensemble is at statistical equilibrium if for each micro-state in it, the ensemble also contains all the future and past micro-states with equal probabilities.
The fundamental postulates of statistical mechanics: equal a priori probability postulate for isolated systems.
Mean values of element states in a system are equal to mean values of corresponding system states in an ensemble.
Note Outline:
Boltzmann's entropy formula: A macroscopic state of a system is a distribution on the microstates. Entropy is a measure of this distribution.
Topics in statistical mechanics