When solid sodium hydrogencarbonate (NaHCO3\text{NaHCO}_3NaHCO3) is heated, it undergoes thermal decomposition to produce solid sodium carbonate (Na2CO3\text{Na}_2\text{CO}_3Na2CO3), carbon dioxide gas (CO2\text{CO}_2CO2), and water vapour (H2O\text{H}_2\text{O}H2O).
Write the balanced chemical equation for this reaction.