Read · 2 min
Background
We've seen previously how to solve a system of linear equations with substitution, elimination, and graphing. We've also seen how to solve nonlinear equations with substitution, elimination, and graphing. Finally, we learned how to use matrix row operations and an inverse matrix to solve systems of equations.
In this lesson, we'll take a very different approach than what we've seen before. We'll look at using a formula to solve systems of equations with matrices!
Cramer's Rule
Sometimes, it's shocking to think about just how old math is. If we go back to the 16th century, we'll meet Gabriel Cramer, who discovered this neat trick for solving systems of equations. There are a couple of important things to keep in mind before we can use Cramer's Rule, though:
-
There needs to be the same number of unique variables and equations (i.e., if there are three variables, there must be three equations)
-
The determinant cannot be zero (i.e., ) because that indicates no solution or an infinite number of solutions
If these two conditions are met, then we can use Cramer's Rule! Cramer's Rule allows us to use determinants to solve a system of equations.
Remember that the determinant of a square matrix, , is:
And the determinant of a matrix, , is:
To review how to find the determinant, you can check out this lesson.
Cramer's Rule for a Matrix
Before we begin, we want to put our system of equations into an augmented matrix. Say we're given the following system of equations:
This system can be represented with the following augmented matrix, which is basically a coefficient matrix:
Cramer's Rule for matrices tells us that for the above matrix,
and
The solved values will give us the coordinates, for the system of equations!
Cramer's Rule for a Matrix
Using Cramer's Rule for a matrix is very similar! The biggest spot that students trip up is when calculating the determinant for a matrix, so make sure to watch your values there.
For a given system of equations with variables,
we can write an augmented matrix:
The formulas with the determinants are going to get really messy, so I'm going to write out the determinants separate from the formulas!
Cramer's Rule for matrices tells us that for the augmented matrix,
The solved values will give us the coordinates, for the system of equations! This is how you can find the solution to a system of equations.

