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.
An equivalence relation partitions a set into a collection of equivalence classes, referred to as the quotient set/space of the set by the equivalence relation. The thermodynamic equilibrium of a system is thus partitioned into a quotient set by these contact equilibria, called the (phase) space of thermodynamic states. 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.
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 is typically modeled as nonnegative real numbers for convenience.
This type of quantities 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.
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.
With one macroscopic intensive property for each transport process, we can identify the thermodynamic states of a system with an \(n\)-tuple of nonnegative numbers: pressure, temperature, and chemical potentials. But not all of them are independent; they are related by the Gibbs–Duhem equation in each phase. (See Chemical Equilibrium)
A definite number of real variables define the states that are the points of the manifold of equilibria. [Carathéodory, C. (1909)]
The dimension of the space of thermodynamic system is determined by 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\). For example, the space of thermodynamic states of a single-species single-phase system is two dimensional, where the two corresponds to the mechanical and thermal transport processes. Reasoning of Gibbs' phase rule: System at thermodynamic equilibrium has uniform temperature and pressure. If a system consists 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.
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.
Dependency among state variables can be formulated as equations of state, some of which may be expressed as explicit functions. If relating the conjugate pairs of the transport processes, an equation of state is a constitutive relation of a given system. If the space of thermodynamic states of a system has \(D\) dimensions, it has \(D\) constitutive relations mapping between the independent conjugate pairs. You need one additional extensive state variable (e.g. total particle number or volume) to fully specify its thermodynamic property.
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 First Law effectively unifies distinct physicochemical processes under the umbrella of energy, a conserved quantity in each transport phenomenon.
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 of Action by Transport Process
Process | Intensive | Extensive | Action |
---|---|---|---|
Mechanical | \(p\) | \(V\) | \(W\) |
Thermal | \(T\) | \(S\) | \(Q\) |
Material | \({μ_i}\) | \({N_i}\) | \(G\) |
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.)
Grand potential is a common thermodynamic potential in open systems: \( \Psi = F - \sum_i \mu_i N_i \)
Table: Relations among thermodynamic potentials of a closed system
Capacity | work \(-pV\) | non-mechanical work |
---|---|---|
heat \(TS\) | \(U\) | \(H\) |
no heat | \(F\) | \(G\) |
All thermodynamic potentials are (non-standard) Legendre transforms of each other, substituting a variable to its conjugate variable. 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. For a space of thermodynamic states with \(D\) dimensions, 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. For example, Gibbs free energy is the most useful thermodynamic potential in studies of chemical reactions, because most reactions happen at constant pressure and temperature.
First partial derivatives of thermodynamic potentials are state variables conjugate to the varying state variable. Second partial derivatives of thermodynamic potentials are material properties: coefficient of thermal expansion, coefficient of thermal pressure; isothermal compressibility, adiabatic compressibility; specific heat (at constant pressure, at constant volume).
The Second Law has many implications:
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:
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.
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}\]
Euler integrals of the fundamental thermodynamic relations determine thermodynamic potentials up to a reference constant. For example, the Euler integral of internal energy is:
\[ U = T S - p V + \sum_i \mu_i N_i \]
Maxwell relations are second order equations of thermodynamic potentials: mixed order second derivatives are equal.
\[ Z_{xy} = Z_{yx} \]
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