Gibbs energy change for a chemical reaction is given by
ΔG=ΔG0+RTlnQ...(4.42)
where ΔG0 is the standard Gibbs energy change — that is, the Gibbs energy change when the reactants and products in a reaction are in their standard states. Q is called the reaction quotient. Q is analogous to the equilibrium constant, and involves nonequilibrium concentrations — or partial pressures, in the case of a gaseous reaction.
Consider
aA+bB⟶cC+dD
ΔG=ΔG0+RTlnQc=ΔG0+RTln[A]a[B]b[C]c[D]d...(4.43)
or
ΔG=ΔG0+RTlnQp=ΔG0+RTlnPAa×PBbPCc×PDd...(4.44)
(the stoichiometric coefficients appear as superscripts on the concentrations or partial pressures, and the species as subscripts, exactly as the book sets them).
When the reaction reaches equilibrium, ΔG=0, and Qc and Qp become Kc and Kp, respectively. Thus,
0=ΔG0+RTlnKcand0=ΔG0+RTlnKp …