Systems of linear equations: System of linear equations and matrices
Row reduction of a matrix to a reduced echelon form
In row reduction we apply elementary row operations; thereby, one or more of the following operations are applied:
- multiplying a row with a number distinct from zero
- adding a scalar multiple of a row to another row
- changing the order of the rows
These are the authorized operations. This does not yet fully determine the row reduction process. The aim of row reduction is to bring the matrix in reduced echelon form. We first look at a few examples.
We start with the matrix:
and divide the second row by :
Now we cannot continue; each wiping of the fourth column by use of a row would disrupt the results in the first three columns. But there is no need to continue: the obtained result is the reduced echelon form of .
We now describe the general process of row reduction in the form of an algorithm. The reader is advised to compare the examples just given with the following description.
Gaussian elimination
The Gauss elimination method, abbreviated as Gaussian elimination, is a method of reducing a matrix to a matrix in reduced row echelon form by means of elementary row operations.
Any matrix can be reduced to a unique reduced row echelon form. The method below performs Gaussian elimination.
The first step consists of the following operations on a given matrix with rows and columns:
- Let be the number of the first column that does not consist exclusively of zeros.
- If needed, swap two rows in such a way that the first element of column is not zero.
- Divide the first row by the first element of the column , so .
The matrix now has the following form:By we denote the matrix elements whose values are insignificant to our reasoning; they may be zero or non-zero. - Use the first row to create in column zeros below the leading element. We get a matrix of the form (with a framed submatrix):
The first step is now complete. In the next steps we apply the same procedure to the framed submatrix (but wiping clean all the columns in the last step) and repeat this process until we are no longer left with a framed submatrix or with a framed submatrix with only zeros; then the whole process of row reduction is completed.