# Solving a linear system with matrices using Gaussian elimination - Matrices

### Solving a linear system with matrices using Gaussian elimination

Now that we have learned how to represent a linear system as a matrix, we can now solve this matrix to solve the linear system! We use a method called "Gaussian elimination". This method involves a lot of matrix row operations. Our goal is to make it so that all entries in the bottom left of the matrix are 0. Once that is done, we take a look at the last row and convert it to a linear system. Then we solve for the variable. Then we look at the second last row, convert it to a linear system, and solve for the other variable. Rinse and repeat, and you will find all the variables which solve the linear system!