Why can sodium chloride give sodium in one cell and hydrogen in another?
One GCSE question gives you molten sodium chloride. Another gives you aqueous sodium chloride. You get sodium from one and hydrogen from the other. Which word in the question changes your prediction?
When you melt sodium chloride, its ions are free to move. Positive sodium ions move to the negative electrode, the cathode, and gain electrons to form sodium. Negative chloride ions move to the positive electrode, the anode, and lose electrons to form chlorine. This transfer of electrons is called discharge.
Look at the two extra ion symbols. When you dissolve a salt in water, the salt still supplies its own ions. The solution is called aqueous. Water supplies small amounts of the two ions shown here: hydrogen ions and hydroxide ions.
You dissolve sodium chloride in water. The salt supplies sodium ions and chloride ions. Which extra pair of ions comes from the water? Pick one pair.
Use these GCSE rules for one dissolved salt and inert electrodes. At the cathode, if the metal is above hydrogen in the reactivity series, hydrogen forms. If it's below, the metal forms. At the anode, chloride, bromide or iodide gives its halogen. Without one of these halide ions, hydroxide gives oxygen.
At the cathode, sodium is above hydrogen, so hydrogen forms. Use two hydrogen ions to match the atoms, then add two electrons to balance charge. That's reduction. At the anode, chloride is a halide. Match the chlorine atoms with two chloride ions, then release two electrons to balance charge. That's oxidation.
You electrolyse aqueous copper bromide with inert electrodes. Copper is below hydrogen in the reactivity series. What forms at the cathode and what forms at the anode? Pick the pair in that order.
For molten sodium chloride, sodium ions are the only positive ions, so sodium forms at the cathode. Chlorine forms at the anode. Don't carry that sodium prediction over to aqueous sodium chloride. Water adds hydrogen and hydroxide ions, so the cathode gives hydrogen. The GCSE model predicts chlorine at the anode.
To extract aluminium, dissolve aluminium oxide in molten cryolite. You can electrolyse the mixture at a lower temperature than pure molten aluminium oxide, saving energy. Aluminium ions gain electrons at the cathode. Oxygen forms at the anode and reacts with carbon to make carbon dioxide. The anodes wear away and need replacing.
Predict hydrogen and oxygen from aqueous magnesium sulfate: magnesium is above hydrogen, and sulfate isn't a halide. Use a low voltage direct current supply and inert graphite electrodes. Collect the gases separately. Hydrogen pops with a lit splint. Oxygen relights a glowing splint. Do your results support your prediction?