A reaction with a negative free energy change should run until a reactant is gone, and almost none of them do, which means the criterion of the previous lesson is incomplete rather than wrong.
The previous lesson established that a change at constant temperature and pressure goes when , where . Take that literally and nothing should ever stop halfway. Yet acetic acid in water is barely ionised, calcium carbonate heated in a sealed vessel reaches a fixed carbon dioxide pressure and stays there, and a reactor full of nitrogen and hydrogen makes some ammonia and then makes no more. This lesson repairs the criterion, and the repair turns out to be the most useful single equation in chemistry.
Why the free energy stops falling
The quantity that must decrease is the free energy of the whole mixture, and the fault in the naive picture is treating that as a straight line between pure reactants and pure products. It is not, because a mixture has an entropy that neither pure state has.
Follow the extent of reaction from the first lesson. At the vessel holds pure reactants; at pure products. If mixing contributed nothing, would run linearly between the two ends and its minimum would be at whichever end is lower. But at every intermediate composition both reactants and products are present, and the entropy of mixing them is positive, which pulls down in the middle and away from both ends. The mixing term is largest at intermediate compositions and falls to zero at each pure limit, with an infinite slope there, and that infinite slope is decisive: however unfavourable a reaction, the first trace of product always lowers .
So plotted against is a curve with a minimum strictly inside the range, and the system slides downhill to that minimum and stops. Equilibrium is the bottom of that curve, where
The derivative on the left is what actually means: the slope of the free energy with respect to extent, in joules per mole of reaction, at the composition the mixture currently has. A reaction with kJ mol⁻¹ does not have that slope throughout; it has it at one particular reference composition, and the slope climbs toward zero as products build up.
This also explains why no reaction ever goes fully to completion. Complete conversion is a pure state, where the mixing term has infinite slope in the reverse direction, so the last trace of reactant never disappears. Sometimes what remains is one molecule in , which is completion for any practical purpose, but the position of equilibrium is always strictly inside.
Activity, and the composition dependence
To make this quantitative we need how the free energy of one substance depends on how much of it is there. For an ideal gas at constant temperature the answer follows from the work of isothermal compression, and comes out as a logarithm. Writing the molar free energy of a species as its chemical potential ,
where is the activity, a dimensionless measure of how much of the substance is present relative to its standard state. For a gas it is the partial pressure divided by Pa; for a dissolved solute it is the concentration divided by mol dm⁻³; and for a pure solid or pure liquid it is , because a pure substance is already in its standard state. That last rule is why solids never appear in an equilibrium expression: adding more solid does not change its activity, and a lump of calcium carbonate has the same chemical potential whether there is a gram of it or a tonne.
These are the ideal forms. Real gases at high pressure and real ions in solution deviate, and the honest statement is with an activity coefficient that approaches at infinite dilution. For a mol dm⁻³ solution of a simple salt, is already around , so calculations that ignore it are good to a few per cent at best in ionic systems, and better than that in dilute or gaseous ones. Everything below uses , and it is worth remembering that this is where the error lives.
The reaction quotient and the exact relation
Now assemble the mixture. The slope of with respect to is the stoichiometric sum of the chemical potentials, , so substituting the expression above and collecting the logarithms gives
where the reaction quotient is the product of the activities each raised to its stoichiometric number, products on top and reactants underneath. For it is .
Two things follow at once. First, is simply when every activity is , which is what "standard conditions" means and why a standard free energy change never on its own tells you what a real flask will do. Second, at equilibrium the slope is zero, and the value has taken there is by definition the equilibrium constant :
This is the bridge the whole course has been building toward. On the left are tabulated enthalpies and entropies measured in a calorimeter; on the right is the composition a reactor will actually reach. is dimensionless, because every activity is, and it depends on temperature alone: not on pressure, not on the starting amounts, not on whether a catalyst is present.
The exponential makes it a violent amplifier. At K, kJ mol⁻¹, so every kJ mol⁻¹ of free energy is a factor of ten in .
Example. Ammonia synthesis has kJ mol⁻¹ at K. Find . Then do the same for the combustion of methane, kJ mol⁻¹.
For ammonia, , so . Equilibrium lies well over toward ammonia, which is a fact about the room temperature reaction that no ammonia plant has ever been able to use. For methane, , so . There is no meaningful sense in which any methane remains, and equally no sense in which a bottle of methane and air is in danger of reacting by itself.
Now you. Dinitrogen tetroxide dissociates as , with kJ mol⁻¹ for and for . Find and at K.
Answer
kJ mol⁻¹. Then , so . Positive but small, so at standard pressure the mixture is mostly the dimer with an appreciable amount of the brown monomer, which is what the tube looks like.
Computing an equilibrium composition
With in hand the composition follows from a bookkeeping table: initial amounts, change in terms of one unknown, equilibrium amounts. The unknown is the extent of reaction in whatever units the constant uses, and the equation to solve is set equal to the quotient of those equilibrium values.
Example. mol of is placed in a dm³ vessel at K, where . Find the equilibrium partial pressures and the degree of dissociation.
The initial pressure is bar, using in bar dm³ mol⁻¹ K⁻¹. Let bar of dissociate. Then at equilibrium and , and since the standard pressure is bar the activities are these numbers. So
which rearranges to and gives bar. The equilibrium pressures are bar and bar, and the degree of dissociation is per cent. Checking, .
Now you. Repeat with the same mol in a dm³ vessel, so the initial pressure is bar. Find the degree of dissociation and compare.
Answer
Now , giving bar, so and bar. The degree of dissociation is per cent, nearly double. has not changed at all; the composition has, because diluting a reaction that makes more molecules pushes it forward.
That last observation is the whole of the next lesson in miniature. The constant stayed constant and the answer moved.
Where the constant is easier than it looks
Two shortcuts save a great deal of algebra. When is very small, the change is small compared with the initial amounts, so the denominators can be left at their starting values, giving an explicit answer rather than a quadratic. The rule of thumb is that this is safe when comes out below five per cent of the smallest initial value, and the discipline is to compute and then check that, because when the approximation fails it fails silently. Weak acids in the ninth lesson are where this matters most.
The second is that a constant can be assembled from others. Reverse a reaction and becomes ; double the coefficients and it becomes ; add two reactions and their constants multiply. All three follow from and the fact that free energies add while logarithms turn addition into multiplication.
One conversion is worth stating explicitly. If a gas phase constant is written in concentrations rather than pressures, the two differ by the ideal gas relation applied to each species, so where is the change in moles of gas. When , as in the hydrogen and iodine reaction below, the two are numerically the same and the distinction can be ignored.
Q against K says which way
The reaction quotient is defined for any composition, not just the equilibrium one, and comparing it with answers the practical question directly. From , obtained by substituting the definition of into the earlier expression, the sign of is the sign of . If there is too little product and the reaction runs forward; if it runs backward; if nothing happens on average, though both directions continue at the molecular level.
Example. Hydrogen and iodine react as with at K. A vessel holds all three at , and mol dm⁻³. Which way does it go, and where does it end if it starts instead from mol dm⁻³ each of hydrogen and iodine?
, well below , so the mixture makes more hydrogen iodide. Starting from each, let react: at equilibrium the reactants are each and the product is , so . Since both sides are perfect squares, take the square root: , giving . The equilibrium concentrations are mol dm⁻³ for each reactant and for hydrogen iodide.
Now you. For the same reaction and constant, a vessel holds at , at and at mol dm⁻³. Which way does the reaction run?
Answer
, which exceeds , so in the forward direction and hydrogen iodide decomposes until falls to .
What moves it, and what does not
Everything in this lesson holds the temperature fixed, because is a function of temperature and of nothing else. Change the amounts and moves while stays put, and the system responds by returning to . Change the temperature and itself moves, which is a different kind of change and needs a different equation.
That distinction, together with the case of compressing a gas mixture, where the amounts do not change but the activities do, is the content of the next lesson. Applied to the synthesis of ammonia the three answers pull against each other, and the resolution is one of the more consequential compromises in industrial history.