You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
We examine the effect of elementary row operations on the determinant and use row
reduction algorithm to compute the determinant.
DET-0030: Elementary Row Operations and the Determinant
When we first introduced the determinant we motivated its definition for a matrix
by the fact that the value of the determinant is zero if and only if the matrix is
singular. We will soon be able to generalize this result to larger matrices, and will
eventually establish a formula for the inverse of a nonsingular matrix in terms of
determinants.
Recall that we can find the inverse of a matrix or establish that the inverse does not
exist by using elementary row operations to carry the given matrix to its reduced
row-echelon form. In order to start relating determinants to inverses we
need to find out what elementary row operations do to the determinant of a
matrix.
The Effects of Elementary Row Operations on the Determinant
Recall that there are three elementary row operations:
(a)
Switching the order of two rows
(b)
Multiplying a row by a non-zero constant
(c)
Adding a multiple of one row to another
Elementary row operations are used to carry a matrix to its reduced row-echelon
form. In Practice Problem prob:elemrowopsreverse of SYS-0010 we established that elementary row
operations are reversible. In other words if we know what elementary row
operations carried to , we can undo each operation with another elementary
row operation to carry back to . This will prove useful for computing the
determinant. Computing the determinant of is easy. (Why?) If we know what
elementary row operations carry back to , and what effect each of these
operations has on the determinant of , we could find the determinant of
.
Let
Use your favorite definition to find .
Construct matrix by switching the first and the third rows of .
Find .
Next, let’s try switching consecutive rows. Construct matrix by interchanging the
second and third rows of .
Find .
It appears that switching any two rows of a matrix produces a determinant that is
negative of the determinant of the original matrix.
Next, construct matrix by multiplying the last row of by .
Find .
It turns out multiplying the first or the second row of by yields exactly the same
result as this.
Finally, construct matrix by adding twice row 3 to row 1.
Find .
This result is particularly surprising. Try a few more variations of this example to
convince yourself that adding a multiple of one row to another row does not appear
to affect the determinant.
We are now ready to state and prove a general result.
Let be an matrix.
(a)
If is obtained from by interchanging two different rows, then
(b)
If is obtained from by multiplying one of the rows of by a non-zero
constant . Then
(c)
If is obtained from by adding a multiple of one row of to another row,
then
We will start by showing that the result holds if two
consecutive rows are interchanged. Suppose is obtained from by swapping rows
and of .
We proceed by induction on . The result is not applicable for . In Practice
Problem prob:proofofrowswapanddet, you will be asked to verify that the result holds for matrices.
Suppose that the result holds for matrices. We need to show that it holds for
matrices. You may find the following diagram useful throughout the proof.
Observe that for we have:
Because is obtained from by switching two rows of , our induction hypothesis give
us:
For and we have:
We compute the determinant of by cofactor expansion along the first column.
If two non-adjacent rows are switched, then the switch can be carried out by
performing an odd number of adjacent row interchanges (See Practice Problem prob:numberofrowswitches), so
the result still holds.
We proceed by induction on . Clearly the statement
is true for . Just for fun, you might want to verify directly that it holds for
matrices. Now suppose the statement is true for all matrices. We will show that
it holds for matrices.
Suppose is obtained from by multiplying the ’s row of by .
We compute the determinant of by cofactor expansion along the first column.
Suppose rows and of are the same. Let be a matrix
obtained from by switching and . By Theorem th:elemrowopsanddetitem:rowswapanddet we know that . But and are
the same, so . But then . We conclude that .
Let , and be matrices. Suppose , and are identical, except for the row. If the
row of is the sum of the rows of and , then
Proof
We will proceed by induction on . You will be asked to verify cases
in Practice Problem prob:lemma2proof. We will assume that the statement holds for all matrices
and show that it holds for matrices.
You may find the following representations of , and helpful. Identical entries
in , and are labeled .
Observe that
For , the induction hypothesis gives us
We now compute the determinant of by cofactor expansion along the first column.
Suppose is obtained from by adding times row to
row . ( and ) You may find the following representations of and useful.
We will form another matrix by replacing the row of with times the row.
Observe that matrices , and are identical except for the row, and the row of
matrix is the sum of the rows of and . Thus, by Lemma lemma:arowsumofbc, we have:
But, by Lemma lemma:det0lemmaitem:det0lemma2, . Therefore .
Computing the Determinant Using Elementary Row Operations
What we discovered about the effects of elementary row operations on the
determinant will allow us to compute determinants without using the cumbersome
process of cofactor expansion.
Suppose that a matrix is carried to the identity matrix by a sequence of elementary
row operations listed below. Find .
Let’s take a look at what happens to the determinant of one step at a
time.
Recall that (Lemma lemma:detofid of DET-0010). This gives us
Therefore .
Let
Find by applying elementary row operations to reduce to its row-echelon
form.
We stop at the row-echelon form of because its determinant is easy to compute
by multiplying its diagonal entries (See Practice Problem prob:detoftrimat of DET-0020).
The following table summarizes the effect of each elementary row operation on the
determinant.
Combining (eq:detofrefa) with the information from the table, we get
Thus
You should verify this result by direct computation using cofactors.