From personal experience I know that electrolysis of NaCl produces a mix of Cl2 and O2 at the anode. The higher the voltage, used for the electrolysis
cell, the more oxygen is produced. I once collected 100 ml or so of the anode-gas and one could clearly see the green color of Cl2, but when the
bottle was immersed top down under water and some solution of NaOH was injected into the Cl2 gas, then only 80% or so of the gas dissolved. The
remaining gas is colorless and when a glowing piece of wood is kept in the remaining gas, there is a brief strong glowing, indicating a higher oxygen
concentration. So, the remaining gas must be oxygen.
@Junk_Enginerd: At the cathode you only get hydrogen (and hydroxide ions in solution). Formation of Cl2 requires strongly oxidizing conditions and
those only exist at the anode. |