Na2CO3 + MgCl2 = MgCO3 + 2NaCl.

Instead of this, some carbon dioxide escapes and the product is found to be a basic carbonate. The most common basic carbonate of magnesium has the formula 4MgCO3·Mg(OH)2, and is sometimes called magnesia alba. This compound is formed by the partial hydrolysis of the normal carbonate at first precipitated:

5MgCO3 + 2H2O = 4MgCO3·Mg(OH)2 + H2CO3.

Magnesium chloride (MgCl2·6H2O). Magnesium chloride is found in many natural waters and in many salt deposits (see Stassfurt salts). It is obtained as a by-product in the manufacture of potassium chloride from carnallite. As there is no very important use for it, large quantities annually go to waste. When heated to drive off the water of crystallization the chloride is decomposed as shown in the equation

MgCl2·6H2O = MgO + 2HCl + 5H2O.

Owing to the abundance of magnesium chloride, this reaction is being used to some extent in the preparation of both magnesium oxide and hydrochloric acid.

Boiler scale. When water which contains certain salts in solution is evaporated in steam boilers, a hard insoluble material called scale deposits in the boiler. The formation of this scale may be due to several distinct causes.

1. To the deposit of calcium sulphate. This salt, while sparingly soluble in cold water, is almost completely insoluble in superheated water. Consequently it is precipitated when water containing it is heated in a boiler.

2. To decomposition of acid carbonates. As we have seen, calcium and magnesium acid carbonates are decomposed on heating, forming insoluble normal carbonates: