Balancing Chemical Equations With Linear Algebra: Admin Leave A Comment Go To Comments
Balancing Chemical Equations With Linear Algebra: Admin Leave A Comment Go To Comments
Not too long ago I was having a conversation with my fiances brother, a PHD chemist at
the University of Rochester. During the course of our conversation we got onto the topic
of balaning chemical equations and I recalled an elegant method that I learned in a linear
algebra class. Not only is this useful to balance simply equations but it can be used on
more complex equations too.
The equation I have chosen for this example came from an article on Balancing Chemical
Equations by Dr. Anne Marie Helmenstine. The purpose of choosing Dr. Helmenstines
example is to show that two different people using two different methods will achieve at
the same solution.
The complete text of the article can be found here at chemistry.about.com.
The Problem
By examination we can see that the following equation is not balanced.
The Solution
We first assign variables to each of the unknown coefficients in the equation which gives
us:
We set the reactants and products equal to each other since we are trying to balance this
chemical equation. By comparing the numbers of atoms in the reactants and products,
the following linear equations are obtained.
Carbon:
w=y
Hydrogen:
4w = 2z
Oxygen:
2x = 2y +
z
There are 2 oxygen atoms in the x term, 2 in the y term, and 1 in the z term.
Rewrite the linear equations in standard form to get a homogeneous system of equations
with 4 variables.
w
-y
4w
2x
-2y
=0
-2z
=0
-z
=0
Create a matrix for the above systems of equations augmented with zeros (left) and
perform the Gauss-Jordan elimination method to reduce the matrix(right).
The equation is now balanced. Although this method may not be necessary for an
equation this simple, it will quickly prove to be beneficial with more complex equations.