Skip to content

Lesson 8 ยท Chemical Equations

Balancing Harder Equations

Balance difficult equations with polyatomic ions, alcohol combustion and several elements, and learn the algebraic method that always works.

Inspection works for many equations, but some resist it: ones where an element appears in three or four substances, or where fractions keep appearing. This lesson adds two tools. First, tactics for tricky cases. Second, an algebraic method that turns balancing into a small system of equations and always finds the answer.

Tactics for tricky equations

1. Treat polyatomic ions as one unit. If SOโ‚„ or OH or POโ‚„ appears unchanged on both sides, balance it as a group.

Alโ‚‚(SOโ‚„)โ‚ƒ + Ca(OH)โ‚‚ โ†’ Al(OH)โ‚ƒ + CaSOโ‚„

Balance Al first: 2Al(OH)โ‚ƒ. Now sulfate: 3 SOโ‚„ on the left, so 3CaSOโ‚„. Then calcium: 3Ca(OH)โ‚‚.

Alโ‚‚(SOโ‚„)โ‚ƒ + 3Ca(OH)โ‚‚ โ†’ 2Al(OH)โ‚ƒ + 3CaSOโ‚„

Check hydroxide: left 6 OH, right 2 ร— 3 = 6 OH. Balanced.

2. Count oxygen in the fuel when it contains oxygen. In ethanol, Cโ‚‚Hโ‚…OH, one O atom is already in the fuel.

Cโ‚‚Hโ‚…OH + Oโ‚‚ โ†’ COโ‚‚ + Hโ‚‚O

C: 2COโ‚‚. H: 6 H in ethanol, so 3Hโ‚‚O. O on the right: 4 + 3 = 7. The fuel supplies 1, so Oโ‚‚ must supply 6, which is 3Oโ‚‚.

Cโ‚‚Hโ‚…OH + 3Oโ‚‚ โ†’ 2COโ‚‚ + 3Hโ‚‚O

3. Balance the element that moves between substances. Here the oxygen leaves Feโ‚‚Oโ‚ƒ and ends up in COโ‚‚.

Feโ‚‚Oโ‚ƒ + CO โ†’ Fe + COโ‚‚

Fe: 2Fe. Carbon: write 1 CO for each COโ‚‚. Oxygen: Feโ‚‚Oโ‚ƒ has 3 O atoms. Each CO picks up one O to become COโ‚‚, so three CO are needed, giving 3COโ‚‚. Check oxygen: left 3 + 3 = 6, right 3 ร— 2 = 6.

Feโ‚‚Oโ‚ƒ + 3CO โ†’ 2Fe + 3COโ‚‚

4. Phosphate with a base.

Ca(OH)โ‚‚ + Hโ‚ƒPOโ‚„ โ†’ Caโ‚ƒ(POโ‚„)โ‚‚ + Hโ‚‚O

Ca: 3Ca(OH)โ‚‚. POโ‚„: 2Hโ‚ƒPOโ‚„. H: left 6 + 6 = 12 H, so 6Hโ‚‚O (12 H). O check: left 6 + 8 = 14; right 8 + 6 = 14.

3Ca(OH)โ‚‚ + 2Hโ‚ƒPOโ‚„ โ†’ Caโ‚ƒ(POโ‚„)โ‚‚ + 6Hโ‚‚O

The algebraic method

Give each substance an unknown coefficient and write one equation per element. Example:

a Cโ‚‚Hโ‚† + b Oโ‚‚ โ†’ c COโ‚‚ + d Hโ‚‚O

Element Equation
C 2a = c
H 6a = 2d
O 2b = 2c + d

Set a = 1. Then c = 2, d = 3, and 2b = 4 + 3 = 7, so b = 3.5. Multiply all by 2 to clear the fraction: a = 2, b = 7, c = 4, d = 6.

2Cโ‚‚Hโ‚† + 7Oโ‚‚ โ†’ 4COโ‚‚ + 6Hโ‚‚O

The same idea written as a matrix gives a method that works for any equation: the coefficient vector must satisfy A ยท x = 0, where each row of A is an element and each column is a substance (reactants positive, products negative).

Python Balance any equation with linear algebra

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The program builds the matrix, finds the null space with sympy, and scales the answer to the smallest whole numbers. If the equation has no valid balance, or more than one independent solution, it returns None instead of guessing.

Practice: spot the error

Some equations look balanced but are not. Use the counter below to hunt for the mistake, then fix it yourself using the tactics above.

Python Find the broken equation

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

When you get stuck, step back and count every element in a small table. Most errors come from a miscount of atoms inside brackets, such as forgetting that Ca(OH)โ‚‚ has two oxygens and two hydrogens.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Balance Cโ‚‚Hโ‚…OH + ?Oโ‚‚ โ†’ 2COโ‚‚ + 3Hโ‚‚O. How many Oโ‚‚?

    Right side has 4 + 3 = 7 O atoms. The ethanol supplies 1, so Oโ‚‚ supplies 6, which is 3 molecules.
  2. 2. In the algebraic method, what does each equation express?

    You write one equation per element, saying the atoms of that element on the left equal those on the right.
  3. 3. How many hydroxide (OH) groups are there in 3Ca(OH)โ‚‚?

    Each Ca(OH)โ‚‚ holds 2 OH, and there are 3 of them, so 6.
  4. 4. Balance Feโ‚‚Oโ‚ƒ + ?CO โ†’ 2Fe + ?COโ‚‚. What are the two coefficients?

    Three CO each take one O from Feโ‚‚Oโ‚ƒ, giving three COโ‚‚.

Summary

  • Treat unchanged polyatomic ions as single units.
  • Count oxygen already present in the fuel in combustion of alcohols.
  • The algebraic method writes one linear equation per element and always works.
  • Clear fractions by multiplying the whole equation by the denominator.

Next: State Symbols and Ionic Equations