3.3 Systems of equations
Solving systems of equations
Suppose we're asked to solve the following system of equations:
Without a knowledge of linear algebra, we could use substitution, elimination, or subtraction to find the values of the two unknowns
Gauss-Jordan elimination is a systematic procedure for solving systems of equations based the following row operations:
These row operations allow us to simplify the system of equations without changing their solution.
To illustrate the Gauss-Jordan elimination procedure, we'll now show the sequence of row operations required to solve the system of linear equations described above. We start by constructing an augmented matrix as follows:
The first column in the augmented matrix corresponds to the coefficients of the variable
The Gauss-Jordan elimination procedure consists of two phases. During the first phase, we proceed left-to-right by choosing a row with a leading one in the leftmost column (called a pivot) and systematically subtracting that row from all rows below it to get zeros below in the entire column. In the second phase, we start with the rightmost pivot and use it to eliminate all the numbers above it in the same column. Let's see this in action.
The first step is to use the pivot in the first column to eliminate the variable
Next, we create a pivot in the second row using
We now start the backward phase and eliminate the second variable from the first row. We do this by subtracting two times the second row from the first row
The matrix is now in reduced row echelon form RREF, which is its "simplest" form it could be in. The solutions are:
Systems of equations as matrix equations
We will now discuss another approach for solving the system of equations. Using the definition of the matrix-vector product, we can express this system of equations
This matrix equation had the form
But how did we know what the inverse matrix