Solving System of Equations using Matrices: Learn It 3
Performing Row Operations on a Matrix
Performing row operations on a matrix is the method we use for solving a system of equations. In order to solve the system of equations, we want to convert the matrix to row-echelon form, in which there are ones down the main diagonal from the upper left corner to the lower right corner and zeros in every position below the main diagonal as shown.
Row echelon form is a specific arrangement of a matrix used to solve systems of linear equations. In this form, each row has a leading entry of [latex]1[/latex] (called a leading [latex]1[/latex]) that appears to the right of the leading [latex]1[/latex] in the row above it. All entries below each leading [latex]1[/latex] are zeros.
We use row operations corresponding to equation operations to obtain a new matrix that is row-equivalent in a simpler form. Here are the guidelines to obtaining row-echelon form.
In any nonzero row, the first nonzero number is a 1. It is called a leading 1.
Any all-zero rows are placed at the bottom of the matrix.
Any leading 1 is below and to the right of a previous leading 1.
Any column containing a leading 1 has zeros in all other positions in the column.
Each of the row operations corresponds to the operations we have already learned to solve systems of equations in three variables. With these operations, there are some key moves that will quickly achieve the goal of writing a matrix in row-echelon form. To obtain a matrix in row-echelon form for finding solutions, we use Gaussian elimination, a method that uses row operations to obtain a 1 as the first entry so that row 1 can be used to convert the remaining rows.
Gaussian Elimination
The Gaussian elimination method refers to a strategy used to obtain the row-echelon form of a matrix. The goal is to write matrix [latex]A[/latex] with the number 1 as the entry down the main diagonal and have all zeros below.
The first step of the Gaussian strategy includes obtaining a [latex]1[/latex] as the first entry, so that row [latex]1[/latex] may be used to alter the rows below.
How To: Given an augmented matrix, perform row operations to achieve row-echelon form
The first equation should have a leading coefficient of [latex]1[/latex]. Interchange rows or multiply by a constant, if necessary.
Use row operations to obtain zeros down the first column below the first entry of [latex]1[/latex].
Use row operations to obtain a [latex]1[/latex] in row 2, column 2.
Use row operations to obtain zeros down column 2, below the entry of [latex]1[/latex].
Use row operations to obtain a [latex]1[/latex] in row 3, column 3.
Continue this process for all rows until there is a [latex]1[/latex] in every entry down the main diagonal and there are only zeros below.
If any rows contain all zeros, place them at the bottom.
Perform row operations on the given matrix to obtain row-echelon form.
The first row already has a 1 in row 1, column 1. The next step is to multiply row 1 by [latex]-2[/latex] and add it to row 2. Then replace row 2 with the result.
We have seen how to write a system of equations with an augmented matrix and then how to use row operations and back-substitution to obtain row-echelon form. Now we will use Gaussian Elimination as a tool for solving a system written as an augmented matrix. In our first example, we will show you the process for using Gaussian Elimination on a system of two equations in two variables.
We now have a 1 as the first entry in row 1, column 1. Now let’s obtain a 0 in row 2, column 1. This can be accomplished by multiplying row 1 by [latex]-2[/latex] and then adding the result to row 2.
The solution is the point [latex]\left(\frac{3}{2},1\right)[/latex].
In our next example, we will solve a system of two equations in two variables that is dependent. Recall that a dependent system has an infinite number of solutions and the result of row operations on its augmented matrix will be an equation such as [latex]0=0[/latex]. We also review writing the general solution to a dependent system.
The matrix ends up with all zeros in the last row: [latex]0y=0[/latex]. Thus, there are an infinite number of solutions and the system is classified as dependent. To find the generic solution, return to one of the original equations and solve for [latex]y[/latex].