(1)Mg+2HCl==MgCl 2+H 2↑
(2)A:MgCl 2+2NaOH==Mg(OH) 2↓+2NaCl
B:Mg(OH) 2+H 2SO 4==MgSO 4+2H 2O
(3)2H 2O
2H 2↑+O 2↑
(4)2Mg+O 2 2MgO