# Criteria of Thermodynamic Equilibrium

6.3 Criteria of Thermodynamic Equilibrium
The nature of thermodynamic equilibrium has been introduced in section 1.4. As we know, it involves simultaneous thermal and mechanical equilibrium within a system. Apart from these constraints, the system must also be in a state of chemical equilibrium. In the most general sense, chemical equilibrium subsumes the following restrictions: (i) the various phases that may exist within the system are in equilibrium with each other in that there is no mass transfer of any chemical species between the phases; (ii) all reactions occurring in the system are also equilibrated, i.e., there is no further progress of the reaction in terms of conversion of the reactants to products. The last two criteria are better understood in terms of the property called chemical potential, which we shall introduce in the following section. Here we focus on the overall, general criterion that must be in obeyed for any chemical system in equilibrium regardless of whatever species, phases or reactions that defines it.

Consider a closed system, which can be either homogeneous or heterogeneous, and which exists in a state of thermal and mechanical equilibrium with its surroundings. However, we assume that it is not under equilibrium with respect to possible inter-phase transfer of the chemical species or reactions between them. If the latter conditions prevail, all inter-phase transfer processes or reactive transformation of species must continue to occur till the point when the system is also at chemical equilibrium. In all real systems such changes are induced by finite gradients and are therefore are irreversible in nature. Applying the first law equation for all such changes for the system: We next consider that the system is under thermal and mechanical equilibrium with the surroundings (surr). Under such a situation: (6.29)
And also: (note that for system)      (6.30)
But by the second law: (6.31)
On combining eqns. 6.30 and 6.31 we get: (6.32)
Combining eqns. 6.28, 6.29 and 6.32: (6.33)
It follows that for all incremental changes within the system, which take it closer to the final thermodynamic equilibrium, the property changes must satisfy the constraint imposed by eqn. 6.33. If the changes internal to the system occur under reversible conditions, the equality sign is valid; on the other hand, for irreversible processes the inequality condition holds.
Equation 6.33 can be used to generate alternate criteria of thermodynamic equilibrium, namely: (6.34) (6.35)
The other two criteria which are most apt in relation to thermodynamics of phase equilibria involves the use of Helmoholtz and Gibbs free energy. If a process takes place under the constraints of constant temperature and volume then: Or:  (6.36a)
And, if the process occurs under constant temperature and pressure one may write: Or: Equation 6.36b provides the most practical of the three versions of general criteria of approach to equilibrium, as temperature and pressure are the most easily measurable of all the thermodynamic properties. As we have argued at the early part of this section at total thermodynamic equilibrium not only are thermal and mechanical gradients non-existent, there can be no further change in either the composition of any of the phases, or that of the reactive species. If there are any such incremental, infinitesimal changes of composition variables at the state of complete equilibrium the system once again must return to its stable state. This is exactly akin to the concept of equilibrium for mechanical systems presented in section 1.4. Therefore one may write the following equation to characterize thermodynamic equilibrium: (6.37) In summary, therefore, eqn. 6.37 constitutes a generalized description of thermodynamic equilibrium, which may be stated as follows:  “The equilibrium state of a closed system is that state for which the total Gibbs energy is a minimum with respect to all possible changes at the given T and P”. This criterion of equilibrium can be employed for determination of equilibrium states of a system in terms of its T, P and compositions. In principle, one first expresses Gt (at a given temperature and pressure) as a function of the numbers of moles of each chemical species present in the various phases. Next one makes a partial differential operation on Gt with respect to moles of each species in the phases, and sets each such differential to zero to obtain the set of values for the mole numbers that minimizes Gt, subject to the constraints of conservation of mass. This procedure can be applied to problems of phase, chemical-reaction equilibria; and, of course, the most complex of chemical thermodynamic problems, where the criteria of phase and chemical-reaction equilibrium are valid simultaneously. As we will see, eqn. 6.37 forms the foundation for developing more specific criteria that can help describe both phase (section 6.3) and chemical reaction equilibria (section 8.3).
(6.36b)
(6.28)