A clean magnesium ribbon is placed in a beaker of cold water containing a few drops of phenolphthalein. Almost nothing happens. A similar ribbon is placed in a beaker of hot water containing phenolphthalein. Bubbles of gas form on the ribbon, the ribbon rises and floats, and the water around it turns pink.

(a) Write the balanced chemical equation for the reaction in hot water, and explain why the ribbon floats although magnesium is denser than water. [1]
(b) Explain why the water turns pink, and what the difference between cold and hot water tells you about the reactivity of magnesium compared with sodium. [1]

