Processing math: 100%
Skip to main content

Section 8.3 Concepts

In Discovery 8.1, we discovered that for every 2×2 matrix A there is a related matrix A so that the product AA is a scalar multiple of the identity matrix. Call this scalar δ for now. If δ0, we can do some algebra to get

AA=δIA(δ1A)=I,

which means that A must be invertible with A1=δ1A (Proposition 6.5.6).

Now, we could achieve this goal by always choosing δ=0 and A=0, but that won't help us replicate for larger matrices the patterns we discovered in the 2×2 case. We will find that there is a very particular procedure to achieve this goal that works for every square matrix and recovers the 2×2 case above, so we will tackle the goal in two parts:

  1. determine the scalar δ for each square matrix A, and then
  2. determine how to construct the matrix A that goes along with it.

The process of producing the scalar δ is then a function on square matrices. For a particular square matrix A, we will call the output δ of this function the determinant of A, and usually write detA instead of δ.

For now, we will concentrate on the first step and learn how to compute determinants, as it turns out that the “companion” matrix A will be constructed out of determinants of submatrices of A. We will discuss this special matrix and complete our goal in Chapter 10.

Subsection 8.3.1 Definition of the determinant

It may seem from Section 8.2 that the definition of determinant is circular — we define the determinant in terms of entries and cofactors (via cofactor expansions), where cofactors are defined in terms of minors, which are defined in terms of … determinants? But the key word in the definition of minor is smaller — determinants are defined recursively in terms of smaller matrices. In Discovery guide 8.1, after first exploring the determinant of a 2×2 matrix as motivation, we started afresh with a precise definition of the 1×1 determinant, and then defined the 2×2 determinant in terms of 1×1 determinants. Then the 3×3 determinant is defined in terms of 2×2 determinants, and so on. As we will see in examples in Section 8.4, computing a determinant from this recursive definition will involve unpacking it in terms of determinants of one smaller size, then unpacking those in terms of determinants of one size smaller again, and so on. Technically, this process should continue until we are down to a bunch of 1×1 determinants, but since there is a simple formula for a 2×2 determinant, in direct computations we will stop there.

Warning 8.3.3.

Computing determinants by cofactor expansions is extremely inefficient, whether by hand or by computer. For example, for a 10×10 matrix, the recursive process of a cofactor expansion could eventually require you to compute more than 1.8 million 2×2 determinants. In the next chapter we will discover that we can also compute determinants by … you guessed it, row reduction! (And there are other, more efficient methods for determinants by computer — we will leave those to a numerical methods course.) But again, the goal of this course is not to turn you into a super-efficient computer. We want to understand and be somewhat proficient at computing determinants by cofactor expansions so that we can think about and understand them in the abstract while we develop the theory of determinants.

Subsection 8.3.2 Determinants of 1×1 matrices

Consider the general 1×1 matrix A=[a]. We should expect the invertibility of A to be completely determined by the value of the single entry a, since that is all the information that A contains. And that is precisely the case, as A is invertible when a0, with A1=[a1], and A is singular when a=0, because then A would be the zero matrix. Since entry a determines the invertibility of A, we set det[a]=a.

Subsection 8.3.3 Determinants of 2×2 matrices

In Discovery 8.6, we calculated the determinant of the general 2×2 matrix to be

det[abcd]=adbc,

using a cofactor expansion along the first row. (We leave it up to you, the reader, to check that a cofactor expansion along a column or along the second row yields the same result.) And we already verified by row reducing that a 2×2 matrix is invertible precisely when adbc0 (Proposition 6.5.9).

Subsection 8.3.4 Determinants of larger matrices

Determinants by cofactor expansions of square matrices of sizes larger than 2×2 are best considered through examples — you wouldn't want to try to write out a general formula for the determinant of a 5×5 matrix in twenty-five entry variables like the one we have above for 2×2 matrices. We'll move on to examples shortly, but let's first recall the cofactor sign patterns from Discovery 8.9. Remember that a cofactor is equal to either the corresponding minor or its negative, depending on whether the sum i+j of row and column indices is even or odd. This extra “sign” portion of the cofactor formula in terms of minors will alternate from entry to entry, since as we move along a row or along a column, only one of i or j will change, and so i+j will flip from even to odd or vice versa. So the cofactor signs follow the patterns,

3×3:[+++++],4×4:[++++++++],5×5:[+++++++++++++],

and so on.

Subsection 8.3.5 Determinants of special forms

In Discovery 8.10, we examined the determinant of diagonal and triangular matrices. Let's consider the case of a diagonal matrix:

D=[d1000d2000dn].

A cofactor expansion along the first column will look like

d1C11+0C21+0C31++0Cn1.

Because of all of those zero entries, the only cofactor we actually need to compute is C11, and the cofactor expansion collapses to just the entry d1 times its cofactor. But the cofactor sign of the (1,1) entry is positive, so we really just get d1 times its minor determinant:

detD=d1|d2000d3000dn|.

This minor determinant is again a diagonal matrix, so we can again expand along the first column to get a similar result. And the pattern will continue until we finally get down to a 1×1 minor

detD=d1d2|d3000d4000dn|=d1d2d3|d4000d5000dn|==d1d2dn2|dn100dn|=d1d2dn1|[dn]|=d1d2dn1dn.

So the determinant of a diagonal matrix is equal to the product of its diagonal entries.

What if we apply this pattern to an n×n scalar matrix kI? Since such a matrix has the entry k repeated down the diagonal n times, the determinant will be n factors of k multiplied together, so that det(kI)=kn. Applying this formula to the zero matrix (k=0) and the identity matrix (k=1), we have

det0=0,detI=1.

When computing the determinant of an upper triangular matrix, a similar pattern of computation as in the diagonal case would arise, because choosing to always expand along the first column would result in diagonal entry times an upper triangular minor determinant. And the same pattern would repeat for lower triangular matrices, but for those it is best to expand along the first row.