## How to Compute Determinants:

Some of this is review for us. We're including it all here for completeness.

We define the determinant of a matrix this way:

Then we use our definition of the determinant of a matrix to define the determinant of a matrix:

In other words, we go across the first row of the matrix , . We multiply each entry by the determinant of the matrix we get from by crossing out the row and column containing that entry. (Try this. If you take and cross out the row and column containing (the first row and the second column) you get the matrix ; this was the matrix whose determinant we multiplied by in computing the determinant of .) Then we add and subtract the resulting terms, alternating signs (add the -term, subtract the -term, add the -term.)

Example 1

We can use this same method to compute the determinant of a matrix.

Example 2

The same method works for any square matrix of any size. And you don't have to use the first row; you can use any row or any column, as long as you know where to put the plus and minus signs. Here's how you know: Use this checkerboard pattern:

Example: Find the determinant of the matrix

Solution: The second column of this matrix has lots of zeroes, so that's a good one to use for computing the determinant. From our checkerboard matrix, we see that we should start with a minus sign going down the second column. So we compute the determinant of as

Finally, here's one more trick you can use for computing determinants: The elementary row operations change the determinant of a matrix in specific ways:

1.
Multiplying a row of matrix by a number multiplies its determinant by the same number.

2.
Adding a multiple of one row of a matrix to another row does not change the determinant.

3.
Interchanging two rows of a matrix changes the sign of the determinant.

Example: Find the determinant of the matrix

Solution: First we add times row 4 to row 1. This does not change the determinant, but it makes it easier to compute, because it gives us a matrix with more zero entries,

Now we again expand along the second column. All terms but the third are zero, and the third term gives

Example: Find the determinant of the matrix

We row-reduce the matrix to upper triangular'' form; that is, a form in which all the entries below the main diagonal are zero. First we add multiples of row 1 to the other rows to make all but the first entry in the first column equal to zero. This does not change the determinant.

Now we interchange rows 2 and 3. This changes the sign of the determinant and we need to remember this.

The second column now has all zeroes below the main diagonal, so we add a multiple of row 3 to row 4 to take care of the third column.

Now it is easy to compute the determinant of an upper triangular matrix; we just keep expanding along the first column, so all the terms but the first are zero:

But remember we interchanged two rows, which changes the sign of the determinant, so

Exercise 1   For each of the following matrix products, state whether the product is defined, and if it is, what the dimensions of the product will be. You do not have to do the multiplication.

Exercise 2   Carry out the following matrix multiplications.

Exercise 3   Find inverses for all of the following matrices that are invertible.

Exercise 4   Solve each of these systems of simultaneous linear equations. (Hint: Convert to a matrix equation , and check for the matrix in the preceding exercise.)

Exercise 5   Does the system of simultaneous linear equations

have no solutions, one solution, or infinitely many solutions? How do you know?

Exercise 6   Put the matrix

into row echelon form. Then say whether or not the determinant of this matrix is zero.

Exercise 7   Find the determinant of the matrix