10 Thermochemistry. Detailed balance.
Of great direct importance to chemists and biologists is the branch of Thermodynamic that deals with chemical equilibrium. This will be the first time we face a situation where a particle can split into two or more particles which, automatically, have difference properties. Likewise, two or more particles, be they distinct or not, can transiently bind to form something a new species. Both of these processes are generally present and cannot be stopped, in fact. The question is, then, whether the composition will ever become steady-state. If yes, what controls the steady-state composition? Will the chemical process proceed in the direction we expect it to, say, formation of another molecule of practical significance, or will the reaction not occur?
First off, we need to generalize the definition of the free energy to include the possibility that there are more than one kind of particles, i.e., chemical species, in the system. In most cases, we are interested in chemical reactions at constant pressure and temperature, and so the appropriate free energy is that due to Gibbs:
(1)
where, by construction, the chemical potential of species is the free energy cost of adding one particle of species , while keeping pressure, temperature, and the amount of the other species constant:
(2)
While we’ll concentrate on conditions, other types of conditions can be described analogously using appropriate thermodynamic potentials. To give a few examples:
(3)
The Gibbs free energy of a mixture has an important property of being a sum of the chemical potentials of the constituents, each multiplied by the corresponding particle number:
(4)
where the summation is over the distinct species, of which there are . To see this, we first note that
(5)
where is the total particle number and is the mole fraction of species . Thus,
(6)
On the other hand, the Gibbs energy depends on exclusively through the partial quantities , and so we obtain, using the chain rule of differentiation while setting :
(7)
where we used and . Note that although the chemical potentials do not contain any information as to the total size of the system or the total quantity of the components, they do generally depend on the partial quantities of the components. We will see concrete examples of this shortly.
It will be convenient in this Chapter to work with moles, not particle numbers. To make the switch we first we note that
(8)
where is thus the number of moles of species . For this Chapter, we re-define the chemical potential to be per mole:
(9)
so that the units are now J/mol. Because the letter is now used to denote the number of moles, we will be using a different notation for the concentration. This notation is the same letter , but now enclosed in square brackets: . This is commonly done in Chemistry textbooks. Note the concentration can be either in terms of particles per unit volume, or moles per unit volume, and so one must be careful with the units, as always.
With the above definitions, we obtain:
(10)
and
(11)
This equation—like the Eq. 4—is an example of Hess’s Law, by which the total thermodynamic potential or entropy of a mixture is equal to the sum of the partial contributions of the individual species weighted by the respective amounts. Again, it is important to realize that those individual contributions are affected by the presence of the other species, if any, and are not generally equal to their values for the respective pure substances.
A conventional way to write down a chemical reaction is to place the reactants on one side of the equation and the products on the other side. For instance, the process where molecular hydrogen and oxygen combine to form water and the reverse process where water dissociates to form molecular hydrogen and oxygen can be written like this:
H2 + O2 = H2O
To avoid ambiguity as to what we consider products and what reactants, we will group all the component names on one side of the equation (and leaving zero on the other side), where the stoichiometric coefficient for the products are, by construction, positive, and the stoichiometric coefficient for the reactants are negative:
H2O – H2 – O2 = 0
We shall use the Greek letter to denote the stoichiometric coefficient for species . Thus for the reaction above:
With this convention, it is straightforward to quantify the progress of the reaction with just one variable called the progress coordinate or progress variable, because the consumption of reactants and the production of products are strictly related. For instance, in the above reaction, for each mole of H2 and half-mole of O2 consumed, one mole of H2O is produced. We shall use the Greek letter for the progress variable and have it that if no reaction has proceeded, i.e., no reactants have been used up:
(12)
where is the number of moles of species in the beginning of the process or in some standard state. By construction, then, attains its largest possible value once the reaction has fully completed.
Our next task is to determine the equilibrium value of , i.e., the extent to which the reaction will proceed, if at all. To do so, we recall that the Gibbs free energy must reach its lowest possible value in equilibrium. Inserting Eq. 12 in the expression 10 for the Gibbs free energy, we thus obtain the increment of the familiar thermodynamic potential , which is now an explicit function of the progress coordinate :
(13)
and the quantity in the brackets is called the Gibbs energy of the reaction, not to be confused with the Gibbs energy of the system:
(14)
By Eq. 13, the Gibbs energy of the reaction is the derivative of the (non-equilibrium) Gibbs free energy with respect to the progress coordinate
(15)
Since the equilibrium value of the Gibbs energy corresponds to the minimum of ,
the equilibrium value of corresponds with . Furthermore, if the reactive mixture happens to have been prepared away from the equilibrium composition, the direction of the process will be determined by the sign of , since for , , and so will be increasing until it reaches its equilibrium value and vice versa for . We summarize these notions in the Table below:
reaction will proceed as written | ||
reaction will proceed in the opposite direction | ||
the reactive mixture is already at equilibrium |
It is straightforward to obtain an explicit expression for the Gibbs free energy of a gas reaction in the approximation of the gases being nearly ideal. We will use the expression for the chemical potential we had obtained in Chapter 7, which we re-write here per mole:
(16)
To make it a function exclusively of temperature and pressure, we will use the ideal gas law and standard formulas and to obtain , where the constant depends on the standard pressure and temperature and, also, contains numerical factors. In much of the following, we will set the temperature to its standard value, which, then, yields a greatly simplified expression for the chemical potential:
(17)
Note that this expression can be used to evaluate the chemical potential of the gas when the gas is part of a gas mixture but now stands for the partial pressure of the gas in the mixture. Indeed, Eq. 16 contains the full volume of the system, and so the equation of state , where is the particle number for component , gives the pressure due to the component exclusively, irrespective of whether other components are present or not.
Now consider, for the sake of argument, the very simplest reaction
A = B
and assign species B to be the product and species A the reactant:
B – A = 0
Thus
A =
and
B =
Assume further that this is a gas reaction and that the gases are nearly ideal. If the total pressure is , the partial pressures of the species A and B, respectively, are given by:
(18)
and
(19)
because and , while . Note that the chemical potentials of both species A and B depend on the mole fractions of the components, as was alluded to earlier.
Substituting the partial pressures in the respective expressions for the chemical potentials in Eq. 10, one obtains the following expression for the overall (non-equilibrium) Gibbs energy:
(20)
thus leading to
(21)
In this expression, we recognize the last term as that arising from the entropy of mixing: . One can easily check that the remaining terms are a weighted sum of the chemical potentials of pure species A and B, respectively, the weights determined the corresponding mole fractions.
The mixing contribution has an important mathematical property that its derivatives are infinite at the l.h.s. and r.h.s. edges of interval of allowed values of . At the same time, the slope of the remaining dependence is finite throughout. This implies that the minimum of the non-equilibrium Gibbs energy is necessarily contained within the interval.
This means that the reaction always proceeds at least to some extent but, at the same time, never proceeds to full completion! This interesting entropic effect comes about, physically, because no matter how unfavorable the reactants or products might be, once formed they will have the whole volume of the system at their disposal. For this very reason, it is very hard to purify a substance or, for instance, fully eliminate crime in a large city. On the good side, it also means that a large city is essentially guranteed to have exceptionally good people, too!
By analogy with the expression for the chemical potential of an ideal gas of species
(22)
be the species in pure form or a part of a gaseous mixture, we use the following formal expression for the chemical potential of species in any physical form:
(23)
where the quantity is called the activity. To reiterate,
(24)
For non-ideal gases, on the other hand, , where is called the fugacity coefficient (the combination is called the fugacity) and is the total pressure. Note that for non-ideal gases, one can no longer define partial pressures since distinct components now interact. For liquid mixtures, we take the respective pure substances as the standard states, and so, by definition, in the standard state. The rationale behind the convention 23 is not solely formal: In the limit of low mole fraction of the species one can think of it as a dilute “gas” of molecules of this species while the rest of the liquid mixture can be thought of as an effective vacuum that can be described effectively as a vacuum but with somewhat distinct properties from the actual vacuum. Since the molecules of this effective “gas” do not interact with each other, we expect the activity to scale linearly with its concentration
(25)
as if the species were a nearly ideal gas.
It is instructive to express the reaction’s Gibbs energy through the activities:
(26)
where we have defined the standard Gibbs energy of the reaction
(27)
and the so called reaction quotient
(28)
The reaction quotient looks like a rather formal object yet it is the only systematic way to quantify the balance between the reactants and products. For instance, consider the dilute limit of the gas reaction 2H2O – 2H2 – O2 = 0. Hereby, the activity of each component is proportional to its concentration, and so , which makes perfect sense: The chances of the reaction proceeding in the direction as written is determined by the probability of bringing together two hydrogen molecules and one oxygen molecule, which is proportional to the product . (Recall that the probabilities of independent events multiply and that the probability to find a molecule is proportional to the concentration of that molecule.) On the other hand, since the reaction produces two water molecules, the probability of the reverse process is determined by the chances of bringing together two water molecules. Thus the proper measure of the probability to be in the “product state” of the system relative to the “reactant state of the system” is given by the reaction quotient.
What is the equilibrium value of the reaction quotient? According to the Table above, the reactive mixture is in equilibrium, if . Thus, by Eq. 26, we have at equilibrium
(29)
The equilibrium value of the reaction constant is rather special and has its own name: the equilibrium constant:
(30)
Thus we obtain that the equilibrium constant, i.e., the equilibrium value of the reaction quotient has the following relation with with the standard Gibbs free energy:
(31)
Not surprisingly, we obtain that the probability of being in the product relative to reactant state is given by the relative Boltzmann weight of the two states, in complete consonance with our developments so far.
Note that to each value of temperature there corresponds a unique value of the equilibrium constant. Moreover, the equilibrium constant is exclusively a function of temperature, but not pressure since the standard pressure is fixed, by convention.
The above notions can be used to analyze the pressure dependence of the chemical equilibrium. As an example, consider the following simple gas reaction, where a weak complex N2O4 (reversibly) falls apart into two identical molecules NO2:
N2O4 = 2 NO2
According to Eq. 12, , and while the total amount is . Thus:
N2O4 | NO2 | |
initial amount | 1 | 0 |
equilibrium amount | ||
equilibrium mole fraction | ||
partial pressure in equilibrium |
where is the total pressure: . This yields for the equilibrium constant, after simple algebra:
(32)
The relation between the equilibrium constant and the equilibrium value of the reaction coordinate we just obtained happens to be simple enough that we can solve it for in terms of pressure and the equilibrium constant:
(33)
We plot it here as a function of pressure for three select values of :
Clearly, the amount of products decreases with pressure. This is expected since the volume of the product is greater than the volume of the reactants, per mass. Thus one can shift the equilibrium toward reactants by increasing the pressure and toward products by reducing the pressure. This is an example of the Le Chatelier principle, whereby the system responds so as to compensate the external influence. Indeed, by reducing the volume of the mixture, the system “mitigates” our attempt to increase its pressure. We also see the amount of products increases with the equilibrium constant, as expected.
In addition to the direction of a chemical process, of interest is also the heat, or, enthalpy of the reaction since it determines how much heat will be produced or consumed during the reaction. In the former case, one must be able to sequester the heat to avoid explosion while in the latter case, one must supply heat in order for the reaction to take place. Note that in either case, the kinetics are important because what matters is how much heat is produced/consumed in unit time. Here we are mostly concerned with the thermodynamics, i.e., the total amount of heat produced or consumed. This amount is determined by the amount of reactive mixture and the extent of deviation from equilibrium; it does not depend on the kinetics of the process.
To determine the enthalpy of the reaction we first derive a differential relation between and . For a pure substance,
(34)
where we used that and . We also assume that pressure and particle number remain constant.
The same relation holds for the enthalpy and Gibbs energy per mole, as can be seen by dividing out the above equation by number of moles:
(35)
where we have added the label to allow us to write this equation for different species and remembered that the chemical potential is the Gibbs energy per mole.
Let us define the reaction enthalpy analogously to the reaction Gibbs energy
(36)
Multiplying the Eq. 35 by and summing over the species, , yields
(37)
thus yielding
(38)
where, again, the pressure and particle number for each species is held constant, and we used the definition of the reaction Gibbs energy 14. On the other hand, according to Eq. 31, the standard Gibbs energy
(39)
is a pressure independent quantity and does not depend on the particle number either. Thus we obtain that the standard reaction enthalpy obeys the following equation:
(40)
where we were able to replace the partial derivative w.r.t. with the full derivative since is the only variable. This equation—which is often referred to as the van’t Hoff equation— is particularly useful when the reaction enthalpy happens to be temperature independent or nearly so. Indeed, under these circumstances, the equation above implies the dependence of on the inverse temperature is simply a straight line:
(41)
We can fix the constant by defining the reaction’s entropy:
(42)
( stands for the molar entropy of component ) and using the general formula that , which, then, implies . This and the usual yield
(43)
This mathematical statement, which was derived assuming is temperature independent, automatically implies that the standard reaction entropy is then temperature independent as well. The above equation is quite useful as it allows one to determine both the reaction’s enthalpy and entropy by plotting the equilibrium constant as a function of inverse temperature:
In the above picture, , which formally implies that the reaction is endothermal, i.e., consumes heat. The resulting -dependence of the equilibrium constant is yet another instance of Le Chatelier’s principle: As one attempts to raise the temperature by putting in heat, the equilibrium shifts toward the higher enthalpy state (products in this case) so as to absorb that heat. The converse is also true: Raising the temperature of an exothermal process, , will shift the equilibrium toward the reactants.
Note that in physical terms, means that, on average, one must break bonds to create the product. On the other hand, heat production, , means the bonds in the molecules comprising the products are stronger than the bonds in the molecules comprising the reactants. This notion underlies the heat production during burning or, more, generally, oxidation of fossil fuels, of course.
Before we attempt a chemical reaction, it is useful to estimate beforehand both the reaction’s Gibbs energy and enthalpy, as we have already indicated. Making such estimates from scratch is difficult. Approximate estimates are, however, still possible for a huge variety of distinct reactions since the enthalpies of pure components can be—and in many cases have been—measured. Ignoring, then, the affect of mixing of the individual components with each other, we can present the thermodynamic path from the reactant to the product state as one going through some standard state. And so, for instance, for a reaction:
A A + B B = C C + D D
this mental construction looks something like this:
This is as if one decided to travel from city X (our reactants) to city Y (our products) not directly, but through some city Z (the standard state). Clearly, if one knows the elevation of city X relative to city Z, , and the elevation of city Y relative to city Z, , one can compute the elevation of Y relative to X: . By exactly the same token, the enthalpy is a state function and so the enthalpy difference between two states depends on the identity of those states irrespective of the path one uses to go between the states. The enthalpy of the standard-state to the product-state process is given by , where we used the subscript to signify “formation”. Likewise, the enthalpy of the standard-state to the reactant-state process is given by . Therefore the enthalpy of the reactant→product process is equal to the enthalpy of the reactant→standard-state→product process:
(44)
where the minus sign reflects that the reactant→standard-state leg is in the opposite direction of actually bringing the constituent elements from the standard state to the reactants state. Note that the formation enthalpies are usually given per mole. This is distinct from the convention adopted in this Course whereby we have attempted to consistently denote quantities per particle or per mole using low-case letters.
Because the Gibbs energy and the entropy are state functions, one can write down equations for the reaction’s Gibbs energy and the reaction’s entropy that are entirely analogous to the equation above.
Actual estimates the formation entropy and enthalpy depend on the convention for the standard state. As an example, consider the following procedure: We can use the 3rd Law of Thermodynamics, , to define our reference state. Given this, the entropy at any temperature can be computed by integrating the equation for the heat capacity so long as there is no discontinuous transition takes place:
(45)
And, likewise for the enthalpy, where one can inegrate the relation :
(46)
If there is, in fact, a phase transition at some temperature, one must add a constant value equal to the transition’s entropy at that temperature. Thus the -dependence of the entropy will look something like this:
The -dependence of the enthalpy is qualitatively similar. Consequently, one can compute the Gibbs energy , which, recall, is a continuous function of temperature. In practice, it is often most straightforward to actually compute the heat capacity of solids, while the heat capacity in the liquid and vapor state is often easier to measure, as are the heats of melting and boiling.
The fact of the enthalpy being a state function allows one to straightforwardly to evaluate the enthalpy at condition other than those readily accessible in the lab. For instance the enthalpy of the reaction
2H (gas) = H2 (gas)
at K can be estimated using the measured enthalpy of the reaction at a more accessible temperature using the following construction:
One, then, finds straightforwardly
(47)
The K estimate is not as arcane as one may seem because it can be directly compared with the output of quantum-chemical calculation, which produce most accurate results for the ground state of the system.
The above example is also revealing in the following sense: It illustrates just how much more enthalpy is “stored” in a chemical bond compared with a physical process such as heating or cooling. The enthalpy of the latter processes is clearly comparable to the thermal energy , which, then, brings about another important point. The thermal energy scale , in gases, is also comparable to the quantity , where is the molar volume. On the other hand, the energy and enthalpy are related through the equation . Thus we conclude that the energy and enthalpy of a chemical bond are numerically close. This should have been expected: Bonding energies are of order several eV, while the thermal scale, , at room temperature is about 1/40 eV. These are useful notions since quantum-chemical calculations actually produce the energy of the bond, while the experiment produces the bond’s enthalpy. Thus equating the two is, generally, an approximation, albeit a good one.
As another illustration of how one can exploit the fact of the enthalpy being a state function, we can determine the enthalpy of the H-O bond, per bond, in a water molecule:
Note the actual strength of the H-OH bond and the H-O bond are not the same, the latter being significantly stronger than the former.
Our final remarks concern the kinetics of chemical processes. The thermodynamic considerations above do not directly address the issue of how fast the chemical processes in question will actually occur. This should have been clear already because nowhere in the discussion have we even mentioned the mass of the species. But we know that the mass is of decisive importance for how fast molecules move about, given that the typical energy scale for their motion is fixed by the temperature. What thermodynamics can do is tell us about the relative rates of processes in equilibrium. And so, for instance, we have written the relation between the equilibrium constant and the reaction’s Gibbs energy:
(48)
As already mentioned, the equilibrium constant should be thought of as the probability of being in the product state relative to the probability of being in the reactant state. On the other hand, this probability must be equal to the ratio of the rates . Indeed, the probability of being in a state is proportional to the flux of the particles toward that state. Thus we obtain an example of what one calls the detailed balance:
(49)
which essentially states that in equilibrium, the ratio of the transition rates between two states must match the free energy difference between the two states. We have already encountered a simpler version of the above statement, i.e., that the rates of transfer between two microstates 1 and 2 must obey the following relation:
(50)
Again, these relations do not tell us anything about the absolute values of the rate constants, only their ratios. The absolute values of rates contain time units. In order to obtain a quantity of units time from a quantity of units energy, one must use a quantity of units mass. The actual way to do this depends on the amount of quantum effects, to which we turn next.