Read · 1 min
Let's say we have the system of equations:
You can certainly solve this through elimination, but let's try a different way! Let's rewrite these equations using matrices.
We can split the coefficients on the left side of the equation into their own nice 3x3 matrix like so:
This may not make much sense yet, and that’s okay.
If you think about it, there must be a matrix operation that uses the coefficients and the values , , and to find the solution. The math is there. We just need the right tool.
The big question is this: which matrix operation gives us the correct values for , , and ?
That’s what we’re about to figure out.
For now, let's write the entire equation in matrix form:
If you know how matrix multiplication works, then you'll see why this works out the way it does!
We can write this equation as , where is the 3x3 matrix, is the variable matrix, and is the solution matrix.
We are trying to solve for . If this was a normal equation with normal variables, we would divide both sides by to solve for . Unfortunately, we can't really divide with matrices! Instead, we have to use something called the inverse of a matrix. An inverse matrix satisfies the identity:
where I is the identity matrix.
So going back to solving for our X matrix:
(Look up how to find the inverse of a matrix! Or just use a calculator...)
This expands to:
which by matrix multiplication yields:
And we're done! We can see that , , and is the solution!


