8.3  Schur Complements

Section 1 inverted block triangular matrices, and Section 2 cleared blocks without changing the rank. A general block matrix (ABCD) has no zero block to help, but when one diagonal block is invertible, a single step of block elimination creates one. What is left in the opposite corner is a new matrix, the Schur complement, and it carries everything that the invertible block does not: the determinant, the rank and the inverse of the whole matrix can all be read off from the block and its complement. This section introduces it, derives these formulas, uses the two complements of one matrix to prove the Sherman–Morrison–Woodbury formula, and ends with the determinant of a block matrix whose lower blocks commute, over every field.

8.3.1. Eliminating a block

Suppose we must solve a linear system whose unknowns come in two groups, x∈Fk and y∈Fl: (ABCD)(xy)=(fg),that is,Ax+By=f,Cx+Dy=g, with A∈Mk(F) invertible. Do what we would do for two equations in two numbers: solve the first equation for x, and substitute. The first equation gives x=A−1(f−By). Substituting into the second, CA−1f−CA−1By+Dy=g,so(D−CA−1B)y=g−CA−1f. The unknown x has disappeared, and y solves a smaller system whose matrix is D−CA−1B. Once y is known, x=A−1(f−By). So the big system is solvable for every right-hand side exactly when the small matrix D−CA−1B allows it, and this matrix will keep appearing.

For k=l=1 we have met it before: d−cb/a=(ad−bc)/a is the determinant divided by the pivot a, which is what Gaussian elimination leaves in the corner after clearing the entry c.

The Schur complement of an invertible block is what remains in the opposite corner after that block has been used to eliminate its row and column.

Definition 8.3.1 (Schur Complement)

Let M=(ABCD)∈M(k+p)×(k+l)(F) be a block matrix with A∈Mk(F), B∈Mk×l(F), C∈Mp×k(F) and D∈Mp×l(F), where k,p,l≥1.

  • (a) If A is invertible, the Schur complement of A in M is M/A:=D−CA−1B∈Mp×l(F).
  • (b) Symmetrically, if M=(ABCD) with D∈Ml(F) invertible, A∈Mm×k(F), B∈Mm×l(F) and C∈Ml×k(F), the Schur complement of D in M is M/D:=A−BD−1C∈Mm×k(F).

In words, clause by clause. The block whose complement we take must be square and invertible, since its inverse appears in the formula; the other blocks may be rectangular. The complement has the size of the opposite corner: M/A has the shape of D, and M/D has the shape of A. In CA−1B the factors come in the only order the sizes allow: C is p×k, A−1 is k×k, B is k×l. A way to remember it: go from the corner D to A along its row (C), invert, and come back along its column (B).

Well-definedness. M/A depends on M and on the chosen partition, which says which corner is A. The inverse A−1 is unique (Theorem 0.9.7), so there is no other choice to make.

Examples.

  • Scalars. For M=(abcd) with a≠0, M/a=d−ca−1b=(ad−bc)/a. In particular a⋅(M/a)=detM.
  • An identity corner. If A=Ik, then M/Ik=D−CB. No inversion is needed at all.
  • Block triangular. If C=0, then M/A=D: nothing needs to be eliminated.
  • A 3×3 example. For M=(211110314) over Q, A=(2111) has A−1=(1−1−12), and CA−1=(31)A−1=(2−1), so M/A=4−(2−1)(10)=(2). This 1×1 complement is the last pivot of Gaussian elimination on M: subtracting 12 row 1 from row 2 and 32 row 1 from row 3 gives the rows (0,12,−12) and (0,−12,52), and adding the first of these to the second gives (0,0,2).

Non-example by minimal change. For M=(1110), M/(1)=0−1⋅1⋅1=(−1). Change the corner entry 1 to 0: M′=(0110). The blocks B, C, D and the partition are unchanged, and M′ is still invertible, but M′/(0) is not defined, because the clause “A is invertible” fails. Here M′/D is not defined either, since D=(0).

Why this definition. The formula is read off from the elimination in the hook, so the question is only about the name and the hypotheses. “Complement” refers to position: M/A sits in the corner complementary to A. The quotient notation M/A is suggested by the first example, det(M/a)=detM/deta, and the determinant formula below shows that this holds for blocks of every size. Invertibility of A cannot be dropped, since A−1 is in the formula; the price is that some invertible matrices, like M′, have no Schur complement for a given partition.

Warning. M can be invertible while A is not. For M′=(0110), neither corner is invertible, so neither Schur complement exists for the partition 1,1. Before using a formula below, check that the block you invert is invertible. If it is not, try the other corner (M/D), a different partition, or first permute rows: (0110)M′=I2. The same issue appears in Gaussian elimination as a zero pivot.

Quick check. Let M=(242135310) with partition 1,2. Compute M/(2).

Solution. Here A=(2), B=(42), C=(13), D=(3510). Then CA−1B=12(42126)=(2163), so M/(2)=(14−5−3). These are exactly the entries left in rows 2, 3 after clearing column 1 with the pivot 2.

8.3.2. The block LDU factorization

The elimination of the hook, written with matrices, factors M into a lower block triangular matrix, a block diagonal matrix and an upper block triangular matrix. Everything else in this section follows from this factorization.

Theorem 8.3.1 (Block LDU Factorization)

Let M=(ABCD) be partitioned as in Definition 8.3.1.

  • (a) If A∈Mk(F) is invertible, then M=(Ik0CA−1Ip)(A00M/A)(IkA−1B0Il).
  • (b) If D∈Ml(F) is invertible, then M=(ImBD−10Il)(M/D00D)(Ik0D−1CIl).

Idea. The left factor in (a) records the row operation “subtract CA−1 times block row 1 from block row 2”, which turns C into 0 and D into M/A. The right factor records the column operation “subtract block column 1 times A−1B from block column 2”, which turns B into 0. Undoing both operations gives the factorization. To prove it we need not retrace the elimination: multiplying out is enough.

Proof.

  • (a) Write S=M/A=D−CA−1B. The sizes are conformable throughout. By Theorem 8.1.1, (A00S)(IkA−1B0Il)=(AAA−1B0S)=(AB0S), and then (Ik0CA−1Ip)(AB0S)=(ABCA−1ACA−1B+S)=(ABCD), since CA−1A=C and CA−1B+(D−CA−1B)=D. By associativity (Theorem 0.9.4) the triple product equals M.

  • (b) Write S′=M/D=A−BD−1C. By Theorem 8.1.1, (S′00D)(Ik0D−1CIl)=(S′0CD),(ImBD−10Il)(S′0CD)=(S′+BD−1CBD−1DCD)=M.

The outer factors are block triangular with identity blocks on the diagonal. They are invertible, with inverses obtained by changing the sign of the off-diagonal block (Theorem 8.1.5), and they have determinant 1. So, up to these harmless factors, M is the block diagonal matrix A⊕(M/A) when A and D are square. Determinant, rank and invertibility cannot tell the difference.

8.3.3. Determinant and rank

The outer factors of Theorem 8.3.1 do not change the determinant or the rank, so both can be read off from the middle factor.

Theorem 8.3.2 (Schur Determinant Formula)

Let M=(ABCD)∈Mk+l(F) with A∈Mk(F), D∈Ml(F) and k,l≥1.

  • (a) If A is invertible, then detM=detA⋅det(M/A).
  • (b) If D is invertible, then detM=detD⋅det(M/D).

Proof.

  • (a) By Theorem 8.3.1 (a), M=L(A⊕(M/A))U with L=(Ik0CA−1Il) and U=(IkA−1B0Il). Here p=l because M is square, so M/A∈Ml(F). By Theorem 7.8.4, detL=detIkdetIl=1, detU=1, and det(A⊕(M/A))=detAdet(M/A). By Theorem 7.5.4, detM=detL⋅detAdet(M/A)⋅detU=detAdet(M/A).
  • (b) The same argument with Theorem 8.3.1 (b), where M/D∈Mk(F) because M is square.

This is the correct replacement for the false rule detM=det(AD−BC) of Section 1: the determinant of M is that of A times that of the complement. For k=l=1 it is a(d−ca−1b)=ad−bc. Chapter 7 promised this, and it relies on Theorem 7.8.4 in exactly the form proved there, with square diagonal blocks.

Theorem 8.3.3 (Schur Rank Formula)

Let M=(ABCD) be partitioned as in Definition 8.3.1. If A∈Mk(F) is invertible, then rankM=k+rank(M/A). Symmetrically, if D∈Ml(F) is invertible, then rankM=l+rank(M/D).

Proof. By Theorem 8.3.1 (a), M=L(A00M/A)U, where L and U are invertible by Theorem 8.2.2 (a). By Theorem 3.5.9, rankM equals the rank of the middle factor, which is rankA+rank(M/A)=k+rank(M/A) by Theorem 8.2.1 (b) and Theorem 3.4.4. The second statement follows in the same way from Theorem 8.3.1 (b).

In words: an invertible block of size k contributes exactly k to the rank, and all the remaining rank sits in its complement. For example, in Example (Rank of I−AB versus I−BA) the matrix (ImABIn) has the two complements In−BA and Im−AB, and the theorem gives both expressions for its rank at once.

8.3.4. Inverting a block matrix

Since A⊕(M/A) is invertible exactly when M/A is, the factorization also inverts M: invert the three factors and multiply them in the reverse order.

Theorem 8.3.4 (Block Inverse Formula)

Let M=(ABCD)∈Mk+l(F) with A∈Mk(F) and D∈Ml(F).

  • (a) Suppose A is invertible, and let S=M/A. Then M is invertible if and only if S is invertible, and in that case M−1=(A−1+A−1BS−1CA−1−A−1BS−1−S−1CA−1S−1). In particular the lower-right l×l block of M−1 is (M/A)−1.
  • (b) Suppose D is invertible, and let S′=M/D. Then M is invertible if and only if S′ is invertible, and in that case M−1=(S′−1−S′−1BD−1−D−1CS′−1D−1+D−1CS′−1BD−1). In particular the upper-left k×k block of M−1 is (M/D)−1.

Proof.

  • (a) By Theorem 8.3.3, rankM=k+rankS. So rankM=k+l if and only if rankS=l, and by Theorem 3.4.4 this says that M is invertible if and only if S is.

    Suppose S is invertible. In Theorem 8.3.1 (a), M=L(A⊕S)U, where L−1=(Ik0−CA−1Il) and U−1=(Ik−A−1B0Il) by Theorem 8.1.5, and (A⊕S)−1=A−1⊕S−1 by Theorem 8.1.4 (c). By Theorem 0.9.7 (3), M−1=U−1(A−1⊕S−1)L−1. By Theorem 8.1.1, U−1(A−1⊕S−1)=(A−1−A−1BS−10S−1),(A−1−A−1BS−10S−1)(Ik0−CA−1Il)=(A−1+A−1BS−1CA−1−A−1BS−1−S−1CA−1S−1).

  • (b) The equivalence follows from the second statement of Theorem 8.3.3 in the same way. By Theorem 8.3.1 (b), M−1=(Ik0−D−1CIl)(S′−1⊕D−1)(Ik−BD−10Il), and (Ik0−D−1CIl)(S′−100D−1)=(S′−10−D−1CS′−1D−1), whose product with (Ik−BD−10Il) is the displayed matrix by Theorem 8.1.1.

Nobody should memorize these blocks. Remember instead that M−1 is the product of three easy inverses in reverse order, and that the corner opposite A in M−1 is the inverse of the complement of A.

Example (A 4×4 Inverse through a 2×2 Schur Complement)

Invert M=(110−112−1−1−1−111010−1)∈M4(Q) using Theorem 8.3.4, and find detM.

Solution. The blocks are A=(1112), B=(0−1−1−1), C=(−1−101), D=(110−1).

Step 1: invert A. detA=1, so A−1=(2−1−11) by Theorem 0.9.8.

Step 2: the two “half” products. CA−1=(−10−11),A−1B=(1−1−10),CA−1B=(01−10).

Step 3: the complement and its inverse. S=M/A=D−CA−1B=(101−1). Its determinant is −1≠0, so M is invertible by Theorem 8.3.4 (a), and S−1=(101−1)=S by Theorem 0.9.8. By Theorem 8.3.2, detM=detAdetS=−1.

Step 4: the blocks of M−1. Using Step 2, −A−1BS−1=−(1−1−10)(101−1)=(0−110),−S−1CA−1=−(101−1)(−10−11)=(1001), and A−1+A−1BS−1CA−1=A−1+(A−1BS−1)(CA−1)=(2−1−11)+(01−10)(−10−11)=(2−1−11)+(−1110)=(1001). Hence M−1=(100−101101010011−1). Check one row: row 1 of M times column 1 of M−1 is 1+0+0+0=1, and times column 3 is 0+1+0−1=0. All the work was with 2×2 matrices, and only two of them had to be inverted.

Remark. When M is real symmetric, M/A is again symmetric, and Chapter 13 uses Schur complements to test whether M is positive definite one block at a time. Chapter 24 reads Gaussian elimination itself as a sequence of Schur complements of 1×1 pivots, which is the point of view behind block algorithms in numerical linear algebra.

8.3.5. The Sherman–Morrison–Woodbury formula

Chapter 7 proved the Matrix Determinant Lemma, det(In+uv⊤)=1+v⊤u (Theorem 7.8.5), by bordering In+uv⊤ into a larger block matrix. There is a matching statement about inverses: if we already know A−1 and change A by a low-rank term UCV, the new inverse should cost only a small inversion. The trick is to find one block matrix that has A in one corner and A+UCV as a Schur complement, and then to compute its inverse twice.

Theorem 8.3.5 (Sherman–Morrison–Woodbury Formula)

Let n,k≥1, let A∈Mn(F) and C∈Mk(F) be invertible, and let U∈Mn×k(F) and V∈Mk×n(F). Put W=C−1+VA−1U∈Mk(F).

  • (a) A+UCV is invertible if and only if W is invertible.
  • (b) In that case (A+UCV)−1=A−1−A−1UW−1VA−1=A−1−A−1U(C−1+VA−1U)−1VA−1.
  • (c) det(A+UCV)=detA⋅detC⋅detW.

Idea. Look for a block matrix whose two Schur complements are A+UCV and something involving W. The complement of the lower-right corner of M=(AUVD) is A−UD−1V, which is A+UCV when D−1=−C, that is, D=−C−1. The complement of the upper-left corner is then −C−1−VA−1U=−W. Now Theorem 8.3.4 computes the upper-left block of M−1 in two ways: as (M/D)−1=(A+UCV)−1, and from the formula in terms of A and M/A. Setting them equal is the Woodbury formula. The determinant formula of the previous subsection, used twice, gives (c).

Proof. Let D=−C−1, which is invertible with D−1=−C by Theorem 0.9.7 (2) and (5), and let M=(AUVD)∈Mn+k(F). By Definition 8.3.1, M/A=D−VA−1U=−C−1−VA−1U=−W,M/D=A−UD−1V=A+UCV.

  • (a) By Theorem 8.3.4 (a) and (b), M is invertible if and only if −W is, and if and only if A+UCV is. Since −W is invertible exactly when W is (Theorem 0.9.7 (5)), this proves (a).

  • (b) Suppose W is invertible, so M is invertible, and (−W)−1=−W−1. The upper-left n×n block of M−1 is (M/D)−1=(A+UCV)−1 by Theorem 8.3.4 (b). By Theorem 8.3.4 (a), applied to M, whose blocks are A,U,V,D, and with S=M/A=−W, the same block is A−1+A−1U(−W)−1VA−1=A−1−A−1UW−1VA−1. The two expressions are the same block of the same matrix, so they are equal.

  • (c) By Theorem 8.3.2 (a) and (b), detAdet(−W)=detM=detDdet(A+UCV). Multiplying a k×k matrix by −1 multiplies each of its k rows by −1, so by Theorem 7.5.1 det(−W)=(−1)kdetW and detD=(−1)kdet(C−1)=(−1)k(detC)−1, using Corollary 7.5.6. Hence detA(−1)kdetW=(−1)k(detC)−1det(A+UCV). Multiplying both sides by (−1)kdetC gives (c).

The formula is useful when k is much smaller than n and A−1 is already known or easy (diagonal, say): the only new inversion is of the k×k matrix W. The most common case is a rank-one update, k=1 and C=(1).

Corollary 8.3.6 (Sherman–Morrison Formula)

Let A∈Mn(F) be invertible and u,v∈Fn. Then A+uv⊤ is invertible if and only if 1+v⊤A−1u≠0, and in that case (A+uv⊤)−1=A−1−A−1uv⊤A−11+v⊤A−1u. Moreover det(A+uv⊤)=detA(1+v⊤A−1u).

Proof. Apply Theorem 8.3.5 with k=1, C=(1), U=u and V=v⊤. Then W=(1+v⊤A−1u) is a 1×1 matrix, invertible exactly when its entry is non-zero, with inverse the reciprocal. Multiplying by a 1×1 matrix is multiplying by its entry, which gives the displayed formula; and detW is the entry itself.

For example, over Q let A=diag(1,−1), so A−1=A, and u=(1,1). For v=(2,1), A−1u=(1,−1), v⊤A−1=(2−1) and 1+v⊤A−1u=1+(2−1)=2≠0. So A+uv⊤=(3120) has determinant detA⋅2=−2, and (A+uv⊤)−1=(100−1)−12(1−1)(2−1)=(100−1)−(1−12−112)=(0121−32), which agrees with Theorem 0.9.8. For v=(1,2) instead, 1+v⊤A−1u=1+(1−2)=0, and indeed A+uv⊤=(2211) is not invertible.

With A=In, the determinant statement is the Matrix Determinant Lemma of Chapter 7, now obtained as a special case of a formula about general low-rank updates, and it matches Exercise (C3: Rank-one updates of an invertible matrix).

8.3.6. Commuting blocks

Section 1 warned that det(ABCD)≠det(AD−BC) in general. With the Schur complement we can see what goes wrong and what extra hypothesis repairs it. Take all four blocks in Mn(F) and suppose D is invertible. By Theorem 8.3.2 (b), detM=detDdet(A−BD−1C)=det((A−BD−1C)D)=det(AD−BD−1CD), using Theorem 7.5.4. If C and D commute, then D−1CD=D−1DC=C, and the right side is det(AD−BC). So commuting is exactly what lets D−1 cancel. The real question is how to remove the hypothesis that D is invertible, which is not needed for the conclusion to make sense.

Over R one could perturb: D+tIn is invertible for all but finitely many t, both sides are polynomials in t, and polynomials that agree at infinitely many points are equal. Over a finite field such as F2 there may be no invertible perturbation at all. We use instead a perturbation by an indeterminate: replace D by D+xIn, a matrix with entries in F[x]. Its determinant is a monic polynomial, hence not the zero polynomial, and that is all the cancellation needs. First we record that evaluating polynomial entries commutes with matrix operations.

For N=(nij) with entries in F[x] and c∈F, write N(c)=(nij(c)) for the matrix over F obtained by evaluating every entry at c. A matrix over F is a matrix over F[x] with constant entries, and then N(c)=N.

Lemma 8.3.7 (Evaluating a Matrix of Polynomials)

Let c∈F, and let N,N′ be matrices with entries in F[x] of sizes for which the operations below are defined. Then (N+N′)(c)=N(c)+N′(c), (NN′)(c)=N(c)N′(c), and, for square N, (detN)(c)=det(N(c)).

Proof. By Theorem 0.8.5, evaluation at c sends sums of polynomials to sums, products to products, and constants to themselves. The (i,j)-entry of N+N′ is nij+nij′ and that of NN′ is ∑lnilnlj′, so evaluating gives the corresponding entries of N(c)+N′(c) and N(c)N′(c). The determinant detN is the Leibniz sum ∑σsgn(σ)∏jnσ(j)j of Definition 7.4.1, computed in F[x], and evaluating it term by term gives the Leibniz sum for N(c). This is the argument of Lemma 7.10.1.

Theorem 8.3.8 (Determinant with Commuting Blocks)

Let n≥1 and A,B,C,D∈Mn(F) over any field F. If CD=DC, then det(ABCD)=det(AD−BC).

Idea. ① Work over the commutative ring F[x], replacing D by Dx=D+xIn, which still commutes with C. ② Multiply Mx=(ABCDx) on the right by (Dx0−CIn): the lower-left block becomes CDx−DxC=0 and the upper-left block becomes ADx−BC. This is the Schur computation above with D−1 cleared from the denominators. ③ Take determinants: detMxdetDx=det(ADx−BC)detDx. ④ Cancel detDx, which is legal because it is a non-zero polynomial and F[x] has no zero divisors. ⑤ Set x=0. Each step uses only determinant facts that Chapter 7 proved over commutative rings.

Proof. Regard A,B,C,D as matrices over F[x] with constant entries, and let Dx=D+xIn. The proofs of Theorem 0.9.4 use only the ring axioms, so they hold for matrices over F[x]; in particular CDx=CD+xC=DC+xC=DxC, using the hypothesis CD=DC. Let Mx=(ABCDx),R=(Dx0−CIn), both in M2n(F[x]). By Theorem 8.1.1, which holds over F[x] by the remark following it, MxR=(ADx−BCBCDx−DxCDx)=(ADx−BCB0Dx). By the remarks in Chapter 7 §5 and §8, Theorem 7.5.4 and Theorem 7.8.4 hold over the commutative ring F[x]. Hence det(MxR)=detMxdetR, with detR=detDxdetIn=detDx, and det(MxR)=det(ADx−BC)detDx. So, in F[x], (∗)detMx⋅detDx=det(ADx−BC)⋅detDx. Now Dx=xIn−(−D), so detDx=p−D(x) is the characteristic polynomial of −D∈Mn(F) (Definition 7.10.1). By Theorem 7.10.2 it is monic of degree n, so detDx≠0 in F[x]. By Corollary 0.8.4 (2), we may cancel it from (∗): detMx=det(ADx−BC)in F[x]. Finally evaluate both sides at 0. By Lemma 8.3.7, (detMx)(0)=det(Mx(0))=detM, since Dx(0)=D; and (ADx−BC)(0)=AD−BC, so (det(ADx−BC))(0)=det(AD−BC). Hence detM=det(AD−BC).

The cancellation in F[x] is the heart of the argument, so it is worth being precise about why it is legal. Over F we cannot divide by detD when it is 0. Over F[x] we still cannot divide, since detDx usually has no inverse, but we do not need to: cancellation only needs “pq=pr and p≠0 imply q=r”, and this holds in F[x] because a product of non-zero polynomials is non-zero (Corollary 0.8.4). The perturbation xIn makes detDx non-zero as a polynomial even when every value det(D+cIn) with c∈F is zero. For example, over F2, let D=E22=diag(0,1). Then det(D+0I2)=0 and det(D+I2)=detdiag(1,0)=0, because 1+1=0 in F2; no scalar shift makes D invertible. But det(D+xI2)=x(x+1)=x2+x is not the zero polynomial.

For example, over Q, let A=(1201), B=(1011), D=(0100) and C=2I2+D=(2102), which commutes with D. Here D is not invertible, so the Schur route is closed. The theorem gives detM=det(AD−BC)=det(−20−2−3)=6.

Warning. Which blocks commute decides which product appears. The hypothesis CD=DC gives det(AD−BC). If instead A and C commute, the correct formula is det(AD−CB) (Exercise (C3: When A and C commute)), with C and B in the other order. The two can differ: for the blocks A=I2, B=E12, C=E21, D=E11 of the warning in Section 1, A commutes with C but C does not commute with D; indeed detM=−1=det(E11−E22)=det(AD−CB), while det(AD−BC)=0.

8.3.7. Exercises

A. Check your understanding

Exercise (A1)
  • (a) Define the Schur complement M/A, including the hypothesis on A and the size of M/A.
  • (b) State the block LDU factorization of M in terms of A and M/A.
  • (c) True or false: if M=(ABCD) is invertible and A is square, then A is invertible. Justify your answer.
  • (d) If A is invertible and M is invertible, which block of M−1 is (M/A)−1?
  • (e) True or false: for all A,B,C,D∈Mn(F) with CD=DC, det(ABCD)=det(AD−BC), even if D is not invertible and F=F2. Justify your answer.

Solution.

  • (a) For M=(ABCD) with A∈Mk(F) invertible, B∈Mk×l(F), C∈Mp×k(F), D∈Mp×l(F): M/A=D−CA−1B∈Mp×l(F), the size of D (Definition 8.3.1).

  • (b) M=(Ik0CA−1Ip)(A00M/A)(IkA−1B0Il) (Theorem 8.3.1).

  • (c) False. (0110) is invertible, but A=(0) is not.

  • (d) The lower-right block, in the position of D (Theorem 8.3.4 (a)).

  • (e) True. Theorem 8.3.8 holds over every field and needs no invertibility; its proof cancels the non-zero polynomial det(D+xIn) in F[x].

B. Practice

Exercise (B1: A Schur complement, a determinant and a rank)

Let M=(2110113112950164)∈M4(Q). Compute M/A for the upper-left block A. Hence find detM and rankM, and decide whether M is invertible.

Solution. A=(2111) has detA=1, so A−1=(1−1−12) (Theorem 0.9.8). With B=(1031), C=(1201), D=(9564): CA−1=(−13−12),CA−1B=(8352),M/A=(1212). By Theorem 8.3.2, detM=detAdet(M/A)=1⋅0=0. By Theorem 8.3.3, rankM=2+rank(M/A)=2+1=3, since M/A is non-zero with equal rows. So M is not invertible (Theorem 7.5.3 (d)).

Exercise (B2: A rank-one update)

Let A=diag(1,2,4)∈M3(Q), u=(1,1,1) and v=(1,−1,2). Use Corollary 8.3.6 to find det(A+uv⊤) and (A+uv⊤)−1, and check one entry.

Solution. A−1=diag(1,12,14), so A−1u=(1,12,14) and v⊤A−1=(1−1212). Then v⊤A−1u=1−12+12=1, so 1+v⊤A−1u=2≠0. By Corollary 8.3.6, A+uv⊤ is invertible, det(A+uv⊤)=8⋅2=16, and (A+uv⊤)−1=diag(1,12,14)−12(11214)(1−1212)=(10001200014)−(12−141414−181818−116116)=(1214−14−1458−18−18116316). Check: A+uv⊤=(2−121121−16), and its row 1 times column 1 of the answer is 1+14−14=1, times column 2 is 12−58+18=0.

Exercise (B3: Identity corners)

Let B∈Mk×l(F), C∈Ml×k(F) and M=(IkBCIl).

  • (a) Show that M is invertible if and only if S=Il−CB is, and write down M−1 in terms of S−1.
  • (b) Deduce the inverse of (IkB0Il).
  • (c) For B=(12) and C=(11) over Q, compute M−1.

Solution.

  • (a) The block Ik is invertible and M/Ik=Il−CIk−1B=Il−CB. By Theorem 8.3.4 (a), M is invertible if and only if Il−CB is, and then, with A−1=Ik, M−1=(Ik+BS−1C−BS−1−S−1CS−1).

  • (b) With C=0, S=Il−CB=Il and S−1=Il, so the inverse is (Ik−B0Il), in agreement with Theorem 8.1.5.

  • (c) CB=(3), so S=I1−CB=(−2) and S−1=(−12). Then BS−1C=−12(1122), −BS−1=(121) and −S−1C=(1212), so M−1=(12−1212−1011212−12),M=(101012111). Check: row 3 of M times column 3 of M−1 is 12+1−12=1, and times column 1 is 12−1+12=0.

C. Going deeper

Exercise (C1: Sylvester’s determinant identity)

Let A∈Mm×n(F) and B∈Mn×m(F) with m,n≥1.

  • (a) Compute both Schur complements of the identity blocks in M=(Im−ABIn), and deduce det(Im+AB)=det(In+BA).
  • (b) Deduce that for every non-zero c∈F, det(cIm−AB)=cm−ndet(cIn−BA).
  • (c) Deduce Theorem 7.8.5 from (a).

Solution.

  • (a) Both identity blocks are invertible. By Definition 8.3.1, M/Im=In−BIm−1(−A)=In+BA,M/In=Im−(−A)In−1B=Im+AB. By Theorem 8.3.2 (a) and (b), detM=detImdet(In+BA) and detM=detIndet(Im+AB). Hence det(Im+AB)=det(In+BA).

  • (b) Let A′=−c−1A. Then cIm−AB=c(Im+A′B) and cIn−BA=c(In+BA′). Multiplying an m×m matrix by c multiplies each of its m rows by c, so it multiplies the determinant by cm (Theorem 7.5.1). By (a) applied to A′ and B, det(cIm−AB)=cmdet(Im+A′B)=cmdet(In+BA′)=cmc−ndet(cIn−BA)=cm−ndet(cIn−BA).

  • (c) Let u,v∈Fn, and apply (a) with the sizes m,n there replaced by n,1: A=u∈Mn×1(F) and B=v⊤∈M1×n(F). Then det(In+uv⊤)=det(I1+v⊤u)=1+v⊤u, because the determinant of a 1×1 matrix is its entry.

Exercise (C2: Pivots as Schur complements)

Let A∈Mn(F), and for 1≤k≤n let Ak be its leading principal submatrix (the top-left k×k corner), as in Exercise (C1: Leading principal submatrices).

  • (a) Suppose Ak−1 is invertible, where 2≤k≤n, and write Ak=(Ak−1bc⊤d). Show that sk:=Ak/Ak−1 is the scalar d−c⊤Ak−1−1b, and that detAk=detAk−1⋅sk.
  • (b) Suppose A1,…,An are all invertible, and put s1=a11. Prove that detAk=s1s2⋯sk for every k, and that every sk is non-zero.
  • (c) Keep the hypothesis of (b). In the proof of Exercise (C1: Leading principal submatrices) (c), the last pivot is z=d−x⊤y with y=L′−1b and x⊤=c⊤U′−1. Show that z=An/An−1. Deduce that the diagonal entries of U in the LU factorization are ukk=detAk/detAk−1, with detA0:=1.
  • (d) Check (c) for A=(211433879) over Q.

Solution.

  • (a) With the partition k−1,1, Definition 8.3.1 gives the 1×1 matrix Ak/Ak−1=d−c⊤Ak−1−1b, which we identify with its entry. By Theorem 8.3.2 (a), detAk=detAk−1det(sk)=detAk−1⋅sk.

  • (b) By induction on k. For k=1, detA1=a11=s1. If detAk−1=s1⋯sk−1, then by (a), which applies since Ak−1 is invertible, detAk=s1⋯sk−1sk. Since Ak is invertible, detAk≠0 (Theorem 7.5.2), so no factor sk is zero (Theorem 0.7.1 (d)).

  • (c) An−1=L′U′ with both factors invertible, so An−1−1=U′−1L′−1 (Theorem 0.9.7 (3)) and x⊤y=c⊤U′−1L′−1b=c⊤An−1−1b. Hence z=d−c⊤An−1−1b=An/An−1=sn by (a). The same construction applied to Ak (whose LU factors are the top-left corners Lk,Uk of L,U, by Exercise (C1: Leading principal submatrices) (a) and Theorem 3.6.5) shows ukk=sk for every k. By (a) and (b), sk=detAk/detAk−1, with s1=detA1/1.

  • (d) detA1=2, detA2=6−4=2, and expanding, detA3=2(27−21)−1(36−24)+1(28−24)=12−12+4=4. The predicted pivots are 2, 2/2=1, 4/2=2. Elimination gives L=(100210431) and U=(211011002): subtract 2 and 4 times row 1 to get rows (0,1,1) and (0,3,5), then 3 times the new row 2 to get (0,0,2). The diagonal of U is 2,1,2, as predicted.

Exercise (C3: When A and C commute)

Let n≥1 and A,B,C,D∈Mn(F) with AC=CA, and M=(ABCD).

  • (a) Assume A is invertible. Use Theorem 8.3.2 to prove detM=det(AD−CB).
  • (b) Remove the assumption that A is invertible, over any field, by adapting the proof of Theorem 8.3.8 with Ax=A+xIn.
  • (c) For A=I2, B=E12, C=E21, D=E11 in M2(Q), check that AC=CA, and compare detM, det(AD−CB) and det(AD−BC).

Hint for (b): multiply Mx on the left by a block matrix that clears the lower-left block.

Solution.

  • (a) By Theorem 8.3.2 (a) and Theorem 7.5.4, detM=detAdet(D−CA−1B)=det(A(D−CA−1B))=det(AD−ACA−1B). Since AC=CA, ACA−1=CAA−1=C, so detM=det(AD−CB).

  • (b) Let Ax=A+xIn over F[x]. Then AxC=AC+xC=CA+xC=CAx. Let Mx=(AxBCD) and L=(In0−CAx). By Theorem 8.1.1 over F[x], LMx=(AxB−CAx+AxC−CB+AxD)=(AxB0AxD−CB). By Theorem 7.5.4 and Theorem 7.8.4 over F[x] (Chapter 7 §5 and §8), detAxdetMx=detAxdet(AxD−CB), using detL=detIndetAx. As in the proof of Theorem 8.3.8, detAx=p−A(x) is monic, hence non-zero, and Corollary 0.8.4 (2) gives detMx=det(AxD−CB). Evaluating at x=0 with Lemma 8.3.7 gives detM=det(AD−CB).

  • (c) AC=C=CA, since A=I2. As computed in Section 1, detM=−1. Also AD−CB=E11−E21E12=E11−E22=diag(1,−1), with determinant −1, in agreement with (b). But AD−BC=E11−E12E21=E11−E11=0, with determinant 0. So with AC=CA the product must be taken as CB, not BC; here CD=E21≠0=DC, so Theorem 8.3.8 does not apply.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.