Books
Theme
Text size
Width

[ and ] go to the previous and next page.

Corollary 5.1.18 says that a matrix that is not invertible has determinant 0. This section proves the converse, so that det𝐴≠0 exactly when 𝐴 is invertible. The converse cannot follow from multilinearity and alternation alone, since the zero function has both properties, so the proof has to use normalization. Normalization only tells us that det𝐼𝑛=1, and we get from 𝐼𝑛 to an arbitrary invertible matrix by multiplying by elementary matrices (Theorem 3.5.19). So we first work out what one elementary matrix does to the determinant, and then build up. The same analysis proves det(𝐴𝐵)=det𝐴det𝐵 and det𝐴𝖳=det𝐴. From these we get the row versions of all the column properties, a fast way to compute determinants by row reduction, the determinant of a linear operator, and the determinants of block-triangular matrices.

5.4.1Elementary matrices

Recall the elementary 𝑛×𝑛 matrices (Definition 3.2.2). For 𝑖≠𝑗, 𝐸𝑖𝑗 swaps rows 𝑖 and 𝑗 of 𝐼𝑛; for 𝑐≠0, 𝐸𝑖𝑐 scales row 𝑖 of 𝐼𝑛 by 𝑐; and 𝐸𝑖𝑐𝑗 adds 𝑐 times row 𝑖 of 𝐼𝑛 to row 𝑗, so it is 𝐼𝑛 with an extra entry 𝑐 in position (𝑗,𝑖). Multiplying by 𝐸 on the left performs the row operation (Proposition 3.2.7). Multiplying on the right performs a column operation (Proposition 3.2.28): 𝐴𝐸𝑖𝑗 is 𝐴 with columns 𝑖 and 𝑗 swapped, 𝐴𝐸𝑖𝑐 is 𝐴 with column 𝑖 scaled by 𝑐, and 𝐴𝐸𝑖𝑐𝑗 is 𝐴 with 𝑐 times column 𝑗 added to column 𝑖.

Intuition (Why columns first). Our axioms are statements about columns, and Section 5.1 already found the effect of each column operation on a multilinear alternating function. A swap negates it (Proposition 5.1.10), scaling a column by 𝑐 multiplies it by 𝑐 (multilinearity), and adding a multiple of one column to another does not change it (Lemma 5.1.8). So the products we can handle now are the products 𝐴𝐸, in which 𝐸 acts on the columns of 𝐴. The products 𝐸𝐴, which act on rows, have to wait for the product formula (Theorem 5.4.10), and the row versions of the axioms for det𝐴𝖳=det𝐴 (Theorem 5.4.14).

The lecture passes between the two kinds of products with a trick worth remembering. By Proposition 2.4.23, 𝐴𝐸=(𝐸𝖳𝐴𝖳)𝖳. Here 𝐸𝖳𝐴𝖳 performs a row operation on 𝐴𝖳, whose rows are the columns of 𝐴, and the outer transpose turns these rows back into columns. This is the first proof of Proposition 3.2.28.

Proposition 5.4.1 (Determinants of elementary matrices). Let 1≤𝑖,𝑗≤𝑛 with 𝑖≠𝑗, and let 𝑐∈𝐹. Then det𝐸𝑖𝑗=−1, det𝐸𝑖𝑐𝑗=1, and det𝐸𝑖𝑐=𝑐 if 𝑐≠0. In particular, every elementary matrix has a nonzero determinant.

Proof.routine

Uses. Definition 3.2.2 (Elementary matrices), Definition 5.1.1 (Determinant function), Proposition 5.1.10 (Alternating implies antisymmetric)

Hint 1. Each elementary matrix is 𝐼𝑛 with a small change. Describe the change in terms of the columns of 𝐼𝑛, and use the axiom that fits it.
Hint 2. 𝐸𝑖𝑗 is 𝐼𝑛 with columns 𝑖 and 𝑗 interchanged, and 𝐸𝑖𝑐 is 𝐼𝑛 with column 𝑖 multiplied by 𝑐. Column 𝑖 of 𝐸𝑖𝑐𝑗 is 𝐞𝑖+𝑐𝐞𝑗.
Hint 3. For 𝐸𝑖𝑐𝑗, expand by linearity in column 𝑖. One of the two resulting matrices has two equal columns.
Sketch. Swapping rows 𝑖 and 𝑗 of 𝐼𝑛 gives the same matrix as swapping its columns 𝑖 and 𝑗, so det𝐸𝑖𝑗=−det𝐼𝑛=−1 by antisymmetry. 𝐸𝑖𝑐 is 𝐼𝑛 with column 𝑖 scaled by 𝑐, so det𝐸𝑖𝑐=𝑐 by linearity in column 𝑖. Column 𝑖 of 𝐸𝑖𝑐𝑗 is 𝐞𝑖+𝑐𝐞𝑗, so linearity in column 𝑖 gives det𝐼𝑛+𝑐det𝐼′, where 𝐼′ has 𝐞𝑗 in columns 𝑖 and 𝑗; the value is 1+𝑐⋅0=1.

Write 𝐞1,…,𝐞𝑛 for the columns of 𝐼𝑛.

Swaps. Swapping rows 𝑖 and 𝑗 of 𝐼𝑛 moves the 1 in position (𝑖,𝑖) to position (𝑗,𝑖) and the 1 in position (𝑗,𝑗) to position (𝑖,𝑗), and changes nothing else. So column 𝑖 of 𝐸𝑖𝑗 is 𝐞𝑗, column 𝑗 is 𝐞𝑖, and every other column 𝑘 is 𝐞𝑘. That is, 𝐸𝑖𝑗 is 𝐼𝑛 with columns 𝑖 and 𝑗 interchanged, and det𝐸𝑖𝑗=−det𝐼𝑛=−1 by Proposition 5.1.10.

Scalings. 𝐸𝑖𝑐 is 𝐼𝑛 with column 𝑖 replaced by 𝑐𝐞𝑖. By linearity in column 𝑖, det𝐸𝑖𝑐=𝑐det𝐼𝑛=𝑐.

Replacements. 𝐸𝑖𝑐𝑗 is 𝐼𝑛 with an extra entry 𝑐 in position (𝑗,𝑖), so its column 𝑖 is 𝐞𝑖+𝑐𝐞𝑗 and its other columns are those of 𝐼𝑛. Let 𝐼′ be 𝐼𝑛 with column 𝑖 replaced by 𝐞𝑗. By linearity in column 𝑖,

det𝐸𝑖𝑐𝑗=det𝐼𝑛+𝑐det𝐼′=1+𝑐⋅0=1,

since columns 𝑖 and 𝑗 of 𝐼′ are both 𝐞𝑗, and det is alternating.

Finally, −1≠0 because 1≠0, and 𝑐≠0 for a scaling, so all three values are nonzero. □

Over ℝ these values are the signed areas observed in Section 3.2.6: a shear keeps the area of the unit square, the stretch 𝐸1𝑐 multiplies its signed area by 𝑐 (reflecting it when 𝑐<0), and the swap keeps the area but reverses orientation.

The plane transformer, starting at the shear 𝐸2,1,1=(1101). Sliding 𝐴𝐞2 along the line 𝑥2=1 gives the shears 𝐸2𝑐1, and the readout stays at det𝐴=1. With 𝐴𝐞2 back at 𝐞2, moving 𝐴𝐞1 along the 𝑥1-axis gives the scalings 𝐸1𝑐 for 𝑐≠0, with det𝐴=𝑐. Typing the entries 0,1,1,0 gives the swap 𝐸12: the F is mirrored and det𝐴=−1.
Lemma 5.4.2 (Multiplying by an elementary matrix). Let 𝐴,𝐸∈𝐹𝑛×𝑛, and suppose 𝐸 is elementary. Then det(𝐴𝐸)=det𝐴det𝐸.

Proof.routine

Uses. Proposition 3.2.28 (Column operations are right multiplications), Proposition 5.1.10 (Alternating implies antisymmetric), Lemma 5.1.8 (Column replacement), Definition 5.1.1 (Determinant function), Proposition 5.4.1 (Determinants of elementary matrices)

Hint 1. By Proposition 3.2.28, 𝐴𝐸 is 𝐴 with one column operation performed. Treat the three types of 𝐸 separately.
Hint 2. In each case, compare the factor by which the column operation changes det𝐴 with the value of det𝐸 in Proposition 5.4.1.
Sketch. 𝐴𝐸𝑖𝑗 is 𝐴 with columns 𝑖 and 𝑗 swapped, so its determinant is −det𝐴. 𝐴𝐸𝑖𝑐 is 𝐴 with column 𝑖 scaled by 𝑐, so its determinant is 𝑐det𝐴. 𝐴𝐸𝑖𝑐𝑗 is 𝐴 with 𝑐 times column 𝑗 added to column 𝑖, so its determinant is det𝐴. The factors −1, 𝑐, and 1 are the determinants of the three types.

We consider the three types in turn, using Proposition 3.2.28 to describe 𝐴𝐸 and Proposition 5.4.1 for det𝐸.

Swaps. 𝐴𝐸𝑖𝑗 is 𝐴 with columns 𝑖 and 𝑗 interchanged, so by Proposition 5.1.10,

det(𝐴𝐸𝑖𝑗)=−det𝐴=det𝐴det𝐸𝑖𝑗.

Scalings. 𝐴𝐸𝑖𝑐 is 𝐴 with column 𝑖 multiplied by 𝑐, so by linearity in column 𝑖,

det(𝐴𝐸𝑖𝑐)=𝑐det𝐴=det𝐴det𝐸𝑖𝑐.

Replacements. 𝐴𝐸𝑖𝑐𝑗 is 𝐴 with 𝑐 times column 𝑗 added to column 𝑖, where 𝑖≠𝑗. By Lemma 5.1.8,

det(𝐴𝐸𝑖𝑐𝑗)=det𝐴=det𝐴det𝐸𝑖𝑐𝑗.

□

Remark 5.4.3 (The values are no coincidence). In each case of the proof, det(𝐴𝐸)=𝑐𝐸det𝐴, where the factor 𝑐𝐸 depends only on the column operation of 𝐸 and not on 𝐴. Taking 𝐴=𝐼𝑛 gives det𝐸=𝑐𝐸det𝐼𝑛=𝑐𝐸, because 𝐸=𝐼𝑛𝐸 is the result of performing its own column operation on 𝐼𝑛. So the lemma can be proved without computing det𝐸 first, and the computation of Proposition 5.4.1 then comes for free. (This is how LADW argues in its Lemma 3.6. We followed the lecture, which computes det𝐸 first.)

Corollary 5.4.4 (Products of elementary matrices). Let 𝐴∈𝐹𝑛×𝑛, and let 𝐸1,…,𝐸𝑘∈𝐹𝑛×𝑛 be elementary. Then

det(𝐴𝐸1⋯𝐸𝑘)=det𝐴det𝐸1⋯det𝐸𝑘.

In particular, det(𝐸1⋯𝐸𝑘)=det𝐸1⋯det𝐸𝑘, and this is nonzero.

Proof.routine

Uses. Lemma 5.4.2 (Multiplying by an elementary matrix), Proposition 5.4.1 (Determinants of elementary matrices), Proposition 1.1.17 (No zero divisors), induction on 𝑘

Hint 1. Induct on 𝑘. Group the product as (𝐴𝐸1⋯𝐸𝑘−1)𝐸𝑘.
Hint 2. For the last sentence, take 𝐴=𝐼𝑛, and recall that a field has no zero divisors.
Sketch. By Lemma 5.4.2 applied to the matrix 𝐴𝐸1⋯𝐸𝑘−1 and the induction hypothesis, det(𝐴𝐸1⋯𝐸𝑘)=det(𝐴𝐸1⋯𝐸𝑘−1)det𝐸𝑘=det𝐴det𝐸1⋯det𝐸𝑘. With 𝐴=𝐼𝑛 this is the second formula; each factor is nonzero by Proposition 5.4.1, and so is the product.

We induct on 𝑘. For 𝑘=0 the product of elementary matrices is empty, that is, equal to 𝐼𝑛, and both sides equal det𝐴. For 𝑘≥1, apply Lemma 5.4.2 to the matrix 𝐴𝐸1⋯𝐸𝑘−1 and to 𝐸𝑘, and then the induction hypothesis:

det(𝐴𝐸1⋯𝐸𝑘)=det(𝐴𝐸1⋯𝐸𝑘−1)det𝐸𝑘=det𝐴det𝐸1⋯det𝐸𝑘−1det𝐸𝑘.

Taking 𝐴=𝐼𝑛 gives det(𝐸1⋯𝐸𝑘)=det𝐸1⋯det𝐸𝑘. Each det𝐸𝑙 is nonzero by Proposition 5.4.1, and a product of nonzero elements of a field is nonzero (Proposition 1.1.17, and induction on the number of factors). □

Exercise 5.4.5.routine Let 𝐴∈ℚ3×3 have det𝐴=5, and let 𝐺=𝐸13𝐸2,4𝐸3,−7,1, a product of 3×3 elementary matrices. Find det𝐺 and det(𝐴𝐺). Which column operations turn 𝐴 into 𝐴𝐺, and in which order are they performed?

Solution.

Uses. Proposition 5.4.1 (Determinants of elementary matrices), Corollary 5.4.4 (Products of elementary matrices), Proposition 3.2.28 (Column operations are right multiplications), Remark 3.2.29 (One matrix, two operations)

Hint 1. Read off the type of each factor from its subscripts: two subscripts without a comma is a swap, two with a comma a scaling, three a replacement.
Hint 2. 𝐴𝐺=((𝐴𝐸13)𝐸2,4)𝐸3,−7,1, so the leftmost factor acts first. As a right factor, 𝐸𝑖𝑐𝑗 adds 𝑐 times column 𝑗 to column 𝑖.
Sketch. det𝐺=(−1)⋅4⋅1=−4 and det(𝐴𝐺)=5⋅(−4)=−20. The operations are: swap columns 1 and 3, then scale column 2 by 4, then add −7 times column 1 to column 3.

𝐸13 swaps, 𝐸2,4 scales by 4, and 𝐸3,−7,1 is a replacement, so by Corollary 5.4.4 and Proposition 5.4.1,

det𝐺=det𝐸13det𝐸2,4det𝐸3,−7,1=(−1)⋅4⋅1=−4,

and det(𝐴𝐺)=det𝐴det𝐺=−20. Since 𝐴𝐺=((𝐴𝐸13)𝐸2,4)𝐸3,−7,1, the column operations are performed from the leftmost factor to the rightmost (Remark 3.2.29). By Proposition 3.2.28 they are: swap columns 1 and 3; scale column 2 by 4; add −7 times column 1 to column 3. Their effects on the determinant, −1, 4, and 1, multiply to det𝐺, as they should.

5.4.2Invertibility

We can now carry out the plan from the beginning of the section. The idea of building every invertible matrix out of elementary ones is used several times in this section, so we name it.

Technique 5.4.6 (Reduce to elementary matrices). Every invertible matrix is a product of elementary matrices (Theorem 3.5.19). So to prove a statement about all invertible matrices, it is often enough to

  1. prove it for the three types of elementary matrices, by a direct computation; and
  2. show that it survives multiplication: if it holds for 𝐴 and 𝐸 is elementary, then it holds for 𝐴𝐸 (or for 𝐸𝐴).

Induction on the number of factors then gives the statement for every invertible matrix. A statement about all square matrices needs a separate argument for the matrices that are not invertible. Often both sides of the claimed identity are 0 there. Otherwise, write 𝐴=𝐺−1rref(𝐴) (Theorem 3.3.10) and use that rref(𝐴) has a zero row.

Reach for it when a statement involves products, inverses, or transposes, and is easy to check on elementary matrices, which differ from 𝐼𝑛 in at most four entries. The fullest example is the first proof of Theorem 5.4.10; the first proof of Theorem 5.4.14 has the same shape. Remember the case split: a matrix that is not invertible is never a product of elementary matrices, since such products are invertible (Corollary 3.2.11). Forgetting this is a common error (Exercise 5.4.35).

Theorem 5.4.7 (Invertibility and the determinant). Let 𝐴∈𝐹𝑛×𝑛. The following are equivalent.
  1. (I)𝐴 is invertible.
  2. (II)det𝐴≠0.

Proof.standard

Uses. Corollary 5.1.18 (Non-invertible matrices), Theorem 3.5.19 (Invertible matrices are products of elementary matrices), Corollary 5.4.4 (Products of elementary matrices)

Techniques. Reduce to elementary matrices (Technique 5.4.6), Contrapositive (Technique 1.5.4)

Hint 1. One direction was proved in Section 5.1. For the other, which description of an invertible matrix makes its determinant computable?
Hint 2. Write an invertible 𝐴 as a product of elementary matrices.
Hint 3. By Corollary 5.4.4, det𝐴 is then a product of determinants of elementary matrices. Can such a product be 0?
Sketch. (II) ⇒ (I) is the contrapositive of Corollary 5.1.18. For (I) ⇒ (II), write 𝐴=𝐸1⋯𝐸𝑘 with elementary 𝐸𝑖. Then det𝐴=det𝐸1⋯det𝐸𝑘, a product of the nonzero scalars −1, 𝑐, and 1, which is nonzero.

(II) ⇒ (I). We prove the contrapositive. If 𝐴 is not invertible, then det𝐴=0 by Corollary 5.1.18.

(I) ⇒ (II). Suppose 𝐴 is invertible. By Theorem 3.5.19 there are elementary matrices 𝐸1,…,𝐸𝑘 with 𝐴=𝐸1⋯𝐸𝑘. By Corollary 5.4.4, det𝐴=det𝐸1⋯det𝐸𝑘, and this is nonzero. □

The two directions use different axioms. (II) ⇒ (I) used only multilinearity and alternation. (I) ⇒ (II) used normalization, through the computation det𝐸𝑖𝑐=𝑐det𝐼𝑛=𝑐 and its relatives in Proposition 5.4.1. This is as it must be: the zero function is multilinear and alternating, and (I) ⇒ (II) fails for it. Combining the theorem with the Fundamental Theorems gives several equivalent ways to say that a determinant vanishes.

Corollary 5.4.8 (Vanishing determinants). Let 𝐴∈𝐹𝑛×𝑛. The following are equivalent.
  1. (a)det𝐴=0.
  2. (b)𝐴 is not invertible.
  3. (c)The columns of 𝐴 are linearly dependent.
  4. (d)𝐴𝐱=𝟎 for some nonzero 𝐱∈𝐹𝑛.

Proof.routine

Uses. Theorem 5.4.7 (Invertibility and the determinant), Corollary 3.5.25 (The invertible matrix theorem), Theorem 3.5.12 (First Fundamental Theorem, completed), Definition 2.3.8 (Matrix–vector product), Theorem 1.5.5 (Independence is decided at zero)

Hint 1. (a) ⇔ (b) is Theorem 5.4.7. Relate both invertibility and independence of the columns to the rank.
Hint 2. For (c) ⇔ (d), write 𝐴𝐱 as a linear combination of the columns of 𝐴.
Sketch. (a) ⇔ (b) by Theorem 5.4.7. By Corollary 3.5.25 and Theorem 3.5.12, 𝐴 is invertible if and only if rank𝐴=𝑛, if and only if its columns are independent, which gives (b) ⇔ (c). Since 𝐴𝐱=𝑥1𝐚1+⋯+𝑥𝑛𝐚𝑛, a nonzero solution of 𝐴𝐱=𝟎 is the same thing as a nontrivial linear relation among the columns.
(a) ⇔ (b) is Theorem 5.4.7. By Corollary 3.5.25, 𝐴 is invertible if and only if rank𝐴=𝑛, and by Theorem 3.5.12 this holds if and only if the columns of 𝐴 are linearly independent. Negating both sides gives (b) ⇔ (c). Finally, 𝐴𝐱=𝑥1𝐚1+⋯+𝑥𝑛𝐚𝑛 by Definition 2.3.8, so a nonzero 𝐱 with 𝐴𝐱=𝟎 is exactly a nontrivial linear relation among the columns of 𝐴. By Theorem 1.5.5, such a relation exists if and only if the columns are linearly dependent, which is (c) ⇔ (d). □

For det, the implication (c) ⇒ (a) is Proposition 5.1.17, which holds for every multilinear alternating function. The implication (a) ⇒ (c) is the converse that Exercise 5.1.22 warned about, and it needed normalization. Together with Proposition 5.3.19, the corollary also says that 𝐴+𝑡𝐼𝑛 is invertible for all but at most 𝑛 scalars 𝑡, and that the exceptional 𝑡 are exactly the roots of det(𝐴+𝑡𝐼𝑛). Their negatives reappear as eigenvalues in Section 7.3.

Exercise 5.4.9.routine Let 𝐴(𝑡)=(1𝑡0𝑡1𝑡0𝑡1). Find all 𝑡 for which 𝐴(𝑡) is invertible, when 𝑡 ranges over ℝ, over ℚ, over 𝔽3, and over 𝔽7.

Solution.

Uses. Corollary 5.3.9 (Rule of Sarrus), Theorem 5.4.7 (Invertibility and the determinant)

Hint 1. Compute det𝐴(𝑡) with the rule of Sarrus. It does not depend on the field.
Hint 2. You should get 1−2𝑡2. In each field, decide when 2𝑡2=1 has a solution.
Sketch. det𝐴(𝑡)=1−2𝑡2. Over ℝ: invertible unless 𝑡=±1/2. Over ℚ: always, since 2 is irrational. Over 𝔽3: 1−2𝑡2=1+𝑡2∈{1,2}, so always. Over 𝔽7: 2𝑡2=1 means 𝑡2=4, so invertible unless 𝑡∈{2,5}.

The diagonals running down to the right have products 1, 𝑡⋅𝑡⋅0=0, and 0, and those running up to the right have products 0, 𝑡⋅𝑡⋅1=𝑡2, and 1⋅𝑡⋅𝑡=𝑡2. So det𝐴(𝑡)=1−2𝑡2 by Corollary 5.3.9, and by Theorem 5.4.7, 𝐴(𝑡) is invertible exactly when 2𝑡2≠1.

Over ℝ, 2𝑡2=1 exactly for 𝑡=±1/2, so 𝐴(𝑡) is invertible for all other 𝑡. Over ℚ there is no solution, since 2𝑡2=1 would give (2𝑡)2=2 with 2𝑡 rational; so 𝐴(𝑡) is always invertible. Over 𝔽3, −2=1, so det𝐴(𝑡)=1+𝑡2, and 𝑡2∈{0,1} for 𝑡∈{0,1,2}. So det𝐴(𝑡)∈{1,2} is never 0, and 𝐴(𝑡) is always invertible. Over 𝔽7, 2−1=4, so 2𝑡2=1 means 𝑡2=4, that is, 𝑡=2 or 𝑡=−2=5. So 𝐴(𝑡) is invertible exactly when 𝑡∉{2,5}.

5.4.3The product formula

Intuition (Areas multiply). Over ℝ, the absolute value of det𝐴 is the factor by which 𝑇𝐴 scales areas in the plane (or volumes in space), and its sign records whether 𝑇𝐴 preserves orientation (Section 5.1). Composition multiplies these factors. If 𝑇𝐵 doubles areas and 𝑇𝐴 triples them, then 𝑇𝐴∘𝑇𝐵, which is 𝑇𝐴𝐵 (Theorem 2.4.2), multiplies them by six. If both reverse orientation, the composite preserves it, matching (−1)(−1)=1. So signed area predicts det(𝐴𝐵)=det𝐴det𝐵. Figure 5.4.1 shows an example.
Figure 5.4.1. The unit square 𝑄 with a letter F (left), its image under 𝑇𝐵 for 𝐵=(2101) (middle), and its image under 𝑇𝐴∘𝑇𝐵=𝑇𝐴𝐵 for 𝐴=(1−111) (right), where 𝐴𝐵=(2022). The arrows are the images of 𝐞1 (blue) and 𝐞2 (ochre). Here det𝐵=2 and det𝐴=2: 𝑇𝐵 doubles the area of 𝑄, and 𝑇𝐴, which rotates by 45° and stretches by 2, doubles it again, so det(𝐴𝐵)=4.

Theorem 5.4.10 (Multiplicativity). For all 𝐴,𝐵∈𝐹𝑛×𝑛,

det(𝐴𝐵)=det𝐴det𝐵.

Proof (by factoring into elementary matrices).standard

Uses. Theorem 3.5.19 (Invertible matrices are products of elementary matrices), Corollary 5.4.4 (Products of elementary matrices), Theorem 5.4.7 (Invertibility and the determinant), Theorem 3.5.23 (One-sided inverses of square matrices)

Techniques. Reduce to elementary matrices (Technique 5.4.6)

Hint 1. Suppose first that 𝐵 is invertible, and factor it into elementary matrices. Note that Corollary 5.4.4 allows an arbitrary matrix on the left.
Hint 2. If 𝐵 is not invertible, show that 𝐴𝐵 is not invertible either. What are both sides then?
Hint 3. If 𝐴𝐵 had an inverse 𝐶, then (𝐶𝐴)𝐵=𝐼𝑛. What does a one-sided inverse of a square matrix give?
Sketch. If 𝐵=𝐸1⋯𝐸𝑘, then Corollary 5.4.4 gives det(𝐴𝐵)=det𝐴det𝐸1⋯det𝐸𝑘=det𝐴det𝐵, the last step by the same corollary with 𝐼𝑛 in place of 𝐴. If 𝐵 is not invertible, neither is 𝐴𝐵, since an inverse 𝐶 of 𝐴𝐵 would make 𝐶𝐴 a left inverse of 𝐵. So both sides are 0 by Theorem 5.4.7.

Case 1: 𝐵 is invertible. By Theorem 3.5.19, 𝐵=𝐸1⋯𝐸𝑘 for some elementary matrices 𝐸1,…,𝐸𝑘. Applying Corollary 5.4.4 first to 𝐴 and then to 𝐼𝑛,

det(𝐴𝐵)=det(𝐴𝐸1⋯𝐸𝑘)=det𝐴det𝐸1⋯det𝐸𝑘=det𝐴det(𝐸1⋯𝐸𝑘)=det𝐴det𝐵.

Case 2: 𝐵 is not invertible. Then det𝐵=0 by Theorem 5.4.7, so the right side is 0. We show that 𝐴𝐵 is not invertible, so that the left side is 0 as well. Suppose instead that 𝐴𝐵 has an inverse 𝐶. Then (𝐶𝐴)𝐵=𝐶(𝐴𝐵)=𝐼𝑛, so 𝐵 has a left inverse. A square matrix with a one-sided inverse is invertible (Theorem 3.5.23), which contradicts our assumption on 𝐵. Hence 𝐴𝐵 is not invertible, and det(𝐴𝐵)=0=det𝐴det𝐵. □

The lecture splits into cases according to whether 𝐴 and 𝐵 are both invertible, and factors both. Since Corollary 5.4.4 allows any matrix on the left, only 𝐵 needs to be factored. The second proof avoids factoring altogether. It rests on a move that was already used for block-diagonal matrices in Proposition 5.3.17.

Technique 5.4.11 (Recognize the determinant by its axioms). By Theorem 5.3.4, every multilinear alternating function 𝐷:𝐹𝑛×𝑛→𝐹 equals 𝐷(𝐼𝑛)det. So to prove an identity of the form 𝐷(𝐵)=𝑐det𝐵, where 𝐷(𝐵) is some expression built from 𝐵, check two things about 𝐷 as a function of the columns of 𝐵: that it is linear in each column, and that it vanishes when two columns are equal. Then evaluate at 𝐼𝑛 to find 𝑐=𝐷(𝐼𝑛). No formula for det and no case analysis is needed.

Reach for it when an expression is visibly linear in each column of a matrix: det(𝐴𝐵) for a fixed 𝐴, det(𝑋00𝐵) for a fixed 𝐵, or a function of 𝑛 vectors in a space with a basis. The canonical example is the second proof of Theorem 5.4.10. The same move proved Proposition 5.3.17, and Section 13.4 uses it to define the determinant of an operator without choosing a basis.

Proof of Theorem 5.4.10 (by uniqueness).standard

Uses. Theorem 5.3.4 (Existence and uniqueness of the determinant), Definition 2.4.1 (Matrix product), Proposition 2.3.13 (Linearity of the product), Proposition 2.1.17 (Compositions of linear maps are linear), Definition 5.1.1 (Determinant function)

Techniques. Recognize the determinant by its axioms (Technique 5.4.11)

Hint 1. Fix 𝐴, and regard 𝐷(𝐵)=det(𝐴𝐵) as a function of the columns 𝐛1,…,𝐛𝑛 of 𝐵. What are the columns of 𝐴𝐵?
Hint 2. Column 𝑗 of 𝐴𝐵 is 𝐴𝐛𝑗. Check that 𝐷 is multilinear and alternating, and apply Theorem 5.3.4.
Sketch. Since column 𝑗 of 𝐴𝐵 is 𝐴𝐛𝑗, 𝐷(𝐵)=det(𝐴𝐛1,…,𝐴𝐛𝑛). In each column this is det composed with the linear map 𝐱↦𝐴𝐱, so it is linear, and equal columns of 𝐵 give equal columns of 𝐴𝐵. So 𝐷 is multilinear and alternating, and 𝐷(𝐵)=𝐷(𝐼𝑛)det𝐵=det𝐴det𝐵.

Fix 𝐴, and define 𝐷:𝐹𝑛×𝑛→𝐹 by 𝐷(𝐵)=det(𝐴𝐵). By Definition 2.4.1, column 𝑗 of 𝐴𝐵 is 𝐴𝐛𝑗, so

𝐷(𝐛1,…,𝐛𝑛)=det(𝐴𝐛1,…,𝐴𝐛𝑛).

Multilinear. Fix 𝑗 and all columns of 𝐵 except the 𝑗-th. Then 𝐱↦𝐷(…,𝐱,…), with 𝐱 in column 𝑗, is the composite of 𝐱↦𝐴𝐱, which is linear (Proposition 2.3.13), and the map that puts a vector 𝐲 in column 𝑗 of the matrix with columns 𝐴𝐛𝑘 (𝑘≠𝑗) and takes det, which is linear because det is linear in column 𝑗. So it is linear by Proposition 2.1.17.

Alternating. If 𝐛𝑖=𝐛𝑗 for some 𝑖≠𝑗, then 𝐴𝐛𝑖=𝐴𝐛𝑗, so 𝐴𝐵 has two equal columns and 𝐷(𝐵)=0.

By Theorem 5.3.4, 𝐷(𝐵)=𝐷(𝐼𝑛)det𝐵=det(𝐴𝐼𝑛)det𝐵=det𝐴det𝐵 for every 𝐵. □

For 𝑛=2 the second proof is the first solution of Exercise 5.1.27.

Intuition (Two proofs compared). The two proofs are the two basic strategies of this chapter. The first, Technique 5.4.6, builds 𝐵 out of simple pieces. It needs the computation for elementary matrices, the factorization theorem that comes out of Gauss–Jordan elimination (Theorem 3.5.19), and a separate argument for matrices that are not invertible. The second, Technique 5.4.11, never looks inside 𝐵. It notices that 𝐵↦det(𝐴𝐵) satisfies two of the three axioms, so by uniqueness it is a multiple of det, and it finds the multiple by setting 𝐵=𝐼𝑛. It uses neither elimination nor a case split.

The second proof is shorter, and it works verbatim with any multilinear alternating function in place of det, which is why the basis-free theory of Section 13.4 is built on it. It also gives (I) ⇒ (II) in Theorem 5.4.7 without elementary matrices: if 𝐴 is invertible, then 1=det𝐼𝑛=det(𝐴𝐴−1)=det𝐴det𝐴−1, so det𝐴≠0. The first proof explains where the numbers come from: the factor that each elementary matrix contributes is the effect of its column operation. Its pattern also adapts to statements that are not about columns, such as det𝐴𝖳=det𝐴 below, where the axioms give no direct handle.

Exercise 5.4.12.routine Let 𝐴,𝐵∈𝐹𝑛×𝑛. Show that det(𝐴𝐵)=det(𝐵𝐴), and that det(𝐴𝑘)=(det𝐴)𝑘 for every integer 𝑘≥0. Show also that if 𝐴 is invertible, then det(𝐴−1)=(det𝐴)−1, and deduce that det(𝐴𝑘)=(det𝐴)𝑘 for negative 𝑘 as well, where 𝐴−𝑘=(𝐴−1)𝑘.

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), induction on 𝑘

Hint 1. Determinants are elements of 𝐹, so they commute even when the matrices do not.
Hint 2. For the inverse, take determinants of 𝐴𝐴−1=𝐼𝑛.
Sketch. det(𝐴𝐵)=det𝐴det𝐵=det𝐵det𝐴=det(𝐵𝐴). Induction gives det(𝐴𝑘+1)=det(𝐴𝑘)det𝐴=(det𝐴)𝑘+1. From 𝐴𝐴−1=𝐼𝑛, det𝐴det𝐴−1=1. For 𝑘>0, det(𝐴−𝑘)=det((𝐴−1)𝑘)=(det𝐴−1)𝑘=(det𝐴)−𝑘.

By Theorem 5.4.10 and commutativity of multiplication in 𝐹, det(𝐴𝐵)=det𝐴det𝐵=det𝐵det𝐴=det(𝐵𝐴).

For powers, det(𝐴0)=det𝐼𝑛=1=(det𝐴)0, and if det(𝐴𝑘)=(det𝐴)𝑘, then det(𝐴𝑘+1)=det(𝐴𝑘𝐴)=det(𝐴𝑘)det𝐴=(det𝐴)𝑘+1. By induction, det(𝐴𝑘)=(det𝐴)𝑘 for all 𝑘≥0.

If 𝐴 is invertible, then det𝐴det(𝐴−1)=det(𝐴𝐴−1)=det𝐼𝑛=1, so det(𝐴−1)=(det𝐴)−1. For 𝑘>0, the case already proved, applied to 𝐴−1, gives det(𝐴−𝑘)=det((𝐴−1)𝑘)=(det𝐴−1)𝑘=(det𝐴)−𝑘.

So det(𝐴𝐵)=det(𝐵𝐴) even when 𝐴𝐵≠𝐵𝐴. For example, 𝐴=(1101) and 𝐵=(1011) have 𝐴𝐵=(2111) and 𝐵𝐴=(1112), which are different matrices, both with determinant 1. In the language of Section 14.1, Theorem 5.4.7 and Theorem 5.4.10 say that det is a homomorphism from the group of invertible 𝑛×𝑛 matrices under multiplication to the group 𝐹∖{0} under multiplication.

5.4.4The transpose

The axioms single out the columns of a matrix. The transpose exchanges rows and columns (Definition 2.4.21), and the next theorem says that the determinant does not notice the exchange. First, the elementary matrices.

Lemma 5.4.13 (Transposes of elementary matrices). If 𝐸∈𝐹𝑛×𝑛 is elementary, then 𝐸𝖳 is an elementary matrix of the same type, and det𝐸𝖳=det𝐸. Explicitly,

𝐸𝑖𝑗𝖳=𝐸𝑖𝑗,𝐸𝑖𝑐𝖳=𝐸𝑖𝑐,𝐸𝑖𝑐𝑗𝖳=𝐸𝑗𝑐𝑖.

Proof.routine

Uses. Definition 3.2.2 (Elementary matrices), Definition 2.4.21 (Transpose), Proposition 5.4.1 (Determinants of elementary matrices)

Hint 1. Transposing reflects the entries in the diagonal. Which off-diagonal entries does each elementary matrix have?
Hint 2. 𝐸𝑖𝑐𝑗 has a single off-diagonal entry, 𝑐, in position (𝑗,𝑖). Which elementary matrix has 𝑐 in position (𝑖,𝑗)?
Sketch. 𝐸𝑖𝑐 is diagonal. The off-diagonal entries of 𝐸𝑖𝑗 are 1s in positions (𝑖,𝑗) and (𝑗,𝑖), a symmetric pattern. 𝐸𝑖𝑐𝑗 is 𝐼𝑛 plus 𝑐 in position (𝑗,𝑖), so its transpose is 𝐼𝑛 plus 𝑐 in position (𝑖,𝑗), which is 𝐸𝑗𝑐𝑖. Each pair has the same determinant by Proposition 5.4.1.
Transposing a matrix moves the entry in position (𝑘,𝑙) to position (𝑙,𝑘) (Definition 2.4.21), so it fixes the diagonal and the identity matrix. 𝐸𝑖𝑐 is diagonal, so 𝐸𝑖𝑐𝖳=𝐸𝑖𝑐. By the proof of Proposition 5.4.1, 𝐸𝑖𝑗 agrees with 𝐼𝑛 except that the entries in positions (𝑖,𝑖) and (𝑗,𝑗) are 0 and those in positions (𝑖,𝑗) and (𝑗,𝑖) are 1. This pattern is unchanged by the reflection, so 𝐸𝑖𝑗𝖳=𝐸𝑖𝑗. Finally, 𝐸𝑖𝑐𝑗 is 𝐼𝑛 with an extra entry 𝑐 in position (𝑗,𝑖), so 𝐸𝑖𝑐𝑗𝖳 is 𝐼𝑛 with an extra entry 𝑐 in position (𝑖,𝑗). Since 𝑗≠𝑖, this is the elementary matrix 𝐸𝑗𝑐𝑖, which adds 𝑐 times row 𝑗 to row 𝑖. In each case 𝐸 and 𝐸𝖳 have the same type, so they have the same determinant (−1, 𝑐, or 1) by Proposition 5.4.1. □

Theorem 5.4.14 (The transpose). For every 𝐴∈𝐹𝑛×𝑛,

det𝐴𝖳=det𝐴.

Proof (via elementary matrices).standard

Uses. Theorem 3.5.19 (Invertible matrices are products of elementary matrices), Proposition 2.4.23 (Transpose of a product), Lemma 5.4.13 (Transposes of elementary matrices), Corollary 5.4.4 (Products of elementary matrices), Theorem 5.4.7 (Invertibility and the determinant), Definition 2.5.12 (Invertible)

Techniques. Reduce to elementary matrices (Technique 5.4.6), Transpose to trade rows for columns (Technique 3.2.27)

Hint 1. First dispose of the matrices that are not invertible: show that 𝐴𝖳 is invertible exactly when 𝐴 is.
Hint 2. For invertible 𝐴, factor 𝐴=𝐸1⋯𝐸𝑘. What is 𝐴𝖳, by Proposition 2.4.23?
Hint 3. 𝐴𝖳=𝐸𝑘𝖳⋯𝐸1𝖳 is again a product of elementary matrices. Compare the two products of determinants using Lemma 5.4.13.
Sketch. If 𝐵 is an inverse of 𝐴, then 𝐵𝖳 is an inverse of 𝐴𝖳 by Proposition 2.4.23, and conversely since (𝐴𝖳)𝖳=𝐴. So if 𝐴 is not invertible, both determinants are 0. If 𝐴=𝐸1⋯𝐸𝑘, then 𝐴𝖳=𝐸𝑘𝖳⋯𝐸1𝖳, and Corollary 5.4.4 with Lemma 5.4.13 gives det𝐴𝖳=∏det𝐸𝑖𝖳=∏det𝐸𝑖=det𝐴.

First, 𝐴 is invertible if and only if 𝐴𝖳 is. Indeed, if 𝐴𝐵=𝐵𝐴=𝐼𝑛, then by Proposition 2.4.23,

𝐵𝖳𝐴𝖳=(𝐴𝐵)𝖳=𝐼𝑛𝖳=𝐼𝑛,𝐴𝖳𝐵𝖳=(𝐵𝐴)𝖳=𝐼𝑛,

so 𝐴𝖳 is invertible. Applying this to 𝐴𝖳, whose transpose is 𝐴, gives the converse.

If 𝐴 is not invertible, then neither is 𝐴𝖳, and det𝐴=0=det𝐴𝖳 by Theorem 5.4.7. Suppose that 𝐴 is invertible, and write 𝐴=𝐸1𝐸2⋯𝐸𝑘 with elementary 𝐸𝑖 (Theorem 3.5.19). By Proposition 2.4.23 and induction on 𝑘,

𝐴𝖳=𝐸𝑘𝖳⋯𝐸2𝖳𝐸1𝖳,

and each 𝐸𝑖𝖳 is elementary by Lemma 5.4.13. So by Corollary 5.4.4 (with 𝐼𝑛 in place of 𝐴), Lemma 5.4.13, and commutativity of multiplication in 𝐹,

det𝐴𝖳=det𝐸𝑘𝖳⋯det𝐸1𝖳=det𝐸𝑘⋯det𝐸1=det𝐸1⋯det𝐸𝑘=det𝐴.

□

Proof (via the Leibniz formula).standard

Uses. Definition 5.3.6 (Determinant), Definition 2.4.21 (Transpose), Proposition 5.2.25 (Multiplicativity of the sign), Proposition 5.2.8 (Reindexing sums over 𝑆𝑛)

Hint 1. Write out the Leibniz formula for 𝐴𝖳, whose (𝑖,𝑗) entry is 𝑎𝑗𝑖.
Hint 2. You get ∑𝜎sgn(𝜎)𝑎1𝜎(1)⋯𝑎𝑛𝜎(𝑛). Reorder each product by the second index: if 𝑗=𝜎(𝑖), then 𝑖=𝜎−1(𝑗).
Hint 3. Then use sgn(𝜎−1)=sgn(𝜎), and reindex the sum by 𝜎↦𝜎−1.
Sketch. The term of 𝜎 in det𝐴𝖳 is sgn(𝜎)∏𝑖𝑎𝑖𝜎(𝑖). Reordering the factors by 𝑗=𝜎(𝑖) turns it into sgn(𝜎−1)∏𝑗𝑎𝜎−1(𝑗)𝑗, the term of 𝜎−1 in det𝐴. As 𝜎 runs over 𝑆𝑛, so does 𝜎−1, so the two sums agree.

Let 𝐵=𝐴𝖳, so that 𝑏𝑖𝑗=𝑎𝑗𝑖 (Definition 2.4.21). By the Leibniz formula (Definition 5.3.6),

det𝐴𝖳=∑𝜎∈𝑆𝑛sgn(𝜎)𝑏𝜎(1)1⋯𝑏𝜎(𝑛)𝑛=∑𝜎∈𝑆𝑛sgn(𝜎)𝑎1𝜎(1)⋯𝑎𝑛𝜎(𝑛).

Fix 𝜎. As 𝑖 runs over [𝑛], the index 𝑗=𝜎(𝑖) runs over [𝑛], taking each value once, and 𝑖=𝜎−1(𝑗). Reordering the factors by 𝑗, which is allowed since multiplication in 𝐹 is commutative,

𝑎1𝜎(1)⋯𝑎𝑛𝜎(𝑛)=𝑎𝜎−1(1)1⋯𝑎𝜎−1(𝑛)𝑛.

Also sgn(𝜎)=sgn(𝜎−1) by Proposition 5.2.25. So the term of 𝜎 in det𝐴𝖳 is 𝑔(𝜎−1), where

𝑔(𝜌)=sgn(𝜌)𝑎𝜌(1)1⋯𝑎𝜌(𝑛)𝑛

is the term of 𝜌 in det𝐴. By Proposition 5.2.8,

det𝐴𝖳=∑𝜎∈𝑆𝑛𝑔(𝜎−1)=∑𝜎∈𝑆𝑛𝑔(𝜎)=det𝐴.

□

The second proof is the computation of Exercise 5.3.8.

Intuition (What the two proofs see). The lecture calls the fact det𝐸𝖳=det𝐸 dumb luck, and in a sense it is: the axioms never mention rows. But there is a reason behind it. 𝐸𝖳 performs the same kind of operation as 𝐸, on rows where 𝐸 acts on columns, and the three kinds of operations scale signed volume by −1, 𝑐, and 1 whichever way they act. The second proof gives a more symmetric reason. A term of the Leibniz formula picks one entry from each row and each column, like non-attacking rooks on a chessboard (Figure 5.3.1). Transposing reflects the board in its diagonal, which turns the term of 𝜎 into the term of 𝜎−1, a permutation with the same sign.

As for strategy, the first proof is Technique 5.4.6 once more, with the same case split as the first proof of Theorem 5.4.10. Technique 5.4.11 does not apply directly. To use it on 𝐷(𝐴)=det𝐴𝖳, we would need to know that 𝐷 is multilinear and alternating in the columns of 𝐴, that is, that det is multilinear and alternating in rows, which is what we are trying to establish. Exercise 5.3.27 proves exactly this from the Leibniz formula, and gives a third proof.

Every statement about the columns of a determinant now has a version for rows (Technique 3.2.27).

Corollary 5.4.15 (Rows). Let 𝐴∈𝐹𝑛×𝑛.
  1. (a)det𝐴 is multilinear and alternating as a function of the rows of 𝐴.
  2. (b)Swapping two rows of 𝐴 negates det𝐴, multiplying a row by 𝑐 multiplies det𝐴 by 𝑐, and adding a multiple of one row to a different row does not change det𝐴.
  3. (c)det𝐴=0 if and only if the rows of 𝐴 are linearly dependent.

Proof.routine

Uses. Theorem 5.4.14 (The transpose), Definition 2.4.21 (Transpose), Definition 5.1.1 (Determinant function), Proposition 5.1.10 (Alternating implies antisymmetric), Lemma 5.1.8 (Column replacement), Corollary 5.4.8 (Vanishing determinants)

Techniques. Transpose to trade rows for columns (Technique 3.2.27)

Hint 1. Row 𝑖 of 𝐴, written as a column, is column 𝑖 of 𝐴𝖳. Apply the column statements to 𝐴𝖳.
Hint 2. For (b) you can also use Theorem 5.4.10 with the elementary matrices of Proposition 5.4.1.
Sketch. The rows of 𝐴, written as columns, are the columns of 𝐴𝖳, and det𝐴=det𝐴𝖳. So each statement about the rows of 𝐴 is the corresponding statement about the columns of 𝐴𝖳: the axioms for (a), Proposition 5.1.10, multilinearity, and Lemma 5.1.8 for (b), and Corollary 5.4.8 for (c).

For 𝐫1,…,𝐫𝑛∈𝐹𝑛, let 𝑅 be the matrix whose 𝑖-th row is 𝐫𝑖𝖳. Its transpose has columns 𝐫1,…,𝐫𝑛, so by Theorem 5.4.14,

det𝑅=det(𝐫1,…,𝐫𝑛).

(a) The right side is multilinear and alternating in 𝐫1,…,𝐫𝑛 (Definition 5.1.1), hence so is the left side.

(b) Each row operation on 𝐴 is the corresponding column operation on 𝐴𝖳, and det𝐴=det𝐴𝖳. By Proposition 5.1.10, linearity in a column, and Lemma 5.1.8, the three column operations multiply det𝐴𝖳 by −1, by 𝑐, and by 1. (Alternatively: a row operation multiplies 𝐴 on the left by an elementary matrix 𝐸 (Proposition 3.2.7), and det(𝐸𝐴)=det𝐸det𝐴 with det𝐸 given by Proposition 5.4.1.)

(c) The rows of 𝐴 are linearly dependent if and only if the columns of 𝐴𝖳 are, which by Corollary 5.4.8 happens if and only if det𝐴𝖳=det𝐴 is 0. □

In particular, a matrix with a zero row or two equal rows has determinant 0, and det(𝐸𝐴)=det𝐸det𝐴 for elementary 𝐸, which is Lemma 5.4.2 with the factors in the other order.

Exercise 5.4.16.routine Suppose that det(𝑎𝑏𝑐𝑑𝑒𝑓𝑔ℎ𝑘)=7, where the entries lie in a field 𝐹. Find

(a)det(𝑑𝑒𝑓𝑎𝑏𝑐𝑔ℎ𝑘),
(b)det(𝑎𝑏𝑐2𝑑−3𝑎2𝑒−3𝑏2𝑓−3𝑐𝑔ℎ𝑘),
(c)det(𝑎𝑑𝑔+5𝑎𝑏𝑒ℎ+5𝑏𝑐𝑓𝑘+5𝑐),
(d)det(3𝑎3𝑏3𝑐3𝑑3𝑒3𝑓3𝑔3ℎ3𝑘).

Solution.

Uses. Corollary 5.4.15 (Rows), Theorem 5.4.14 (The transpose), Exercise 5.1.5

Hint 1. Describe each matrix as the result of row operations on the original matrix, or on its transpose.
Hint 2. In (b), the new second row is 2 times the old one plus −3 times the first row. In (c), take the transpose first.
Sketch. (a) One swap: −7. (b) Scale row 2 by 2, then add −3 times row 1: 14. (c) The transpose is the original matrix with 5 times row 1 added to row 3: 7. (d) 33⋅7=189.

Call the given matrix 𝑀.

(a) This is 𝑀 with rows 1 and 2 swapped, so its determinant is −7 by Corollary 5.4.15(b).

(b) Scaling row 2 of 𝑀 by 2 gives determinant 14, and adding −3 times row 1 to the new row 2 does not change it. The result is the given matrix, so its determinant is 14.

(c) The transpose of this matrix is 𝑀 with 5 times row 1 added to row 3. By Theorem 5.4.14 and Corollary 5.4.15(b), its determinant is det𝑀=7.

(d) This is 3𝑀, so by Exercise 5.1.5 its determinant is 33det𝑀=189.

5.4.5Similar matrices and the determinant of an operator

Recall (Definition 4.5.23) that 𝐴,𝐵∈𝐹𝑛×𝑛 are similar if 𝐵=𝑆−1𝐴𝑆 for some invertible 𝑆∈𝐹𝑛×𝑛. Then also 𝐴=𝑆𝐵𝑆−1, so the relation is symmetric.

Proposition 5.4.17 (Similar matrices have equal determinants). If 𝐴,𝐵∈𝐹𝑛×𝑛 are similar, then det𝐴=det𝐵.

Proof.routine

Uses. Definition 4.5.23 (Similar matrices), Theorem 5.4.10 (Multiplicativity)

Hint 1. Write 𝐵=𝑆−1𝐴𝑆 and apply Theorem 5.4.10.
Hint 2. Determinants are scalars, so they commute even though matrices need not. Bring det𝑆−1 and det𝑆 together.
Sketch. det𝐵=det𝑆−1det𝐴det𝑆=det𝐴det(𝑆−1𝑆)=det𝐴det𝐼𝑛=det𝐴.

Write 𝐵=𝑆−1𝐴𝑆 with 𝑆 invertible. By Theorem 5.4.10, applied twice, and commutativity of multiplication in 𝐹,

det𝐵=det𝑆−1det𝐴det𝑆=det𝐴(det𝑆−1det𝑆)=det𝐴det(𝑆−1𝑆)=det𝐴det𝐼𝑛=det𝐴,

as desired. □

The converse fails. (1101) and 𝐼2 both have determinant 1, but they are not similar, since 𝑆−1𝐼2𝑆=𝐼2 for every invertible 𝑆. So the determinant can prove that two matrices are not similar, but not that they are. It joins the rank and the trace (Proposition 2.4.28) as a similarity invariant. Together with the trace, it appears among the coefficients of det(𝐴+𝑡𝐼𝑛) (Proposition 5.3.19), and in Section 7.3 this polynomial becomes a finer invariant.

The main use of Proposition 5.4.17 is to define the determinant of a linear operator. Let 𝑉 be a vector space with dim𝑉=𝑛≥1, let 𝑇∈L(𝑉), and let ℬ︀ and ℬ︀̊ be bases of 𝑉. By Theorem 4.5.17,

[𝑇]ℬ︀̊ℬ︀̊=[id𝑉]ℬ︀̊ℬ︀[𝑇]ℬ︀ℬ︀[id𝑉]ℬ︀ℬ︀̊.

By Theorem 2.4.2, [id𝑉]ℬ︀̊ℬ︀[id𝑉]ℬ︀ℬ︀̊=[id𝑉]ℬ︀̊ℬ︀̊=𝐼𝑛, and likewise in the other order. So with 𝑆=[id𝑉]ℬ︀ℬ︀̊, we have [𝑇]ℬ︀̊ℬ︀̊=𝑆−1[𝑇]ℬ︀ℬ︀𝑆. The two matrices are similar and have the same determinant.

Definition 5.4.18 (Determinant of an operator). Let 𝑉 be a finite-dimensional vector space with dim𝑉≥1, and let 𝑇∈L(𝑉). The determinant of 𝑇 is

det𝑇=det[𝑇]ℬ︀ℬ︀,

where ℬ︀ is any basis of 𝑉. By the computation above and Proposition 5.4.17, this does not depend on the choice of ℬ︀.

For 𝑉=𝐹𝑛 and 𝑇=𝑇𝐴, the standard basis gives [𝑇𝐴]ℰ︀ℰ︀=𝐴 (Proposition 2.3.16), so det𝑇𝐴=det𝐴. Translating between maps and matrices (Technique 2.3.27), the results of this section carry over to operators.

Example 5.4.19 (Two operators on matrices and polynomials).
  1. (a)Let 𝑇∈L(𝐹2×2) be the transpose, 𝑇(𝑋)=𝑋𝖳. Use the basis

    𝑈11=(1000),𝑈12=(0100),𝑈21=(0010),𝑈22=(0001).

    Then 𝑇 fixes 𝑈11 and 𝑈22 and exchanges 𝑈12 and 𝑈21, so its matrix in this basis is the 4×4 swap 𝐸23, and det𝑇=−1. Over ℝ this is the expected sign: 𝑇 fixes the three-dimensional subspace of symmetric matrices and negates the skew-symmetric matrix 𝑈12−𝑈21, so it is a reflection of the four-dimensional space ℝ2×2. Over 𝔽2, det𝑇=−1=1.

  2. (b)Let 𝐷∈L(𝐹[𝑥]≤2) be differentiation. Its matrix in the basis 1,𝑥,𝑥2 is upper triangular with zero diagonal (Example 2.3.4), so det𝐷=0. This agrees with Proposition 5.4.20 below, since 𝐷 is not invertible: 𝐷(1)=𝟎. For id+𝐷, which sends 1,𝑥,𝑥2 to 1, 1+𝑥, and 2𝑥+𝑥2,

    [id+𝐷]ℬ︀ℬ︀=(110012001),det(id+𝐷)=1

    by Proposition 5.3.15, where ℬ︀=1,𝑥,𝑥2.

Proposition 5.4.20 (Properties of the determinant of an operator). Let 𝑉 be a vector space with 𝑛=dim𝑉≥1, let 𝑆,𝑇∈L(𝑉), and let 𝑐∈𝐹.
  1. (a)detid𝑉=1, and det(𝑐𝑇)=𝑐𝑛det𝑇.
  2. (b)det(𝑆𝑇)=det𝑆det𝑇.
  3. (c)𝑇 is invertible if and only if det𝑇≠0. In that case det(𝑇−1)=(det𝑇)−1.

Proof.standard

Uses. Definition 5.4.18 (Determinant of an operator), Example 2.3.6 (The zero map and the identity map), Proposition 1.6.19 (Coordinates respect linear combinations), Exercise 5.1.5, Theorem 2.4.2 (The matrix of a composite), Theorem 5.4.10 (Multiplicativity), Theorem 5.4.7 (Invertibility and the determinant), Theorem 2.2.1 (Linear maps are determined by a basis), Definition 2.3.1 (Matrix of a linear map)

Techniques. Translate between maps and matrices (Technique 2.3.27)

Hint 1. Fix one basis ℬ︀ and translate each statement into a statement about the matrices of the operators with respect to ℬ︀.
Hint 2. For (c), if 𝑇 is invertible, apply (b) to 𝑇𝑇−1=id𝑉. Conversely, if det𝑇≠0, the matrix of 𝑇 has an inverse 𝐶. Find a linear map whose matrix is 𝐶.
Sketch. With one basis ℬ︀ throughout, [id𝑉]=𝐼𝑛, [𝑐𝑇]=𝑐[𝑇], and [𝑆𝑇]=[𝑆][𝑇], so (a) and (b) follow from the matrix statements. If 𝑇 is invertible, (b) gives det𝑇det𝑇−1=detid𝑉=1. If det𝑇≠0, then [𝑇] has an inverse 𝐶, and the linear map 𝑅 with [𝑅]=𝐶 has [𝑅𝑇]=[𝑇𝑅]=𝐼𝑛=[id𝑉], so 𝑅𝑇=𝑇𝑅=id𝑉.

Fix a basis ℬ︀=𝐯1,…,𝐯𝑛 of 𝑉, and write [𝑅] for [𝑅]ℬ︀ℬ︀ for every 𝑅∈L(𝑉). A linear map is determined by its matrix: if [𝑅]=[𝑅′], then 𝑅(𝐯𝑗) and 𝑅′(𝐯𝑗) have the same coordinate vector for every 𝑗, so they are equal, and 𝑅=𝑅′ by the uniqueness in Theorem 2.2.1.

(a) [id𝑉]=𝐼𝑛 (Example 2.3.6), so detid𝑉=1. Column 𝑗 of [𝑐𝑇] is [𝑐𝑇(𝐯𝑗)]ℬ︀=𝑐[𝑇(𝐯𝑗)]ℬ︀ by Proposition 1.6.19, so [𝑐𝑇]=𝑐[𝑇], and det(𝑐𝑇)=𝑐𝑛det𝑇 by Exercise 5.1.5.

(b) By Theorem 2.4.2, [𝑆𝑇]=[𝑆][𝑇], so by Theorem 5.4.10,

det(𝑆𝑇)=det([𝑆][𝑇])=det[𝑆]det[𝑇]=det𝑆det𝑇.

(c) If 𝑇 is invertible, then by (b) and (a), det𝑇det(𝑇−1)=det(𝑇𝑇−1)=detid𝑉=1. So det𝑇≠0, and det(𝑇−1)=(det𝑇)−1. Conversely, suppose that det𝑇≠0. Then [𝑇] is invertible by Theorem 5.4.7; let 𝐶 be its inverse, with entries 𝑐𝑖𝑗. By Theorem 2.2.1 there is a linear map 𝑅∈L(𝑉) with 𝑅(𝐯𝑗)=∑𝑖𝑐𝑖𝑗𝐯𝑖 for every 𝑗, and then [𝑅]=𝐶 by Definition 2.3.1. By Theorem 2.4.2, [𝑅𝑇]=𝐶[𝑇]=𝐼𝑛=[id𝑉] and [𝑇𝑅]=[𝑇]𝐶=𝐼𝑛. Since a linear map is determined by its matrix, 𝑅𝑇=𝑇𝑅=id𝑉, and 𝑇 is invertible. □

In Section 13.4 the determinant of an operator is defined directly, without a basis, and Definition 5.4.18 becomes a theorem.

5.4.6Computing determinants

The Leibniz formula has 𝑛! terms. Corollary 5.4.15 gives a much faster method: row reduce to a triangular matrix and keep track of how each operation changes the determinant.

Proposition 5.4.21 (Determinants by row reduction). Let 𝐴∈𝐹𝑛×𝑛, and suppose that 𝐸𝑡⋯𝐸2𝐸1𝐴=𝑈 for elementary matrices 𝐸1,…,𝐸𝑡. Suppose that 𝑠 of the 𝐸𝑙 are swaps, 𝑟 of them are scalings by 𝑐1,…,𝑐𝑟, and the rest are replacements. Then

𝑐1⋯𝑐𝑟det𝐴=(−1)𝑠det𝑈.

In particular, if 𝑈 is triangular, then det𝐴=(−1)𝑠(𝑐1⋯𝑐𝑟)−1𝑢11⋯𝑢𝑛𝑛.

Proof.routine

Uses. Theorem 5.4.10 (Multiplicativity), Proposition 5.4.1 (Determinants of elementary matrices), Proposition 5.3.15 (Triangular matrices)

Hint 1. Take determinants of both sides of 𝐸𝑡⋯𝐸1𝐴=𝑈.
Hint 2. Proposition 5.4.1 gives each det𝐸𝑙.
Sketch. By Theorem 5.4.10, det𝑈=det𝐸𝑡⋯det𝐸1det𝐴, and the product of the det𝐸𝑙 is (−1)𝑠𝑐1⋯𝑐𝑟 by Proposition 5.4.1. If 𝑈 is triangular, det𝑈 is the product of its diagonal entries.
By Theorem 5.4.10, applied 𝑡 times, det𝑈=det𝐸𝑡⋯det𝐸1det𝐴. By Proposition 5.4.1, det𝐸𝑙 is −1 for each swap, 𝑐𝑞 for the scaling by 𝑐𝑞, and 1 for each replacement, so det𝑈=(−1)𝑠𝑐1⋯𝑐𝑟det𝐴. Multiplying by (−1)𝑠, which is its own inverse, gives the claim. If 𝑈 is triangular, then det𝑈=𝑢11⋯𝑢𝑛𝑛 by Proposition 5.3.15, and we may divide by 𝑐1⋯𝑐𝑟, which is nonzero. □

Scalings are never needed to reach a triangular matrix, so the simplest version of the method uses only swaps and replacements.

Algorithm 5.4.22 (Determinant by elimination)

Input
A square matrix 𝐴∈𝐹𝑛×𝑛.
Output
det𝐴.

1.

Set 𝑠=0. For 𝑘=1,2,…,𝑛 in turn: if column 𝑘 of the current matrix has a nonzero entry in one of the rows 𝑘,…,𝑛, swap such a row with row 𝑘 (adding 1 to 𝑠 if the rows are different), and then add multiples of row 𝑘 to rows 𝑘+1,…,𝑛 to make their entries in column 𝑘 equal to 0. If there is no such entry, go on to the next 𝑘.

2.

Let 𝑈 be the final matrix. Output (−1)𝑠𝑢11𝑢22⋯𝑢𝑛𝑛.

Proof.routine

Uses. Proposition 5.4.21 (Determinants by row reduction), Proposition 3.2.7 (Row operations are left multiplications), Definition 3.3.31 (Triangular matrices)

Techniques. Algorithms as proofs: invariants and termination (Technique 3.3.5)

Hint 1. By Proposition 5.4.21 it is enough to show that 𝑈 is upper triangular. Which entries does stage 𝑘 make 0?
Hint 2. Check that later stages never touch column 𝑘 below the diagonal: which rows do they swap, and which rows do they add?
Sketch. The algorithm uses only swaps and replacements, so by Proposition 5.4.21 it outputs det𝐴 provided 𝑈 is upper triangular. After stage 𝑘 the entries of column 𝑘 below the diagonal are 0. A later stage 𝑘′>𝑘 only swaps rows numbered at least 𝑘′ and adds multiples of row 𝑘′ to rows below it, and all these rows have entry 0 in column 𝑘, so column 𝑘 stays cleared.

Every operation is a swap or a replacement, so the final matrix is 𝑈=𝐸𝑡⋯𝐸1𝐴 with 𝑠 swaps among the 𝐸𝑙 and no scalings (Proposition 3.2.7). By Proposition 5.4.21, the output equals det𝐴 provided 𝑈 is upper triangular.

We show that after stage 𝑘, the entries of columns 1,…,𝑘 below the diagonal are 0. This holds after stage 1, since stage 1 either clears column 1 below row 1 or finds it already zero there. Suppose it holds after stage 𝑘−1. Stage 𝑘 only swaps two rows with indices at least 𝑘, and adds multiples of row 𝑘 to rows with indices greater than 𝑘. For 𝑗<𝑘, all of these rows have entry 0 in column 𝑗, by the induction hypothesis, so the entries of column 𝑗 below the diagonal stay 0. And stage 𝑘 makes the entries of column 𝑘 below the diagonal 0, or finds them 0 already. After stage 𝑛, 𝑈 is upper triangular (Definition 3.3.31). □

If some stage finds no nonzero entry, say at column 𝑘, then 𝑢𝑘𝑘=0, so det𝐴=0 and 𝐴 is not invertible. In practice one also uses scalings to pull a common factor out of a row, and one may mix in column operations freely: each row or column operation multiplies the determinant by the determinant of its elementary matrix (Corollary 5.4.15, Lemma 5.4.2).

Example 5.4.23 (A 4×4 determinant by elimination). Let

𝐴=(12−132414−1−33−238−19)∈ℚ4×4.

Stage 1 adds −2, 1, and −3 times row 1 to rows 2, 3, and 4. In column 2, the new row 2 has a 0, so stage 2 swaps rows 2 and 3 and then adds 2 times the new row 2 to row 4:

𝐴→stage 1(12−13003−20−1210220),
→stage 2(12−130−121003−20062).

Stage 3 adds −2 times row 3 to row 4, and stage 4 does nothing:

→stage 3(12−130−121003−20006)=𝑈.

There was one swap, so

det𝐴=(−1)1⋅1⋅(−1)⋅3⋅6=18.

The Leibniz formula would have needed 24 terms. Since 18=2⋅32, Proposition 5.3.20 shows that the reduction of 𝐴 modulo a prime 𝑝 is invertible over 𝔽𝑝 for every 𝑝 except 2 and 3.

det𝐴=(−1)1⋅1⋅(−1)⋅3⋅6=18
Gauss–Jordan elimination on the matrix 𝐴 of Example 5.4.23, one elementary matrix at a time. It also scales each pivot to 1, by the factor 1/𝑝 for a pivot 𝑝, so by Proposition 5.4.21, det𝐴 is (−1)𝑠 times the product of the pivots before scaling, where 𝑠 is the number of swaps. Here this is (−1)⋅1⋅(−1)⋅3⋅6=18. Edit the matrix to try others. When some column has no pivot, rref(𝐴) has a zero row and det𝐴=0.

Structure in a matrix can often be exploited before any elimination. A common trick: if every row has the same sum, add all columns to the first, or all rows to the first if every column has the same sum.

Example 5.4.24 (A matrix with constant row sums). For 𝑛≥1 and 𝑥∈𝐹, let 𝑀𝑛(𝑥)∈𝐹𝑛×𝑛 have every diagonal entry equal to 𝑥 and every other entry equal to 1. Then

det𝑀𝑛(𝑥)=(𝑥+𝑛−1)(𝑥−1)𝑛−1.

Every column of 𝑀𝑛(𝑥) sums to 𝑥+𝑛−1. Adding rows 2,…,𝑛 to row 1 does not change the determinant (Corollary 5.4.15), and makes every entry of row 1 equal to 𝑥+𝑛−1. Pulling this factor out of row 1 leaves the row (1,1,…,1). Now subtract the new row 1 from each of rows 2,…,𝑛. Row 𝑖 had 𝑥 in position 𝑖 and 1 elsewhere, so it becomes (𝑥−1)𝐞𝑖𝖳. The result is upper triangular with diagonal entries 1,𝑥−1,…,𝑥−1, so by Proposition 5.3.15,

det𝑀𝑛(𝑥)=(𝑥+𝑛−1)⋅1⋅(𝑥−1)𝑛−1.

So for 𝑛≥2, 𝑀𝑛(𝑥) is invertible unless 𝑥=1 or 𝑥=1−𝑛. These two values coincide when 𝑛=0 in 𝐹: over 𝔽3, det𝑀3(𝑥)=(𝑥+2)(𝑥−1)2=(𝑥−1)3.

Remark 5.4.25 (How much faster). Each term of the Leibniz formula is a product of 𝑛 entries, which takes 𝑛−1 multiplications, so evaluating the formula term by term takes (𝑛−1)𝑛! multiplications. Algorithm 5.4.22 takes about 𝑛3/3: stage 𝑘 computes a multiplier for each of the 𝑛−𝑘 rows below row 𝑘 and updates the 𝑛−𝑘 remaining entries of each, for (𝑛−𝑘)(𝑛−𝑘+1) multiplications and divisions, and summing over 𝑘 gives (𝑛3−𝑛)/3 (Remark 3.3.35). Multiplying the diagonal entries adds 𝑛−1 more.

𝑛Leibniz: (𝑛−1)𝑛!Elimination: (𝑛3−𝑛)/3
3128
548040
1032659200330
20≈4.6⋅10192660
Table 5.4.1. Multiplications (and divisions) needed to evaluate an 𝑛×𝑛 determinant.

At 109 multiplications per second, the Leibniz formula for a single 20×20 matrix would take about 1500 years, while elimination takes a few microseconds. Cofactor expansion (Section 5.5) also takes on the order of 𝑛! operations for a general matrix, although it is convenient for matrices with many zeros. The Leibniz formula remains the tool for theory (Technique 5.3.12, Technique 5.3.18), and elimination the tool for computation.

5.4.7Block-triangular matrices

Proposition 5.3.17 computed the determinant of (𝐴00𝐷). Its second proof never used that the upper right block is 0, only the lower left one, which suggests the following theorem. Recall (Definition 2.4.33) that a square block matrix with square diagonal blocks is block upper triangular if all blocks below the diagonal blocks are 0; it is block lower triangular if all blocks above them are 0.

Theorem 5.4.26 (Block-triangular matrices). Let 𝐴∈𝐹𝑘×𝑘, 𝐵∈𝐹𝑘×𝑚, 𝐶∈𝐹𝑚×𝑘, and 𝐷∈𝐹𝑚×𝑚. Then

det(𝐴𝐵0𝐷)=det𝐴det𝐷,det(𝐴0𝐶𝐷)=det𝐴det𝐷.

Proof (by factoring).standard

Uses. Theorem 2.4.34 (Block multiplication), Theorem 5.4.10 (Multiplicativity), Proposition 5.3.17 (Block-diagonal matrices), Lemma 5.1.8 (Column replacement), Theorem 5.4.14 (The transpose), Definition 2.4.21 (Transpose)

Techniques. Block decomposition (Technique 2.4.35)

Hint 1. Write (𝐴𝐵0𝐷) as a product of two block matrices, one of which is block diagonal.
Hint 2. Check that (𝐼𝑘𝐵0𝐷)(𝐴00𝐼𝑚)=(𝐴𝐵0𝐷).
Hint 3. To find det(𝐼𝑘𝐵0𝐷), use the first 𝑘 columns, which are standard basis vectors, to clear 𝐵 by column replacements.
Hint 4. For the second identity, take transposes.
Sketch. Block multiplication gives (𝐴𝐵0𝐷)=(𝐼𝑘𝐵0𝐷)(𝐴00𝐼𝑚). The second factor has determinant det𝐴 by Proposition 5.3.17. In the first, column 𝑘+𝑗 is ∑𝑖𝑏𝑖𝑗𝐞𝑖 plus column 𝑗 of 𝐷 placed below, and subtracting 𝑏𝑖𝑗 times column 𝑖 for each 𝑖≤𝑘 clears 𝐵 without changing the determinant, leaving (𝐼𝑘00𝐷) with determinant det𝐷. For the lower block-triangular case, transpose.

Let 𝑛=𝑘+𝑚 and 𝑀=(𝐴𝐵0𝐷). By block multiplication (Theorem 2.4.34),

(𝐼𝑘𝐵0𝐷)(𝐴00𝐼𝑚)=(𝐼𝑘𝐴+𝐵0𝐼𝑘0+𝐵𝐼𝑚0𝐴+𝐷000+𝐷𝐼𝑚)=(𝐴𝐵0𝐷).

So by Theorem 5.4.10 and Proposition 5.3.17,

det𝑀=det𝑁det(𝐴00𝐼𝑚)=det𝑁det𝐴,

where 𝑁=(𝐼𝑘𝐵0𝐷). For 𝑖≤𝑘, column 𝑖 of 𝑁 is 𝐞𝑖∈𝐹𝑛. For 𝑗≤𝑚, column 𝑘+𝑗 of 𝑁 is ∑𝑖=1𝑘𝑏𝑖𝑗𝐞𝑖+𝐝𝑗′, where 𝐝𝑗′∈𝐹𝑛 has 𝑘 zeros followed by the entries of column 𝑗 of 𝐷. Subtracting 𝑏𝑖𝑗 times column 𝑖 from column 𝑘+𝑗, for every 𝑖≤𝑘 and 𝑗≤𝑚, does not change det𝑁 (Lemma 5.1.8), does not change the first 𝑘 columns, and turns column 𝑘+𝑗 into 𝐝𝑗′. The result is (𝐼𝑘00𝐷), so by Proposition 5.3.17, det𝑁=det𝐼𝑘det𝐷=det𝐷. Hence det𝑀=det𝐴det𝐷.

For the second identity, transposing exchanges the entries in positions (𝑖,𝑗) and (𝑗,𝑖) (Definition 2.4.21), so the transpose of (𝐴0𝐶𝐷) is (𝐴𝖳𝐶𝖳0𝐷𝖳). By Theorem 5.4.14 and the first identity,

det(𝐴0𝐶𝐷)=det(𝐴𝖳𝐶𝖳0𝐷𝖳)=det𝐴𝖳det𝐷𝖳=det𝐴det𝐷.

□

Proof (via the Leibniz formula).standard

Uses. Definition 5.3.6 (Determinant), Proposition 5.3.17 (Block-diagonal matrices), Theorem 5.4.14 (The transpose)

Techniques. Read structure off the Leibniz expansion (Technique 5.3.12)

Hint 1. Compare the Leibniz terms of 𝑀=(𝐴𝐵0𝐷) with those of 𝑀′=(𝐴00𝐷). For which 𝜎 can they differ?
Hint 2. If 𝜎 sends some 𝑗≤𝑘 to a row below 𝑘, the term of 𝜎 contains an entry of the lower left block, in both matrices. Otherwise 𝜎 maps [𝑘] onto [𝑘], and its term never touches the upper right block.
Sketch. Let 𝑀′=(𝐴00𝐷). If 𝜎(𝑗)>𝑘 for some 𝑗≤𝑘, the terms of 𝜎 in det𝑀 and det𝑀′ both contain a 0 from the lower left block. Otherwise 𝜎 maps [𝑘] onto [𝑘], hence the rest onto the rest, and every factor of its term lies in 𝐴 or in 𝐷, where 𝑀 and 𝑀′ agree. So det𝑀=det𝑀′=det𝐴det𝐷.

Let 𝑛=𝑘+𝑚, 𝐾={𝑘+1,…,𝑛}, 𝑀=(𝐴𝐵0𝐷), and 𝑀′=(𝐴00𝐷). Write 𝑐𝑖𝑗 and 𝑐𝑖𝑗′ for the entries of 𝑀 and 𝑀′. They agree unless 𝑖≤𝑘<𝑗, that is, unless position (𝑖,𝑗) lies in the upper right block. We compare the terms of a fixed 𝜎∈𝑆𝑛 in the Leibniz formulas for det𝑀 and det𝑀′.

If 𝜎(𝑗)∈𝐾 for some 𝑗≤𝑘, then position (𝜎(𝑗),𝑗) lies in the lower left block, so 𝑐𝜎(𝑗)𝑗=𝑐𝜎(𝑗)𝑗′=0, and both terms are 0. Otherwise 𝜎 maps [𝑘] into [𝑘], hence onto [𝑘] since it is injective, and then it maps 𝐾 onto 𝐾 since it is a bijection. Then every position (𝜎(𝑗),𝑗) lies in one of the two diagonal blocks, where 𝑀 and 𝑀′ agree, so the two terms are equal. Hence det𝑀=det𝑀′=det𝐴det𝐷 by Proposition 5.3.17. The second identity follows by transposing, as in the first proof. □

The first proof shows how block matrices can be manipulated like matrices of numbers, as long as the order of factors is respected (Technique 2.4.35). The second proof is the shorter one here, because the work was done in Proposition 5.3.17. Grouping the diagonal blocks two at a time extends the theorem to any number of blocks.

Corollary 5.4.27 (Several diagonal blocks). Let 𝑀 be block upper triangular (or block lower triangular) with square diagonal blocks 𝐴1,…,𝐴𝑟. Then

det𝑀=det𝐴1det𝐴2⋯det𝐴𝑟.

Proof.routine

Uses. Theorem 5.4.26 (Block-triangular matrices), Definition 2.4.33 (Block matrix), induction on 𝑟

Techniques. Block decomposition (Technique 2.4.35)

Hint 1. Induct on 𝑟. Regard 𝑀 as a 2×2 block matrix whose upper left block is 𝐴1.
Hint 2. The lower right block is block triangular with diagonal blocks 𝐴2,…,𝐴𝑟.
Sketch. For 𝑟≥2, group the last 𝑟−1 block rows and columns: 𝑀=(𝐴1𝑋0𝑀′), where 𝑀′ is block upper triangular with diagonal blocks 𝐴2,…,𝐴𝑟. Then det𝑀=det𝐴1det𝑀′ by Theorem 5.4.26, and induction finishes. The lower triangular case is the same with (𝐴10𝑌𝑀′).

We induct on 𝑟; for 𝑟=1 there is nothing to prove. Let 𝑟≥2, and suppose 𝑀 is block upper triangular. Grouping the block rows and block columns 2,…,𝑟 together, 𝑀=(𝐴1𝑋0𝑀′), where the lower left block is 0 because all blocks below the diagonal are, and 𝑀′ is block upper triangular with diagonal blocks 𝐴2,…,𝐴𝑟. By Theorem 5.4.26 and the induction hypothesis,

det𝑀=det𝐴1det𝑀′=det𝐴1det𝐴2⋯det𝐴𝑟.

The block lower triangular case is identical, with 𝑀=(𝐴10𝑌𝑀′). □

With 1×1 blocks this is Proposition 5.3.15. For example, the matrix

𝑀=(1257346800210011)

is block upper triangular with diagonal blocks (1234) and (2111), so det𝑀=(−2)⋅1=−2. A 2×2 block matrix does not behave like a 2×2 matrix of numbers, though: in general det(𝐴𝐵𝐶𝐷) is neither det𝐴det𝐷−det𝐵det𝐶 (Exercise 5.4.36) nor det(𝐴𝐷−𝐵𝐶) (the example in Exercise 5.4.50).

Block elimination Beyond 21-242

Schur complements are standard in numerical linear algebra and statistics, but they are not part of the course.

When the upper left block is invertible, a general 2×2 block matrix can be reduced to the block-triangular case by one step of elimination with blocks.

Technique 5.4.28 (Block elimination). Row reduction works with blocks in place of entries, as long as the order of the factors in each product is respected. By Theorem 2.4.34, multiplying (𝐴𝐵𝐶𝐷) on the left by (𝐼0𝑋𝐼) adds 𝑋 times the first block row to the second, giving (𝐴𝐵𝑋𝐴+𝐶𝑋𝐵+𝐷). Multiplying on the right by (𝐼𝑌0𝐼) adds the first block column times 𝑌 to the second, giving (𝐴𝐴𝑌+𝐵𝐶𝐶𝑌+𝐷). Both multipliers have determinant 1 by Theorem 5.4.26, so these operations do not change the determinant. Choose 𝑋 or 𝑌 to create a zero block, and finish with Theorem 5.4.26.

Reach for it when you want the determinant or the inverse of a 2×2 block matrix and one of the blocks is invertible, or when two block matrices are related by such operations. The canonical example is Proposition 5.4.29.

Proposition 5.4.29 (Schur complement). Let 𝐴∈𝐹𝑘×𝑘 be invertible, and let 𝐵∈𝐹𝑘×𝑚, 𝐶∈𝐹𝑚×𝑘, and 𝐷∈𝐹𝑚×𝑚. Then

det(𝐴𝐵𝐶𝐷)=det𝐴det(𝐷−𝐶𝐴−1𝐵).

Proof.standard

Uses. Theorem 2.4.34 (Block multiplication), Theorem 5.4.10 (Multiplicativity), Theorem 5.4.26 (Block-triangular matrices)

Techniques. Block elimination (Technique 5.4.28)

Hint 1. Imitate the first stage of elimination, with the block 𝐴 as the pivot: clear the block 𝐶 below it.
Hint 2. Multiply on the left by (𝐼𝑘0𝑋𝐼𝑚), and choose 𝑋 so that the lower left block becomes 0.
Sketch. With 𝑋=−𝐶𝐴−1, block multiplication gives (𝐼𝑘0𝑋𝐼𝑚)(𝐴𝐵𝐶𝐷)=(𝐴𝐵0𝐷−𝐶𝐴−1𝐵). The left factor has determinant 1, and the right side has determinant det𝐴det(𝐷−𝐶𝐴−1𝐵), both by Theorem 5.4.26.

Let 𝑀=(𝐴𝐵𝐶𝐷) and 𝑋=−𝐶𝐴−1∈𝐹𝑚×𝑘. By Theorem 2.4.34,

(𝐼𝑘0𝑋𝐼𝑚)𝑀=(𝐴𝐵𝑋𝐴+𝐶𝑋𝐵+𝐷)=(𝐴𝐵0𝐷−𝐶𝐴−1𝐵).

By Theorem 5.4.26, the left factor has determinant det𝐼𝑘det𝐼𝑚=1, and the right side has determinant det𝐴det(𝐷−𝐶𝐴−1𝐵). So Theorem 5.4.10 gives the claim. □

The matrix 𝐷−𝐶𝐴−1𝐵 is the Schur complement of 𝐴 in 𝑀. For 𝑘=𝑚=1 the proposition reads det(𝑎𝑏𝑐𝑑)=𝑎(𝑑−𝑐𝑎−1𝑏)=𝑎𝑑−𝑏𝑐. If also 𝐴𝐶=𝐶𝐴, then 𝐴(𝐷−𝐶𝐴−1𝐵)=𝐴𝐷−𝐶𝐵, and the proposition becomes det𝑀=det(𝐴𝐷−𝐶𝐵) (Exercise 5.4.50).

Exercises

Exercise 5.4.30.routine Let

𝐴=(1302−2−62−3310−1911412)∈ℚ4×4.
  1. (a)Compute det𝐴 with Algorithm 5.4.22.
  2. (b)For which primes 𝑝 is the reduction of 𝐴 modulo 𝑝 invertible over 𝔽𝑝?

Solution.

Uses. Algorithm 5.4.22 (Determinant by elimination), Proposition 5.3.20 (Reduction modulo 𝑝), Theorem 5.4.7 (Invertibility and the determinant)

Hint 1. Stage 1 clears column 1 using row 1. Check the (2,2) entry afterwards.
Hint 2. For (b), reduce your answer to (a) modulo 𝑝 (Proposition 5.3.20).
Sketch. After stage 1 the rows below row 1 are (0,0,2,1), (0,1,−1,3), (0,−2,4,10). Swap rows 2 and 3, add 2 times row 2 to row 4, then subtract row 3 from row 4. The diagonal is 1,1,2,15 with one swap, so det𝐴=−30. The reduction is invertible exactly for 𝑝∉{2,3,5}.

(a) Stage 1 adds 2, −3, and −1 times row 1 to rows 2, 3, and 4. Stage 2 finds a 0 in position (2,2), swaps rows 2 and 3, and adds 2 times the new row 2 to row 4. Stage 3 adds −1 times row 3 to row 4:

𝐴→stage 1(1302002101−130−2410),
→stage 2(130201−13002100216)→stage 3(130201−13002100015).

There was one swap, so det𝐴=(−1)⋅1⋅1⋅2⋅15=−30.

(b) By Proposition 5.3.20, the determinant of the reduction is −30mod𝑝, which is 0 exactly when 𝑝 divides 30=2⋅3⋅5. By Theorem 5.4.7 over 𝔽𝑝, the reduction is invertible exactly when 𝑝∉{2,3,5}.

Exercise 5.4.31.routine Let 𝐴,𝐵∈ℝ3×3 with det𝐴=2 and det𝐵=−3. Compute

det(𝐴𝐵),det(𝐴−1𝐵2),det(2𝐴𝖳),det(𝐵𝐴𝐵−1),det(𝐴𝖳𝐴),det(−𝐴3).

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), Theorem 5.4.14 (The transpose), Exercise 5.1.5, Exercise 5.4.12, Theorem 5.4.7 (Invertibility and the determinant)

Hint 1. Both matrices are invertible by Theorem 5.4.7, so the inverses make sense.
Hint 2. Use det(𝑐𝐴)=𝑐3det𝐴 for 3×3 matrices, and det(𝐴−1)=(det𝐴)−1.
Sketch. −6, 9/2, 16, 2, 4, −8.

Since det𝐴 and det𝐵 are nonzero, 𝐴 and 𝐵 are invertible (Theorem 5.4.7). By Theorem 5.4.10, Theorem 5.4.14, Exercise 5.4.12, and Exercise 5.1.5 (with 𝑛=3):

  • det(𝐴𝐵)=2⋅(−3)=−6;
  • det(𝐴−1𝐵2)=(1/2)⋅9=9/2;
  • det(2𝐴𝖳)=23det𝐴=16;
  • det(𝐵𝐴𝐵−1)=det𝐵det𝐴(det𝐵)−1=2;
  • det(𝐴𝖳𝐴)=(det𝐴)2=4;
  • det(−𝐴3)=(−1)3(det𝐴)3=−8.
Exercise 5.4.32.standard For which 𝑛≥1 is there a matrix 𝐴∈𝐹𝑛×𝑛 with 𝐴2=−𝐼𝑛, when (a) 𝐹=ℝ, (b) 𝐹=ℂ, (c) 𝐹=𝔽3, (d) 𝐹=𝔽5?

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), Exercise 5.1.5, Theorem 2.4.34 (Block multiplication)

Hint 1. Take determinants: what does 𝐴2=−𝐼𝑛 say about (det𝐴)2?
Hint 2. For odd 𝑛 you need −1 to be a square in 𝐹. For even 𝑛, find a 2×2 example and place copies of it along the diagonal.
Sketch. (det𝐴)2=det(−𝐼𝑛)=(−1)𝑛. If 𝑛 is odd this needs a square root of −1 in 𝐹, which ℝ and 𝔽3 lack. For even 𝑛, the block diagonal matrix with blocks 𝐽=(0−110) works over every field, as 𝐽2=−𝐼2. Over ℂ and 𝔽5, 𝑖𝐼𝑛 and 2𝐼𝑛 work for every 𝑛. So: (a), (c) exactly the even 𝑛; (b), (d) every 𝑛.

If 𝐴2=−𝐼𝑛, then by Theorem 5.4.10 and Exercise 5.1.5,

(det𝐴)2=det(𝐴2)=det(−𝐼𝑛)=(−1)𝑛.

So if 𝑛 is odd, det𝐴 is a square root of −1 in 𝐹.

Conversely, let 𝐽=(0−110). Then 𝐽2=(−100−1)=−𝐼2 over every field. If 𝑛=2𝑙 is even, let 𝐴 be block diagonal with 𝑙 diagonal blocks equal to 𝐽. Block diagonal matrices multiply block by block (Theorem 2.4.34), so 𝐴2 is block diagonal with blocks 𝐽2=−𝐼2, that is, 𝐴2=−𝐼𝑛.

(a) Squares of real numbers are nonnegative, so (det𝐴)2=−1 is impossible: there is no such 𝐴 for odd 𝑛. For even 𝑛 there is. Answer: exactly the even 𝑛.

(b) 𝐴=𝑖𝐼𝑛 has 𝐴2=𝑖2𝐼𝑛=−𝐼𝑛, for every 𝑛.

(c) In 𝔽3, 02=0, 12=1, and 22=4=1, so −1=2 is not a square. As in (a), the answer is exactly the even 𝑛.

(d) In 𝔽5, 22=4=−1, so 𝐴=2𝐼𝑛 has 𝐴2=−𝐼𝑛 for every 𝑛.

Exercise 5.4.33.standard A matrix 𝐴∈𝐹𝑛×𝑛 is skew-symmetric if 𝐴𝖳=−𝐴.

  1. (a)Suppose that 1+1≠0 in 𝐹 and that 𝑛 is odd. Show that every skew-symmetric 𝐴∈𝐹𝑛×𝑛 has det𝐴=0.
  2. (b)Keep the assumption 1+1≠0. Show that the skew-symmetric 3×3 matrices are exactly the matrices (0𝑎𝑏−𝑎0𝑐−𝑏−𝑐0) with 𝑎,𝑏,𝑐∈𝐹, and for such a matrix 𝐴≠0, find a nonzero 𝐱 with 𝐴𝐱=𝟎.
  3. (c)Show that (a) fails over 𝔽2.

Solution.

Uses. Theorem 5.4.14 (The transpose), Exercise 5.1.5, Proposition 1.1.17 (No zero divisors), Definition 2.4.21 (Transpose), Corollary 5.4.8 (Vanishing determinants)

Hint 1. Compute det𝐴𝖳 in two ways: by Theorem 5.4.14 and from 𝐴𝖳=−𝐴.
Hint 2. For (b), read off what 𝑎𝑗𝑖=−𝑎𝑖𝑗 says on the diagonal and off it. For the kernel vector, try a vector built from 𝑎, 𝑏, 𝑐.
Hint 3. Over 𝔽2, −1=1. What does skew-symmetric mean there?
Sketch. (a) det𝐴=det𝐴𝖳=det(−𝐴)=(−1)𝑛det𝐴=−det𝐴, so (1+1)det𝐴=0. (b) 𝑎𝑖𝑖=−𝑎𝑖𝑖 forces 𝑎𝑖𝑖=0, and the entries below the diagonal are the negatives of those above; 𝐱=(𝑐,−𝑏,𝑎). (c) Over 𝔽2 skew-symmetric means symmetric, and 𝐼3 is symmetric with determinant 1.

(a) By Theorem 5.4.14 and Exercise 5.1.5,

det𝐴=det𝐴𝖳=det(−𝐴)=(−1)𝑛det𝐴=−det𝐴,

since 𝑛 is odd. So (1+1)det𝐴=0, and as 1+1≠0, det𝐴=0 (Proposition 1.1.17).

(b) 𝐴𝖳=−𝐴 says 𝑎𝑗𝑖=−𝑎𝑖𝑗 for all 𝑖,𝑗 (Definition 2.4.21). For 𝑖=𝑗 this is (1+1)𝑎𝑖𝑖=0, so 𝑎𝑖𝑖=0. For 𝑖≠𝑗 it says that the entries below the diagonal are the negatives of those above it. With 𝑎=𝑎12, 𝑏=𝑎13, and 𝑐=𝑎23, 𝐴 has the stated form, and conversely every matrix of that form satisfies 𝐴𝖳=−𝐴. Let 𝐱=(𝑐,−𝑏,𝑎). Then

𝐴𝐱=(−𝑎𝑏+𝑏𝑎,−𝑎𝑐+𝑐𝑎,−𝑏𝑐+𝑐𝑏)=𝟎,

and 𝐱≠𝟎 because 𝐴≠0 means that 𝑎, 𝑏, 𝑐 are not all 0. So the columns of 𝐴 are dependent, and det𝐴=0 by Corollary 5.4.8, as (a) predicts.

(c) In 𝔽2, −1=1, so 𝐴𝖳=−𝐴 means 𝐴𝖳=𝐴. The identity matrix 𝐼3 is symmetric, hence skew-symmetric over 𝔽2, and det𝐼3=1≠0. So the hypothesis 1+1≠0 in (a) cannot be dropped.

Exercise 5.4.34.standard Let 𝑛≥1. In each case, find all possible values of det𝐴, and show that each of them occurs.

  1. (a)𝐴∈𝐹𝑛×𝑛 with 𝐴2=𝐴.
  2. (b)𝐴∈𝐹𝑛×𝑛 with 𝐴𝑘=0 for some 𝑘≥1.
  3. (c)𝐴∈𝐹𝑛×𝑛 with 𝐴2=𝐼𝑛.
  4. (d)𝐴∈ℝ𝑛×𝑛 with 𝐴𝖳𝐴=𝐼𝑛.

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), Theorem 5.4.14 (The transpose), Exercise 5.4.12, Proposition 1.1.17 (No zero divisors), Proposition 5.4.1 (Determinants of elementary matrices)

Hint 1. Apply det to the defining equation. You get a polynomial equation for 𝑑=det𝐴.
Hint 2. Factor: 𝑑2−𝑑=𝑑(𝑑−1) and 𝑑2−1=(𝑑−1)(𝑑+1). For the examples, try 0, 𝐼𝑛, and a scaling matrix.
Sketch. (a) 𝑑2=𝑑, so 𝑑∈{0,1}: the zero matrix and 𝐼𝑛. (b) 𝑑𝑘=0, so 𝑑=0: the zero matrix. (c) 𝑑2=1, so 𝑑=±1: 𝐼𝑛 and 𝐸1,−1. (d) 𝑑2=1: again 𝐼𝑛 and 𝐸1,−1.

Write 𝑑=det𝐴, and use Exercise 5.4.12 for det(𝐴𝑘)=𝑑𝑘. The zero matrix has determinant 0 (it has a zero column), and 𝐼𝑛 has determinant 1.

(a) 𝑑2=𝑑, so 𝑑(𝑑−1)=0 and 𝑑∈{0,1} (Proposition 1.1.17). Both occur: 02=0 and 𝐼𝑛2=𝐼𝑛.

(b) 𝑑𝑘=det0=0, and a product of nonzero scalars is nonzero, so 𝑑=0. It occurs for the zero matrix.

(c) 𝑑2=det𝐼𝑛=1, so (𝑑−1)(𝑑+1)=0 and 𝑑=±1. Both occur: 𝐼𝑛2=𝐼𝑛, and the scaling 𝐸1,−1 satisfies 𝐸1,−12=𝐸1,1=𝐼𝑛 and has determinant −1 (Proposition 5.4.1). (If 1+1=0, the two values coincide.)

(d) 𝑑2=det𝐴𝖳det𝐴=det(𝐴𝖳𝐴)=1 by Theorem 5.4.14, so 𝑑=±1. Both occur: 𝐼𝑛, and 𝐸1,−1, which is diagonal, so 𝐸1,−1𝖳𝐸1,−1=𝐸1,−12=𝐼𝑛.

Exercise 5.4.35.standard Find the error in the following argument, and repair it.

Claim. det(𝐴𝐵)=det𝐴det𝐵 for all 𝐴,𝐵∈𝐹𝑛×𝑛.

Proof. By Theorem 3.5.19, we can write 𝐴=𝐸1⋯𝐸𝑘 and 𝐵=𝐸1′⋯𝐸𝑙′ with elementary matrices 𝐸𝑖 and 𝐸𝑗′. By Corollary 5.4.4,

det(𝐴𝐵)=det(𝐸1⋯𝐸𝑘𝐸1′⋯𝐸𝑙′)=det𝐸1⋯det𝐸𝑘det𝐸1′⋯det𝐸𝑙′=det𝐴det𝐵.

Solution.

Uses. Theorem 3.5.19 (Invertible matrices are products of elementary matrices), Corollary 3.2.11 (Products of elementary matrices), Theorem 3.5.23 (One-sided inverses of square matrices), Theorem 5.4.7 (Invertibility and the determinant)

Techniques. Reduce to elementary matrices (Technique 5.4.6)

Hint 1. What is the hypothesis of Theorem 3.5.19? Is the zero matrix a product of elementary matrices?
Hint 2. To repair the proof, show that if 𝐴 or 𝐵 is not invertible, then neither is 𝐴𝐵.
Sketch. The factorization exists only for invertible matrices; a product of elementary matrices is always invertible, so for example 0 is not one. The argument proves the claim when 𝐴 and 𝐵 are both invertible. If 𝐴 or 𝐵 is not invertible, then 𝐴𝐵 is not invertible (an inverse 𝐶 of 𝐴𝐵 would give 𝐴 the right inverse 𝐵𝐶 and 𝐵 the left inverse 𝐶𝐴), so both sides are 0.

The claim is true, but the proof covers only invertible 𝐴 and 𝐵. Theorem 3.5.19 applies to invertible matrices, and it cannot apply to any other matrix, since a product of elementary matrices is invertible (Corollary 3.2.11). For instance, the zero matrix is not a product of elementary matrices.

To repair the argument, it remains to treat the case where 𝐴 or 𝐵 is not invertible; then det𝐴det𝐵=0 by Theorem 5.4.7. Suppose 𝐴𝐵 were invertible, with inverse 𝐶. Then 𝐴(𝐵𝐶)=𝐼𝑛 and (𝐶𝐴)𝐵=𝐼𝑛, so 𝐴 has a right inverse and 𝐵 has a left inverse, and both are invertible by Theorem 3.5.23. So if 𝐴 or 𝐵 is not invertible, then 𝐴𝐵 is not invertible, and det(𝐴𝐵)=0=det𝐴det𝐵. (The first proof of Theorem 5.4.10 avoids factoring 𝐴 at all.)

Exercise 5.4.36.standard Let 𝐴,𝐵,𝐶,𝐷∈𝐹𝑚×𝑚 and 𝑀=(𝐴𝐵𝐶𝐷).

  1. (a)Find the error in the following argument.

    Claim. det𝑀=det𝐴det𝐷−det𝐵det𝐶.

    Proof. By Theorem 2.4.34, block matrices multiply like 2×2 matrices whose entries are the blocks. So 𝑀 is a 2×2 matrix with entries 𝐴,𝐵,𝐶,𝐷, and Theorem 5.1.13 gives det𝑀=det𝐴det𝐷−det𝐵det𝐶.

  2. (b)Show that the claim is false for 𝑚=2, over every field.
  3. (c)Show that the claim is true when 𝐶=0.

Solution.

Uses. Theorem 5.1.13 (The 2×2 determinant), Theorem 5.2.31 (Alternating functions and permutations), Theorem 5.4.26 (Block-triangular matrices), Definition 5.2.29 (Permutation matrix)

Hint 1. What kind of object is Theorem 5.1.13 about? Are the blocks elements of 𝐹?
Hint 2. For (b), look for blocks that each have a zero column, while 𝑀 is a permutation matrix.
Sketch. (a) Theorem 5.1.13 is about 2×2 matrices with entries in the field 𝐹. Blocks are not elements of 𝐹, and 𝑀 is a 2𝑚×2𝑚 matrix, whose determinant is defined through its 2𝑚 columns; that blocks multiply like entries says nothing about determinants. (b) 𝐴=𝐷=(1000), 𝐵=𝐶=(0001) make 𝑀 the permutation matrix of (24), with determinant −1, while every block has determinant 0. (c) This is Theorem 5.4.26, since det0=0.

(a) Theorem 5.1.13 is about functions on 𝐹2×2, matrices whose four entries are elements of the field 𝐹. The blocks are matrices, not elements of 𝐹 (their products do not even commute), and 𝑀 is a 2𝑚×2𝑚 matrix whose determinant is defined through its 2𝑚 columns. Theorem 2.4.34 says only how products of block matrices are computed. It says nothing about determinants, so the formula of Theorem 5.1.13 cannot simply be transplanted.

(b) Let 𝐴=𝐷=(1000) and 𝐵=𝐶=(0001). Then

𝑀=(1000000100100100),

whose columns are 𝐞1,𝐞4,𝐞3,𝐞2. So 𝑀=𝐸𝜎 for the transposition 𝜎=(24) (Definition 5.2.29), and det𝑀=sgn(𝜎)=−1 by Theorem 5.2.31. Each of 𝐴, 𝐵, 𝐶, 𝐷 has a zero column, hence determinant 0, so the claimed formula gives 0. Since −1≠0 in every field, the claim is false.

(c) If 𝐶=0, then det𝐶=0 (as 𝑚≥1, 𝐶 has a zero column), so the claim reads det𝑀=det𝐴det𝐷, which is Theorem 5.4.26.

Exercise 5.4.37.standard For 𝑛≥1, let 𝑃𝑛,𝑄𝑛∈ℚ𝑛×𝑛 have entries min(𝑖,𝑗) and max(𝑖,𝑗), respectively, in position (𝑖,𝑗). For example,

𝑃3=(111122123),𝑄3=(123223333).

Show that det𝑃𝑛=1 and det𝑄𝑛=(−1)𝑛−1𝑛.

Solution.

Uses. Corollary 5.4.15 (Rows), Proposition 5.3.15 (Triangular matrices), Theorem 5.2.31 (Alternating functions and permutations), Definition 5.2.29 (Permutation matrix), Proposition 5.2.26 (Sign of a cycle)

Hint 1. Subtract each row from the row below it, starting at the bottom, so that every subtraction uses an original row.
Hint 2. For 𝑃𝑛 you get an upper triangular matrix. For 𝑄𝑛 you get rows of the form (1,…,1,0,…,0); subtract again, starting at the bottom.
Sketch. For 𝑖=𝑛,…,2, replace row 𝑖 by row 𝑖 minus row 𝑖−1. In 𝑃𝑛, row 𝑖 becomes (0,…,0,1,…,1) with its first 1 in column 𝑖: upper triangular with 1s on the diagonal. In 𝑄𝑛, row 𝑖 becomes (1,…,1,0,…,0) with 𝑖−1 ones; repeating the subtraction turns row 𝑖 into 𝐞𝑖−1𝖳, and clearing row 1 with these leaves 𝑛𝐞𝑛𝖳. The rows 𝑛𝐞𝑛𝖳,𝐞1𝖳,…,𝐞𝑛−1𝖳 give 𝑛 times a cyclic permutation matrix of sign (−1)𝑛−1.

Row replacements do not change the determinant (Corollary 5.4.15). In both cases, first replace row 𝑖 by row 𝑖 minus row 𝑖−1 for 𝑖=𝑛,𝑛−1,…,2, in this order, so that row 𝑖−1 is still the original row when it is used.

𝑃𝑛. The new row 𝑖 (for 𝑖≥2) has entries min(𝑖,𝑗)−min(𝑖−1,𝑗), which is 0 for 𝑗≤𝑖−1 and 1 for 𝑗≥𝑖. Row 1 is (1,…,1). The result is upper triangular with every diagonal entry 1, so det𝑃𝑛=1 by Proposition 5.3.15.

𝑄𝑛. The new row 𝑖 (for 𝑖≥2) has entries max(𝑖,𝑗)−max(𝑖−1,𝑗), which is 1 for 𝑗≤𝑖−1 and 0 for 𝑗≥𝑖. Row 1 is (1,2,…,𝑛). Repeat the procedure on rows 2,…,𝑛: for 𝑖=𝑛,…,3, subtract the current row 𝑖−1 from row 𝑖. Since row 𝑖 has 𝑖−1 leading ones and row 𝑖−1 has 𝑖−2, row 𝑖 becomes 𝐞𝑖−1𝖳, and row 2 is 𝐞1𝖳 already. Finally subtract 𝑗 times row 𝑗+1 (which is 𝐞𝑗𝖳) from row 1, for 𝑗=1,…,𝑛−1; this leaves row 1 equal to 𝑛𝐞𝑛𝖳. None of these steps changes the determinant. Pulling the factor 𝑛 out of row 1 (Corollary 5.4.15), det𝑄𝑛=𝑛det𝑅, where 𝑅 has rows 𝐞𝑛𝖳,𝐞1𝖳,…,𝐞𝑛−1𝖳. The columns of 𝑅 are 𝐞2,𝐞3,…,𝐞𝑛,𝐞1, so 𝑅=𝐸𝜎 for the 𝑛-cycle 𝜎 with 𝜎(𝑗)=𝑗+1 for 𝑗<𝑛 and 𝜎(𝑛)=1 (Definition 5.2.29). By Theorem 5.2.31 and Proposition 5.2.26, det𝑅=sgn(𝜎)=(−1)𝑛−1. Hence det𝑄𝑛=(−1)𝑛−1𝑛. (For 𝑛=1 there is nothing to do: 𝑄1=(1).)

Exercise 5.4.38.standard Let 𝑚<𝑛, 𝐴∈𝐹𝑛×𝑚, and 𝐵∈𝐹𝑚×𝑛. Show that det(𝐴𝐵)=0. Does the same hold when 𝑚≥𝑛?

Solution.

Uses. Theorem 2.4.34 (Block multiplication), Theorem 5.4.10 (Multiplicativity), Exercise 5.1.5

Hint 1. 𝐴 and 𝐵 are not square, so Theorem 5.4.10 does not apply directly. Make them square without changing 𝐴𝐵.
Hint 2. Add 𝑛−𝑚 zero columns to 𝐴 and 𝑛−𝑚 zero rows to 𝐵.
Sketch. With 𝐴′=(𝐴0)∈𝐹𝑛×𝑛 and 𝐵′=(𝐵0)∈𝐹𝑛×𝑛, block multiplication gives 𝐴′𝐵′=𝐴𝐵+0=𝐴𝐵. Since 𝐴′ has a zero column, det(𝐴𝐵)=det𝐴′det𝐵′=0. For 𝑚≥𝑛 the conclusion fails: 𝐴=(𝐼𝑛0)∈𝐹𝑛×𝑚 and 𝐵=𝐴𝖳 give 𝐴𝐵=𝐼𝑛.

Let 𝐴′=(𝐴0)∈𝐹𝑛×𝑛 be 𝐴 followed by 𝑛−𝑚 zero columns, and let 𝐵′=(𝐵0)∈𝐹𝑛×𝑛 be 𝐵 followed by 𝑛−𝑚 zero rows. By Theorem 2.4.34, 𝐴′𝐵′=𝐴𝐵+0⋅0=𝐴𝐵. Since 𝑚<𝑛, 𝐴′ has a zero column, so det𝐴′=0 (Exercise 5.1.5), and by Theorem 5.4.10,

det(𝐴𝐵)=det(𝐴′𝐵′)=det𝐴′det𝐵′=0.

For 𝑚≥𝑛 the conclusion fails. If 𝑚=𝑛, take 𝐴=𝐵=𝐼𝑛. If 𝑚>𝑛, let 𝐴∈𝐹𝑛×𝑚 be 𝐼𝑛 followed by 𝑚−𝑛 zero columns, and 𝐵=𝐴𝖳∈𝐹𝑚×𝑛. Then 𝐴𝐵=𝐼𝑛 by Theorem 2.4.34, so det(𝐴𝐵)=1.

Exercise 5.4.39.standard Let 𝐴∈𝐹𝑛×𝑛, and define 𝐿𝐴,𝑅𝐴∈L(𝐹𝑛×𝑛) by 𝐿𝐴(𝑋)=𝐴𝑋 and 𝑅𝐴(𝑋)=𝑋𝐴. Show that det𝐿𝐴=det𝑅𝐴=(det𝐴)𝑛.

Solution.

Uses. Definition 5.4.18 (Determinant of an operator), Definition 2.3.1 (Matrix of a linear map), Definition 2.4.1 (Matrix product), Corollary 5.4.27 (Several diagonal blocks), Theorem 5.4.14 (The transpose)

Hint 1. Let 𝑈𝑖𝑗 be the matrix with 1 in position (𝑖,𝑗) and 0 elsewhere. These 𝑛2 matrices form a basis of 𝐹𝑛×𝑛; the order in which you list them matters.
Hint 2. 𝐴𝑈𝑖𝑗 has column 𝑗 equal to column 𝑖 of 𝐴, and zeros elsewhere. List the 𝑈𝑖𝑗 column by column, that is, 𝑈11,𝑈21,…,𝑈𝑛1,𝑈12,….
Hint 3. For 𝑅𝐴, list them row by row instead. You should get a block diagonal matrix with blocks 𝐴𝖳.
Sketch. With the basis 𝑈11,…,𝑈𝑛1,𝑈12,…,𝑈𝑛𝑛, the coordinates of 𝑋 are its columns stacked, and 𝐿𝐴 multiplies each column by 𝐴: its matrix is block diagonal with 𝑛 blocks 𝐴. With the basis listed row by row, 𝑅𝐴 replaces each row 𝐫𝖳 by 𝐫𝖳𝐴=(𝐴𝖳𝐫)𝖳, so its matrix is block diagonal with 𝑛 blocks 𝐴𝖳. Then use Corollary 5.4.27 and det𝐴𝖳=det𝐴.

For 𝑖,𝑗∈[𝑛], let 𝑈𝑖𝑗 have 1 in position (𝑖,𝑗) and 0 elsewhere. Every 𝑋∈𝐹𝑛×𝑛 is ∑𝑖,𝑗𝑥𝑖𝑗𝑈𝑖𝑗, and the coefficients are the entries of 𝑋, so they are unique. Hence the 𝑈𝑖𝑗, in any order, form a basis of 𝐹𝑛×𝑛, and the coordinates of 𝑋 are its entries in the corresponding order.

𝐿𝐴. List the basis column by column: ℬ︀=𝑈11,𝑈21,…,𝑈𝑛1,𝑈12,…,𝑈𝑛𝑛, so that 𝑈𝑘𝑗 is the basis vector number (𝑗−1)𝑛+𝑘. By Definition 2.4.1, column 𝑙 of 𝐴𝑈𝑖𝑗 is 𝐴 times column 𝑙 of 𝑈𝑖𝑗, which is 𝐴𝐞𝑖=𝐚𝑖 for 𝑙=𝑗 and 𝟎 otherwise. So

𝐿𝐴(𝑈𝑖𝑗)=𝐴𝑈𝑖𝑗=∑𝑘=1𝑛𝑎𝑘𝑖𝑈𝑘𝑗.

Hence the column of [𝐿𝐴]ℬ︀ℬ︀ belonging to 𝑈𝑖𝑗 has the entries 𝑎1𝑖,…,𝑎𝑛𝑖 in the positions (𝑗−1)𝑛+1,…,𝑗𝑛, and zeros elsewhere (Definition 2.3.1). That is, [𝐿𝐴]ℬ︀ℬ︀ is block diagonal with 𝑛 diagonal blocks, each equal to 𝐴. By Corollary 5.4.27, det𝐿𝐴=(det𝐴)𝑛.

𝑅𝐴. List the basis row by row: ℬ︀′=𝑈11,𝑈12,…,𝑈1𝑛,𝑈21,…,𝑈𝑛𝑛, so that 𝑈𝑖𝑘 is number (𝑖−1)𝑛+𝑘. The (𝑟,𝑘) entry of 𝑈𝑖𝑗𝐴 is ∑𝑙(𝑈𝑖𝑗)𝑟𝑙𝑎𝑙𝑘, which is 𝑎𝑗𝑘 if 𝑟=𝑖 and 0 otherwise. So

𝑅𝐴(𝑈𝑖𝑗)=𝑈𝑖𝑗𝐴=∑𝑘=1𝑛𝑎𝑗𝑘𝑈𝑖𝑘,

and the column of [𝑅𝐴]ℬ︀′ℬ︀′ belonging to 𝑈𝑖𝑗 has the entries 𝑎𝑗1,…,𝑎𝑗𝑛 in the positions (𝑖−1)𝑛+1,…,𝑖𝑛, and zeros elsewhere. So [𝑅𝐴]ℬ︀′ℬ︀′ is block diagonal with 𝑛 diagonal blocks, each the matrix whose column 𝑗 is (𝑎𝑗1,…,𝑎𝑗𝑛), that is, 𝐴𝖳. By Corollary 5.4.27 and Theorem 5.4.14, det𝑅𝐴=(det𝐴𝖳)𝑛=(det𝐴)𝑛.

Exercise 5.4.40.standard Let 𝑇∈L(𝐹𝑛×𝑛) be the transpose, 𝑇(𝑋)=𝑋𝖳. Show that det𝑇=(−1)𝑛(𝑛−1)/2. For which 𝑛 is det𝑇=1, when 1+1≠0 in 𝐹?

Solution.

Uses. Definition 5.4.18 (Determinant of an operator), Definition 5.2.29 (Permutation matrix), Theorem 5.2.31 (Alternating functions and permutations), Definition 5.2.23 (Sign of a permutation), Example 5.4.19 (Two operators on matrices and polynomials)

Hint 1. Use the basis of matrices 𝑈𝑖𝑗 with a single 1, as in Example 5.4.19. What does 𝑇 do to it?
Hint 2. 𝑇 permutes the basis, so its matrix is a permutation matrix. Count the transpositions in that permutation.
Sketch. 𝑇(𝑈𝑖𝑗)=𝑈𝑗𝑖, so 𝑇 permutes the basis by the permutation 𝜋 of [𝑛2] exchanging the positions of 𝑈𝑖𝑗 and 𝑈𝑗𝑖 for 𝑖<𝑗. Its matrix is 𝐸𝜋, and 𝜋 is a product of 𝑛(𝑛−1)/2 disjoint transpositions, so det𝑇=sgn(𝜋)=(−1)𝑛(𝑛−1)/2. This is 1 exactly when 𝑛≡0 or 1 modulo 4.

Let 𝑈𝑖𝑗 be the matrix with 1 in position (𝑖,𝑗) and 0 elsewhere, and list these 𝑛2 matrices in some order 𝐛1,…,𝐛𝑛2; they form a basis of 𝐹𝑛×𝑛, as in Exercise 5.4.39. Since 𝑈𝑖𝑗𝖳=𝑈𝑗𝑖, there is a permutation 𝜋 of [𝑛2] with 𝑇(𝐛𝑙)=𝐛𝜋(𝑙) for every 𝑙: 𝜋 exchanges the positions of 𝑈𝑖𝑗 and 𝑈𝑗𝑖 for 𝑖≠𝑗 and fixes the positions of the 𝑈𝑖𝑖. So column 𝑙 of the matrix of 𝑇 is 𝐞𝜋(𝑙), that is, the matrix is the permutation matrix 𝐸𝜋 (Definition 5.2.29), and det𝑇=sgn(𝜋) by Theorem 5.2.31.

The permutation 𝜋 is the product of the transpositions exchanging the positions of 𝑈𝑖𝑗 and 𝑈𝑗𝑖, one for each pair 𝑖<𝑗. There are 𝑛(𝑛−1)/2 such pairs, so sgn(𝜋)=(−1)𝑛(𝑛−1)/2 by Definition 5.2.23. Hence det𝑇=(−1)𝑛(𝑛−1)/2, in agreement with Example 5.4.19 for 𝑛=2.

If 1+1≠0, then −1≠1, and det𝑇=1 exactly when 𝑛(𝑛−1)/2 is even, that is, when 𝑛(𝑛−1) is divisible by 4. One of 𝑛 and 𝑛−1 is odd, so this happens exactly when 𝑛 or 𝑛−1 is divisible by 4: 𝑛≡0 or 1 modulo 4. For instance, det𝑇=−1 for 𝑛=2,3 and det𝑇=1 for 𝑛=4,5.

Exercise 5.4.41.standard Prove or disprove each statement, where 𝐴,𝐵∈𝐹𝑛×𝑛 and 𝑛≥2.

  1. (a)If det𝐴=det𝐵 and tr𝐴=tr𝐵, then 𝐴 and 𝐵 are similar.
  2. (b)If 𝐴 and 𝐵 are invertible, then det(𝐴𝐵𝐴−1𝐵−1)=1.
  3. (c)If 𝐹=ℝ, 𝑛 is odd, and 𝐴𝐵=−𝐵𝐴, then 𝐴 or 𝐵 is not invertible.
  4. (d)If det𝐴=det𝐵, then det(𝐴+𝐶)=det(𝐵+𝐶) for every 𝐶∈𝐹𝑛×𝑛.

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), Exercise 5.4.12, Exercise 5.1.5, Theorem 5.4.7 (Invertibility and the determinant), Definition 4.5.23 (Similar matrices), Definition 2.4.26 (Trace)

Hint 1. (a) 𝐼2 is similar only to itself. (d) Try matrices with a zero column.
Hint 2. (c) Take determinants of 𝐴𝐵=−𝐵𝐴, and remember that 𝑛 is odd.
Sketch. (a) False: (1101) and 𝐼2. (b) True: det𝐴det𝐵(det𝐴)−1(det𝐵)−1=1. (c) True: det𝐴det𝐵=(−1)𝑛det𝐵det𝐴=−det𝐴det𝐵, so det𝐴det𝐵=0. (d) False: 𝐴=0, 𝐵=(1000), 𝐶=(0001).

(a) False. 𝐴=(1101) and 𝐵=𝐼2 have determinant 1 and trace 2. But 𝑆−1𝐼2𝑆=𝐼2≠𝐴 for every invertible 𝑆, so 𝐴 is not similar to 𝐼2.

(b) True. By Theorem 5.4.10 and Exercise 5.4.12,

det(𝐴𝐵𝐴−1𝐵−1)=det𝐴det𝐵(det𝐴)−1(det𝐵)−1=1,

because scalars commute.

(c) True. Taking determinants, with Exercise 5.1.5 for the factor −1,

det𝐴det𝐵=det(𝐴𝐵)=det(−𝐵𝐴)=(−1)𝑛det𝐵det𝐴=−det𝐴det𝐵.

So 2det𝐴det𝐵=0, hence det𝐴=0 or det𝐵=0, and the corresponding matrix is not invertible (Theorem 5.4.7). (For even 𝑛 the statement fails: 𝐴=(100−1) and 𝐵=(0110) are invertible, and 𝐴𝐵=(01−10)=−𝐵𝐴.)

(d) False. Let 𝑛=2, 𝐴=0, 𝐵=(1000), and 𝐶=(0001). Then det𝐴=det𝐵=0, but det(𝐴+𝐶)=det𝐶=0 while det(𝐵+𝐶)=det𝐼2=1.

Exercise 5.4.42.routine Let 𝐴∈ℚ𝑛×𝑛 have integer entries. Show that if 𝐴 is invertible and 𝐴−1 also has integer entries, then det𝐴=±1. (The converse holds as well; see Section 5.5.)

Solution.

Uses. Proposition 5.3.20 (Reduction modulo 𝑝), Theorem 5.4.10 (Multiplicativity)

Hint 1. The determinant of a matrix with integer entries is an integer.
Hint 2. Which integers have an integer reciprocal?
Sketch. det𝐴 and det𝐴−1 are integers whose product is det𝐼𝑛=1, so both are ±1.
By Proposition 5.3.20, the determinant of a matrix with integer entries is an integer, so det𝐴 and det(𝐴−1) are integers. By Theorem 5.4.10, their product is det(𝐴𝐴−1)=det𝐼𝑛=1. The only integers 𝑢 with 𝑢𝑣=1 for some integer 𝑣 are ±1, since |𝑢|≥2 would give |𝑢𝑣|≥2 for 𝑣≠0. Hence det𝐴=±1.

Exercise 5.4.43.standard Let 𝐴,𝐵∈𝐹𝑚×𝑚. Show that

det(𝐴𝐵𝐵𝐴)=det(𝐴+𝐵)det(𝐴−𝐵).

Solution.

Uses. Theorem 2.4.34 (Block multiplication), Theorem 5.4.26 (Block-triangular matrices), Theorem 5.4.10 (Multiplicativity)

Techniques. Block decomposition (Technique 2.4.35)

Hint 1. Imitate what you would do for a 2×2 matrix (𝑎𝑏𝑏𝑎): add the second column to the first, then subtract the first row from the second.
Hint 2. With blocks, these operations are multiplications by 𝑄=(𝐼0𝐼𝐼) on the right and 𝑃=(𝐼0−𝐼𝐼) on the left.
Sketch. With 𝑃=(𝐼0−𝐼𝐼) and 𝑄=(𝐼0𝐼𝐼), block multiplication gives 𝑃𝑀𝑄=(𝐴+𝐵𝐵0𝐴−𝐵). Both 𝑃 and 𝑄 have determinant 1, so det𝑀=det(𝐴+𝐵)det(𝐴−𝐵) by Theorem 5.4.26.

Let 𝑀=(𝐴𝐵𝐵𝐴), 𝑃=(𝐼𝑚0−𝐼𝑚𝐼𝑚), and 𝑄=(𝐼𝑚0𝐼𝑚𝐼𝑚). By Theorem 2.4.34,

𝑀𝑄=(𝐴+𝐵𝐵𝐵+𝐴𝐴),
𝑃𝑀𝑄=(𝐴+𝐵𝐵−(𝐴+𝐵)+(𝐵+𝐴)−𝐵+𝐴)=(𝐴+𝐵𝐵0𝐴−𝐵).

𝑃 and 𝑄 are block lower triangular with diagonal blocks 𝐼𝑚, so det𝑃=det𝑄=1 by Theorem 5.4.26. By Theorem 5.4.10 and Theorem 5.4.26,

det𝑀=det𝑃det𝑀det𝑄=det(𝑃𝑀𝑄)=det(𝐴+𝐵)det(𝐴−𝐵).

Exercise 5.4.44.standard Let

𝐶(𝑧)=(1𝑧𝑧2𝑧21𝑧𝑧𝑧21).
  1. (a)Show that det𝐶(𝑧)=(1−𝑧3)2, for 𝑧 in any field.
  2. (b)Find all 𝑧 for which 𝐶(𝑧) is not invertible, for 𝑧∈ℂ, for 𝑧∈ℝ, and for 𝑧∈𝔽7.

Solution.

Uses. Corollary 5.4.15 (Rows), Lemma 5.1.8 (Column replacement), Theorem 5.4.26 (Block-triangular matrices), Theorem 5.4.7 (Invertibility and the determinant)

Hint 1. Every row sums to 𝑠=1+𝑧+𝑧2. Add the second and third columns to the first, and pull out 𝑠.
Hint 2. Then subtract row 1 from rows 2 and 3, and look for the factor 1−𝑧 in the new rows. Recall (1−𝑧)𝑠=1−𝑧3.
Sketch. Adding columns 2 and 3 to column 1 and pulling out 𝑠=1+𝑧+𝑧2 leaves first column (1,1,1). Subtracting row 1 from rows 2, 3 gives rows (1−𝑧)(0,1,𝑧) and (1−𝑧)(0,−𝑧,1+𝑧). So det𝐶(𝑧)=𝑠(1−𝑧)2(1+𝑧+𝑧2)=(1−𝑧3)2. Non-invertible exactly when 𝑧3=1: 𝑧=1,𝜔,𝜔2 in ℂ; 𝑧=1 in ℝ; 𝑧∈{1,2,4} in 𝔽7.

(a) Let 𝑠=1+𝑧+𝑧2. Adding columns 2 and 3 to column 1 does not change the determinant (Lemma 5.1.8), and makes every entry of column 1 equal to 𝑠. Pulling out 𝑠, and then subtracting row 1 from rows 2 and 3 (Corollary 5.4.15),

det𝐶(𝑧)=𝑠det(1𝑧𝑧211𝑧1𝑧21)=𝑠det(1𝑧𝑧201−𝑧𝑧−𝑧20𝑧2−𝑧1−𝑧2).

Row 2 of the last matrix is (1−𝑧)(0,1,𝑧), and row 3 is (1−𝑧)(0,−𝑧,1+𝑧). Pulling out both factors 1−𝑧 and using Theorem 5.4.26 with a 1×1 upper left block,

det𝐶(𝑧)=𝑠(1−𝑧)2det(1𝑧−𝑧1+𝑧)=𝑠(1−𝑧)2(1+𝑧+𝑧2)=((1−𝑧)𝑠)2=(1−𝑧3)2,

since (1−𝑧)(1+𝑧+𝑧2)=1−𝑧3. Every step is valid over any field.

(b) By Theorem 5.4.7, 𝐶(𝑧) fails to be invertible exactly when (1−𝑧3)2=0, that is, when 𝑧3=1. Over ℂ the solutions are the cube roots of unity 1, 𝜔=(−1+𝑖3)/2, and 𝜔2=𝜔. Over ℝ, only 𝑧=1. Over 𝔽7, cubing the nonzero elements gives 13=1, 23=8=1, 33=27=6, 43=64=1, 53=125=6, and 63=216=6, so 𝑧∈{1,2,4}.

Exercise 5.4.45.hard Let 𝐵,𝐶∈ℝ𝑛×𝑛, and let 𝐴=𝐵+𝑖𝐶∈ℂ𝑛×𝑛. Show that

det(𝐵−𝐶𝐶𝐵)=|det𝐴|2.

In particular, the real 2𝑛×2𝑛 matrix on the left has a nonnegative determinant. (For 𝑛=1 and 𝐴=(𝑎+𝑏𝑖), the matrix (𝑎−𝑏𝑏𝑎) is the matrix of multiplication by 𝑎+𝑏𝑖 on ℂ, regarded as a real vector space with basis 1,𝑖.)

Solution.

Uses. Theorem 2.4.34 (Block multiplication), Proposition 5.4.17 (Similar matrices have equal determinants), Theorem 5.4.26 (Block-triangular matrices), Exercise 5.3.28, Definition 5.3.6 (Determinant)

Hint 1. Regard 𝑀=(𝐵−𝐶𝐶𝐵) as a complex matrix. Its determinant is the same whether computed over ℝ or over ℂ.
Hint 2. Conjugate by 𝑃=(𝐼0𝑖𝐼𝐼), whose inverse is (𝐼0−𝑖𝐼𝐼), and simplify 𝑃−1𝑀𝑃 with block multiplication.
Hint 3. 𝐵−𝑖𝐶 is the entrywise complex conjugate of 𝐴. Use Exercise 5.3.28.
Sketch. Over ℂ, 𝑃−1𝑀𝑃=(𝐵−𝑖𝐶−𝐶0𝐵+𝑖𝐶) with 𝑃=(𝐼0𝑖𝐼𝐼). So det𝑀=det(𝐵−𝑖𝐶)det(𝐵+𝑖𝐶)=det𝐴det𝐴=|det𝐴|2.

Let 𝑀=(𝐵−𝐶𝐶𝐵). Its determinant is given by the Leibniz formula (Definition 5.3.6), which involves only sums and products of the (real) entries, so it is the same whether we regard 𝑀 as a real or a complex matrix. We work over ℂ. Let 𝑃=(𝐼𝑛0𝑖𝐼𝑛𝐼𝑛) and 𝑃′=(𝐼𝑛0−𝑖𝐼𝑛𝐼𝑛). By Theorem 2.4.34, 𝑃𝑃′=𝑃′𝑃=𝐼2𝑛, so 𝑃′=𝑃−1, and

𝑀𝑃=(𝐵−𝑖𝐶−𝐶𝐶+𝑖𝐵𝐵),
𝑃−1𝑀𝑃=(𝐵−𝑖𝐶−𝐶−𝑖(𝐵−𝑖𝐶)+𝐶+𝑖𝐵𝑖𝐶+𝐵)=(𝐵−𝑖𝐶−𝐶0𝐵+𝑖𝐶),

using −𝑖(−𝑖𝐶)=𝑖2𝐶=−𝐶. By Proposition 5.4.17 and Theorem 5.4.26,

det𝑀=det(𝑃−1𝑀𝑃)=det(𝐵−𝑖𝐶)det(𝐵+𝑖𝐶).

Since 𝐵 and 𝐶 are real, 𝐵−𝑖𝐶=𝐴, the entrywise complex conjugate of 𝐴, and det𝐴=det𝐴 by Exercise 5.3.28. Hence det𝑀=det𝐴det𝐴=|det𝐴|2≥0.

Exercise 5.4.46.hard Let 𝐴,𝐵∈ℝ𝑛×𝑛 with 𝐴𝐵=𝐵𝐴. Show that det(𝐴2+𝐵2)≥0. Show by an example that the hypothesis 𝐴𝐵=𝐵𝐴 cannot be dropped.

Solution.

Uses. Theorem 5.4.10 (Multiplicativity), Exercise 5.3.28

Hint 1. Over ℂ, the scalar 𝑎2+𝑏2 factors as (𝑎+𝑖𝑏)(𝑎−𝑖𝑏). Does the same factorization work for commuting matrices?
Hint 2. det(𝐴−𝑖𝐵) is the complex conjugate of det(𝐴+𝑖𝐵), by Exercise 5.3.28.
Hint 3. For the example, take 𝑛=2 and look for 𝐴 and 𝐵 with small entries such that 𝐴2+𝐵2 has determinant −1.
Sketch. (𝐴+𝑖𝐵)(𝐴−𝑖𝐵)=𝐴2−𝑖𝐴𝐵+𝑖𝐵𝐴+𝐵2=𝐴2+𝐵2 when 𝐴𝐵=𝐵𝐴. So det(𝐴2+𝐵2)=𝑧𝑧=|𝑧|2≥0 with 𝑧=det(𝐴+𝑖𝐵). Without commuting: 𝐴=(1111), 𝐵=(11−10) give 𝐴2+𝐵2=(2311), with determinant −1.

Regard 𝐴 and 𝐵 as complex matrices; this does not change det(𝐴2+𝐵2), which is computed from the entries by the Leibniz formula. Since 𝐴𝐵=𝐵𝐴,

(𝐴+𝑖𝐵)(𝐴−𝑖𝐵)=𝐴2−𝑖𝐴𝐵+𝑖𝐵𝐴−𝑖2𝐵2=𝐴2+𝐵2.

Let 𝑧=det(𝐴+𝑖𝐵). Since 𝐴 and 𝐵 are real, 𝐴−𝑖𝐵 is the entrywise conjugate of 𝐴+𝑖𝐵, so det(𝐴−𝑖𝐵)=𝑧 by Exercise 5.3.28. By Theorem 5.4.10,

det(𝐴2+𝐵2)=𝑧𝑧=|𝑧|2≥0.

Without the hypothesis, let 𝐴=(1111) and 𝐵=(11−10). Then 𝐴2=(2222) and 𝐵2=(01−1−1), so 𝐴2+𝐵2=(2311), whose determinant is 2−3=−1<0. Indeed 𝐴𝐵=(0101) and 𝐵𝐴=(22−1−1) are different.

Exercise 5.4.47.hard Let 𝑝 be a prime, let 𝐺 be the set of invertible matrices in 𝔽𝑝𝑛×𝑛, and let 𝐻={𝐴∈𝐺|det𝐴=1}.

  1. (a)For 𝑐∈𝔽𝑝 with 𝑐≠0, show that 𝑋↦𝑋𝐸1𝑐 is a bijection from 𝐻 onto {𝐴∈𝐺|det𝐴=𝑐}. Deduce that |𝐻|=|𝐺|/(𝑝−1).
  2. (b)For 𝑛=2, show that |𝐺|=(𝑝2−1)(𝑝2−𝑝), and conclude that |𝐻|=𝑝(𝑝2−1).
  3. (c)Check (b) for 𝑝=2 by listing 𝐻.

Solution.

Uses. Lemma 5.4.2 (Multiplying by an elementary matrix), Proposition 5.4.1 (Determinants of elementary matrices), Theorem 5.4.7 (Invertibility and the determinant), Corollary 5.4.8 (Vanishing determinants), Proposition 1.2.35 (Zero products)

Hint 1. (a) Compute det(𝑋𝐸1𝑐), and write down the inverse map. Which values can the determinant of an invertible matrix take?
Hint 2. (b) A 2×2 matrix is invertible exactly when its columns are independent. Count the choices of the first column, then of the second.
Sketch. (a) det(𝑋𝐸1𝑐)=𝑐det𝑋, and 𝑌↦𝑌𝐸1,𝑐−1 is the inverse map. 𝐺 is the disjoint union of the 𝑝−1 sets {det=𝑐}, 𝑐≠0, each in bijection with 𝐻. (b) The first column is any of the 𝑝2−1 nonzero vectors, and the second any of the 𝑝2−𝑝 vectors that are not multiples of the first. (c) For 𝑝=2, 𝐻=𝐺 has the 6 matrices 𝐼2, 𝐸12, and the four with exactly three entries 1.

(a) For 𝑋∈𝐻, det(𝑋𝐸1𝑐)=det𝑋det𝐸1𝑐=𝑐 by Lemma 5.4.2 and Proposition 5.4.1, and 𝑋𝐸1𝑐 is invertible. So the map sends 𝐻 into 𝐻𝑐={𝐴∈𝐺|det𝐴=𝑐}. Similarly 𝑌↦𝑌𝐸1,𝑐−1 sends 𝐻𝑐 into 𝐻, and the two maps are inverse to each other, since 𝐸1𝑐𝐸1,𝑐−1=𝐸1,𝑐−1𝐸1𝑐=𝐼𝑛. So |𝐻𝑐|=|𝐻|. By Theorem 5.4.7, every 𝐴∈𝐺 has det𝐴≠0, so 𝐺 is the disjoint union of the 𝑝−1 sets 𝐻𝑐 with 𝑐≠0. Hence |𝐺|=(𝑝−1)|𝐻|.

(b) By Corollary 5.4.8, 𝐴∈𝔽𝑝2×2 is invertible exactly when its columns 𝐚1,𝐚2 are linearly independent. This holds exactly when 𝐚1≠𝟎 and 𝐚2 is not a multiple of 𝐚1. Indeed, if 𝑥𝐚1+𝑦𝐚2=𝟎 with (𝑥,𝑦)≠(0,0), then either 𝑦≠0 and 𝐚2=−𝑦−1𝑥𝐚1, or 𝑦=0, 𝑥≠0, and 𝐚1=𝟎; conversely, 𝐚1=𝟎 or 𝐚2=𝑡𝐚1 gives a nontrivial relation. There are 𝑝2−1 nonzero vectors in 𝔽𝑝2. For each of them, the multiples 𝑡𝐚1 with 𝑡∈𝔽𝑝 are 𝑝 distinct vectors, since 𝑡𝐚1=𝑡′𝐚1 forces 𝑡=𝑡′ (Proposition 1.2.35), so there are 𝑝2−𝑝 choices of 𝐚2. Hence |𝐺|=(𝑝2−1)(𝑝2−𝑝), and by (a),

|𝐻|=(𝑝2−1)(𝑝2−𝑝)𝑝−1=𝑝(𝑝2−1).

(c) For 𝑝=2 the formula gives 2⋅3=6. Over 𝔽2 the only nonzero scalar is 1, so 𝐻=𝐺. The invertible 2×2 matrices over 𝔽2 are those with 𝑎𝑑−𝑏𝑐=𝑎𝑑+𝑏𝑐=1, that is, with exactly one of the products 𝑎𝑑 and 𝑏𝑐 equal to 1:

(1001),(0110),(1101),(1011),(0111),(1110).

Exercise 5.4.48.hard Let 𝑛≥2.

  1. (a)Let 𝐴∈𝐹𝑛×𝑛 be invertible. Show that there are elementary matrices 𝐸1,…,𝐸𝑡 of type 3 (replacements) with 𝐸𝑡⋯𝐸1𝐴=diag(1,…,1,det𝐴).
  2. (b)Deduce that every 𝐴∈𝐹𝑛×𝑛 with det𝐴=1 is a product of elementary matrices of type 3, and that every invertible 𝐴 is such a product times the single scaling 𝐸𝑛,det𝐴.

Solution.

Uses. Exercise 3.2.53, Proposition 3.2.7 (Row operations are left multiplications), Proposition 5.4.1 (Determinants of elementary matrices), Theorem 5.4.10 (Multiplicativity), Proposition 5.1.17 (Dependent columns), Proposition 5.3.15 (Triangular matrices), Proposition 3.2.10 (Inverses of elementary matrices)

Techniques. Algorithms as proofs: invariants and termination (Technique 3.3.5)

Hint 1. Imitate Exercise 3.2.53, column by column: for 𝑘=1,…,𝑛−1, use replacements to make column 𝑘 equal to 𝐞𝑘 without disturbing columns 1,…,𝑘−1.
Hint 2. To make the (𝑘,𝑘) entry equal to 1, you need a nonzero entry in column 𝑘 below row 𝑘. If there is none, first add row 𝑘 to row 𝑘+1. Why is the (𝑘,𝑘) entry then nonzero?
Hint 3. Replacements do not change the determinant. After column 𝑛−1, read off the last diagonal entry, and clear the last column above it.
Sketch. Keep the invariant that columns 1,…,𝑘−1 are 𝐞1,…,𝐞𝑘−1; then rows 𝑘,…,𝑛 vanish in those columns, so adding them to other rows does not break the invariant. Column 𝑘 has a nonzero entry in rows 𝑘,…,𝑛 (else the columns are dependent); arrange one in a row 𝑗>𝑘, add (1−𝑚𝑘𝑘)/𝑚𝑗𝑘 times row 𝑗 to row 𝑘 to get a 1, and clear the rest of column 𝑘. At the end the matrix is upper triangular with diagonal 1,…,1,𝑑, where 𝑑=det𝐴 because replacements preserve det; clearing column 𝑛 above 𝑑 gives diag(1,…,1,𝑑). Then 𝐴=𝐸1−1⋯𝐸𝑡−1𝐸𝑛,𝑑.

(a) Every matrix below is obtained from 𝐴 by replacements, so it is invertible with determinant det𝐴 (Proposition 3.2.7, Proposition 5.4.1, Theorem 5.4.10). We process 𝑘=1,…,𝑛−1 in turn, keeping the following invariant: before step 𝑘, columns 1,…,𝑘−1 of the current matrix 𝑀 are 𝐞1,…,𝐞𝑘−1. Then for 𝑙<𝑘, every row other than row 𝑙 has entry 0 in column 𝑙. In particular rows 𝑘,…,𝑛 vanish in columns 1,…,𝑘−1, so adding a multiple of one of these rows to another row does not change columns 1,…,𝑘−1. All replacements in step 𝑘 add multiples of rows numbered at least 𝑘.

Step 𝑘. Column 𝑘 of 𝑀 has a nonzero entry in one of the rows 𝑘,…,𝑛: otherwise column 𝑘 would be a combination of 𝐞1,…,𝐞𝑘−1, that is, of columns 1,…,𝑘−1, and det𝑀=0 by Proposition 5.1.17. If 𝑚𝑗𝑘=0 for every 𝑗>𝑘, then 𝑚𝑘𝑘≠0, and we add row 𝑘 to row 𝑘+1 (possible as 𝑘+1≤𝑛); now 𝑚𝑘+1,𝑘=𝑚𝑘𝑘≠0. So we may choose 𝑗>𝑘 with 𝑐=𝑚𝑗𝑘≠0. Adding (1−𝑚𝑘𝑘)𝑐−1 times row 𝑗 to row 𝑘 changes the (𝑘,𝑘) entry to 𝑚𝑘𝑘+(1−𝑚𝑘𝑘)=1. Finally, for each 𝑖≠𝑘, add −𝑚𝑖𝑘 times row 𝑘 to row 𝑖; this makes column 𝑘 equal to 𝐞𝑘. The invariant now holds before step 𝑘+1.

After step 𝑛−1, columns 1,…,𝑛−1 are 𝐞1,…,𝐞𝑛−1, so the matrix is upper triangular with diagonal entries 1,…,1,𝑚𝑛𝑛, and 𝑚𝑛𝑛=det𝐴 by Proposition 5.3.15. In particular 𝑚𝑛𝑛≠0. Row 𝑛 is (0,…,0,𝑚𝑛𝑛), so adding −𝑚𝑖𝑛𝑚𝑛𝑛−1 times row 𝑛 to row 𝑖, for each 𝑖<𝑛, clears column 𝑛 above the diagonal and changes nothing else. The result is diag(1,…,1,det𝐴), reached by replacements 𝐸1,…,𝐸𝑡.

(b) By (a), 𝐴=𝐸1−1⋯𝐸𝑡−1diag(1,…,1,det𝐴), and each 𝐸𝑙−1 is a replacement by Proposition 3.2.10. If det𝐴=1, the last factor is 𝐼𝑛, and 𝐴 is a product of replacements. In general the last factor is the scaling 𝐸𝑛,det𝐴.

Exercise 5.4.49.challenge Let 𝑛≥2, and let 𝑓:𝐹𝑛×𝑛→𝐹 satisfy 𝑓(𝐴𝐵)=𝑓(𝐴)𝑓(𝐵) for all 𝐴,𝐵, and 𝑓(diag(𝑡,1,…,1))=𝑡 for all 𝑡∈𝐹. Show that 𝑓=det. (This extends Exercise 5.1.42 to all 𝑛 and all fields.)

Solution.

Uses. Exercise 5.4.48, Proposition 5.2.30 (Algebra of permutation matrices), Theorem 3.3.10 (𝐺𝐴=rref(𝐴)), Theorem 3.3.23 (Invertibility and RREF), Proposition 3.3.8 (Properties of the output), Theorem 5.4.7 (Invertibility and the determinant)

Techniques. Reduce to elementary matrices (Technique 5.4.6)

Hint 1. First show 𝑓(𝐼𝑛)=1, that 𝑓(𝐺)≠0 for invertible 𝐺, and that 𝑓(𝐺𝑋𝐺−1)=𝑓(𝑋).
Hint 2. Show that all replacements are conjugate to 𝐸1,1,2, using a scaling and a permutation matrix. Then compare 𝐸1,1,22 with 𝐸1,2,2; treat 1+1=0 separately.
Hint 3. For invertible 𝐴, use Exercise 5.4.48. For 𝐴 not invertible, write 𝐴=𝐺−1rref(𝐴), and note that rref(𝐴) is unchanged by left multiplication with diag(1,…,1,0).
Sketch. 𝑓 is invariant under conjugation by invertible matrices. Conjugating 𝐸𝑖,1,𝑗 by 𝐸𝑗𝑐 gives 𝐸𝑖𝑐𝑗, and conjugating by a permutation matrix moves it to 𝐸1,1,2; so all replacements have the same value 𝑠≠0. From 𝐸1,1,22=𝐸1,2,2 we get 𝑠2=𝑠 (or 𝑠2=1 if 1+1=0), so 𝑠=1. Conjugating diag(𝑡,1,…,1) by 𝐸1𝑛 gives 𝑓(diag(1,…,1,𝑡))=𝑡, so 𝑓(𝐴)=det𝐴 for invertible 𝐴 by Exercise 5.4.48. If 𝐴 is not invertible, rref(𝐴)=𝑍rref(𝐴) with 𝑍=diag(1,…,1,0) and 𝑓(𝑍)=0.

Throughout, let 𝑈𝑗𝑖 be the matrix with 1 in position (𝑗,𝑖) and 0 elsewhere, so that 𝐸𝑖𝑐𝑗=𝐼𝑛+𝑐𝑈𝑗𝑖 for 𝑖≠𝑗.

Step 0. 𝑓(𝐼𝑛)=𝑓(diag(1,…,1))=1. If 𝐺 is invertible, then 𝑓(𝐺)𝑓(𝐺−1)=𝑓(𝐼𝑛)=1, so 𝑓(𝐺)≠0 and 𝑓(𝐺−1)=𝑓(𝐺)−1. Hence 𝑓(𝐺𝑋𝐺−1)=𝑓(𝐺)𝑓(𝑋)𝑓(𝐺)−1=𝑓(𝑋) for every 𝑋, because values of 𝑓 commute.

Step 1: replacements. Let 𝑖≠𝑗 and 𝑐≠0, and let 𝐷=𝐸𝑗𝑐, so 𝐷−1=𝐸𝑗,𝑐−1. Multiplying 𝑈𝑗𝑖 on the left by 𝐷 scales its row 𝑗 by 𝑐. Multiplying on the right by 𝐷−1 scales its column 𝑗 by 𝑐−1, and that column is zero since 𝑖≠𝑗. So 𝐷𝑈𝑗𝑖𝐷−1=𝑐𝑈𝑗𝑖, hence 𝐷𝐸𝑖,1,𝑗𝐷−1=𝐸𝑖𝑐𝑗, and 𝑓(𝐸𝑖𝑐𝑗)=𝑓(𝐸𝑖,1,𝑗) by Step 0. Next choose 𝜎∈𝑆𝑛 with 𝜎(𝑖)=1 and 𝜎(𝑗)=2, possible as 𝑖≠𝑗 and 𝑛≥2. By Proposition 5.2.30, 𝐸𝜎−1=𝐸𝜎−1, and 𝑋𝐸𝜎−1 has column 𝑙 equal to column 𝜎−1(𝑙) of 𝑋. So 𝑈𝑗𝑖𝐸𝜎−1 has its only nonzero column in position 𝜎(𝑖), equal to 𝐞𝑗; multiplying by 𝐸𝜎 on the left turns this column into 𝐸𝜎𝐞𝑗=𝐞𝜎(𝑗). Hence 𝐸𝜎𝑈𝑗𝑖𝐸𝜎−1=𝑈𝜎(𝑗)𝜎(𝑖)=𝑈21, and 𝐸𝜎𝐸𝑖,1,𝑗𝐸𝜎−1=𝐼𝑛+𝑈21=𝐸1,1,2. So every replacement 𝐸𝑖𝑐𝑗 with 𝑐≠0 has the value 𝑠=𝑓(𝐸1,1,2), and 𝑠≠0 by Step 0. (A replacement with 𝑐=0 is 𝐼𝑛, with 𝑓(𝐼𝑛)=1.)

Since 𝑈212=0, we have 𝐸1,1,22=𝐼𝑛+2𝑈21, where 2=1+1. If 1+1≠0, this is the replacement 𝐸1,2,2, so 𝑠2=𝑠, and 𝑠=1 because 𝑠≠0. If 1+1=0, then 𝐸1,1,22=𝐼𝑛, so 𝑠2=1, and (𝑠−1)2=𝑠2−(1+1)𝑠+1=𝑠2+1=1+1=0, so again 𝑠=1. Thus 𝑓(𝐸)=1=det𝐸 for every replacement 𝐸.

Step 2: invertible matrices. 𝐸1𝑛 is its own inverse, and 𝐸1𝑛diag(𝑡,1,…,1)𝐸1𝑛=diag(1,…,1,𝑡)=𝐸𝑛,𝑡, as conjugating by 𝐸1𝑛 swaps rows 1 and 𝑛 and then columns 1 and 𝑛. So 𝑓(diag(1,…,1,𝑡))=𝑡 for every 𝑡∈𝐹, by Step 0; for 𝑡≠0 this matrix is the scaling 𝐸𝑛𝑡. If 𝐴 is invertible, then by Exercise 5.4.48(b), 𝐴=𝑅1⋯𝑅𝑞𝐸𝑛,det𝐴 with replacements 𝑅𝑙, and

𝑓(𝐴)=𝑓(𝑅1)⋯𝑓(𝑅𝑞)𝑓(𝐸𝑛,det𝐴)=det𝐴.

Step 3: matrices that are not invertible. Let 𝐴 be not invertible, so det𝐴=0 (Theorem 5.4.7). By Theorem 3.3.10, 𝐴=𝐺−1𝑅 with 𝐺 invertible and 𝑅=rref(𝐴), and 𝑅≠𝐼𝑛 by Theorem 3.3.23. So 𝑅 has fewer than 𝑛 pivots, and its last row is zero by Proposition 3.3.8. Let 𝑍=diag(1,…,1,0). Multiplying by 𝑍 on the left replaces the last row by zeros, so 𝑍𝑅=𝑅. By the computation in Step 2 with 𝑡=0, 𝑓(𝑍)=0. Hence 𝑓(𝑅)=𝑓(𝑍)𝑓(𝑅)=0, and 𝑓(𝐴)=𝑓(𝐺−1)𝑓(𝑅)=0=det𝐴.

So 𝑓(𝐴)=det𝐴 for every 𝐴.

Exercise 5.4.50.hardBeyond 21-242 Let 𝐴,𝐵,𝐶,𝐷∈𝐹𝑚×𝑚 with 𝐴 invertible and 𝐴𝐶=𝐶𝐴. Show that

det(𝐴𝐵𝐶𝐷)=det(𝐴𝐷−𝐶𝐵).

Then show by an example with 𝑚=2 that the formula can fail when 𝐴 is invertible but 𝐴𝐶≠𝐶𝐴.

Solution.

Uses. Proposition 5.4.29 (Schur complement), Theorem 5.4.10 (Multiplicativity)

Techniques. Block elimination (Technique 5.4.28)

Hint 1. Start from Proposition 5.4.29, and combine the two determinants on the right into one.
Hint 2. 𝐴𝐶𝐴−1=𝐶 when 𝐴 and 𝐶 commute. For the example, a zero row in 𝑀 is an easy way to make det𝑀=0.
Sketch. det𝑀=det𝐴det(𝐷−𝐶𝐴−1𝐵)=det(𝐴𝐷−𝐴𝐶𝐴−1𝐵)=det(𝐴𝐷−𝐶𝐵). Example: 𝐴=(0110), 𝐵=𝐶=(0001), 𝐷=(0010); then 𝑀 has a zero row, while 𝐴𝐷−𝐶𝐵=(100−1).

By Proposition 5.4.29 and Theorem 5.4.10,

det(𝐴𝐵𝐶𝐷)=det𝐴det(𝐷−𝐶𝐴−1𝐵)=det(𝐴(𝐷−𝐶𝐴−1𝐵))=det(𝐴𝐷−𝐴𝐶𝐴−1𝐵).

Since 𝐴𝐶=𝐶𝐴, we have 𝐴𝐶𝐴−1=𝐶𝐴𝐴−1=𝐶, so the right side is det(𝐴𝐷−𝐶𝐵).

For the example, let 𝐴=(0110), 𝐵=𝐶=(0001), and 𝐷=(0010). Then 𝐴 is invertible, and 𝐴𝐶=(0100)≠(0010)=𝐶𝐴. The third row of (𝐴𝐵𝐶𝐷) is the first row of 𝐶 followed by the first row of 𝐷, which is zero, so det(𝐴𝐵𝐶𝐷)=0. But 𝐴𝐷=(1000) and 𝐶𝐵=(0001), so det(𝐴𝐷−𝐶𝐵)=det(100−1)=−1.

More practice

The practice bank has 31 exercises on this section’s topics.