Lesson 1.7 · Unit 1 · CED topic 1.8

Valence electrons and ionic compounds

Sodium is a soft metal that reacts violently with water; chlorine is a poisonous green gas. Put them together and you get table salt, a stable white solid you sprinkle on food. The change is explained entirely by valence electrons: sodium has one it can give up easily, and chlorine has a vacancy for one it holds strongly. This lesson uses periodic trends to predict which elements bond, what charges they take, and what formulas their ionic compounds have.

Learning objective · 1.8.A

Explain the relationship between trends in the reactivity of elements and periodicity.

Required content · EK 1.8.A.1 to 1.8.A.3
  • The likelihood that two elements will form a chemical bond is determined by the interactions between the valence electrons and nuclei of elements.
  • Elements in the same column of the periodic table tend to form analogous compounds.
  • Typical charges of atoms in ionic compounds are governed by the number of valence electrons and predicted by their location on the periodic table.

Valence electrons and the periodic table

For the main-group elements (groups 1, 2 and 13 to 18), the number of valence electrons is set by the column: group 1 has 1, group 2 has 2, group 13 has 3, and so on up to 8 for the noble gases (helium has 2). Because elements in the same column have the same valence configuration (all of group 1 is \(ns^1\), all of group 17 is \(ns^2 np^5\)), they behave alike and form analogous compounds. If you know that NaCl, KCl and LiCl exist, you can predict RbCl; if you know H2O, you can predict H2S.

Why ions form: ionization energy and electron affinity

Atoms with low ionization energies (metals, at the left of the table) lose their valence electrons fairly easily. Atoms with high electron affinity (nonmetals, at the right) gain electrons. When a metal meets a nonmetal, electrons move from the metal to the nonmetal. The result is a positive cation and a negative anion, held together by the Coulomb attraction between opposite charges: an ionic bond.

Na + Cl → Na+ + Cl- (Na loses one electron, Cl gains it)NaClNa+Cl-10 core + 1 valence10 core + 7 valence10 electrons: [Ne]18 electrons: [Ar]
Figure 1.7b Formation of an ionic compound. The valence electron of sodium moves to chlorine; each ion ends with a noble-gas electron configuration, and the oppositely charged ions attract each other (Coulomb’s law).

Notice that removing electrons costs energy, so the transfer by itself is not favorable (sodium’s ionization energy is 496 kJ/mol while chlorine releases only 349 kJ/mol on gaining an electron). The energy that makes the compound stable is the large attraction of the ions in the solid lattice, which you will compare in Unit 2. What the periodic trends tell you now is which atoms are good donors and acceptors.

Typical charges

Main-group atoms tend to form ions with the electron configuration of the nearest noble gas, because the next electron to remove (or add) would be from or to a very different energy level. This is why successive ionization energies jump after the valence electrons, as you saw in the last lesson. The typical charge follows from the group:

H+1He0Li+1Be+2BN−3O−2F−1Ne0Na+1Mg+2Al+3P−3S−2Cl−1Ar0K+1Ca+2Ga+3As−3Se−2Br−1Kr0transition metals: charges vary (+1, +2, +3 ...)121315161718
Figure 1.7a Typical ion charges of main-group elements follow from the valence electrons: metals lose electrons to reach the electron configuration of the previous noble gas, and nonmetals gain electrons to reach that of the next noble gas.
GroupValence e−Typical ionExamples
111+Li+, Na+, K+
222+Mg2+, Ca2+, Ba2+
1333+Al3+
1553−N3−, P3−
1662−O2−, S2−
1771−F−, Cl−, Br−

The transition metals (groups 3 to 12) do not follow a single rule, because their valence electrons are in both the s and d subshells, which are close in energy. They commonly form several charges: iron makes Fe2+ and Fe3+, copper makes Cu+ and Cu2+. Their ionic compounds are named with a Roman numeral, as in iron(III) oxide. The cation always has the same charge-balance rule as any other.

Formulas from charges

An ionic compound is electrically neutral overall, so the total positive charge equals the total negative charge. Find the smallest numbers of each ion that balance.

Worked example · writing formulas

Calcium and chlorine. Ca2+ and Cl−: one calcium needs two chlorides, so CaCl2.

Aluminum and oxygen. Al3+ and O2−: the least common multiple of 3 and 2 is 6, so two aluminum (+6) and three oxygen (−6): Al2O3.

Magnesium and nitrogen. Mg2+ and N3−: three magnesium (+6) and two nitrogen (−6): Mg3N2.

Check. The formula units come out as the empirical formulas of Lesson 1.3. Check that the charges sum to zero: \(2(+3) + 3(-2) = 0\).

Reactivity trends

The reactivity of a metal depends on how easily it loses electrons. Going down group 1, ionization energy falls (Li 520, Na 496, K 419 kJ/mol), so reactivity with water rises: lithium fizzes steadily, sodium melts into a ball and darts about, potassium bursts into flame. For nonmetals, reactivity depends on how strongly an atom attracts electrons. Going down group 17 the electron-attracting ability falls, so fluorine is the most reactive halogen, then chlorine, bromine and iodine. Both statements are Coulomb’s law again: farther from the nucleus and more shielded means weaker control over electrons.

Worked example · predicting a reaction

Predict the formula of the compound formed by strontium and iodine, and compare its likely reactivity with that of calcium and iodine.

Strontium is in group 2 (Sr2+) and iodine in group 17 (I−), so the compound is SrI2. Strontium is in the same group as calcium, so it forms an analogous compound, CaI2. Strontium is below calcium, with a lower first and second ionization energy, so it loses electrons slightly more easily and reacts a little more vigorously.

Exam focus
  • The group number gives the valence electrons and, for main-group elements, the typical charge.
  • Ions are neutral overall. Always check that the formula’s charges balance.
  • Reasoning from trends, not from memory. “Sodium reacts more vigorously than lithium because its valence electron is farther away and more shielded, so less energy is needed to remove it” earns the point; “because it is bigger” does not.
  • Transition metals vary. Do not give them one fixed charge; use the name or the problem to decide.
  • Use analogies. If you are asked about an unfamiliar compound, find a member of the same group you do know.
Practice
  1. Write the formula of the compound formed from barium and bromine.
    Show answer

    Barium is in group 2 (Ba2+) and bromine in group 17 (Br−). Two bromides balance one barium: BaBr2.

  2. Write the formula of aluminum sulfide and state the charge on each ion.
    Show answer

    Al3+ and S2−. Two Al (+6) balance three S (−6): Al2S3.

  3. An element in period 3 has first through fourth ionization energies (kJ/mol) of 496, 4562, 6910 and 9543. What is the formula of its compound with chlorine?
    Show answer

    The jump after the first ionization energy shows one valence electron (group 1, sodium), so the ion is Na+ and the compound is NaCl.

  4. Explain why potassium is more reactive than lithium toward water.
    Show answer

    Potassium’s valence electron is in the fourth shell, farther from the nucleus and shielded by more core electrons than lithium’s valence electron in the second shell. By Coulomb’s law the attraction to the nucleus is weaker, so the first ionization energy is lower (419 against 520 kJ/mol) and potassium loses its electron more easily.

  5. Why do sodium and potassium form analogous compounds, such as NaCl and KCl?
    Show answer

    Both are in group 1 and have one valence electron (ns1), so both form 1+ ions and combine with chlorine in a 1 : 1 ratio.

  6. Predict the charge of the most common ion of selenium (group 16) and write the formula of its compound with sodium.
    Show answer

    Selenium has 6 valence electrons and typically gains 2 to form Se2−. Two Na+ balance one Se2−, so the formula is Na2Se.

← 1.6 Periodic trends

Keep going in the full AP Chemistry course

All of U1 (Atomic Structure and Properties) is free to everyone, with no account. The course has 69 lessons, each with worked examples and practice problems that come with full solutions. A free account can also start a free month of the whole course, with no card.

Open this lesson in the courseSee the whole course