2.1.2 - Compounds, formulae and equations

2.1.2 - Compounds, formulae and equations

Chemical formulae and equations are the shorthand language used through the rest of chemistry. In this lesson you will learn how ionic charges determine formulae, how to balance equations without changing formulae, and how to write ionic equations that show only the particles that actually react.

Ionic Charge and Neutral Formulae

An ionic compound is made from positive ions and negative ions. The formula of an ionic compound gives the simplest whole-number ratio of ions that makes the overall charge zero.

Ionic formula

The formula of an ionic compound shows the simplest ratio of positive and negative ions needed to give no overall charge.

This is a charge-balance problem. A formula such as MgCl2\mathrm{MgCl_2} means one Mg2+\mathrm{Mg^{2+}} ion for every two Cl−\mathrm{Cl^-} ions. The total charge is:

(2)+2(−1)=0(2) + 2(-1) = 0

So the compound is neutral.

[DIAGRAM: asset_name: Lesson 2.1.2: Compounds, Formulae and Equations - diagram 01; asset_slug: 02_01_02_compounds_formulae_and_equations__diagram_01; recommended_method: drawn_chem; description: A clean 16:9 NovaLearn-style charge-balance diagram showing Mg2+ with two NO3- ions forming Mg(NO3)2, and Al3+ with three Cl- ions forming AlCl3. Include charge sums showing +2 + 2(-1) = 0 and +3 + 3(-1) = 0.]
Diagram

For simple ions, you can often predict the charge from the element's position in the Periodic Table. The table gives full group numbers, with the traditional main-group shorthand in brackets:

Position in Periodic TableTypical simple ion chargeExample
Group 1 metal1+1+Na+\mathrm{Na^+}, K+\mathrm{K^+}
Group 2 metal2+2+Mg2+\mathrm{Mg^{2+}}, Ca2+\mathrm{Ca^{2+}}
Group 13 (3), especially aluminium3+3+Al3+\mathrm{Al^{3+}}
Group 15 (5), in simple ionic compounds3−3-N3−\mathrm{N^{3-}}
Group 16 (6) non-metal2−2-O2−\mathrm{O^{2-}}, S2−\mathrm{S^{2-}}
Group 17 (7) non-metal1−1-Cl−\mathrm{Cl^-}, Br−\mathrm{Br^-}

Atoms of these main-group elements gain or lose electrons to reach a filled outer shell: Group 2 atoms lose two electrons, while Group 17 (7) halogen atoms gain one. The nucleus is unchanged. The logic is that metal atoms usually form positive ions, while non-metal atoms in simple ionic compounds usually form negative ions. You do not need to predict every possible ion in chemistry from the Periodic Table. If a question uses an ion outside this predictable pattern, and it is not one of the required recall ions in the next part, the charge will be given.

Worked example: formula from predicted charges

Deduce the formula of aluminium oxide.

Aluminium forms Al3+\mathrm{Al^{3+}}. Oxygen forms O2−\mathrm{O^{2-}}.

To make the charges balance, use the lowest common total charge of 6:

  • two Al3+\mathrm{Al^{3+}} ions give 2×(+3)=+62 \times (+3) = +6
  • three O2−\mathrm{O^{2-}} ions give 3×(−2)=−63 \times (-2) = -6

The neutral formula is:

Al2O3\mathrm{Al_2O_3}

Do not write AlO\mathrm{AlO}. That would combine 3+3+ and 2−2-, giving an overall 1+1+ charge, so it would not be a neutral compound.

Required Ions and Brackets

Some ions contain more than one atom. These are still single ions, so the whole group carries one overall charge. You must recall the following names, formulae and charges.

Ion nameFormula
nitrateNO3−\mathrm{NO_3^-}
carbonateCO32−\mathrm{CO_3^{2-}}
sulfateSO42−\mathrm{SO_4^{2-}}
hydroxideOH−\mathrm{OH^-}
ammoniumNH4+\mathrm{NH_4^+}
zinc ionZn2+\mathrm{Zn^{2+}}
silver ionAg+\mathrm{Ag^+}

When a question says nitrate, assume NO3−\mathrm{NO_3^-}. When it says sulfate, assume SO42−\mathrm{SO_4^{2-}}. Do not change these into nitrite, sulfite or any other ion unless the question explicitly gives a different formula.

The bracket rule is simple:

  • if only one polyatomic ion is needed, do not use brackets: NaNO3\mathrm{NaNO_3}, ZnSO4\mathrm{ZnSO_4}
  • if more than one of the whole ion is needed, put the ion in brackets before the subscript: Mg(OH)2\mathrm{Mg(OH)_2}, Al2(SO4)3\mathrm{Al_2(SO_4)_3}

Worked example 1: magnesium nitrate

Magnesium forms Mg2+\mathrm{Mg^{2+}}. Nitrate is NO3−\mathrm{NO_3^-}.

One magnesium ion has charge 2+2+, so two nitrate ions are needed:

Mg2+⏟1 ionNO3−, NO3−⏟2 ions\underbrace{\mathrm{Mg^{2+}}}_{1\text{ ion}} \quad \underbrace{\mathrm{NO_3^-},\ \mathrm{NO_3^-}}_{2\text{ ions}}

This is ion counting, not a precipitation reaction: magnesium nitrate is soluble in water. The formula is Mg(NO3)2\mathrm{Mg(NO_3)_2}. The brackets show that there are two complete nitrate ions, not just two oxygen atoms.

Worked example 2: ammonium sulfate

Ammonium is NH4+\mathrm{NH_4^+}. Sulfate is SO42−\mathrm{SO_4^{2-}}.

Two ammonium ions are needed for one sulfate ion:

2(+1)+(−2)=02(+1) + (-2) = 0

The formula is:

(NH4)2SO4\mathrm{(NH_4)_2SO_4}

A common error is to write NH4SO4\mathrm{NH_4SO_4}. That has one 1+1+ ion and one 2−2- ion, so the charges do not balance.

Balanced Equations and State Symbols

A chemical equation represents a reaction using formulae. A balanced equation has the same number of atoms of each element on both sides. For ordinary full equations, the total charge on both sides must also match.

Balance equations by changing coefficients in front of formulae. Never balance by changing the formula subscripts inside a correct compound.

For example, magnesium reacts with hydrochloric acid to form magnesium chloride and hydrogen.

Step 1: write the correct formulae.

Mg+HCl→MgCl2+H2\mathrm{Mg + HCl \rightarrow MgCl_2 + H_2}

Step 2: balance atoms by adding coefficients.

Mg+2HCl→MgCl2+H2\mathrm{Mg + 2HCl \rightarrow MgCl_2 + H_2}

Step 3: add state symbols.

Mg(s)+2HCl(aq)→MgCl2(aq)+H2(g)\mathrm{Mg(s) + 2HCl(aq) \rightarrow MgCl_2(aq) + H_2(g)}

State symbols tell you the physical form of each species:

State symbolMeaning
(s)(s)solid
(l)(l)liquid
(g)(g)gas
(aq)(aq)aqueous, dissolved in water

Use normal-size lower-case letters in brackets: Mg(s)\mathrm{Mg(s)}, H2(g)\mathrm{H_2(g)}, NaCl(aq)\mathrm{NaCl(aq)}. Do not hide state symbols as tiny subscripts, and do not guess a gas just because bubbles are mentioned unless the reaction information supports it.

Worked example: acid and carbonate reaction

Construct a balanced equation, including state symbols, for solid calcium carbonate reacting with aqueous nitric acid to form aqueous calcium nitrate, carbon dioxide and water.

First write formulae:

  • calcium carbonate: CaCO3\mathrm{CaCO_3}
  • nitric acid: HNO3\mathrm{HNO_3}
  • calcium nitrate: Ca(NO3)2\mathrm{Ca(NO_3)_2}
  • carbon dioxide: CO2\mathrm{CO_2}
  • water: H2O\mathrm{H_2O}

Now balance. Calcium and carbonate are already balanced. Calcium nitrate contains two nitrate groups, so two nitric acid molecules are needed.

CaCO3(s)+2HNO3(aq)→Ca(NO3)2(aq)+CO2(g)+H2O(l)\mathrm{CaCO_3(s) + 2HNO_3(aq) \rightarrow Ca(NO_3)_2(aq) + CO_2(g) + H_2O(l)}

Check atoms:

ElementLeftRight
Ca11
C11
H22
N22
O99

The equation is balanced. The coefficient 2 in front of HNO3\mathrm{HNO_3} changes the number of nitric acid particles; it does not change the nitrate ion formula.

Ionic Equations

An ionic equation shows the species that actually change during a reaction. Ions that appear unchanged on both sides are spectator ions. They are present in solution, but they are not part of the net chemical change.

Spectator ion

A spectator ion is an ion that is present in the reaction mixture but remains unchanged and appears on both sides of the complete ionic equation.

To write an ionic equation:

  1. Start with a balanced full equation, including state symbols.
  2. Split aqueous ionic compounds into their ions.
  3. Do not split solids, liquids, gases or undissociated covalent molecules. Strong acids in aqueous solution, such as HCl(aq), are represented by their dissociated ions; weak acids usually remain written as molecules.
  4. Cancel spectator ions that are identical on both sides.
  5. Check that atoms and charge are balanced in the final ionic equation.

[DIAGRAM: asset_name: Lesson 2.1.2: Compounds, Formulae and Equations - diagram 02; asset_slug: 02_01_02_compounds_formulae_and_equations__diagram_02; recommended_method: drawn_chem; description: A clean 16:9 NovaLearn-style worked spectator-ion cancellation for AgNO3(aq) + NaCl(aq) -> AgCl(s) + NaNO3(aq), showing complete ionic equation, Na+ and NO3- cancelled as spectators, and final net ionic equation Ag+(aq) + Cl-(aq) -> AgCl(s).]
Diagram

Worked example: silver chloride precipitate

Construct the ionic equation for the reaction between aqueous silver nitrate and aqueous sodium chloride. A white precipitate of silver chloride forms.

The full balanced equation is:

AgNO3(aq)+NaCl(aq)→AgCl(s)+NaNO3(aq)\mathrm{AgNO_3(aq) + NaCl(aq) \rightarrow AgCl(s) + NaNO_3(aq)}

Split the aqueous ionic compounds into ions:

Ag+(aq)+NO3−(aq)+Na+(aq)+Cl−(aq)→AgCl(s)+Na+(aq)+NO3−(aq)\mathrm{Ag^+(aq) + NO_3^-(aq) + Na^+(aq) + Cl^-(aq) \rightarrow AgCl(s) + Na^+(aq) + NO_3^-(aq)}

Na+\mathrm{Na^+} and NO3−\mathrm{NO_3^-} appear unchanged on both sides, so they are spectator ions. Cancel them.

The ionic equation is:

Ag+(aq)+Cl−(aq)→AgCl(s)\mathrm{Ag^+(aq) + Cl^-(aq) \rightarrow AgCl(s)}

Now check charge. The left side has +1+−1=0+1 + -1 = 0. The right side is a neutral solid. Charge is balanced.

Worked example: neutralisation

Hydrochloric acid reacts with sodium hydroxide:

HCl(aq)+NaOH(aq)→NaCl(aq)+H2O(l)\mathrm{HCl(aq) + NaOH(aq) \rightarrow NaCl(aq) + H_2O(l)}

For this ionic equation, the aqueous acid provides H+(aq)\mathrm{H^+(aq)} and the aqueous alkali provides OH−(aq)\mathrm{OH^-(aq)}. Sodium and chloride ions are spectators.

H+(aq)+OH−(aq)→H2O(l)\mathrm{H^+(aq) + OH^-(aq) \rightarrow H_2O(l)}

This ionic equation is balanced for atoms and charge: +1+−1=0+1 + -1 = 0, and water is neutral.

Unfamiliar Reactions

You are not expected to memorise every reaction in advance. You can construct equations for unfamiliar reactions when the question gives enough information about the reactants, products, charges or states.

Use this route:

  1. Identify each named substance and write its correct formula.
  2. Use ionic charges to build neutral ionic formulae.
  3. Add state symbols from the information given.
  4. Balance atoms using coefficients.
  5. For an ionic equation, split aqueous ionic compounds and cancel spectators.
  6. Check the final answer for balanced atoms and balanced charge.

Worked example: unfamiliar precipitation reaction

A question says: aqueous magnesium nitrate reacts with aqueous potassium hydroxide to form solid magnesium hydroxide and aqueous potassium nitrate. Construct a balanced equation with state symbols.

First write formulae:

  • magnesium nitrate: Mg(NO3)2\mathrm{Mg(NO_3)_2}
  • potassium hydroxide: KOH\mathrm{KOH}
  • magnesium hydroxide: Mg(OH)2\mathrm{Mg(OH)_2}
  • potassium nitrate: KNO3\mathrm{KNO_3}

Then balance:

Mg(NO3)2(aq)+2KOH(aq)→Mg(OH)2(s)+2KNO3(aq)\mathrm{Mg(NO_3)_2(aq) + 2KOH(aq) \rightarrow Mg(OH)_2(s) + 2KNO_3(aq)}

The ionic equation is found by splitting aqueous ionic compounds:

Mg2+(aq)+2NO3−(aq)+2K+(aq)+2OH−(aq)→Mg(OH)2(s)+2K+(aq)+2NO3−(aq)\mathrm{Mg^{2+}(aq) + 2NO_3^-(aq) + 2K^+(aq) + 2OH^-(aq) \rightarrow Mg(OH)_2(s) + 2K^+(aq) + 2NO_3^-(aq)}

Cancel K+\mathrm{K^+} and NO3−\mathrm{NO_3^-}:

Mg2+(aq)+2OH−(aq)→Mg(OH)2(s)\mathrm{Mg^{2+}(aq) + 2OH^-(aq) \rightarrow Mg(OH)_2(s)}

This final ionic equation has total charge zero on both sides: +2+2(−1)=0+2 + 2(-1) = 0.

Quick Recap

Build ionic formulae by balancing total charge, keeping polyatomic ions intact and using brackets when more than one is needed. Balance equations with coefficients, not altered formulae. For net ionic equations, cancel unchanged aqueous spectator ions and check both atoms and charge; include state symbols when requested.