Simpler system of linear equations
What is the simpliest system of linear equation you can think of?
How about solving
Pretty simple, right? If we represented this system as augmented matrix then it would look like The key observation from inspecting this is that we have a lot of ’s in the coefficient matrix. In fact, we only have a single entry in each column that is nonzero.
Of course, not all systems are so simple.
Question: Can we operate, in some way, on a matrix that
- does not change the set of solutions to the system but
- simplifies the coefficient matrix by zeroing out more entries?
The answer is yes, as we will see shortly.
In fact, we can bring the augmented matrix to a canonical form that, while not as simple as the example above, is incredibly useful for solving the system.
Row Echelon Form
Definition: We say a matrix is in row echelon form if
- all zero rows are at the bottom of and
- reading left to right, the first nonzero entry of a row is always strictly to the right first nonzero entry of the row above it.
It helps our communication and understanding to be more precise and to do so we need to introduce some notation. For an matrix , let’s write as shorthand for the vector that is the -th row of . So in the example we have
Similarly we introduce the notation for the -th column vector of . Continuing the example we have We will often omit the superscript if the context is clear.
We say a vector is non-zero if at least one entry is not .
Definition: For a non-zero vector , the pivot of is the first non-zero entry of .
For example, the pivot of is the second entry in list, . For the pivot is the first entry in the list, .
Note that we can only talk about pivots for non-zero vectors.
Given these notions, we can rephrase the definition row echelon form as
Definition: A matrix is in row echelon form if
- all zero rows are at the bottom of and
- for all nonzero rows the index of the pivot of is strictly greater that the index of the pivot of . In less words,
We say an augmented matrix is in row echelon form if is in row echelon form.
For example, is not in row echelon form since
- all rows are non-zero so none need to be at the bottom but
- the indices of the pivots are all three rows are ; they do not strictly decrease as we move down the matrix.
The pivots of the nonzero rows should look like a staircase. Here are two examples of matrices in row echelon form. and
There is a more refined form row echelon row.
Reduced row echelon form
Definition: A matrix is in reduced row echelon form if
- is row echelon form,
- all the pivots of the rows of have value , and
- each pivot is the only non-zero entry in its column.
We say an augmented matrix is in reduced row echelon form if is in reduced row echelon form.
All the examples we have seen so far are not in reduced row echelon form, even if they were in row echelon form.
An example in reduced row echelon is
We will introduce operations which will allow us to transform any matrix into reduced row echelon. For an augmented matrix , the operations will preserve the set of solutions to the associated linear system.