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.

Proof of Theorem th:elemrowopsanddetitem:rowswapanddet
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.

Proof of Theorem th:elemrowopsanddetitem:rowconstantmultanddet
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.

Before we tackle the proof of Part item:addmultotherrowdet of Theorem th:elemrowopsanddet we will need to prove the following two lemmas.

We will prove Part item:det0lemma1. Parts item:det0lemma3 and item:det0lemma2 are left as exercises.

Proof of Part item:det0lemma1
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 .

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.

We are now ready to finish the proof of Theorem th:elemrowopsanddet

Proof of Theorem th:elemrowopsanddetitem:addmultotherrowdet
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.

Practice Problems

Complete the proof of Theorem th:elemrowopsanddetitem:rowswapanddet by showing that the result holds for a matrix.
Let and be two rows of a matrix, with . Show that the switch of and requires adjacent row interchanges.
Let be an matrix. Show that
Verify Lemma lemma:arowsumofbc for .
Prove that if one row of a matrix is a linear combination of two other rows of the matrix, then the determinant of the matrix is 0.
Find using elementary row operations.
Answer:
Answer:
Each of the following matrices is an elementary matrix.
See Definition def:elemmatrix of MAT-0060.
(a)
What elementary row operation does this matrix perform?
(b)
Compute the determinant of the matrix in two different ways:
(i)
By cofactor expansion.
(ii)
By thinking about how the given matrix was obtained from the identity matrix.
Answer:
Answer:
Answer: