(a) Faraday's first law: the amount of chemical reaction that occurs at any electrode during electrolysis is proportional to the quantity of electricity passed through the electrolyte:
m=Z×I×t
where Z is the electrochemical equivalent of the substance.
(b) Molten MgCl2 contains only Mg2+ and Cl− ions:
Cathode: Mg2+(l)+2e−→Mg(l)
Anode: 2Cl−(l)→Cl2(g)+2e−
(c)
Q=I×t=10.0 A×(2.00×3600 s)=72000 C
moles of electrons=9650072000=0.746 mol
Both electrode reactions need 2 mol of electrons per mole of product:
n(Mg)=n(Cl2)=20.746=0.373 mol
mass of Mg=0.373×24.3=9.07 g
volume of Cl2=0.373×22.4=8.36 L at 273 K and 1 atm

(d) Hydrogen gas is formed at the cathode. Water (−0.83 V) is much more easily reduced than Mg2+ (−2.36 V), so water is reduced instead:
2H2O(l)+2e−→H2(g)+2OH−(aq)
The OH− formed combines with Mg2+, so a white precipitate of Mg(OH)2 appears near the cathode. This is why reactive metals such as magnesium, sodium and aluminium must be extracted from their molten compounds.
