Consider the following reaction at equilibrium: Az++z/2H2⇔A+zH+
This can be expressed as two half equations:
Az+ + ze- = A and z/2H2=zH++ze−
The left hand reaction represents the equilibrium between atoms of A on a metal surface and Az+ ions in solution. The term ‘equilibrium’ refers to the fact that the rate of reaction in one direction equals the rate of the reverse reaction.
For the above reaction, the free energy change, ΔG, is given by
ΔG=ΔG0+RTlnXA/X0ACAz+/C0Az+
where XA is the mole fraction of A in the metal and CA is the concentration of Az+ in solution. When the metal, A, is pure, XA = 1. Also, the standard states X0A and C0Az+ can be omitted, as the standard state for the metal phase is unit mole fraction, and for the dissolved ions is 1 mol dm-3. Thus, the free energy change can be expressed as
ΔG=ΔG0+RTln1CAz+ (1)
At equilibrium, the chemical driving force, ΔG is always equal to the electrical driving force, Ee. As discussed previously, this can be expressed as
ΔG0 = -z F Ee
where z is the number of moles of electrons exchanged in the reaction and F is Faraday’s constant, 96 485 coulombs per mole of electrons. Under standard conditions,
ΔG0 = -z F E
From the fundamental thermodynamic equation
ΔG0 = -R T ln K
E0 can therefore be expressed as
E0=RTzFlnK
where K is the equilibrium constant for the reaction.
However, only the standard equilibrium potential, E0, is related directly to K. The non-standard potential, Ee is not.
Equation (1) can now be expressed in terms of electrode potential by substituting for ΔG and ΔG0
−zFEe=−zFE0+RTln1CAz+
The equilibrium potential is therefore given by
Ee=E0−RTzFln1CAz+
It is conventional to work in decadic logs rather than natural logs, since this is arithmetically more convenient and the pH scale is expressed in the decadic form: ln X = 2.303 log X so the equation may be written as:
Ee=E0−2.303RTzFlog1CAz+
Note that for this simple reaction, the Nernst equation shows that the equilibrium potential, Ee is independent of the pH of the solution. Many half-cell reactions contain H+ ions and their Nernst equations therefore depend on the pH.
For the half-cell reaction
MnO4- + 4H+ + 3e- = MnO2 + 2H2O , E = 0.588 V(SHE)
the Nernst equation appears as
Ee=E0−2.303RT3Flog[MnO2][H2O]2[MnO−4][H+]4
=E0−0.0197log1[MnO−4][H+]4
= 0.588 + 0.197 log [MnO4-] - 0.789 pH
The Nernst equation can therefore be generalised as
Ee=E0−2.303RTzFlog[reduced][oxidised]
The notation [reduced] represents the product of the concentrations (or pressures where gases are involved) of all of the species that appear on the reduced side of the electrode reaction, raised to the power of their stoichiometric coefficients. The notation [oxidised] represents the same for the oxidised side of the electrode reaction.
Solutions in which components, such as Cl- ions, can complex with the metal ions require a different treatment.