(a) Name the gas given off, state how you would test for it, and write the equation for the decomposition.
(b) The solid left behind is dissolved in water and allowed to crystallise. Name the product, and explain why its formula is written with 10H2O rather than as a dry powder.
(a) The gas is carbon dioxide, CO2.
Test: pass it through lime water, which turns milky.
2NaHCO3HeatNa2CO3+H2O+CO2
Steam is given off as well, and condenses near the mouth of the tube.
(b) The product is washing soda, sodium carbonate decahydrate, Na2CO3⋅10H2O.
The 10H2O is the water of crystallisation — ten water molecules built into each formula unit of the crystal. It is written into the formula because it is genuinely part of the substance, not moisture clinging to it: the crystals are dry to the touch, the number is always exactly ten, and driving that water off gives a different substance, the white anhydrous powder Na2CO3.
That is also why washing soda crystals left in the open slowly crumble to a white powder — they lose their water of crystallisation to the air.