Solving Systems of Linear Equations Using Matrices
If you need to, review matrices , matrix row operations and solving systems of linear equations before reading this page.
The matrix method of solving systems of linear equations is just the elimination method in disguise. By using matrices, the notation becomes a little easier.
Suppose you have a system of linear equations such as:
The first step is to convert this into a matrix. Make sure all equations are in standard form , and use the coefficients of each equation to form each row of the matrix. It may help you to separate the right column with a dotted line.
Next, we use the matrix row operations to change the matrix on the left side to the identity matrix . First, we want to get a zero in Row , Column . So, add times Row to Row .
Next we want a in the top left corner.
Now we want a zero in the bottom left corner.
Finally, we want a in Row , Column .
Now that we have the identity matrix on the left, we can read off the solutions from the right column:
The same method can be used for linear equations in unknowns; in this case you would create an matrix, and use the matrix row operations to get the identity matrix on the left side.
Important Note: If the equations represented by your original matrix represent parallel lines, you will not be able to get the identity matrix using the row operations. In this case, the solution either does not exist or there are infinitely many solutions to the system.