magnesium
low, the two metals with the highest ionization energies beryllium and magnesium do form compounds that exhibit some covalent characters. Like the alkali metals, the heavier alkaline earth metals impart color to a flame. As in the case of the alkali metals, this is part of the emission spectrum of these elements. Calcium and strontium produce shades of red, whereas barium produces a green color. Magnesium is a silver-white metal that is malleable and ductile at high temperatures. Passivation decreases the reactivity of magnesium metal. Upon exposure to air, a tightly adhering layer of magnesium oxycarbonate forms on the surface of the metal and inhibits further reaction. The carbonate comes from the reaction of carbon dioxide in the atmosphere. Magnesium is the lightest of the widely used structural metals, which is why most magnesium production is for lightweight alloys. Magnesium shown in Figure 18.6 , calcium, strontium, and barium react with water and air. At room temperature, barium shows the most vigorous reaction. The products of the reaction with water are hydrogen and the metal hydroxide. The formation of hydrogen gas indicates that the heavier alkaline earth metals are better reducing agents more easily oxidized than is hydrogen. As expected, these metals react with both acids and nonmetals to form ionic compounds. Unlike most salts of the alkali metals, many of the common salts of the alkaline earth metals are insoluble in water because of the high lattice energies of these compounds, containing a divalent metal ion.