## 18.6 Spontaneity and Equilibrium

### Learning Objective

1. To know the relationship between free energy and the equilibrium constant.

We have identified three criteria for whether a given reaction will occur spontaneously: ΔSuniv > 0, ΔGsys < 0, and the relative magnitude of the reaction quotient Q versus the equilibrium constant K. (For more information on the reaction quotient and the equilibrium constant, see Chapter 15 "Chemical Equilibrium".) Recall that if Q < K, then the reaction proceeds spontaneously to the right as written, resulting in the net conversion of reactants to products. Conversely, if Q > K, then the reaction proceeds spontaneously to the left as written, resulting in the net conversion of products to reactants. If Q = K, then the system is at equilibrium, and no net reaction occurs. Table 18.3 "Criteria for the Spontaneity of a Process as Written" summarizes these criteria and their relative values for spontaneous, nonspontaneous, and equilibrium processes. Because all three criteria are assessing the same thing—the spontaneity of the process—it would be most surprising indeed if they were not related. The relationship between ΔSuniv and ΔGsys was described in Section 18.5 "Free Energy". In this section, we explore the relationship between the standard free energy of reaction (ΔG°) and the equilibrium constant (K).

Table 18.3 Criteria for the Spontaneity of a Process as Written

Spontaneous Equilibrium Nonspontaneous*
ΔSuniv > 0 ΔSuniv = 0 ΔSuniv < 0
ΔGsys < 0 ΔGsys = 0 ΔGsys > 0
Q < K Q = K Q > K
*Spontaneous in the reverse direction.

## Free Energy and the Equilibrium Constant

Because ΔH° and ΔS° determine the magnitude of ΔG° (Equation 18.26), and because K is a measure of the ratio of the concentrations of products to the concentrations of reactants, we should be able to express K in terms of ΔG° and vice versa. As you learned in Section 18.5 "Free Energy", ΔG is equal to the maximum amount of work a system can perform on its surroundings while undergoing a spontaneous change. For a reversible process that does not involve external work, we can express the change in free energy in terms of volume, pressure, entropy, and temperature, thereby eliminating ΔH from the equation for ΔG. Using higher math, the general relationship can be shown as follows:

Equation 18.29

ΔG = VΔPSΔT

If a reaction is carried out at constant temperature (ΔT = 0), then Equation 18.29 simplifies to

Equation 18.30

ΔG = VΔP

Under normal conditions, the pressure dependence of free energy is not important for solids and liquids because of their small molar volumes. For reactions that involve gases, however, the effect of pressure on free energy is very important.

Assuming ideal gas behavior, we can replace the V in Equation 18.30 by nRT/P (where n is the number of moles of gas and R is the ideal gas constant) and express ΔG in terms of the initial and final pressures (Pi and Pf, respectively) as in Equation 18.20:

Equation 18.31

$Δ G = ( n R T P ) Δ P = n R T Δ P P = n R T ln ( P f P i )$

If the initial state is the standard state with Pi = 1 atm, then the change in free energy of a substance when going from the standard state to any other state with a pressure P can be written as follows:

GG° = nRTln P

This can be rearranged as follows:

Equation 18.32

G = G° + nRTln P

As you will soon discover, Equation 18.32 allows us to relate ΔG° and Kp. Any relationship that is true for Kp must also be true for K because Kp and K are simply different ways of expressing the equilibrium constant using different units.

Let’s consider the following hypothetical reaction, in which all the reactants and the products are ideal gases and the lowercase letters correspond to the stoichiometric coefficients for the various species:

Equation 18.33

$a A + b B ⇌ c C + d D$

Because the free-energy change for a reaction is the difference between the sum of the free energies of the products and the reactants, we can write the following expression for ΔG:

Equation 18.34

$Δ G = ∑ m G products − ∑ n G reactants = ( c G C + d G D ) − ( a G A + b G B )$

Substituting Equation 18.32 for each term into Equation 18.34,

Combining terms gives the following relationship between ΔG and the reaction quotient Q:

Equation 18.35

where ΔG° indicates that all reactants and products are in their standard states. In Chapter 15 "Chemical Equilibrium", you learned that for gases Q = Kp at equilibrium, and as you’ve learned in this chapter, ΔG = 0 for a system at equilibrium. Therefore, we can describe the relationship between ΔG° and Kp for gases as follows:

Equation 18.36

If the products and reactants are in their standard states and ΔG° < 0, then Kp > 1, and products are favored over reactants. Conversely, if ΔG° > 0, then Kp < 1, and reactants are favored over products. If ΔG° = 0, then Kp = 1, and neither reactants nor products are favored: the system is at equilibrium.

### Note the Pattern

For a spontaneous process under standard conditions, Keq and Kp are greater than 1.

### Example 12

In Example 10, we calculated that ΔG° = −32.7 kJ/mol of N2 for the reaction $N2(g)+3H2(g)⇌2NH3(g).$ This calculation was for the reaction under standard conditions—that is, with all gases present at a partial pressure of 1 atm and a temperature of 25°C. Calculate ΔG for the same reaction under the following nonstandard conditions: $PN2$ = 2.00 atm, $PH2$ = 7.00 atm, $PNH3$ = 0.021 atm, and T = 100°C. Does the reaction favor products or reactants?

Given: balanced chemical equation, partial pressure of each species, temperature, and ΔG°

Asked for: whether products or reactants are favored

Strategy:

A Using the values given and Equation 18.35, calculate Q.

B Substitute the values of ΔG° and Q into Equation 18.35 to obtain ΔG for the reaction under nonstandard conditions.

Solution:

A The relationship between ΔG° and ΔG under nonstandard conditions is given in Equation 18.35. Substituting the partial pressures given, we can calculate Q:

$Q = P NH 3 2 P N 2 P H 2 3 = ( 0.021 ) 2 ( 2.00 ) ( 7.00 ) 3 = 6.4 × 10 − 7$

B Substituting the values of ΔG° and Q into Equation 18.35,

Because ΔG < 0 and Q < 1.0, the reaction is spontaneous to the right as written, so products are favored over reactants.

Exercise

Calculate ΔG for the reaction of nitric oxide with oxygen to give nitrogen dioxide under these conditions: T = 50°C, PNO = 0.0100 atm, $PO2$ = 0.200 atm, and $PNO2$ = 1.00 × 10−4 atm. The value of ΔG° for this reaction is −72.5 kJ/mol of O2. Are products or reactants favored?

Answer: −92.9 kJ/mol of O2; the reaction is spontaneous to the right as written, so products are favored.

### Example 13

Calculate Kp for the reaction of H2 with N2 to give NH3 at 25°C. As calculated in Example 10, ΔG° for this reaction is −32.7 kJ/mol of N2.

Given: balanced chemical equation from Example 10, ΔG°, and temperature

Strategy:

Substitute values for ΔG° and T (in kelvins) into Equation 18.36 to calculate Kp, the equilibrium constant for the formation of ammonia.

Solution:

In Example 10, we used tabulated values of $ΔGf°$ to calculate ΔG° for this reaction (−32.7 kJ/mol of N2). For equilibrium conditions, rearranging Equation 18.36,

Inserting the value of ΔG° and the temperature (25°C = 298 K) into this equation,

Thus the equilibrium constant for the formation of ammonia at room temperature is favorable. As we saw in Chapter 15 "Chemical Equilibrium", however, the rate at which the reaction occurs at room temperature is too slow to be useful.

Exercise

Calculate Kp for the reaction of NO with O2 to give NO2 at 25°C. As calculated in the exercise in Example 10, ΔG° for this reaction is −70.5 kJ/mol of O2.

Although Kp is defined in terms of the partial pressures of the reactants and the products, the equilibrium constant K is defined in terms of the concentrations of the reactants and the products. We described the relationship between the numerical magnitude of Kp and K in Chapter 15 "Chemical Equilibrium" and showed that they are related:

Equation 18.37

Kp = K(RT)Δn

where Δn is the number of moles of gaseous product minus the number of moles of gaseous reactant. For reactions that involve only solutions, liquids, and solids, Δn = 0, so Kp = K. For all reactions that do not involve a change in the number of moles of gas present, the relationship in Equation 18.36 can be written in a more general form:

Equation 18.38

ΔG° = −RT ln K

Only when a reaction results in a net production or consumption of gases is it necessary to correct Equation 18.38 for the difference between Kp and K.Although we typically use concentrations or pressures in our equilibrium calculations, recall that equilibrium constants are generally expressed as unitless numbers because of the use of activities or fugacities in precise thermodynamic work. Systems that contain gases at high pressures or concentrated solutions that deviate substantially from ideal behavior require the use of fugacities or activities, respectively.

Combining Equation 18.26 and Equation 18.38 provides insight into how the components of ΔG° influence the magnitude of the equilibrium constant:

Equation 18.39

ΔG° = ΔH° − TΔS° = −RT ln K

Notice that K becomes larger as ΔS° becomes more positive, indicating that the magnitude of the equilibrium constant is directly influenced by the tendency of a system to move toward maximum disorder. Moreover, K increases as ΔH° decreases. Thus the magnitude of the equilibrium constant is also directly influenced by the tendency of a system to seek the lowest energy state possible.

### Note the Pattern

The magnitude of the equilibrium constant is directly influenced by the tendency of a system to move toward maximum disorder and seek the lowest energy state possible.

## Temperature Dependence of the Equilibrium Constant

The fact that ΔG° and K are related provides us with another explanation of why equilibrium constants are temperature dependent. This relationship is shown explicitly in Equation 18.39, which can be rearranged as follows:

Equation 18.40

Assuming ΔH° and ΔS° are temperature independent, for an exothermic reaction (ΔH° < 0), the magnitude of K decreases with increasing temperature, whereas for an endothermic reaction (ΔH° > 0), the magnitude of K increases with increasing temperature. The quantitative relationship expressed in Equation 18.40 agrees with the qualitative predictions made by applying Le Châtelier’s principle, which we discussed in Chapter 15 "Chemical Equilibrium". Because heat is produced in an exothermic reaction, adding heat (by increasing the temperature) will shift the equilibrium to the left, favoring the reactants and decreasing the magnitude of K. Conversely, because heat is consumed in an endothermic reaction, adding heat will shift the equilibrium to the right, favoring the products and increasing the magnitude of K. Equation 18.40 also shows that the magnitude of ΔH° dictates how rapidly K changes as a function of temperature. In contrast, the magnitude and sign of ΔS° affect the magnitude of K but not its temperature dependence.

If we know the value of K at a given temperature and the value of ΔH° for a reaction, we can estimate the value of K at any other temperature, even in the absence of information on ΔS°. Suppose, for example, that K1 and K2 are the equilibrium constants for a reaction at temperatures T1 and T2, respectively. Applying Equation 18.40 gives the following relationship at each temperature:

Subtracting ln K1 from ln K2,

Equation 18.41

Thus calculating ΔH° from tabulated enthalpies of formation and measuring the equilibrium constant at one temperature (K1) allow us to calculate the value of the equilibrium constant at any other temperature (K2), assuming that ΔH° and ΔS° are independent of temperature.

### Example 14

The equilibrium constant for the formation of NH3 from H2 and N2 at 25°C was calculated to be Kp = 5.4 × 105 in Example 13. What is Kp at 500°C? (Use the data from Example 10.)

Given: balanced chemical equation, ΔH°, initial and final T, and Kp at 25°C

Strategy:

Convert the initial and final temperatures to kelvins. Then substitute appropriate values into Equation 18.41 to obtain K2, the equilibrium constant at the final temperature.

Solution:

The value of ΔH° for the reaction obtained using Hess’s law is −91.8 kJ/mol of N2. If we set T1 = 25°C = 298.K and T2 = 500°C = 773 K, then from Equation 18.41 we obtain the following:

Thus at 500°C, the equilibrium strongly favors the reactants over the products.

Exercise

In the exercise in Example 13, you calculated Kp = 2.2 × 1012 for the reaction of NO with O2 to give NO2 at 25°C. Use the $ΔHf°$ values in the exercise in Example 10 to calculate Kp for this reaction at 1000°C.

### Summary

For a reversible process that does not involve external work, we can express the change in free energy in terms of volume, pressure, entropy, and temperature. If we assume ideal gas behavior, the ideal gas law allows us to express ΔG in terms of the partial pressures of the reactants and products, which gives us a relationship between ΔG and Kp, the equilibrium constant of a reaction involving gases, or K, the equilibrium constant expressed in terms of concentrations. If ΔG° < 0, then K or Kp > 1, and products are favored over reactants. If ΔG° > 0, then K or Kp < 1, and reactants are favored over products. If ΔG° = 0, then K or Kp = 1, and the system is at equilibrium. We can use the measured equilibrium constant K at one temperature and ΔH° to estimate the equilibrium constant for a reaction at any other temperature.

### Key Takeaway

• The change in free energy of a reaction can be expressed in terms of the standard free-energy change and the equilibrium constant K or Kp and indicates whether a reaction will occur spontaneously under a given set of conditions.

### Key Equations

Relationship between standard free-energy change and equilibrium constant

Equation 18.38: ΔG° = −RT ln K

Temperature dependence of equilibrium constant

Calculation of K at second temperature

### Conceptual Problems

1. Do you expect products or reactants to dominate at equilibrium in a reaction for which ΔG° is equal to

1. 1.4 kJ/mol?
2. 105 kJ/mol?
3. −34 kJ/mol?
2. The change in free energy enables us to determine whether a reaction will proceed spontaneously. How is this related to the extent to which a reaction proceeds?

3. What happens to the change in free energy of the reaction N2(g) + 3F2(g) → 2NF3(g) if the pressure is increased while the temperature remains constant? if the temperature is increased at constant pressure? Why are these effects not so important for reactions that involve liquids and solids?

4. Compare the expressions for the relationship between the change in free energy of a reaction and its equilibrium constant where the reactants are gases versus liquids. What are the differences between these expressions?

### Numerical Problems

1. Carbon monoxide, a toxic product from the incomplete combustion of fossil fuels, reacts with water to form CO2 and H2, as shown in the equation $CO(g)+H2O(g)⇌CO2(g)+H2(g),$ for which ΔH° = −41.0 kJ/mol and ΔS° = −42.3 J cal/(mol·K) at 25°C and 1 atm.

1. What is ΔG° for this reaction?
2. What is ΔG if the gases have the following partial pressures: PCO = 1.3 atm, $PH2O$ = 0.8 atm, $PCO2$ = 2.0 atm, and $PH2$ = 1.3 atm?
3. What is ΔG if the temperature is increased to 150°C assuming no change in pressure?
2. Methane and water react to form carbon monoxide and hydrogen according to the equation $CH4(g)+H2O(g)⇌CO(g)+3H2(g).$

1. What is the standard free energy change for this reaction?
2. What is Kp for this reaction?
3. What is the carbon monoxide pressure if 1.3 atm of methane reacts with 0.8 atm of water, producing 1.8 atm of hydrogen gas?
4. What is the hydrogen gas pressure if 2.0 atm of methane is allowed to react with 1.1 atm of water?
5. At what temperature does the reaction become spontaneous?
3. Calculate the equilibrium constant at 25°C for each equilibrium reaction and comment on the extent of the reaction.

1. ΔG° = −377 kJ/mol
2. ΔH° = −66.3 kJ/mol, ΔS° = −102.3 J/(mol·K)
3. $ΔGf°$(PCl3) = −272.4 kJ/mol, $ΔGf°$(PSCl3) = −363.2 kJ/mol
4. Calculate the equilibrium constant at 25°C for each equilibrium reaction and comment on the extent of the reaction.

1. ΔG° = −225.8 kJ/mol
2. $CoCl2(s)+6H2O(g)⇌CoCl2⋅6H2O(s);$$ΔHrxn°$ = −352 kJ/mol, $ΔSrxn°$ = −899 J/(mol·K)
3. $2PCl3(g)+O2(g)⇌2POCl3(g);$ $ΔGf°$(PCl3) = −272.4 kJ/mol, $ΔGf°$(POCl3) = −558.5 kJ/mol
5. The gas-phase decomposition of N2O4 to NO2 is an equilibrium reaction with Kp = 4.66 × 10−3. Calculate the standard free-energy change for the equilibrium reaction between N2O4 and NO2.

6. The standard free-energy change for the dissolution $K4Fe(CN)6⋅H2O(s)⇌4K+(aq)+Fe(CN)64−(aq)+H2O(l)$ is 26.1 kJ/mol. What is the equilibrium constant for this process at 25°C?

7. Ammonia reacts with water in liquid ammonia solution (am) according to the equation $NH3(g)+H2O(am)⇌NH4+(am)+OH−(am).$ The change in enthalpy for this reaction is 21 kJ/mol, and ΔS° = −303 J/(mol·K). What is the equilibrium constant for the reaction at the boiling point of liquid ammonia (−31°C)?

8. At 25°C, a saturated solution of barium carbonate is found to have a concentration of [Ba2+] = [CO32−] = 5.08 × 10−5 M. Determine ΔG° for the dissolution of BaCO3.

9. Lead phosphates are believed to play a major role in controlling the overall solubility of lead in acidic soils. One of the dissolution reactions is $Pb3(PO4)2(s)+4H+(aq)⇌3Pb2+(aq)+2H2PO4−(aq),$ for which log K = −1.80. What is ΔG° for this reaction?

10. The conversion of butane to 2-methylpropane is an equilibrium process with ΔH° = −2.05 kcal/mol and ΔG° = −0.89 kcal/mol.

1. What is the change in entropy for this conversion?
2. Based on structural arguments, are the sign and magnitude of the entropy change what you would expect? Why?
3. What is the equilibrium constant for this reaction?
11. The reaction of CaCO3(s) to produce CaO(s) and CO2(g) has an equilibrium constant at 25°C of 2 × 10−23. Values of $ΔHf°$ are as follows: CaCO3, −1207.6 kJ/mol; CaO, −634.9 kJ/mol; and CO2, −393.5 kJ/mol.

1. What is ΔG° for this reaction?
2. What is the equilibrium constant at 900°C?
3. What is the partial pressure of CO2(g) in equilibrium with CaO and CaCO3 at this temperature?
4. Are reactants or products favored at the lower temperature? at the higher temperature?
12. In acidic soils, dissolved Al3+ undergoes a complex formation reaction with SO42− to form [AlSO4+]. The equilibrium constant at 25°C for the reaction $Al3+(aq)+SO42−(aq)⇌AlSO4+(aq)$ is 1585.

1. What is ΔG° for this reaction?
2. How does this value compare with ΔG° for the reaction $Al3+(aq)+F−(aq)⇌AlF2+(aq),$ for which K = 107 at 25°C?
3. Which is the better ligand to use to trap Al3+ from the soil?

1. −28.4 kJ/mol
2. −26.1 kJ/mol
3. −19.9 kJ/mol
1. 1.21 × 1066; equilibrium lies far to the right.
2. 1.89 × 106; equilibrium lies to the right.
3. 5.28 × 1016; equilibrium lies far to the right.
1. 13.3 kJ/mol

2. 5.1 × 10−21

3. 10.3 kJ/mol

1. 129.5 kJ/mol
2. 6
3. 6.0 atm
4. Products are favored at high T; reactants are favored at low T.