1.8 Valence electrons and ionic compounds

AP Chemistry Unit 1: Atomic Structure and Properties · 16 practice questions

Updated · Aligned to the AP Chemistry Course and Exam Description

The short answer

Valence electrons are the electrons in an atom's outermost shell, and they determine how the atom bonds. Main-group elements tend to gain or lose electrons to reach a noble-gas configuration, so group 1 forms +1+1 ions, group 2 forms +2+2 ions and group 17 forms −1-1 ions. Ionic formulas combine ions so the total charge is zero, e.g. AlX2OX3\ce{Al2O3}.

10
Topic 1.8

Ions and formulas

Atoms gain or lose electrons to look like a noble gas.

Group 1 → +1. Group 2 → +2. Al → +3. Group 15 → −3. Group 16 → −2. Group 17 → −1.

An ionic formula is whatever ratio makes the charges cancel.

Tool

Balance the charges

Cation
Anion
?Element X forms XClX2\ce{XCl2}. What is the formula of its oxide?Think, then tap to check

Two ClX−\ce{Cl-} balance one X, so the ion is XX2+\ce{X^2+}. One OX2−\ce{O^2-} balances it: XO\ce{XO}.

Topic 1.8 in depth

Study notes

Key concepts

Bonding depends on valence electrons (SAP-2.B.1). Whether two elements react, and what kind of bond they form, depends on how strongly each nucleus attracts valence electrons.

  • A metal with a low ionization energy (for example Na, 496 kJ/mol) and a nonmetal with a high electronegativity and a large energy release on gaining an electron (for example Cl) tend to form an ionic compound. The nonmetal's nucleus attracts the metal's valence electron so much more strongly that the electron is effectively transferred: Na⁺ and Cl⁻ ions form and attract each other.

  • Two nonmetals, both with high electronegativity, share electrons in covalent bonds. If their electronegativities differ, the sharing is unequal (polar covalent).

  • Reactivity of metals increases down a group (lower IE, valence electron farther away and easier to lose): Li < Na < K < Rb < Cs with water. Reactivity of halogens decreases down a group (F₂ > Cl₂ > Br₂ > I₂), because the added electron is attracted less strongly by a larger atom.

Analogous compounds (SAP-2.B.2). Elements in the same group have the same number of valence electrons and form ions of the same charge, so they form compounds with the same formula pattern and often similar properties.

Known compound Analogous compounds
NaCl LiF, KBr, RbI, NaF
MgO CaO, SrS, BaSe
AlCl₃ GaBr₃, AlF₃, InI₃
Na₂O K₂O, Li₂S, Rb₂Se
H₂O H₂S, H₂Se
CH₄ SiH₄, GeH₄, CCl₄

This lets you predict formulas you have never seen. If you know CaCl₂ exists, then SrBr₂ and BaI₂ are expected to exist with the same 1: 2 ratio. If a lab has no Na₂O, K₂O is the closest substitute.

Typical ion charges (SAP-2.B.3). Main-group atoms usually form ions with the same number of electrons as the nearest noble gas. Metals lose their valence electrons; nonmetals gain enough electrons to fill the valence p subshell.

Group 1 2 13 15 16 17 18
Valence electrons 1 2 3 5 6 7 8
Valence configuration ns¹ ns² ns² np¹ ns² np³ ns² np⁴ ns² np⁵ ns² np⁶
Typical ion 1+ 2+ 3+ 3− 2− 1− none
Example Na⁺ Mg²⁺ Al³⁺ N³⁻ O²⁻ Cl⁻ —

Why these charges? (link to Topics 1.6 and 1.7). Mg readily forms Mg²⁺ but not Mg³⁺: its IE₁ and IE₂ remove the two 3s valence electrons, but IE₃ would remove a 2p core electron, which is roughly five times more expensive (7733 vs 1451 kJ/mol). The energy released when the ionic solid forms can repay the first two ionizations but not the third. Similarly, Cl forms Cl⁻ and not Cl²⁻: a second added electron would have to go into the n = 4 shell, far from the nucleus, and would be repelled by the negative ion.

Transition metals can lose different numbers of electrons (Fe²⁺ and Fe³⁺, Cu⁺ and Cu²⁺), because the 4s and 3d electrons have similar energies. They lose their 4s electrons first.

Writing formulas of ionic compounds. The compound is electrically neutral, so the total positive charge equals the total negative charge. Use the lowest whole-number ratio (the formula unit).

Cation Anion Charge balance Formula
Na⁺ O²⁻ 2(+1) + (−2) = 0 Na₂O
Al³⁺ O²⁻ 2(+3) + 3(−2) = 0 Al₂O₃
Ca²⁺ N³⁻ 3(+2) + 2(−3) = 0 Ca₃N₂
Mg²⁺ Cl⁻ (+2) + 2(−1) = 0 MgCl₂
Fe³⁺ Cl⁻ (+3) + 3(−1) = 0 FeCl₃

From particles to properties (Coulomb's law in ionic solids). Ionic compounds are hard, brittle solids with high melting points, because every ion is held in a lattice by strong attractions to many oppositely charged neighbours. The strength of these attractions (the lattice energy) follows Coulomb's law: higher ion charges and smaller ions give stronger attraction. So MgO (2+ and 2−, small ions) has a far higher melting point than NaCl (1+ and 1−), and LiF has a higher lattice energy than KBr. (Lattice energy is developed further in Unit 2.)

Common misconceptions.

  • Ions do not form because atoms "want" a full shell. The energy released when the ions attract each other in the lattice is what makes the overall process favourable.

  • A formula such as XY₂ for an ionic compound means X²⁺ with two Y⁻ ions; it does not mean X is group 1.

  • Elements in the same period (for example Na and Mg) do not form analogous compounds; elements in the same group do.

Key equations

There are no new equations. For an ionic formula, the sum of (number of ions × charge) must equal zero. Coulomb's law (F ∝ q₁q₂/r²) is used to compare attractions between ions.

Worked examples

Worked example 1.8a — predicting a formula. Predict the formula of the compound formed between gallium and sulfur.

Ga is in group 13: it loses 3 valence electrons to form Ga³⁺. S is in group 16: it gains 2 electrons to form S²⁻. Balance: 2 Ga³⁺ (+6) and 3 S²⁻ (−6). Formula: Ga₂S₃ (analogous to Al₂O₃).

Worked example 1.8b — reasoning about an unknown element. An element X reacts with sodium to form NaX and with magnesium to form MgX₂. Which group is X in, and what is the formula of its compound with aluminium?

In NaX, Na⁺ is balanced by one X, so X forms X⁻. MgX₂ agrees (Mg²⁺ balanced by 2 X⁻). An element forming a 1− ion is in group 17 (a halogen). With Al³⁺ the formula is AlX₃.

Worked example 1.8c — comparing melting points with Coulomb's law. Explain why CaO melts at about 2600 °C while KF melts at about 860 °C. (The ions K⁺/Ca²⁺ and F⁻/O²⁻ have similar sizes.)

Ca²⁺ and O²⁻ each carry charges twice as large as K⁺ and F⁻. With similar distances between ion centres, Coulomb's law gives an attraction about 2 × 2 = 4 times stronger in CaO. More energy is needed to separate the ions, so the melting point is much higher.

Unit 1 study guide: exam-style free-response set, worksheet and answers.

Topic 1.8

Worked example

Try it first, then reveal each step
Predict the formula of the ionic compound formed between aluminum and oxygen.
  1. Al is in group 13 and loses 3 valence electrons: AlX3+\ce{Al^3+}.
  2. O is in group 16 and gains 2 electrons: OX2−\ce{O^2-}.
  3. Least common multiple of 3 and 2 is 6: two AlX3+\ce{Al^3+} (+6) and three OX2−\ce{O^2-} (−6-6).
  4. Answer: AlX2OX3\ce{Al2O3}
Topic 1.8

Free-response practice

Write your answer first, then open the solution and mark yourself against it.

FRQ 1.8-1. Answer the following about calcium and its compounds.

(a) Write the electron configuration of Ca²⁺ and identify a noble gas with the same configuration.

(b) Calcium forms Ca²⁺ but not Ca³⁺ in its compounds. Use the following IEs of Ca (kJ/mol) to explain why: IE₁ = 590, IE₂ = 1145, IE₃ = 4912.

(c) Predict the formulas of the compounds formed between calcium and (i) nitrogen and (ii) bromine.

(d) Predict the formula of the compound of strontium with chlorine, and explain the basis of the prediction.

Show the solution

(a) Ca²⁺: 1s² 2s² 2p⁶ 3s² 3p⁶, the same as Ar.

(b) IE₁ and IE₂ remove the two 4s valence electrons and are fairly small. IE₃ would remove a 3p core electron, which is in a lower shell, much closer to the nucleus and much less shielded; it costs over four times as much energy as IE₂. The energy released by forming ionic bonds can pay for removing two electrons but not a third, so Ca³⁺ is not formed.

(c) (i) Ca²⁺ and N³⁻: Ca₃N₂. (ii) Ca²⁺ and Br⁻: CaBr₂.

(d) SrCl₂. Sr is in the same group as Ca (two valence electrons, forms Sr²⁺) and Cl forms Cl⁻, so its chloride is analogous to CaCl₂.

FRQ 1.8-2. The melting points of two ionic compounds are given: NaF 993 °C; MgO 2852 °C. The distances between ion centres are 231 pm in NaF and 212 pm in MgO.

(a) Identify the ions in each compound and their charges.

(b) Using Coulomb's law, explain the difference in melting point.

Show the solution

(a) NaF: Na⁺ and F⁻. MgO: Mg²⁺ and O²⁻.

(b) The attraction between ions is proportional to q₁q₂/r². In MgO the product of the charges is (2)(2) = 4, versus (1)(1) = 1 in NaF, and the distance is slightly smaller (212 vs 231 pm). Both effects make the attraction in MgO much stronger (about 4 × (231/212)² ≈ 4.7 times), so much more energy is needed to separate the ions and melt the solid.

Watch out

Common mistake

Costs points

Students write formulas with the charges in the subscripts but do not reduce, or forget that the total charge must be zero. For MgX2+\ce{Mg^2+} and OX2−\ce{O^2-} the formula is MgO\ce{MgO}, not MgX2OX2\ce{Mg2O2}.

Topic 1.8

Frequently asked questions

?How do you find valence electrons on the periodic table?

For main-group elements, the number of valence electrons equals the last digit of the group number (groups 1, 2 and 13 to 18; helium has 2).

?Why do sodium and potassium form compounds with the same formula?

Both have one valence electron and form +1+1 ions, so they combine with anions in the same ratio.

Check yourself

Practice questions on 1.8

  1. Q1What is the formula of the ionic compound formed from aluminum and oxygen?
  2. Q2Element X forms a chloride with the formula XClX2\ce{XCl2}. What is the most likely formula of its oxide?
  3. Q3AlCl₃ is a known compound. Which of the following is most likely also a stable compound?
  4. Q4A neutral atom has exactly one unpaired electron, which is in a p orbital. Which pair of ion charges could this element most likely form?
  5. Q5A student needs Na₂O for an experiment but none is available. Which compound would be the best substitute?
  6. Q6An ionic compound has the formula XY₂. Which statement must be true?
  7. Q7When sodium burns in oxygen, a highly exothermic reaction forms Na₂O. Which statement best describes what happens to sodium's valence electron?
  8. Q8NaCl is a colourless solid that melts at 801 °C. Which compound is expected to have the most similar properties?
  9. Q9Calcium forms an ionic compound with formula CaQ. To which group does Q belong?
  10. Q10An ionic compound has the formula XX2YX3\ce{X2Y3}. What are the likely ion charges?
  11. Q11Given that NaX2S\ce{Na2S} exists, which formula is most likely for a compound of potassium and selenium?
  12. Q12Calcium metal reacts with chlorine gas. What happens to calcium's valence electrons?
  13. Q13Which bond fits this description: "the shared electron pair is attracted equally by both atoms"?
  14. Q14KBr is a colorless, high-melting crystal. Which compound most likely has similar properties?
  15. Q15A main-group atom has the valence configuration ns2np4ns^2np^4. What ion does it most likely form?
  16. Q16Phosphorus forms PClX5\ce{PCl5}, but nitrogen does not form NClX5\ce{NCl5}. Why?
Teaching this topic? Print a ready-to-use lesson: the simulation, five questions, an answer key and a QR code students scan to try it. Use this with your class

Stuck on a unit? Let us fix it this week.

Book a 30-minute one-to-one session for $20. Bring a test, a homework set or the topic that is not clicking.

Book a session
Chat on WhatsApp