Similarly, one atom of divalent calcium will replace two atoms of univalent hydrogen or one of divalent zinc:

Ca(OH)2 + 2 HCl = CaCl2 + 2H2O.

CaCl2 + ZnSO4 = CaSO4 + ZnCl2.

In like manner, one atom of a trivalent element will replace three of a univalent element, or two atoms will replace three atoms of a divalent element.

Valence and its applications to formulas of salts. While the true nature of valence is not understood and many questions connected with the subject remain unanswered, yet many of the main facts are of much help to the student. Thus the formula of a salt, differs from that of the acid from which it is derived in that the hydrogen of the acid has been replaced by a metal. If, then, it is known that a given metal forms a normal salt with a certain acid, the formula of the salt can at once be determined if the valence of the metal is known. Since sodium is univalent, the sodium salts of the acids HCl and H2SO4 will be respectively NaCl and Na2SO4. One atom of divalent zinc will replace 2 hydrogen atoms, so that the corresponding zinc salts will be ZnCl2 and ZnSO4.

The formula for aluminium sulphate is somewhat more difficult to determine. Aluminium is trivalent, and the simplest ratio in which the aluminium atom can replace the hydrogen in sulphuric acid is 2 atoms of aluminium (6 valences) to 3 molecules of sulphuric acid (6 hydrogen atoms). The formula of the sulphate will then be Al2(SO4)3.

Valence and its application to equation writing. It will be readily seen that a knowledge of valence is also of very great assistance in writing the equations for reactions of double decomposition. Thus, in the general reaction between an acid and a base, the essential action is between the univalent hydrogen ion and the univalent hydroxyl ion. The base and the acid must always be taken in such proportions as to secure an equal number of each of these ions. Thus, in the reaction between ferric hydroxide (Fe(OH)3) and sulphuric acid (H2SO4), it will be necessary to take 2 molecules of the former and 3 of the latter in order to have an equal number of the two ions, namely, 6. The equation will then be

2Fe(OH)3 + 3H2SO4 = Fe2(SO4)3 + 6H2O.

Under certain conditions the salts Al2(SO4)3 and CaCl2 undergo double decomposition, the two metals, aluminium and calcium, exchanging places. The simplest ratio of exchange in this case is 2 atoms of aluminium (6 valences) and 3 atoms of calcium (6 valences). The reaction will therefore take place between 1 molecule of Al2(SO4)3 and 3 of CaCl2, and the equation is as follows: