and the general reaction occurring at the cathode is:
These two reactions are referred to as half-cell reactions, and their sum gives the total reaction that is taking place.
The direction of the spontaneous reaction depends on the cell potential of the two half-cell reactions. For each half-reaction, a standard electrode potential is defined for the reaction written as a reduction reaction. These standard EMFs are usually measured in reference to a standard hydrogen electrode. The half-reaction for this standard cell is:
and it has a half-cell potential of zero by convention. These standard half-cell potentials are tabulated in many common chemistry texts. In order to determine if a given reaction is spontaneous, the half cell reactions are summed, with the sign of the voltage switching for the oxidation half-cell.
where V1o is the half-cell potential for the oxidation reaction. If this sum is greater than zero, the reaction is spontaneous as written. Otherwise, the reverse reaction will take place. In order to force a reaction in the reverse direction, an external voltage can be applied to counter the emf supplied by the reaction.