The reaction involved during the removal of temporary hardness of water is
Ca(HCO3)2 --heat→ CaCO3 + H2O + CO2 ↑
CaCl2 + Na2CO3 → CaCO3 ↓ + 2NaCl
MgSO4 + Na2Al2Si2O8.xH2O → MgAl2Si2O8.xH2O + Na2SO4
2CaCl2 + (NaPO3)6 → Na2[Ca2(PO3)6] + 4NaCl
Ca(HCO3)2 --heat→ CaCO3 + H2O + CO2 ↑
Temporary hardness of water is due to bicarbonates of Ca and Mg