2.2 Chemical Formulas

Learning Objective

  1. To describe the composition of a chemical compound.

When chemists synthesize a new compound, they may not yet know its molecular or structural formula. In such cases, they usually begin by determining its empirical formulaA formula for a compound that consists of the atomic symbol for each component element accompanied by a subscript indicating the relative number of atoms of that element in the compound, reduced to the smallest whole numbers., the relative numbers of atoms of the elements in a compound, reduced to the smallest whole numbers. Because the empirical formula is based on experimental measurements of the numbers of atoms in a sample of the compound, it shows only the ratios of the numbers of the elements present. The difference between empirical and molecular formulas can be illustrated with butane, a covalent compound used as the fuel in disposable lighters. The molecular formula for butane is C4H10. The ratio of carbon atoms to hydrogen atoms in butane is 4:10, which can be reduced to 2:5. The empirical formula for butane is therefore C2H5. The formula unitThe absolute grouping of atoms or ions represented by the empirical formula. is the absolute grouping of atoms or ions represented by the empirical formula of a compound, either ionic or covalent. Butane, for example, has the empirical formula C2H5, but it contains two C2H5 formula units, giving a molecular formula of C4H10.

Because ionic compounds do not contain discrete molecules, empirical formulas are used to indicate their compositions. All compounds, whether ionic or covalent, must be electrically neutral. Consequently, the positive and negative charges in a formula unit must exactly cancel each other. If the cation and the anion have charges of equal magnitude, such as Na+ and Cl, then the compound must have a 1:1 ratio of cations to anions, and the empirical formula must be NaCl. If the charges are not the same magnitude, then a cation:anion ratio other than 1:1 is needed to produce a neutral compound. In the case of Mg2+ and Cl, for example, two Cl ions are needed to balance the two positive charges on each Mg2+ ion, giving an empirical formula of MgCl2. Similarly, the formula for the ionic compound that contains Na+ and O2− ions is Na2O.

Note the Pattern

Ionic compounds do not contain discrete molecules, so empirical formulas are used to indicate their compositions.

Binary Ionic Compounds

An ionic compound that contains only two elements, one present as a cation and one as an anion, is called a binary ionic compoundAn ionic compound that contains only two elements, one present as a cation and one as an anion.. One example is MgCl2, a coagulant used in the preparation of tofu from soybeans. For binary ionic compounds, the subscripts in the empirical formula can also be obtained by crossing charges: use the absolute value of the charge on one ion as the subscript for the other ion. This method is shown schematically as follows:

Crossing charges. One method for obtaining subscripts in the empirical formula is by crossing charges.

When crossing charges, you will sometimes find it necessary to reduce the subscripts to their simplest ratio to write the empirical formula. Consider, for example, the compound formed by Mg2+ and O2−. Using the absolute values of the charges on the ions as subscripts gives the formula Mg2O2:

This simplifies to its correct empirical formula MgO. The empirical formula has one Mg2+ ion and one O2− ion.

Example 4

Write the empirical formula for the simplest binary ionic compound formed from each ion or element pair.

  1. Ga3+ and As3−
  2. Eu3+ and O2−
  3. calcium and chlorine

Given: ions or elements

Asked for: empirical formula for binary ionic compound

Strategy:

A If not given, determine the ionic charges based on the location of the elements in the periodic table.

B Use the absolute value of the charge on each ion as the subscript for the other ion. Reduce the subscripts to the lowest numbers to write the empirical formula. Check to make sure the empirical formula is electrically neutral.

Solution:

  1. B Using the absolute values of the charges on the ions as the subscripts gives Ga3As3:

    Reducing the subscripts to the smallest whole numbers gives the empirical formula GaAs, which is electrically neutral [+3 + (−3) = 0]. Alternatively, we could recognize that Ga3+ and As3− have charges of equal magnitude but opposite signs. One Ga3+ ion balances the charge on one As3− ion, and a 1:1 compound will have no net charge. Because we write subscripts only if the number is greater than 1, the empirical formula is GaAs. GaAs is gallium arsenide, which is widely used in the electronics industry in transistors and other devices.

  2. B Because Eu3+ has a charge of +3 and O2− has a charge of −2, a 1:1 compound would have a net charge of +1. We must therefore find multiples of the charges that cancel. We cross charges, using the absolute value of the charge on one ion as the subscript for the other ion:

    The subscript for Eu3+ is 2 (from O2−), and the subscript for O2− is 3 (from Eu3+), giving Eu2O3; the subscripts cannot be reduced further. The empirical formula contains a positive charge of 2(+3) = +6 and a negative charge of 3(−2) = −6, for a net charge of 0. The compound Eu2O3 is neutral. Europium oxide is responsible for the red color in television and computer screens.

  3. A Because the charges on the ions are not given, we must first determine the charges expected for the most common ions derived from calcium and chlorine. Calcium lies in group 2, so it should lose two electrons to form Ca2+. Chlorine lies in group 17, so it should gain one electron to form Cl.

    B Two Cl ions are needed to balance the charge on one Ca2+ ion, which leads to the empirical formula CaCl2. We could also cross charges, using the absolute value of the charge on Ca2+ as the subscript for Cl and the absolute value of the charge on Cl as the subscript for Ca:

    The subscripts in CaCl2 cannot be reduced further. The empirical formula is electrically neutral [+2 + 2(−1) = 0]. This compound is calcium chloride, one of the substances used as “salt” to melt ice on roads and sidewalks in winter.

Exercise

Write the empirical formula for the simplest binary ionic compound formed from each ion or element pair.

  1. Li+ and N3−
  2. Al3+ and O2−
  3. lithium and oxygen

Answer:

  1. Li3N
  2. Al2O3
  3. Li2O

Polyatomic Ions

Polyatomic ionsA group of two or more atoms that has a net electrical charge. are groups of atoms that bear a net electrical charge, although the atoms in a polyatomic ion are held together by the same covalent bonds that hold atoms together in molecules. Just as there are many more kinds of molecules than simple elements, there are many more kinds of polyatomic ions than monatomic ions. Two examples of polyatomic cations are the ammonium (NH4+) and the methylammonium (CH3NH3+) ions. Polyatomic anions are much more numerous than polyatomic cations; some common examples are in Table 2.4 "Common Polyatomic Ions and Their Names".

Table 2.4 Common Polyatomic Ions and Their Names

Formula Name of Ion
NH4+ ammonium
CH3NH3+ methylammonium
OH hydroxide
O22− peroxide
CN cyanide
SCN thiocyanate
NO2 nitrite
NO3 nitrate
CO32− carbonate
HCO3 hydrogen carbonate, or bicarbonate
SO32− sulfite
SO42− sulfate
HSO4 hydrogen sulfate, or bisulfate
PO43− phosphate
HPO42− hydrogen phosphate
H2PO4 dihydrogen phosphate
ClO hypochlorite
ClO2 chlorite
ClO3 chlorate
ClO4 perchlorate
MnO4 permanganate
CrO42− chromate
Cr2O72− dichromate
C2O42− oxalate
HCO2 formate
CH3CO2 acetate
C6H5CO2 benzoate

The method we used to predict the empirical formulas for ionic compounds that contain monatomic ions can also be used for compounds that contain polyatomic ions. The overall charge on the cations must balance the overall charge on the anions in the formula unit. Thus K+ and NO3 ions combine in a 1:1 ratio to form KNO3 (potassium nitrate or saltpeter), a major ingredient in black gunpowder. Similarly, Ca2+ and SO42− form CaSO4 (calcium sulfate), which combines with varying amounts of water to form gypsum and plaster of Paris. The polyatomic ions NH4+ and NO3 form NH4NO3 (ammonium nitrate), which is a widely used fertilizer and, in the wrong hands, an explosive. One example of a compound in which the ions have charges of different magnitudes is calcium phosphate, which is composed of Ca2+ and PO43− ions; it is a major component of bones. The compound is electrically neutral because the ions combine in a ratio of three Ca2+ ions [3(+2) = +6] for every two ions [2(−3) = −6], giving an empirical formula of Ca3(PO4)2; the parentheses around PO4 in the empirical formula indicate that it is a polyatomic ion. Writing the formula for calcium phosphate as Ca3P2O8 gives the correct number of each atom in the formula unit, but it obscures the fact that the compound contains readily identifiable PO43− ions.

Example 5

Write the empirical formula for the compound formed from each ion pair.

  1. Na+ and HPO42−
  2. potassium cation and cyanide anion
  3. calcium cation and hypochlorite anion

Given: ions

Asked for: empirical formula for ionic compound

Strategy:

A If it is not given, determine the charge on a monatomic ion from its location in the periodic table. Use Table 2.4 "Common Polyatomic Ions and Their Names" to find the charge on a polyatomic ion.

B Use the absolute value of the charge on each ion as the subscript for the other ion. Reduce the subscripts to the smallest whole numbers when writing the empirical formula.

Solution:

  1. B Because HPO42− has a charge of −2 and Na+ has a charge of +1, the empirical formula requires two Na+ ions to balance the charge of the polyatomic ion, giving Na2HPO4. The subscripts are reduced to the lowest numbers, so the empirical formula is Na2HPO4. This compound is sodium hydrogen phosphate, which is used to provide texture in processed cheese, puddings, and instant breakfasts.
  2. A The potassium cation is K+, and the cyanide anion is CN. B Because the magnitude of the charge on each ion is the same, the empirical formula is KCN. Potassium cyanide is highly toxic, and at one time it was used as rat poison. This use has been discontinued, however, because too many people were being poisoned accidentally.
  3. A The calcium cation is Ca2+, and the hypochlorite anion is ClO. B Two ClO ions are needed to balance the charge on one Ca2+ ion, giving Ca(ClO)2. The subscripts cannot be reduced further, so the empirical formula is Ca(ClO)2. This is calcium hypochlorite, the “chlorine” used to purify water in swimming pools.

Exercise

Write the empirical formula for the compound formed from each ion pair.

  1. Ca2+ and H2PO4
  2. sodium cation and bicarbonate anion
  3. ammonium cation and sulfate anion

Answer:

  1. Ca(H2PO4)2: calcium dihydrogen phosphate is one of the ingredients in baking powder.
  2. NaHCO3: sodium bicarbonate is found in antacids and baking powder; in pure form, it is sold as baking soda.
  3. (NH4)2SO4: ammonium sulfate is a common source of nitrogen in fertilizers.

Hydrates

Many ionic compounds occur as hydratesA compound that contains specific ratios of loosely bound water molecules, called waters of hydration., compounds that contain specific ratios of loosely bound water molecules, called waters of hydrationThe loosely bound water molecules in hydrate compounds. These waters of hydration can often be removed by simply heating the compound.. Waters of hydration can often be removed simply by heating. For example, calcium dihydrogen phosphate can form a solid that contains one molecule of water per Ca(H2PO4)2 unit and is used as a leavening agent in the food industry to cause baked goods to rise. The empirical formula for the solid is Ca(H2PO4)2·H2O. In contrast, copper sulfate usually forms a blue solid that contains five waters of hydration per formula unit, with the empirical formula CuSO4·5H2O. When heated, all five water molecules are lost, giving a white solid with the empirical formula CuSO4 (Figure 2.9 "Loss of Water from a Hydrate with Heating").

Figure 2.9 Loss of Water from a Hydrate with Heating

When blue CuSO4·5H2O is heated, two molecules of water are lost at 30°C, two more at 110°C, and the last at 250°C to give white CuSO4.

Compounds that differ only in the numbers of waters of hydration can have very different properties. For example, CaSO4·½H2O is plaster of Paris, which was often used to make sturdy casts for broken arms or legs, whereas CaSO4·2H2O is the less dense, flakier gypsum, a mineral used in drywall panels for home construction. When a cast would set, a mixture of plaster of Paris and water crystallized to give solid CaSO4·2H2O. Similar processes are used in the setting of cement and concrete.

Summary

An empirical formula gives the relative numbers of atoms of the elements in a compound, reduced to the lowest whole numbers. The formula unit is the absolute grouping represented by the empirical formula of a compound, either ionic or covalent. Empirical formulas are particularly useful for describing the composition of ionic compounds, which do not contain readily identifiable molecules. Some ionic compounds occur as hydrates, which contain specific ratios of loosely bound water molecules called waters of hydration.

Key Takeaway

  • The composition of a compound is represented by an empirical or molecular formula, each consisting of at least one formula unit.

Conceptual Problems

  1. What are the differences and similarities between a polyatomic ion and a molecule?

  2. Classify each compound as ionic or covalent.

    1. Zn3(PO4)2
    2. C6H5CO2H
    3. K2Cr2O7
    4. CH3CH2SH
    5. NH4Br
    6. CCl2F2
  3. Classify each compound as ionic or covalent. Which are organic compounds and which are inorganic compounds?

    1. CH3CH2CO2H
    2. CaCl2
    3. Y(NO3)3
    4. H2S
    5. NaC2H3O2
  4. Generally, one cannot determine the molecular formula directly from an empirical formula. What other information is needed?

  5. Give two pieces of information that we obtain from a structural formula that we cannot obtain from an empirical formula.

  6. The formulas of alcohols are often written as ROH rather than as empirical formulas. For example, methanol is generally written as CH3OH rather than CH4O. Explain why the ROH notation is preferred.

  7. The compound dimethyl sulfide has the empirical formula C2H6S and the structural formula CH3SCH3. What information do we obtain from the structural formula that we do not get from the empirical formula? Write the condensed structural formula for the compound.

  8. What is the correct formula for magnesium hydroxide—MgOH2 or Mg(OH)2? Why?

  9. Magnesium cyanide is written as Mg(CN)2, not MgCN2. Why?

  10. Does a given hydrate always contain the same number of waters of hydration?

Answer

  1. The structural formula gives us the connectivity of the atoms in the molecule or ion, as well as a schematic representation of their arrangement in space. Empirical formulas tell us only the ratios of the atoms present. The condensed structural formula of dimethylsulfide is (CH3)2S.

Numerical Problems

  1. Write the formula for each compound.

    1. magnesium sulfate, which has 1 magnesium atom, 4 oxygen atoms, and 1 sulfur atom
    2. ethylene glycol (antifreeze), which has 6 hydrogen atoms, 2 carbon atoms, and 2 oxygen atoms
    3. acetic acid, which has 2 oxygen atoms, 2 carbon atoms, and 4 hydrogen atoms
    4. potassium chlorate, which has 1 chlorine atom, 1 potassium atom, and 3 oxygen atoms
    5. sodium hypochlorite pentahydrate, which has 1 chlorine atom, 1 sodium atom, 6 oxygen atoms, and 10 hydrogen atoms
  2. Write the formula for each compound.

    1. cadmium acetate, which has 1 cadmium atom, 4 oxygen atoms, 4 carbon atoms, and 6 hydrogen atoms
    2. barium cyanide, which has 1 barium atom, 2 carbon atoms, and 2 nitrogen atoms
    3. iron(III) phosphate dihydrate, which has 1 iron atom, 1 phosphorus atom, 6 oxygen atoms, and 4 hydrogen atoms
    4. manganese(II) nitrate hexahydrate, which has 1 manganese atom, 12 hydrogen atoms, 12 oxygen atoms, and 2 nitrogen atoms
    5. silver phosphate, which has 1 phosphorus atom, 3 silver atoms, and 4 oxygen atoms
  3. Complete the following table by filling in the formula for the ionic compound formed by each cation-anion pair.

    Ion K+ Fe3+ NH4+ Ba2+
    Cl KCl
    SO42−
    PO43−
    NO3
    OH
  4. Write the empirical formula for the binary compound formed by the most common monatomic ions formed by each pair of elements.

    1. zinc and sulfur
    2. barium and iodine
    3. magnesium and chlorine
    4. silicon and oxygen
    5. sodium and sulfur
  5. Write the empirical formula for the binary compound formed by the most common monatomic ions formed by each pair of elements.

    1. lithium and nitrogen
    2. cesium and chlorine
    3. germanium and oxygen
    4. rubidium and sulfur
    5. arsenic and sodium
  6. Write the empirical formula for each compound.

    1. Na2S2O4
    2. B2H6
    3. C6H12O6
    4. P4O10
    5. KMnO4
  7. Write the empirical formula for each compound.

    1. Al2Cl6
    2. K2Cr2O7
    3. C2H4
    4. (NH2)2CNH
    5. CH3COOH

Answers

    1. MgSO4
    2. C2H6O2
    3. C2H4O2
    4. KClO3
    5. NaOCl·5H2O
  1. Ion K + Fe 3+ NH 4 + Ba 2+
    Cl KCl FeCl3 NH4Cl BaCl2
    SO 4 2− K2SO4 Fe2(SO4)3 (NH4)2SO4 BaSO4
    PO 4 3− K3PO4 FePO4 (NH4)3PO4 Ba3(PO4)2
    NO 3 KNO3 Fe(NO3)3 NH4NO3 Ba(NO3)2
    OH KOH Fe(OH)3 NH4OH Ba(OH)2
    1. Li3N
    2. CsCl
    3. GeO2
    4. Rb2S
    5. Na3As
    1. AlCl3
    2. K2Cr2O7
    3. CH2
    4. CH5N3
    5. CH2O