Consider the system given by where
,
,
and .
Do you see a solution right away?
The system written out in full is
which can be rewritten to the equivalent system
We can now obtain solutions by choosing whatever values we like for
and and setting and to
the values given in terms of and as shown in the system above.
For example, setting and to gives
, , and . Note that the values assigned
to and are precisely the right-hand side values of
the original system. Is this merely a coincidence?
If you look closely at the original system, you will notice that in each
equation, there is a variable that appears in no other equation and it has
a coefficient of . In the first equation, is the only such
variable. But in the third equation, both and have that
property.
In general, if you have a system from which you can choose one variable in each
equation that appears in no other equation and has coefficient ,
you can easily obtain a solution by setting all such variables
to the corresponding right-hand side values and to the remaining
variables. This is really great. But the question is,
“Can we always convert a given system into such an
equivalent system?”
Before we address this question, let us reorder things a bit in the original
system and write it as
In matrix form, the coefficient matrix would be
.
This matrix satisfies a number of properties.
First, the left-most nonzero entry in each row is .
Such a is called a leading 1.
Second, all the entries above and below any leading are .
Also, a leading in a given row appears to the right of any leading
's in the rows above.
There is one more property that this matrix satisfies vacuously:
any row consisting of only 's (called a zero row) appears below
rows with at least one nonzero entry. The matrix above satisfies this
condition vacuously because it does not contain any zero row.
Any matrix that satisfies the properties listed above is said
to be in reduced row-echelon form.
Reduced row-echelon form (RREF)
A matrix is in reduced row-echelon form if it satisfies the following:
In each row, the left-most nonzero entry is and the column
that contains this has all other entries equal to .
This is called a leading .
The leading in the second row or beyond is to the right of the leading
in the row just above.
Any row containing only 's is at the bottom.
For example, the following matrices are not in RREF:
(The left-most nonzero entry in the second row not equal to , thus
violating property 1 stated above.)
(The leading in the second row is to the left of
the leading in the first row,
thus violating property 2 stated above.)
(The leading in the third row is not the only nonzero in
the column containg it, thus violating property 1 stated above.)
If you have a system where is in RREF, you can quickly tell
if it has a solution and give one when it does.
If has a zero row, say row , and is nonzero, then
there is no solution because the th equation would read
“”, which is impossible.
For example, if ,
, and
, the system written out in full is
Clearly, no matter what and are, the second equation
cannot be satisfied.
If does not have a zero row whose corresponding right-hand side is
nonzero, then one can obtain a solution by setting all the variables
corresponding to the leading 's to the right-hand side values and
the remaining variables to . (What if you want to obtain all solutions?)