A solution of sodium sulphate in water is electrolysed using inert electrodes. The products at the cathode and anode are H2, O2 respectively.
Hydrogen ions having lower discharge (or higher reduction) potential than sodium ions will be liberated at the cathode.
2H++2e−→H2↑
Hydroxide ions having a lower discharge potential than sulphate ions, will be liberated at anode.
4OH−→2H2O+O2+4e−