Concept:
- Mercury(II) iodide is a scarlet red solid, insoluble in water but soluble in excess potassium iodide because it forms the complex ion \({[\mathrm{HgI}_{4}]^{2-}}\).
- On heating, it breaks up into mercury, which condenses as droplets on the cooler part of the tube, and iodine, whose vapour is violet.
Step 1: Use the solubility in potassium iodide
A red solid that does not dissolve in water but dissolves when \({\mathrm{KI}}\) is added points to \({\mathrm{HgI}_{2}}\): \[{\mathrm{HgI}_{2}(\mathrm{s}) + 2\,\mathrm{KI}(\mathrm{aq})\ \rightarrow \mathrm{K}_{2}[\mathrm{HgI}_{4}](\mathrm{aq})}\] The product, potassium tetraiodomercurate(II), is soluble in water.
Step 2: Use the heating test
On strong heating the iodide gives off violet vapour and mercury: \[{\mathrm{HgI}_{2}\ \xrightarrow{\Delta} \mathrm{Hg} + \mathrm{I}_{2}\uparrow}\] The violet fumes are iodine and the metallic droplets on the cooler walls are mercury. Both observations agree with \({\mathrm{HgI}_{2}}\).
Step 3: Rule out the other solids
\({\mathrm{HgO}}\) is red and gives mercury droplets on heating, but the gas released is colourless oxygen, not a violet vapour. \({\mathrm{Pb}_{3}\mathrm{O}_{4}}\) (red lead) gives \({\mathrm{PbO}}\) and oxygen, with no violet fumes and no mercury-like droplets. \({(\mathrm{NH}_{4})_{2}\mathrm{Cr}_{2}\mathrm{O}_{7}}\) is orange-red but soluble in water, and on heating it gives green \({\mathrm{Cr}_{2}\mathrm{O}_{3}}\), nitrogen and water vapour.
Step 4: Conclusion
The red solid is mercury(II) iodide. Hence, the correct option is (A), \({\mathrm{HgI}_{2}}\).