Occurrence. Magnesium is a very abundant element in nature, ranking a little below calcium in this respect. Like calcium, it is a constituent of many rocks and also occurs in the form of soluble salts.

Preparation. The metal magnesium, like most metals whose oxides are difficult to reduce with carbon, was formerly prepared by heating the anhydrous chloride with sodium:

MgCl2 + 2Na = 2NaCl + Mg.

It is now made by electrolysis, but instead of using as the electrolyte the melted anhydrous chloride, which is difficult to obtain, the natural mineral carnallite is used. This is melted in an iron pot which also serves as the cathode in the electrolysis. A rod of carbon dipping into the melted salt serves as the anode. The apparatus is very similar to the one employed in the preparation of sodium.

Properties. Magnesium is a rather tough silvery-white metal of small density. Air does not act rapidly upon it, but a thin film of oxide forms upon its surface, dimming its bright luster. The common acids dissolve it with the formation of the corresponding salts. It can be ignited readily and in burning liberates much heat and gives a brilliant white light. This light is very rich in the rays which affect photographic plates, and the metal in the form of fine powder is extensively used in the production of flash lights and for white lights in pyrotechnic displays.

Magnesium oxide (magnesia) (MgO). Magnesium oxide, sometimes called magnesia or magnesia usta, resembles lime in many respects. It is much more easily formed than lime and can be made in the same way,—by igniting the carbonate. It is a white powder, very soft and light, and is unchanged by heat even at very high temperatures. For this reason it is used in the manufacture of crucibles, for lining furnaces, and for other purposes where a refractory substance is needed. It combines with water to form magnesium hydroxide, but much more slowly and with the production of much less heat than in the case of calcium oxide.

Magnesium hydroxide (Mg(OH)2). The hydroxide formed in this way is very slightly soluble in water, but enough dissolves to give the water an alkaline reaction. Magnesium hydroxide is therefore a fairly strong base. It is an amorphous white substance. Neither magnesia nor magnesium salts have a very marked effect upon the system; and for this reason magnesia is a very suitable antidote for poisoning by strong acids, since any excess introduced into the system will have no injurious effect.

Magnesium cement. A paste of magnesium hydroxide and water slowly absorbs carbon dioxide from the air and becomes very hard. The hardness of the product is increased by the presence of a considerable amount of magnesium chloride in the paste. The hydroxide, with or without the chloride, is used in the preparation of cements for some purposes.

Magnesium carbonate (MgCO3). Magnesium carbonate is a very abundant mineral. It occurs in a number of localities as magnesite, which is usually amorphous, but sometimes forms pure crystals resembling calcite. More commonly it is found associated with calcium carbonate. The mineral dolomite has the composition CaCO3·MgCO3. Limestone containing smaller amounts of magnesium carbonate is known as dolomitic limestone. Dolomite is one of the most common rocks, forming whole mountain masses. It is harder and less readily attacked by acids than limestone. It is valuable as a building stone and as ballast for roadbeds and foundations. Like calcium carbonate, magnesium carbonate is insoluble in water, though easily dissolved by acids.

Basic carbonate of magnesium. We should expect to find magnesium carbonate precipitated when a soluble magnesium salt and a soluble carbonate are brought together: