Books
Theme
Text size
Width

[ and ] go to the previous and next page.

The chapter described the determinant in four ways: as the only function satisfying three axioms (Definition 5.1.1, Theorem 5.3.4), as the Leibniz sum over permutations (Theorem 5.3.3), as the product of the factors collected while eliminating (Proposition 5.4.21), and as a cofactor expansion (Theorem 5.5.3). Most proofs in the chapter start by choosing one of these descriptions, and the choice decides how long the proof is. This section sorts the chapter’s arguments by the question they answer, compares the descriptions on examples from the chapter, and says when each one is the wrong tool. The exercises at the end practice one move at a time, and the problem set (Problems for Chapter 5) mixes them.

5.6.1Computing a determinant

For a matrix of numbers with no visible structure, use elimination (Algorithm 5.4.22). It takes about 𝑛3/3 operations, while the Leibniz formula and a full cofactor expansion take on the order of 𝑛! (Remark 5.4.25). Structure changes this, so look for it first. Roughly in order of how quickly they finish:

The last item has not been named yet, although several exercises of the chapter rely on it.

Technique 5.6.1 (Factor the matrix). To compute det𝑀, write 𝑀 as a product of matrices whose determinants are known, and multiply (Theorem 5.4.10). There are two common sources of factorizations. If every entry is a sum of products, 𝑚𝑖𝑗=∑𝑘𝑥𝑖𝑘𝑑𝑘𝑦𝑘𝑗, then 𝑀=𝑋𝐷𝑌 with 𝐷=diag(𝑑1,…,𝑑𝑟), and 𝑋 and 𝑌 are often triangular or Vandermonde matrices. If 𝑀 is a block matrix, block row and column operations (Theorem 2.4.34) multiply it by matrices of determinant 1 until it is block triangular. When the inner size 𝑟 is smaller than the size of 𝑀, the same factorization shows det𝑀=0 instead (Exercise 5.4.38). For instance, the matrix with entries 1+𝑥𝑖𝑦𝑗 is 𝑋𝑌 with rows (1,𝑥𝑖) in 𝑋 and columns (1,𝑦𝑗) in 𝑌. For two rows this gives (𝑥2−𝑥1)(𝑦2−𝑦1), and for three or more rows it gives 0.

Reach for it when the entries are power sums, binomial expansions, or sums over divisors, or when one block of a block matrix can be cleared. The chapter used it in Exercise 5.4.43, Exercise 5.4.46, and Exercise 5.5.47. The canonical example is the Hankel matrix of power sums, which is 𝑉𝖳𝑉 for a Vandermonde matrix 𝑉 (Problem 5.9).

Example 5.6.2 (One determinant, three ways). Let

𝐴=(0100203004050060)∈ℚ4×4.

Counting the surviving terms. A term sgn(𝜎)𝑎𝜎(1)1⋯𝑎𝜎(4)4 is nonzero only if all four entries are. The only nonzero entry of column 1 is in row 2, so 𝜎(1)=2, and column 4 forces 𝜎(4)=3. Then column 2, with nonzero entries in rows 1 and 3, must use row 1, and column 3 must use row 4. Exactly one permutation survives, 𝜎=(12)(34), which is even. So

det𝐴=𝑎21𝑎12𝑎43𝑎34=2⋅1⋅6⋅5=60.

A recurrence. 𝐴 is the tridiagonal matrix of Proposition 5.5.18 with every 𝑎𝑘=0, (𝑏1,𝑏2,𝑏3)=(1,3,5), and (𝑐1,𝑐2,𝑐3)=(2,4,6). The recurrence becomes 𝑑𝑚=−𝑏𝑚−1𝑐𝑚−1𝑑𝑚−2, so 𝑑1=0, 𝑑2=−2, 𝑑3=0, and 𝑑4=−30⋅(−2)=60.

Elimination. Swap rows 1 and 2. Subtracting 4 times the new row 2 from row 3 turns row 3 into (0,0,0,5), and swapping rows 3 and 4 leaves an upper triangular matrix with diagonal 2,1,6,5. There were two swaps, so det𝐴=60.

Elimination always works, but here it spends its steps on swaps and does not explain why the answer is a product of entries. The recurrence treats the whole family at once, and shows for example that 𝑑𝑛=0 for every odd 𝑛. The count explains why: since the only nonzero entries are next to the diagonal, a surviving 𝜎 sends every odd index to an even one and every even index to an odd one, and when 𝑛 is odd there are more odd indices than even ones. On a dense matrix the same count lists all 𝑛! permutations, and there it is the wrong tool.

Practice: Exercise 5.6.6 and Exercise 5.6.7.

5.6.2Proving an identity for every matrix

Four arguments recur in the chapter. They differ in what they ask of the identity, and in how they deal with matrices that are not invertible.

  • Recognize the determinant by its axioms (Technique 5.4.11). If one side, as a function of the columns of a matrix 𝐵, is multilinear and alternating, then it is its value at 𝐼𝑛 times det𝐵. There are no cases and no formulas. This proved Theorem 5.4.10 (second proof) and Proposition 5.3.17 (first proof). It needs an expression that is visibly linear in each column of something.
  • Reduce to elementary matrices (Technique 5.4.6). Check the identity on the three types and show that it survives multiplication. It handles transposes, which the axioms do not reach, but it only reaches invertible matrices, and the others need a separate argument (Exercise 5.4.35).
  • Manipulate the Leibniz formula. Reindex the sum over 𝑆𝑛 (Proposition 5.2.8), or apply an operation to every term: transposing (second proof of Theorem 5.4.14), conjugating (Exercise 5.3.28), reducing modulo 𝑝 (Proposition 5.3.20). It works when the identity matches the terms of one sum with the terms of another.
  • Polynomial identities (Technique 5.5.24). Prove the identity for invertible matrices, replace 𝐴 by 𝐴+𝑡𝐼𝑛, and observe that both sides are polynomial in 𝑡 and agree for all but finitely many 𝑡. This needs more scalars than the degree plus the number of bad values of 𝑡, which is automatic only over an infinite field (Exercise 5.6.10).

Example 5.6.3 (Multiplicativity, three ways). The text proved det(𝐴𝐵)=det𝐴det𝐵 twice. The first proof (Technique 5.4.6) factors 𝐵 into elementary matrices and needs a separate argument when 𝐵 is not invertible: then 𝐴𝐵 is not invertible either, and both sides are 0. The second (Technique 5.4.11) notices that 𝐵↦det(𝐴𝐵) is multilinear and alternating in the columns of 𝐵, so it equals det(𝐴𝐼𝑛)det𝐵.

A third proof makes the second one explicit. Column 𝑗 of 𝐴𝐵 is 𝐴𝐛𝑗=∑𝑘𝑏𝑘𝑗𝐚𝑘 (Proposition 2.4.8). Expanding every column as in Lemma 5.3.2, but with 𝐚𝑘 in place of 𝐞𝑘,

det(𝐴𝐵)=∑𝑓∈[𝑛][𝑛]𝑏𝑓(1)1⋯𝑏𝑓(𝑛)𝑛det(𝐚𝑓(1),…,𝐚𝑓(𝑛)).

The terms with 𝑓 not injective have a repeated column and vanish. For a permutation 𝜎, det(𝐚𝜎(1),…,𝐚𝜎(𝑛))=sgn(𝜎)det𝐴 by Theorem 5.2.31. So

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

The same computation, with 𝐞𝑘 in place of 𝐚𝑘, proved Theorem 5.3.3; the second proof quotes its outcome, Theorem 5.3.4, instead of repeating it. Run on a rectangular 𝐴 and 𝐵, the same expansion gives the Cauchy–Binet formula (Exercise 5.5.52), which neither of the first two proofs reaches.

The wrong tool here is the Leibniz formula applied to the entries of 𝐴𝐵: each entry is a sum of 𝑛 products, each of the 𝑛! terms multiplies out into 𝑛𝑛 products, and the cancellation is invisible. For det𝐴𝖳=det𝐴 the roles change. There the axioms are the wrong tool, since the multilinearity in rows that Technique 5.4.11 would need is what the theorem is supposed to establish, while elementary matrices and the Leibniz formula both work (Intuition (What the two proofs see)).

Matrices that are not invertible were handled in three ways. In Theorem 5.4.10, both sides are 0 on them. In Exercise 5.5.40, a polynomial in 𝑡 carries the identity from 𝐴+𝑡𝐼𝑛 to 𝐴, provided the field is infinite, and a separate rank argument covers every field. Proofs by the axioms never meet the case at all, which is one reason to prefer them when they apply. Practice: Exercise 5.6.8, Exercise 5.6.9, and Exercise 5.6.11.

5.6.3Showing that a determinant is nonzero

By Theorem 5.4.7, “det𝐴≠0” and “𝐴 is invertible” are the same statement, so either can be proved by proving the other.

  • A product of nonzero factors. A triangular matrix with nonzero diagonal, a Vandermonde matrix with distinct nodes, or any product of such matrices has nonzero determinant, since a field has no zero divisors (Proposition 1.1.17).
  • Reduce modulo a prime (Technique 5.3.21). For an integer matrix, one prime 𝑝 with det𝐴≠0 in 𝔽𝑝 suffices (Example 5.3.22). The converse inference fails: det𝐴=0 says only that 𝑝 divides det𝐴.
  • A polynomial in a parameter (Technique 5.3.18). A polynomial of degree 𝑛 has at most 𝑛 roots, so 𝐴+𝑡𝐼𝑛 is invertible for all but at most 𝑛 values of 𝑡 (Proposition 5.3.19). To show that such a polynomial is not the zero polynomial, one nonzero coefficient or one nonzero value is enough.
  • The kernel instead of the determinant. Show that 𝐴𝐱=𝟎 forces 𝐱=𝟎 (Corollary 5.4.8). This is often the shortest route, and sometimes the only one available.
  • A single surviving term. If exactly one permutation avoids the zeros of 𝐴, then det𝐴 is ± a product of nonzero entries (Exercise 5.3.30).

To show det𝐴=0, exhibit a dependence among the rows or columns, possibly after replacements; find a block of zeros that is too large (Exercise 5.3.29); factor 𝐴 through a smaller size (Exercise 5.4.38); or use a symmetry, such as det𝐴=det𝐴𝖳=−det𝐴 for skew-symmetric 𝐴 of odd size (Exercise 5.4.33). The symmetry argument divides by 1+1, and Exercise 5.6.13 replaces it by a pairing that does not.

Example 5.6.4 (One matrix, four certificates). Let 𝑛≥2, let 𝐽∈ℚ𝑛×𝑛 have every entry equal to 1, and let 𝐴=𝐽−𝐼𝑛, with 0 on the diagonal and 1 elsewhere.

The determinant. Example 5.4.24 with 𝑥=0 gives det𝐴=(𝑛−1)(−1)𝑛−1≠0.

The kernel. Suppose 𝐴𝐱=𝟎, and let 𝑠=𝑥1+⋯+𝑥𝑛. Row 𝑖 of the system says 𝑠−𝑥𝑖=0. So every 𝑥𝑖 equals 𝑠, hence 𝑠=𝑛𝑠, that is, (𝑛−1)𝑠=0, and 𝑠=0. So 𝐱=𝟎.

An inverse. Since 𝐽2=𝑛𝐽,

(𝐽−𝐼𝑛)(𝐽−(𝑛−1)𝐼𝑛)=𝑛𝐽−(𝑛−1)𝐽−𝐽+(𝑛−1)𝐼𝑛=(𝑛−1)𝐼𝑛,

so 𝐴−1=(𝑛−1)−1(𝐽−(𝑛−1)𝐼𝑛) (Technique 2.5.16).

Modulo 2. For even 𝑛, the reduction of 𝐴 is invertible over 𝔽2 (Exercise 5.3.40), so det𝐴 is odd. For odd 𝑛, every row of 𝐴 has the even sum 𝑛−1, so the reduction sends (1,…,1) to 𝟎, and this route gives no information.

The determinant contains the most information. The kernel argument is the shortest, needs no formula, and shows exactly where the hypothesis enters: over a field in which 𝑛−1=0, the vector (1,…,1) lies in the kernel. The inverse is the strongest certificate, and finding it used the algebra of 𝐽, not determinants. Reducing modulo a prime suits matrices whose pattern is simple modulo that prime, and this one is simple modulo 2 only for even 𝑛.

Practice: Exercise 5.6.12 and Exercise 5.6.13.

5.6.4Signs of permutations

There are three ways to compute sgn(𝜎): count the factors of any factorization into transpositions, count inversions (Corollary 5.2.24), or read off the lengths of the cycles (Proposition 5.2.26). Cycles are the quickest when 𝜎 is given in cycle notation, and inversions when it is given by its bottom row. In determinant computations, signs come from reordering rows or columns, and there it usually pays to count adjacent interchanges. That is how the cofactor sign (−1)𝑖+𝑗 arose (Lemma 5.5.2), and how a cyclic shift of 𝑛 columns costs (−1)𝑛−1 (Exercise 5.2.34).

Example 5.6.5 (Moving a block, three ways). Let 𝑛=𝑘+𝑚, and let 𝜋∈𝑆𝑛 have bottom row 𝑚+1,…,𝑚+𝑘,1,…,𝑚, the permutation that moves the block (0𝐴𝐵0) into block-diagonal form in Exercise 5.3.37.

Inversions. A pair of positions is out of order exactly when the first lies among the first 𝑘 positions and the second among the last 𝑚, so inv(𝜋)=𝑘𝑚 and sgn(𝜋)=(−1)𝑘𝑚.

Adjacent interchanges. Each of the 𝑚 entries 1,…,𝑚 moves to the front past each of the 𝑘 larger entries, one adjacent interchange at a time: 𝑘𝑚 interchanges.

Cycles. 𝜋 adds 𝑚 modulo 𝑛, so its cycles all have length 𝑛/gcd(𝑛,𝑚), there are gcd(𝑛,𝑚) of them, and sgn(𝜋)=(−1)𝑛−gcd(𝑛,𝑚). This is correct, but it depends on number theory, and checking that it agrees with (−1)𝑘𝑚 takes a parity argument about greatest common divisors. Cycle notation is the wrong tool for this permutation.

The definition of sgn through transpositions makes multiplicativity a one-line proof (Proposition 5.2.25), while proving it from inversions takes real work (Exercise 5.2.49). In general, define an invariant through the description in which its main property is easy, and compute it through the description in which it is quick.

Sums over 𝑆𝑛 with signs are evaluated by pairing terms of opposite sign (Technique 5.3.5). Pairing 𝜎 with 𝜎𝜏 for a fixed transposition 𝜏 proved that 𝐿 is alternating (Theorem 5.3.4) and that half of all permutations are even (Proposition 5.2.27). Pairing 𝜎 with 𝜎−1 handles alternating matrices (Exercise 5.6.13). Parity also proves that some configurations cannot be reached (Technique 5.2.19): the 15 puzzle (Exercise 5.2.47) and the rotation puzzle (Exercise 5.2.48). Practice: Exercise 5.6.14.

5.6.5Reading the chapter’s proofs

Uniqueness first, then existence. The existence proof was found backwards. We assumed that a determinant function exists and asked what it would have to be. Expanding every column (Lemma 5.3.2), letting alternation kill the terms with a repeated column, and sorting the survivors (Theorem 5.2.31) produced Theorem 5.3.3: at most one candidate, given by a formula. Only then did Section 5.3.2 verify that the candidate satisfies the axioms. The 2×2 case went the same way (Theorem 5.1.13). The derivation also showed what existence requires: sorting the columns must produce a well-defined sign, which is the parity theorem (Remark 5.2.32). This is the “derive the formula” move of Section 1.7.2 on a larger scale. The verification also shows where the difficulty lay. Normalization and multilinearity can be checked one term at a time, but alternation cannot, because equal columns do not force any single term to vanish.

Pairing instead of reindexing. Reindexing the Leibniz sum by 𝜎↦𝜎𝜏 shows 𝐿(𝐴)=−𝐿(𝐴), which gives 𝐿(𝐴)=0 only after dividing by 1+1. Pairing each 𝜎 with 𝜎𝜏 writes 𝐿(𝐴) as a sum of pairs that cancel, and never divides (Intuition (Why alternation needs care)). The same distinction separates antisymmetry from alternation (Proposition 5.1.11, Example 5.1.12), and it is the reason the definition asks for alternation. An argument that ends with “𝑥=−𝑥, so 𝑥=0” has used 1+1≠0 and should say so.

Tracking which axiom is used. Theorem 5.1.13 kept 𝐷(𝐼2) as an unknown and obtained a statement about every multilinear alternating function at no extra cost. The same bookkeeping showed that dependent columns force 𝐷(𝐴)=0 without normalization (Proposition 5.1.17), while the converse fails for 𝐷=0. So every proof of Theorem 5.4.7 must use normalization somewhere, and the proof in the text uses it through Proposition 5.4.1.

Columns first. The axioms speak about columns, so every statement about rows waited for Theorem 5.4.14 (Corollary 5.4.15, Technique 3.2.27). Statements that mix rows and columns, such as cofactor expansion, were proved for rows and transposed, or proved with whichever kind of operation was convenient.

5.6.6Common errors

Most of these appear in the chapter as find-the-error exercises.

  • det is not linear. In general det(𝐴+𝐵)≠det𝐴+det𝐵, and det(𝑐𝐴)=𝑐𝑛det𝐴 (Exercise 5.1.21, Exercise 5.3.26, Remark 5.1.4). Multilinear means linear in one column at a time. In the same way, a 2×2 block matrix is not a 2×2 matrix of numbers (Exercise 5.4.36).
  • Sarrus for larger matrices. The rule of Sarrus is a coincidence of size 3 (Remark 5.3.11, Exercise 5.3.25).
  • The sign of a cofactor. The sign (−1)𝑖+𝑗 comes from 𝑖−1 and 𝑗−1 adjacent interchanges. Interchanging row 𝑖 with row 1 directly puts the old row 1 out of order, and for 𝑖≥3 what remains is not the minor 𝐵𝑖𝑗̂ (Exercise 5.6.15). Forgetting the checkerboard altogether is the commoner version.
  • Row operations that scale. Replacing row 𝑖 by 2 times row 𝑖 minus 3 times row 1 doubles the determinant (Exercise 5.4.16).
  • Factoring a singular matrix. Only invertible matrices are products of elementary matrices (Exercise 5.4.35).
  • A converse for arbitrary 𝐷. A multilinear alternating 𝐷 can vanish on invertible matrices (Exercise 5.1.22).
  • Circularity. The existence proof in Section 5.3.2 rests on the parity theorem, so quoting Theorem 5.3.4 to prove that theorem is circular (Exercise 5.2.38).
  • Inversions under a transposition. They change by an odd number, not always by 1 (Exercise 5.2.35).
  • Polynomial arguments. Roots determine a polynomial only together with its leading coefficient (Exercise 5.5.42), and agreement at “all but finitely many points” proves nothing over a small finite field (Exercise 5.6.10).
  • Reducing modulo 𝑝 in the wrong direction. det𝐴=0 in 𝔽𝑝 does not make 𝐴 singular over ℚ (Technique 5.3.21, Exercise 5.3.36).
  • Hidden division by 1+1. Antisymmetry does not imply alternation over 𝔽2 (Example 5.1.12), and neither does det𝐴=−det𝐴 imply det𝐴=0 (Exercise 5.4.33).

Exercises

Exercise 5.6.6.routine For each matrix, choose a method, say why it fits, and compute the determinant.

  1. (a)𝐴=(210001200073120−4501399401)∈ℚ5×5.
  2. (b)𝐵(𝑥)=(11111𝑥1111𝑥1111𝑥), for 𝑥∈𝐹.
  3. (c)𝐶=(0003002005001007)∈ℚ4×4.

Solution.

Uses. Theorem 5.4.26 (Block-triangular matrices), Corollary 5.4.15 (Rows), Proposition 5.3.15 (Triangular matrices), Theorem 5.3.3 (The Leibniz formula), Theorem 5.2.31 (Alternating functions and permutations)

Techniques. Read structure off the Leibniz expansion (Technique 5.3.12), Expose a factor with row and column operations (Technique 5.5.22)

Hint 1. In (a), look at the upper right 2×3 corner. In (b), every row differs from row 1 in one entry. In (c), most columns have a single nonzero entry.
Hint 2. (a) is block lower triangular. In (b), subtract row 1 from the other rows. In (c), list the permutations that avoid the zeros, column by column.
Sketch. (a) Block lower triangular with diagonal blocks of determinants 3 and 25: det𝐴=75. (b) Subtracting row 1 from rows 2, 3, 4 leaves an upper triangular matrix with diagonal 1,𝑥−1,𝑥−1,𝑥−1: det𝐵(𝑥)=(𝑥−1)3. (c) Only 𝜎=(14)(23) survives, and it is even: det𝐶=1⋅5⋅2⋅3=30.

(a) The entries in rows 1,2 and columns 3,4,5 are all 0, so 𝐴=(𝐴10𝑋𝐴2) is block lower triangular, with

𝐴1=(2112),𝐴2=(120013401).

By Theorem 5.4.26, det𝐴=det𝐴1det𝐴2. Here det𝐴1=4−1=3, and expanding 𝐴2 along its first row, det𝐴2=1(1−0)−2(0−12)+0=25. So det𝐴=75. The block 𝑋 never enters; elimination would have computed with it anyway.

(b) Subtract row 1 from each of rows 2, 3, 4. These replacements do not change the determinant (Corollary 5.4.15), and row 𝑖 becomes (𝑥−1)𝐞𝑖𝖳. The result is upper triangular with diagonal entries 1,𝑥−1,𝑥−1,𝑥−1, so det𝐵(𝑥)=(𝑥−1)3 by Proposition 5.3.15. The factor 𝑥−1 was exposed by the replacements before anything was multiplied out.

(c) We find the permutations 𝜎 with 𝑐𝜎(𝑗)𝑗≠0 for every 𝑗. Columns 1, 2, 3 have their only nonzero entries in rows 4, 3, 2, so 𝜎(1)=4, 𝜎(2)=3, 𝜎(3)=2. Column 4 has nonzero entries in rows 1 and 4, and row 4 is taken, so 𝜎(4)=1. Thus 𝜎=(14)(23), a product of two transpositions, which is even (Proposition 5.2.25). By Theorem 5.3.3,

det𝐶=𝑐41𝑐32𝑐23𝑐14=1⋅5⋅2⋅3=30.

The entry 7 belongs to no surviving term. Elimination would need swaps, and would carry the 7 along until it ended up above the diagonal.

Exercise 5.6.7.standard For 𝑛≥1, let 𝑃𝑛∈ℚ𝑛×𝑛 have entries 𝑝𝑖𝑗=(𝑖+𝑗−2𝑖−1), so that

𝑃4=(1111123413610141020).
  1. (a)Show that det𝑃𝑛=1 for every 𝑛. You may use Pascal’s rule (𝑚𝑘)=(𝑚−1𝑘)+(𝑚−1𝑘−1) for 𝑚,𝑘≥1, and (𝑚𝑘)=0 for 0≤𝑚<𝑘.
  2. (b)Deduce that 𝑃𝑛−1 has integer entries, and compute 𝑃3−1.

Solution (by row and column operations).

Uses. Corollary 5.4.15 (Rows), Lemma 5.1.8 (Column replacement), Proposition 5.3.17 (Block-diagonal matrices), Corollary 5.5.12 (Integer inverses), Definition 5.5.6 (Cofactors, cofactor matrix, adjugate)

Techniques. Expose a factor with row and column operations (Technique 5.5.22), Induction on matrix size (Technique 5.5.17), Factor the matrix (Technique 5.6.1)

Hint 1. Subtract each row from the row below it, starting from the bottom. What does Pascal’s rule do to the entries?
Hint 2. After the row operations, the first column is 𝐞1. Now subtract each column from the column to its right, starting from the right, and identify the lower right block.
Sketch. Replacing row 𝑖 by row 𝑖 minus row 𝑖−1 (for 𝑖=𝑛,…,2) turns the entries into (𝑖+𝑗−3𝑖−1), so column 1 becomes 𝐞1. Replacing column 𝑗 by column 𝑗 minus column 𝑗−1 (for 𝑗=𝑛,…,2) turns row 1 into 𝐞1𝖳 and the rest into (𝑖+𝑗−4𝑖−2), which is 𝑃𝑛−1. So det𝑃𝑛=det𝑃𝑛−1=⋯=1, and 𝑃𝑛−1=adj𝑃𝑛 is integral.

(a) We show det𝑃𝑛=det𝑃𝑛−1 for 𝑛≥2; since 𝑃1=(1), induction on 𝑛 then gives det𝑃𝑛=1.

Rows. For 𝑖=𝑛,𝑛−1,…,2 in turn, subtract row 𝑖−1 from row 𝑖. Since we work from the bottom up, row 𝑖−1 is still the original row when it is used. For 𝑖≥2, Pascal’s rule with 𝑚=𝑖+𝑗−2≥1 and 𝑘=𝑖−1≥1 gives the new entry

(𝑖+𝑗−2𝑖−1)−(𝑖+𝑗−3𝑖−2)=(𝑖+𝑗−3𝑖−1).

For 𝑗=1 this is (𝑖−2𝑖−1)=0. So column 1 is now 𝐞1, and row 1 is still (1,1,…,1).

Columns. For 𝑗=𝑛,𝑛−1,…,2 in turn, subtract column 𝑗−1 from column 𝑗. In row 1 the new entries are 1−1=0. In a row 𝑖≥2, Pascal’s rule with 𝑚=𝑖+𝑗−3≥1 and 𝑘=𝑖−1≥1 gives

(𝑖+𝑗−3𝑖−1)−(𝑖+𝑗−4𝑖−1)=(𝑖+𝑗−4𝑖−2)=((𝑖−1)+(𝑗−1)−2(𝑖−1)−1),

the (𝑖−1,𝑗−1) entry of 𝑃𝑛−1. Column 1 is unchanged.

The matrix is now (100𝑃𝑛−1), and all the operations were replacements, which do not change the determinant (Corollary 5.4.15, Lemma 5.1.8). By Proposition 5.3.17, det𝑃𝑛=det𝑃𝑛−1.

(b) Since det𝑃𝑛=1 and 𝑃𝑛 has integer entries, 𝑃𝑛−1=adj𝑃𝑛 has integer entries (Corollary 5.5.12). For 𝑃3=(111123136) the cofactors are

𝑐11=3,𝑐12=−3,𝑐13=1,𝑐21=−3,𝑐22=5,𝑐23=−2,𝑐31=1,𝑐32=−2,𝑐33=1,

so

𝑃3−1=(3−31−35−21−21).

Multiplying out confirms 𝑃3𝑃3−1=𝐼3.

Solution (by factoring).

Hint 1. Look for a lower triangular 𝐿 with 𝑃𝑛=𝐿𝐿𝖳. Try 𝐿 with entries (𝑖−1𝑘−1), the rows of Pascal’s triangle.
Hint 2. The (𝑖,𝑗) entry of 𝐿𝐿𝖳 is ∑𝑘(𝑖−1𝑘−1)(𝑗−1𝑘−1). Count the ways to choose 𝑗−1 objects from 𝑖−1 red and 𝑗−1 blue ones.
Sketch. With 𝑙𝑖𝑘=(𝑖−1𝑘−1), 𝐿 is lower triangular with 1s on the diagonal, and Vandermonde’s identity gives (𝐿𝐿𝖳)𝑖𝑗=∑𝑘(𝑖−1𝑘−1)(𝑗−1𝑗−𝑘)=(𝑖+𝑗−2𝑗−1)=𝑝𝑖𝑗. So det𝑃𝑛=(det𝐿)2=1.

Let 𝐿∈ℚ𝑛×𝑛 have entries 𝑙𝑖𝑘=(𝑖−1𝑘−1). Then 𝑙𝑖𝑘=0 for 𝑘>𝑖 and 𝑙𝑖𝑖=1, so 𝐿 is lower triangular with 1s on the diagonal, and det𝐿=1 by Proposition 5.3.15. The terms with 𝑘>min(𝑖,𝑗) vanish, and for 𝑘≤𝑗 we have (𝑗−1𝑘−1)=(𝑗−1𝑗−𝑘), so

(𝐿𝐿𝖳)𝑖𝑗=∑𝑘=1min(𝑖,𝑗)(𝑖−1𝑘−1)(𝑗−1𝑗−𝑘).

The 𝑘-th term counts the ways to choose 𝑗−1 objects from a set of 𝑖−1 red and 𝑗−1 blue objects using exactly 𝑘−1 red and 𝑗−𝑘 blue ones. Every choice has between 0 and min(𝑖,𝑗)−1 red objects, so the sum is (𝑖+𝑗−2𝑗−1)=(𝑖+𝑗−2𝑖−1)=𝑝𝑖𝑗. Hence 𝑃𝑛=𝐿𝐿𝖳, and det𝑃𝑛=det𝐿det𝐿𝖳=1 by Theorem 5.4.10 and Theorem 5.4.14.

The row operations of the first approach compute this factorization step by step. The second approach finds it at once, but only after guessing 𝐿.

Exercise 5.6.8.standard Let 𝐴∈𝐹𝑛×𝑛. For 𝑋∈𝐹𝑛×𝑛 with columns 𝐱1,…,𝐱𝑛, let

𝐷(𝑋)=∑𝑗=1𝑛det(𝐱1,…,𝐱𝑗−1,𝐴𝐱𝑗,𝐱𝑗+1,…,𝐱𝑛),

the sum of the determinants obtained by applying 𝐴 to one column at a time.

  1. (a)Show that 𝐷(𝑋)=(tr𝐴)det𝑋 for every 𝑋∈𝐹𝑛×𝑛.
  2. (b)Deduce that for every multilinear alternating 𝐸:𝐹𝑛×𝑛→𝐹,

    ∑𝑗=1𝑛𝐸(𝐱1,…,𝐴𝐱𝑗,…,𝐱𝑛)=(tr𝐴)𝐸(𝐱1,…,𝐱𝑛).

Solution.

Uses. Theorem 5.3.4 (Existence and uniqueness of the determinant), Proposition 5.1.10 (Alternating implies antisymmetric), Definition 5.1.1 (Determinant function), Definition 2.4.26 (Trace)

Techniques. Recognize the determinant by its axioms (Technique 5.4.11), Expand by multilinearity (Technique 5.1.7)

Hint 1. Do not compute. Show that 𝐷 is multilinear and alternating, and evaluate it at 𝐼𝑛.
Hint 2. For alternation, suppose columns 𝑘 and 𝑙 of 𝑋 are equal. Only the summands 𝑗=𝑘 and 𝑗=𝑙 survive. How are their matrices related?
Hint 3. 𝐷(𝐼𝑛)=∑𝑗det(𝐞1,…,𝐴𝐞𝑗,…,𝐞𝑛). Expand 𝐴𝐞𝑗=∑𝑖𝑎𝑖𝑗𝐞𝑖 in column 𝑗.
Sketch. Each summand is multilinear (in column 𝑗 it is det composed with 𝐱↦𝐴𝐱), so 𝐷 is. If 𝐱𝑘=𝐱𝑙 with 𝑘≠𝑙, the summands with 𝑗∉{𝑘,𝑙} have two equal columns, and the summands 𝑗=𝑘 and 𝑗=𝑙 differ by interchanging columns 𝑘 and 𝑙, so they cancel. Hence 𝐷=𝐷(𝐼𝑛)det, and 𝐷(𝐼𝑛)=∑𝑗𝑎𝑗𝑗=tr𝐴.

(a) Write 𝐷=𝐷1+⋯+𝐷𝑛, where 𝐷𝑗(𝑋) is the 𝑗-th summand. We check the hypotheses of Theorem 5.3.4.

Multilinear. In column 𝑗, 𝐷𝑗 is the composite of the linear map 𝐱↦𝐴𝐱 with det as a function of column 𝑗, so it is linear in column 𝑗. In every other column 𝐷𝑗 is linear because det is. So each 𝐷𝑗 is multilinear, and so is their sum, since a sum of functions that are linear in a column is linear in that column.

Alternating. Suppose 𝐱𝑘=𝐱𝑙=𝐱 for some 𝑘<𝑙. If 𝑗∉{𝑘,𝑙}, the matrix in 𝐷𝑗(𝑋) still has 𝐱 in columns 𝑘 and 𝑙, so 𝐷𝑗(𝑋)=0. The matrix in 𝐷𝑘(𝑋) has 𝐴𝐱 in column 𝑘 and 𝐱 in column 𝑙; the matrix in 𝐷𝑙(𝑋) has 𝐱 in column 𝑘 and 𝐴𝐱 in column 𝑙, and agrees with the first elsewhere. So it is the first matrix with columns 𝑘 and 𝑙 interchanged, and 𝐷𝑙(𝑋)=−𝐷𝑘(𝑋) by Proposition 5.1.10. Hence 𝐷(𝑋)=0.

By Theorem 5.3.4, 𝐷(𝑋)=𝐷(𝐼𝑛)det𝑋. To find 𝐷(𝐼𝑛), note that 𝐴𝐞𝑗=∑𝑖𝑎𝑖𝑗𝐞𝑖 and expand 𝐷𝑗(𝐼𝑛) in column 𝑗:

𝐷𝑗(𝐼𝑛)=∑𝑖=1𝑛𝑎𝑖𝑗det(𝐞1,…,𝐞𝑗−1,𝐞𝑖,𝐞𝑗+1,…,𝐞𝑛).

For 𝑖≠𝑗 the vector 𝐞𝑖 appears twice, so only 𝑖=𝑗 survives, with value 𝑎𝑗𝑗det𝐼𝑛=𝑎𝑗𝑗. So 𝐷(𝐼𝑛)=∑𝑗𝑎𝑗𝑗=tr𝐴, as desired.

(b) By Theorem 5.3.4, 𝐸=𝐸(𝐼𝑛)det. Applying this to each summand and using (a),

∑𝑗𝐸(𝐱1,…,𝐴𝐱𝑗,…,𝐱𝑛)=𝐸(𝐼𝑛)𝐷(𝑋)=𝐸(𝐼𝑛)(tr𝐴)det𝑋=(tr𝐴)𝐸(𝑋).

The left side of (b) makes sense for any alternating form on a vector space, without a basis, so it can serve as a definition of the trace of an operator; compare Section 13.4. Over ℝ, 𝐷(𝑋) is the coefficient of 𝑡 in det(𝑋+𝑡𝐴𝑋)=det(𝐼𝑛+𝑡𝐴)det𝑋, so (a) says that the trace is the rate at which det(𝐼𝑛+𝑡𝐴) changes at 𝑡=0 (Remark 5.5.28).

Exercise 5.6.9.hard Let 𝐴,𝐵∈𝐹𝑛×𝑛 and 𝑡∈𝐹. We show that

det(𝑡𝐼𝑛−𝐴𝐵)=det(𝑡𝐼𝑛−𝐵𝐴).
  1. (a)Prove this when 𝐴 is invertible.
  2. (b)Let 𝐹 be infinite. Fix 𝑡, and show that 𝑔(𝑠)=det(𝑡𝐼𝑛−(𝐴+𝑠𝐼𝑛)𝐵)−det(𝑡𝐼𝑛−𝐵(𝐴+𝑠𝐼𝑛)) satisfies 𝑔(𝑠)=𝑒0+𝑒1𝑠+⋯+𝑒𝑛𝑠𝑛 for some 𝑒0,…,𝑒𝑛∈𝐹 and all 𝑠∈𝐹, and that 𝑔(𝑠)=0 for all but at most 𝑛 values of 𝑠. Conclude that the identity holds for every 𝐴.
  3. (c)Prove the identity over every field, using Exercise 5.5.47 when 𝑡≠0.

Solution.

Uses. Proposition 5.4.17 (Similar matrices have equal determinants), Theorem 5.4.10 (Multiplicativity), Proposition 5.3.19 (det(𝐴+𝑡𝐼𝑛) as a function of 𝑡), Lemma 3.4.23 (Too many roots), Exercise 5.5.47, Exercise 5.1.5

Techniques. Polynomial identity arguments (Technique 5.5.24), det is a polynomial in the entries (Technique 5.3.18)

Hint 1. For (a), 𝐵𝐴=𝐴−1(𝐴𝐵)𝐴.
Hint 2. For (b), the entries of 𝑡𝐼𝑛−(𝐴+𝑠𝐼𝑛)𝐵 have the form 𝛼+𝛽𝑠. What does the Leibniz formula then say about its determinant? For which 𝑠 does (a) apply to 𝐴+𝑠𝐼𝑛?
Hint 3. For (c), write 𝑡𝐼𝑛−𝐴𝐵=𝑡(𝐼𝑛−𝑡−1𝐴𝐵) and pull out 𝑡𝑛. The case 𝑡=0 is multiplicativity.
Sketch. (a) 𝑡𝐼𝑛−𝐵𝐴=𝐴−1(𝑡𝐼𝑛−𝐴𝐵)𝐴 is similar to 𝑡𝐼𝑛−𝐴𝐵. (b) Both determinants are sums of products of 𝑛 affine functions of 𝑠, hence polynomial of degree at most 𝑛 in 𝑠. By (a), 𝑔(𝑠)=0 whenever 𝐴+𝑠𝐼𝑛 is invertible, which fails for at most 𝑛 values of 𝑠. An infinite field supplies 𝑛+1 other values, so all 𝑒𝑘=0 and 𝑔(0)=0. (c) For 𝑡≠0, det(𝑡𝐼𝑛−𝐴𝐵)=𝑡𝑛det(𝐼𝑛+(−𝑡−1𝐴)𝐵)=𝑡𝑛det(𝐼𝑛+𝐵(−𝑡−1𝐴))=det(𝑡𝐼𝑛−𝐵𝐴). For 𝑡=0, det(−𝐴𝐵)=(−1)𝑛det𝐴det𝐵=det(−𝐵𝐴).

(a) Since 𝐴 is invertible, 𝐵𝐴=𝐴−1(𝐴𝐵)𝐴, so

𝑡𝐼𝑛−𝐵𝐴=𝐴−1(𝑡𝐼𝑛)𝐴−𝐴−1(𝐴𝐵)𝐴=𝐴−1(𝑡𝐼𝑛−𝐴𝐵)𝐴.

Similar matrices have equal determinants (Proposition 5.4.17), so det(𝑡𝐼𝑛−𝐵𝐴)=det(𝑡𝐼𝑛−𝐴𝐵).

(b) Every entry of 𝑡𝐼𝑛−(𝐴+𝑠𝐼𝑛)𝐵=(𝑡𝐼𝑛−𝐴𝐵)−𝑠𝐵 has the form 𝛼+𝛽𝑠 with 𝛼,𝛽∈𝐹 independent of 𝑠. Each term of the Leibniz formula is ± a product of 𝑛 such entries, and multiplying out a product of 𝑛 affine functions of 𝑠 gives 𝑐0+𝑐1𝑠+⋯+𝑐𝑛𝑠𝑛 for scalars 𝑐𝑘 independent of 𝑠 (as in the proof of Proposition 5.3.19). Summing over 𝑆𝑛, the first determinant has this form, and likewise the second, whose matrix (𝑡𝐼𝑛−𝐵𝐴)−𝑠𝐵 also has affine entries. Their difference 𝑔 is therefore 𝑒0+𝑒1𝑠+⋯+𝑒𝑛𝑠𝑛 for some 𝑒𝑘∈𝐹.

By Proposition 5.3.19, det(𝐴+𝑠𝐼𝑛) is the value at 𝑠 of a polynomial of degree 𝑛 with leading coefficient 1. That polynomial is not zero, so by Lemma 3.4.23 it has at most 𝑛 roots, and 𝐴+𝑠𝐼𝑛 is invertible for all but at most 𝑛 values of 𝑠. For each such 𝑠, (a) applied to 𝐴+𝑠𝐼𝑛 gives 𝑔(𝑠)=0.

Since 𝐹 is infinite, there are 𝑛+1 distinct values of 𝑠 at which 𝐴+𝑠𝐼𝑛 is invertible. The polynomial 𝑒0+𝑒1𝑥+⋯+𝑒𝑛𝑥𝑛∈𝐹[𝑥]≤𝑛 vanishes at all of them, so it is zero by Lemma 3.4.23, and 𝑔(𝑠)=0 for every 𝑠. At 𝑠=0 this is the identity for 𝐴.

(c) If 𝑡≠0, then 𝑡𝐼𝑛−𝐴𝐵=𝑡(𝐼𝑛+(−𝑡−1𝐴)𝐵), so by Exercise 5.1.5 and Exercise 5.5.47 (with 𝑚=𝑛, and −𝑡−1𝐴 in place of 𝐴),

det(𝑡𝐼𝑛−𝐴𝐵)=𝑡𝑛det(𝐼𝑛+(−𝑡−1𝐴)𝐵)=𝑡𝑛det(𝐼𝑛+𝐵(−𝑡−1𝐴))=det(𝑡𝐼𝑛−𝐵𝐴).

If 𝑡=0, then by Exercise 5.1.5 and Theorem 5.4.10, det(−𝐴𝐵)=(−1)𝑛det𝐴det𝐵=(−1)𝑛det𝐵det𝐴=det(−𝐵𝐴).

The two proofs pay in different ways. The polynomial argument has to avoid the at most 𝑛 values where 𝐴+𝑠𝐼𝑛 is singular and still find 𝑛+1 others, so it needs more than 2𝑛 scalars, which an infinite field guarantees. Sylvester’s identity holds over every field, but the reduction to it divides by 𝑡, so 𝑡=0 is a separate case. In Section 7.3 the identity says that 𝐴𝐵 and 𝐵𝐴 have the same characteristic polynomial.

Exercise 5.6.10.standard Find the error in the following argument, and give a matrix 𝐴∈𝔽22×2 for which its key step fails. (The claim itself is true over every field; see the second approach to Exercise 5.5.40.)

Claim. For every field 𝐹, every 𝑛≥2, and every 𝐴∈𝐹𝑛×𝑛, adj(adj𝐴)=(det𝐴)𝑛−2𝐴, with the convention 00=1 when 𝑛=2.

Proof. For invertible 𝐴 this is a short computation (Exercise 5.5.40). For general 𝐴, the entries of adj(adj(𝐴+𝑡𝐼𝑛)) and of det(𝐴+𝑡𝐼𝑛)𝑛−2(𝐴+𝑡𝐼𝑛) are polynomial functions of 𝑡. They agree whenever 𝐴+𝑡𝐼𝑛 is invertible, that is, for all but at most 𝑛 values of 𝑡. Polynomial functions that agree at all but finitely many points are equal, so they also agree at 𝑡=0.

Solution.

Uses. Lemma 3.4.23 (Too many roots), Proposition 5.3.19 (det(𝐴+𝑡𝐼𝑛) as a function of 𝑡), Definition 5.5.6 (Cofactors, cofactor matrix, adjugate)

Techniques. Polynomial identity arguments (Technique 5.5.24), Try small cases and small fields (Technique 1.2.38)

Hint 1. Over a finite field, how many values of 𝑡 can be left after excluding up to 𝑛 of them?
Hint 2. Polynomials of degree at most 𝑑 that agree at 𝑑+1 distinct points are equal. What are the degrees here? For the example, try a diagonal matrix with diagonal entries 0 and 1.
Sketch. The last step needs more agreement points than the degree of the polynomials, which is up to (𝑛−1)2. Over a finite field, “all but at most 𝑛 values” can be very few values, or none: for 𝐴=diag(0,1)∈𝔽22×2, both 𝐴 and 𝐴+𝐼2=diag(1,0) are singular. The argument is valid once |𝐹|≥𝑛2−𝑛+2, in particular over every infinite field.

The error is the last step. Two polynomial functions of degree at most 𝑑 are equal if they agree at 𝑑+1 distinct points (Lemma 3.4.23), and “all but finitely many points” supplies that many points only if the field has enough elements. Over a finite field it can supply none.

The example. Let 𝐴=(0001)∈𝔽22×2. Then 𝐴+0⋅𝐼2=𝐴 and 𝐴+1⋅𝐼2=(1000) are both singular, so there is no 𝑡∈𝔽2 at which the two sides are known to agree, and the argument proves nothing about 𝐴.

When the argument works. The entries of 𝐴+𝑡𝐼𝑛 have degree at most 1 in 𝑡, so the cofactors of 𝐴+𝑡𝐼𝑛, which are determinants of size 𝑛−1, have degree at most 𝑛−1, and the entries of adj(adj(𝐴+𝑡𝐼𝑛)) have degree at most (𝑛−1)2. On the other side, det(𝐴+𝑡𝐼𝑛)𝑛−2 has degree at most 𝑛(𝑛−2), so the entries of det(𝐴+𝑡𝐼𝑛)𝑛−2(𝐴+𝑡𝐼𝑛) have degree at most 𝑛(𝑛−2)+1=(𝑛−1)2. The difference has degree at most (𝑛−1)2, and it vanishes at every 𝑡 for which 𝐴+𝑡𝐼𝑛 is invertible, of which there are at least |𝐹|−𝑛 (Proposition 5.3.19). So the argument is correct when |𝐹|−𝑛≥(𝑛−1)2+1, that is, |𝐹|≥𝑛2−𝑛+2, and in particular over every infinite field.

Exercise 5.6.11.standard
  1. (a)Let 𝐴∈ℝ𝑛×𝑛 be invertible. Show that det𝐴>0 if and only if 𝐴 is a product of replacement matrices 𝐸𝑖𝑐𝑗 and scaling matrices 𝐸𝑖𝑐 with 𝑐>0.
  2. (b)Write the swap 𝐸12∈ℝ2×2 as a product of three replacements and one scaling, and explain why some factor must be a scaling by a negative number.

Solution.

Uses. Proposition 5.4.1 (Determinants of elementary matrices), Corollary 5.4.4 (Products of elementary matrices), Exercise 5.4.48, Proposition 5.1.10 (Alternating implies antisymmetric)

Techniques. Reduce to elementary matrices (Technique 5.4.6)

Hint 1. One direction is multiplicativity. For the other, Exercise 5.4.48 writes every invertible matrix as replacements times one scaling.
Hint 2. For (b), the second proof of Proposition 5.1.10 performs a swap with three column replacements and one sign change.
Sketch. (a) Replacements have determinant 1 and 𝐸𝑖𝑐 has determinant 𝑐>0, so such a product has positive determinant. Conversely, 𝐴=𝐸1⋯𝐸𝑡𝐸𝑛,det𝐴 with replacements 𝐸𝑘, and 𝐸𝑛,det𝐴 is a positive scaling when det𝐴>0. (b) 𝐸12=𝐸1,1,2𝐸2,−1,1𝐸1,1,2𝐸2,−1; a product of replacements and positive scalings has positive determinant, while det𝐸12=−1.

(a) (⇐) By Proposition 5.4.1, a replacement has determinant 1 and 𝐸𝑖𝑐 has determinant 𝑐. So by Corollary 5.4.4, a product of replacements and scalings 𝐸𝑖𝑐 with 𝑐>0 has determinant equal to the product of the scaling factors, which is positive.

(⇒) By Exercise 5.4.48 (b), 𝐴=𝐸1⋯𝐸𝑡𝐸𝑛,det𝐴, where 𝐸1,…,𝐸𝑡 are replacements. If det𝐴>0, the last factor is a scaling by a positive number. (If 𝑛=1, then 𝐴=(det𝐴)=𝐸1,det𝐴 directly.)

(b) In the second proof of Proposition 5.1.10, the columns (𝐱,𝐲) become (𝐱+𝐲,𝐲), then (𝐱+𝐲,−𝐱), then (𝐲,−𝐱), and finally (𝐲,𝐱) after scaling the second column by −1. Starting from 𝐼2 and recording each column operation as a multiplication on the right (Proposition 3.2.28), this reads

𝐸12=𝐸1,1,2𝐸2,−1,1𝐸1,1,2𝐸2,−1=(1011)(1−101)(1011)(100−1),

and multiplying out gives (0110). A negative scaling is unavoidable: by (a), a product of replacements and positive scalings has positive determinant, while det𝐸12=−1. Over ℝ, the sign of the determinant splits the invertible matrices into two classes, and the factors allowed in (a) never leave the class with positive determinant; Section 8.4 returns to this for rotations and reflections.

Exercise 5.6.12.standard Prove each statement, choosing a suitable certificate of invertibility.

  1. (a)The matrix 𝐴∈ℚ4×4 with entries 𝑎𝑖𝑗=𝑖𝑗 is invertible.
  2. (b)For 𝑥∈ℝ, let 𝑀(𝑥)=(𝑥101𝑥101𝑥+1). Then 𝑀(𝑥) is invertible for every integer 𝑥, but not for every real 𝑥.
  3. (c)For every 𝐴∈ℝ𝑚×𝑛, the matrix 𝐼𝑛+𝐴𝖳𝐴 is invertible. (For 𝐯∈ℝ𝑛, 𝐯𝖳𝐯=𝑣12+⋯+𝑣𝑛2.)
  4. (d)For every 𝐴∈ℚ𝑛×𝑛, the matrix 𝐴+𝑡𝐼𝑛 is invertible for some integer 𝑡 with 0≤𝑡≤𝑛.

Solution.

Uses. Theorem 5.5.21 (The Vandermonde determinant), Exercise 5.5.26, Corollary 5.4.15 (Rows), Theorem 5.4.7 (Invertibility and the determinant), Corollary 5.4.8 (Vanishing determinants), Proposition 2.4.23 (Transpose of a product), Proposition 5.3.19 (det(𝐴+𝑡𝐼𝑛) as a function of 𝑡), Lemma 3.4.23 (Too many roots)

Techniques. Reduce modulo 𝑝 (Technique 5.3.21), det is a polynomial in the entries (Technique 5.3.18)

Hint 1. (a) Factor 𝑖 out of row 𝑖. (b) Compute det𝑀(𝑥) as a polynomial in 𝑥 and look at its parity. (c) Do not compute a determinant: look at the kernel. (d) How many roots can det(𝐴+𝑡𝐼𝑛) have?
Hint 2. (b) The polynomial is 𝑥3+𝑥2−2𝑥−1, and 𝑥3+𝑥2=𝑥2(𝑥+1) is even for integers. For real 𝑥, compare the values at 1 and 2. (c) If (𝐼𝑛+𝐴𝖳𝐴)𝐯=𝟎, multiply on the left by 𝐯𝖳.
Sketch. (a) Row 𝑖 is 𝑖(1,𝑖,𝑖2,𝑖3), so det𝐴=4!det𝑉(1,2,3,4)=24⋅12=288. (b) det𝑀(𝑥)=𝑥3+𝑥2−2𝑥−1 is odd at every integer, but changes sign between 1 and 2. (c) 𝐯𝖳(𝐼𝑛+𝐴𝖳𝐴)𝐯=𝐯𝖳𝐯+(𝐴𝐯)𝖳(𝐴𝐯) is a sum of squares, zero only for 𝐯=𝟎. (d) det(𝐴+𝑡𝐼𝑛) is a nonzero polynomial of degree 𝑛, so it cannot vanish at all of 0,1,…,𝑛.

(a) Row 𝑖 of 𝐴 is (𝑖,𝑖2,𝑖3,𝑖4)=𝑖(1,𝑖,𝑖2,𝑖3), which is 𝑖 times row 𝑖 of the Vandermonde matrix 𝑉(1,2,3,4). Pulling the factor 𝑖 out of each row (Corollary 5.4.15) and using Exercise 5.5.26 (a),

det𝐴=1⋅2⋅3⋅4⋅det𝑉(1,2,3,4)=24⋅(1!⋅2!⋅3!)=288≠0.

So 𝐴 is invertible by Theorem 5.4.7. Recognizing the form made the computation unnecessary; even det𝑉≠0 follows at once from Theorem 5.5.21, since the nodes are distinct.

(b) Expanding along the first row,

det𝑀(𝑥)=𝑥(𝑥(𝑥+1)−1)−1⋅((𝑥+1)−0)=𝑥3+𝑥2−2𝑥−1.

If 𝑥 is an integer, 𝑥3+𝑥2=𝑥2(𝑥+1) is a product with an even factor, and 2𝑥 is even, so det𝑀(𝑥) is odd, in particular nonzero, and 𝑀(𝑥) is invertible. (This is Technique 5.3.21 applied to a family: modulo 2 the determinant is 1 for every integer 𝑥.) On the other hand det𝑀(1)=−1<0<7=det𝑀(2), and a polynomial function is continuous, so by the intermediate value theorem det𝑀(𝑥0)=0 for some real 𝑥0∈(1,2), and 𝑀(𝑥0) is not invertible.

(c) Let 𝐶=𝐼𝑛+𝐴𝖳𝐴, and suppose 𝐶𝐯=𝟎. By Proposition 2.4.23, 𝐯𝖳𝐴𝖳𝐴𝐯=(𝐴𝐯)𝖳(𝐴𝐯), so

0=𝐯𝖳𝐶𝐯=𝐯𝖳𝐯+(𝐴𝐯)𝖳(𝐴𝐯)=∑𝑖=1𝑛𝑣𝑖2+∑𝑘=1𝑚(𝐴𝐯)𝑘2.

A sum of squares of real numbers is 0 only if every term is 0, so 𝐯=𝟎. By Corollary 5.4.8, 𝐶 is invertible. A determinant would be hopeless here: det𝐶 is a polynomial of degree up to 2𝑛 in the entries of 𝐴, with no evident sign.

(d) By Proposition 5.3.19, det(𝐴+𝑡𝐼𝑛)=𝑝(𝑡) for the polynomial 𝑝=𝑥𝑛+𝑐𝑛−1𝑥𝑛−1+⋯+𝑐0∈ℚ[𝑥]. Since its coefficient of 𝑥𝑛 is 1, 𝑝 is not zero, so by Lemma 3.4.23 it does not vanish at all 𝑛+1 points 0,1,…,𝑛. For a point 𝑡 where it does not vanish, 𝐴+𝑡𝐼𝑛 is invertible by Theorem 5.4.7.

Exercise 5.6.13.hard Call 𝐴∈𝐹𝑛×𝑛 alternating if 𝑎𝑖𝑖=0 and 𝑎𝑗𝑖=−𝑎𝑖𝑗 for all 𝑖,𝑗. (When 1+1≠0 this means skew-symmetric; over 𝔽2 it means symmetric with zero diagonal.) Let 𝑛 be odd and 𝐴 alternating, and write 𝑡𝜎(𝐴)=sgn(𝜎)𝑎𝜎(1)1⋯𝑎𝜎(𝑛)𝑛 for the terms of the Leibniz formula.

  1. (a)Show that 𝑡𝜎−1(𝐴)=−𝑡𝜎(𝐴) for every 𝜎∈𝑆𝑛.
  2. (b)Show that if 𝜎2=id, then 𝜎 has a fixed point, and 𝑡𝜎(𝐴)=0.
  3. (c)Deduce that det𝐴=0, over every field.
  4. (d)Exercise 5.4.33 proved (c) when 1+1≠0 by showing det𝐴=−det𝐴. Explain why that argument fails over 𝔽2, why this one does not, and where the hypothesis 𝑎𝑖𝑖=0 is used.

Solution.

Uses. Theorem 5.3.3 (The Leibniz formula), Proposition 5.2.25 (Multiplicativity of the sign), Proposition 5.2.16 (Cycle decomposition), Proposition 5.2.8 (Reindexing sums over 𝑆𝑛)

Techniques. Cancel terms in pairs (Technique 5.3.5), Read structure off the Leibniz expansion (Technique 5.3.12)

Hint 1. In 𝑡𝜎−1(𝐴), reindex the product by 𝑗=𝜎(𝑖), and then use 𝑎𝑖𝜎(𝑖)=−𝑎𝜎(𝑖)𝑖.
Hint 2. If 𝜎2=id, every orbit of 𝜎 has one or two elements. Since 𝑛 is odd, they cannot all have two.
Hint 3. Pair 𝜎 with 𝜎−1. The permutations equal to their own inverse are left over, and (b) disposes of them.
Sketch. (a) ∏𝑗𝑎𝜎−1(𝑗)𝑗=∏𝑖𝑎𝑖𝜎(𝑖)=(−1)𝑛∏𝑖𝑎𝜎(𝑖)𝑖 and sgn(𝜎−1)=sgn(𝜎). (b) Orbits of an involution have size 1 or 2 and partition a set of odd size, so some 𝑗 is fixed, and 𝑎𝑗𝑗=0 is a factor. (c) 𝜎↦𝜎−1 is an involution of 𝑆𝑛 whose fixed points are the 𝜎 with 𝜎2=id; pairs cancel by (a), and fixed points contribute 0 by (b). (d) det𝐴=−det𝐴 only gives (1+1)det𝐴=0; pairing never divides.

(a) By definition, 𝑡𝜎−1(𝐴)=sgn(𝜎−1)∏𝑗=1𝑛𝑎𝜎−1(𝑗)𝑗. As 𝑖 runs over [𝑛], so does 𝑗=𝜎(𝑖), so the product can be indexed by 𝑖 instead:

∏𝑗=1𝑛𝑎𝜎−1(𝑗)𝑗=∏𝑖=1𝑛𝑎𝑖𝜎(𝑖)=∏𝑖=1𝑛(−𝑎𝜎(𝑖)𝑖)=(−1)𝑛∏𝑖=1𝑛𝑎𝜎(𝑖)𝑖.

Since sgn(𝜎−1)=sgn(𝜎) (Proposition 5.2.25) and 𝑛 is odd, 𝑡𝜎−1(𝐴)=−𝑡𝜎(𝐴).

(b) Suppose 𝜎2=id, and let 𝑖∈[𝑛]. The least 𝑘≥1 with 𝜎𝑘(𝑖)=𝑖 is 1 or 2, so by Proposition 5.2.16 the orbit of 𝑖 has one or two elements, and the orbits partition [𝑛]. If every orbit had two elements, 𝑛 would be even. So some orbit is {𝑗}, that is, 𝜎(𝑗)=𝑗, and 𝑡𝜎(𝐴) contains the factor 𝑎𝜎(𝑗)𝑗=𝑎𝑗𝑗=0.

(c) The map 𝜑(𝜎)=𝜎−1 is a bijection of 𝑆𝑛 with 𝜑(𝜑(𝜎))=𝜎, and its fixed points are the 𝜎 with 𝜎=𝜎−1, that is, 𝜎2=id. Let 𝑄 be the set of fixed points, and let 𝑃 contain exactly one element of each pair {𝜎,𝜎−1} with 𝜎≠𝜎−1. Every permutation lies in exactly one of 𝑄, 𝑃, and 𝜑(𝑃), so by Theorem 5.3.3, (a), and (b),

det𝐴=∑𝜎∈𝑃(𝑡𝜎(𝐴)+𝑡𝜎−1(𝐴))+∑𝜎∈𝑄𝑡𝜎(𝐴)=0+0=0.

This is Technique 5.3.5 in its version with fixed points.

(d) The earlier argument shows det𝐴=det𝐴𝖳=det(−𝐴)=(−1)𝑛det𝐴=−det𝐴, that is, (1+1)det𝐴=0, and concludes by dividing by 1+1. Over 𝔽2 this equation reads 0=0. The pairing argument never divides: over 𝔽2, (a) says that 𝑡𝜎−1(𝐴)=𝑡𝜎(𝐴), and the two terms of each pair cancel because 𝑥+𝑥=0 there. The hypothesis 𝑎𝑖𝑖=0 enters only in (b). When 1+1≠0 it follows from 𝑎𝑖𝑖=−𝑎𝑖𝑖, but over 𝔽2 it is a genuine assumption: 𝐼3 satisfies 𝑎𝑗𝑖=−𝑎𝑖𝑗 over 𝔽2 and has determinant 1 (Exercise 5.4.33 (c)).

Exercise 5.6.14.standard Let 𝑛≥1, and let 𝜋∈𝑆2𝑛 have 𝜋(2𝑖−1)=𝑖 and 𝜋(2𝑖)=𝑛+𝑖 for 𝑖=1,…,𝑛. Its bottom row is 1,𝑛+1,2,𝑛+2,…,𝑛,2𝑛, so the columns of 𝑀𝐸𝜋 interleave the first 𝑛 columns of 𝑀 with the last 𝑛 (Proposition 5.2.30).

  1. (a)Show that inv(𝜋)=𝑛(𝑛−1)/2.
  2. (b)Write 𝜋 in cycle notation for 𝑛=3 and 𝑛=4, and check (a) against Proposition 5.2.26.
  3. (c)Let 𝐴,𝐵,𝐶,𝐷∈𝐹𝑛×𝑛 be diagonal, with diagonal entries 𝑎𝑖, 𝑏𝑖, 𝑐𝑖, 𝑑𝑖. Show that

    det(𝐴𝐵𝐶𝐷)=∏𝑖=1𝑛(𝑎𝑖𝑑𝑖−𝑏𝑖𝑐𝑖).

    Does the sign of 𝜋 enter?

Solution.

Uses. Definition 5.2.21 (Inversion), Corollary 5.2.24 (Formulas for the sign), Proposition 5.2.26 (Sign of a cycle), Proposition 5.2.30 (Algebra of permutation matrices), Exercise 5.2.36, Corollary 5.4.27 (Several diagonal blocks), Theorem 5.4.10 (Multiplicativity), Theorem 5.4.14 (The transpose), Theorem 5.2.31 (Alternating functions and permutations)

Techniques. Block decomposition (Technique 2.4.35)

Hint 1. Sort the pairs of positions 𝑝<𝑞 by the parities of 𝑝 and 𝑞. Only one kind of pair can be inverted.
Hint 2. For (c), rearrange the rows and the columns of 𝑀 by 𝜋: consider 𝐸𝜋𝖳𝑀𝐸𝜋, whose (𝑝,𝑞) entry is 𝑚𝜋(𝑝)𝜋(𝑞).
Sketch. (a) The odd positions carry 1,…,𝑛 in order and the even positions 𝑛+1,…,2𝑛 in order. A pair (position 2𝑖, position 2𝑗−1) with 𝑗>𝑖 is inverted, since 𝑛+𝑖>𝑗, and no other pair is; there are ∑𝑖(𝑛−𝑖)=𝑛(𝑛−1)/2 of them. (b) 𝑛=3: (2453), sign −1; 𝑛=4: (253)(467), sign 1. (c) 𝐸𝜋𝖳𝑀𝐸𝜋 is block diagonal with blocks (𝑎𝑖𝑏𝑖𝑐𝑖𝑑𝑖), and det(𝐸𝜋𝖳𝑀𝐸𝜋)=sgn(𝜋)2det𝑀=det𝑀.

(a) The entry in position 2𝑖−1 is 𝑖, and the entry in position 2𝑖 is 𝑛+𝑖. Consider positions 𝑝<𝑞. If both are odd, or both even, their entries are in increasing order. If 𝑝=2𝑖−1 and 𝑞=2𝑗, then 𝑖≤𝑗<𝑛+𝑗, so the pair is in order. If 𝑝=2𝑖 and 𝑞=2𝑗−1, then 𝑞>𝑝 means 𝑗>𝑖, and the entries satisfy 𝑛+𝑖>𝑛≥𝑗, so the pair is an inversion. For fixed 𝑖 there are 𝑛−𝑖 such 𝑗, so

inv(𝜋)=∑𝑖=1𝑛(𝑛−𝑖)=𝑛𝑛−12,

and sgn(𝜋)=(−1)𝑛(𝑛−1)/2 by Corollary 5.2.24.

(b) For 𝑛=3 the bottom row is 1,4,2,5,3,6. Following 2↦4↦5↦3↦2, and noting that 1 and 6 are fixed, 𝜋=(2453), a 4-cycle, with sign −1=(−1)3. For 𝑛=4 the bottom row is 1,5,2,6,3,7,4,8, so 𝜋=(253)(467), with sign 1=(−1)6. Both agree with (a) by Proposition 5.2.26. The cycle type changes irregularly with 𝑛, while the inversion count has a closed form, so inversions are the right tool for this permutation.

(c) Let 𝑀=(𝐴𝐵𝐶𝐷) and 𝑁=𝐸𝜋𝖳𝑀𝐸𝜋. By Proposition 5.2.30 (a), column 𝑞 of 𝑀𝐸𝜋 is column 𝜋(𝑞) of 𝑀. By Proposition 5.2.30 (c), 𝐸𝜋𝖳=𝐸𝜋−1, and by Exercise 5.2.36 (a), row 𝑝 of 𝐸𝜋−1𝑋 is row 𝜋(𝑝) of 𝑋. So 𝑛𝑝𝑞=𝑚𝜋(𝑝)𝜋(𝑞).

For 𝑝,𝑞∈{2𝑖−1,2𝑖} the indices 𝜋(𝑝),𝜋(𝑞) lie in {𝑖,𝑛+𝑖}, and these four entries of 𝑁 form the block (𝑚𝑖𝑖𝑚𝑖,𝑛+𝑖𝑚𝑛+𝑖,𝑖𝑚𝑛+𝑖,𝑛+𝑖)=(𝑎𝑖𝑏𝑖𝑐𝑖𝑑𝑖). If instead 𝑝∈{2𝑖−1,2𝑖} and 𝑞∈{2𝑗−1,2𝑗} with 𝑖≠𝑗, then 𝑚𝜋(𝑝)𝜋(𝑞) is an off-diagonal entry of one of the diagonal matrices 𝐴,𝐵,𝐶,𝐷, so it is 0. Hence 𝑁 is block diagonal with the 2×2 blocks (𝑎𝑖𝑏𝑖𝑐𝑖𝑑𝑖), and by Corollary 5.4.27,

det𝑁=∏𝑖=1𝑛(𝑎𝑖𝑑𝑖−𝑏𝑖𝑐𝑖).

Finally, det𝑁=det𝐸𝜋𝖳det𝑀det𝐸𝜋=sgn(𝜋)2det𝑀=det𝑀 by Theorem 5.4.10, Theorem 5.4.14, and Theorem 5.2.31. So the sign does not enter: rearranging the rows and the columns in the same way costs sgn(𝜋)2=1. Only rearranging the columns alone, as in det(𝑀𝐸𝜋)=sgn(𝜋)det𝑀, costs a sign.

Exercise 5.6.15.routine Find the error in the following argument, and show that its conclusion fails for

𝐵=(010001100),𝑖=3,𝑗=1.

Claim. Let 𝑛≥2 and 𝐵∈𝐹𝑛×𝑛. If every entry of row 𝑖 of 𝐵 other than 𝑏𝑖𝑗 is 0, then det𝐵=𝜀𝑏𝑖𝑗det𝐵𝑖𝑗̂, where 𝜀=−1 if exactly one of 𝑖 and 𝑗 equals 1, and 𝜀=1 otherwise.

Proof. Interchange rows 1 and 𝑖 (if 𝑖≠1), and then columns 1 and 𝑗 (if 𝑗≠1). Each interchange negates the determinant. The resulting matrix has 𝑏𝑖𝑗 in position (1,1) and zeros in the rest of row 1, so it is block lower triangular, and by Theorem 5.4.26 its determinant is 𝑏𝑖𝑗 times the determinant of its lower right block, which is 𝐵𝑖𝑗̂.

Solution.

Uses. Lemma 5.5.2 (A row or column with one nonzero entry), Theorem 5.2.31 (Alternating functions and permutations), Theorem 5.4.26 (Block-triangular matrices)

Techniques. Try small cases and small fields (Technique 1.2.38)

Hint 1. Carry out the interchange of rows 1 and 3 for the given 𝐵, and compare the lower right 2×2 block with 𝐵31̂.
Hint 2. After interchanging rows 1 and 𝑖, in which position is the old row 1? Deleting row 𝑖 from 𝐵 keeps the other rows in their original order.
Sketch. The lower right block is not 𝐵𝑖𝑗̂: after interchanging rows 1 and 𝑖, the old row 1 sits in position 𝑖, behind rows 2,…,𝑖−1. For the given 𝐵, the claim predicts det𝐵=−1⋅det𝐼2=−1, but 𝐵 is the permutation matrix of the 3-cycle (132), so det𝐵=1, as (−1)3+1 predicts. Moving row 𝑖 to the top by 𝑖−1 adjacent interchanges keeps the other rows in order and gives the correct sign (−1)𝑖+𝑗.

The error. The last step identifies the lower right block with 𝐵𝑖𝑗̂. Interchanging rows 1 and 𝑖 moves the old row 1 into position 𝑖, so after the first row is removed, the remaining rows appear in the order 2,3,…,𝑖−1,1,𝑖+1,…,𝑛. The minor 𝐵𝑖𝑗̂ has them in the order 1,2,…,𝑖−1,𝑖+1,…,𝑛. The two agree only when 𝑖≤2, and the same problem occurs with the columns when 𝑗≥3.

The counterexample. For the given 𝐵, row 3 is (1,0,0), so 𝑏31=1 is the only nonzero entry, and 𝐵31̂, obtained by deleting row 3 and column 1, is 𝐼2. The claim, with 𝜀=−1, predicts det𝐵=−1. But the columns of 𝐵 are 𝐞3,𝐞1,𝐞2, so 𝐵=𝐸𝜎 for the 3-cycle 𝜎=(132), which is even, and det𝐵=1 (Theorem 5.2.31). In the argument, interchanging rows 1 and 3 gives (100001010), whose lower right block (0110) is 𝐵31̂ with its rows interchanged.

The repair. Move row 𝑖 to the top by 𝑖−1 interchanges of adjacent rows, which keeps the other rows in order, and likewise for column 𝑗. This gives the sign (−1)(𝑖−1)+(𝑗−1)=(−1)𝑖+𝑗 of Lemma 5.5.2, which for this 𝐵 is (−1)4=1.