In my AP chem class, I often have to balance chemical equations like the following:
$$ \text{Al} + \text O_2 \to \text{Al}_2 \text O_3 $$
The goal is to make both side of the arrow have the same amount of atoms by adding compounds in the equation to each side.
A solution:
$$ 4 \text{Al} + 3 \text O_2 \to 2 \text{Al}_2 \text O_3 $$
When the subscripts become really large, or there are a lot of atoms involved, trial and error is impossible unless performed by a computer. What if some chemical equation can not be balanced? (Do such equations exist?) I tried one for a long time only to realize the problem was wrong.
My teacher said trial and error is the only way. Are there other methods?