Key idea of this section
A · adj(A) = adj(A) · A = (det A) I det [ A B ; C D ] = det A · det(D − C A⁻¹ B)
The adjugate
The (i, j) minor Mij of A is the determinant of the (n − 1) × (n − 1) matrix obtained by deleting row i and column j, and the cofactor is Cij = (−1)i+j Mij. Laplace expansion along row i reads det A = ∑j aij Cij. The adjugate adj(A) is the transpose of the cofactor matrix: adj(A)ji = Cij.
Theorem 4.1. A · adj(A) = adj(A) · A = (det A) I. Hence, if det A ≠ 0, A⁻¹ = adj(A)/det A.
Proof. The (i, k) entry of A · adj(A) is ∑j aij Ckj. For i = k this is the expansion of det A along row i. For i ≠ k it is the expansion along row k of the matrix obtained from A by replacing row k with row i; that matrix has two equal rows, so its determinant is 0. The other product is handled by expanding along columns. ∎
For n = 2 the theorem gives the familiar formula [ a b ; c d ]⁻¹ = (1/(ad − bc)) [ d −b ; −c a ]. Theorem 4.1 also shows that the entries of A⁻¹ are rational functions of the entries of A, so inversion is continuous, indeed smooth, on the open set of invertible matrices.
Theorem 4.2 (Cramer's rule, 1750). If det A ≠ 0, the unique solution of Ax = b has components xi = det Ai(b) / det A, where Ai(b) is A with column i replaced by b.
Proof. Let Xi be the identity matrix with column i replaced by x. Then A Xi = Ai(b), because A ej = aj for j ≠ i and A x = b. Expanding det Xi along row i gives det Xi = xi. Taking determinants, det A · xi = det Ai(b). ∎
Worked example: for 2x + y = 5 and x + 3y = 10, det A = 6 − 1 = 5, so x = det [ 5 1 ; 10 3 ]/5 = (15 − 10)/5 = 1 and y = det [ 2 5 ; 1 10 ]/5 = (20 − 5)/5 = 3. Cramer's rule is of great theoretical value, for example in proving that the solution depends smoothly on the data and in bounding the size of integer solutions, but as an algorithm it costs far more than elimination and is numerically inferior.
Block elimination and the Schur complement
Matrices may be partitioned into blocks and multiplied blockwise, provided the block sizes are compatible. Suppose M = [ A B ; C D ] with A square and invertible. Block elimination gives the factorization
[ A B ] [ I 0 ] [ A 0 ] [ I A⁻¹B ] [ C D ] = [ CA⁻¹ I ] [ 0 S ] [ 0 I ] S = D − C A⁻¹ B
The matrix S is the Schur complement of A in M. Since the outer factors are block unitriangular with determinant 1, det M = det A · det S. Inverting the three factors yields
M⁻¹ = [ A⁻¹ + A⁻¹ B S⁻¹ C A⁻¹ −A⁻¹ B S⁻¹ ]
[ −S⁻¹ C A⁻¹ S⁻¹ ]
whenever S is invertible. Schur complements appear throughout mathematics: as conditional covariance matrices of Gaussian vectors, in the reduction of a quadratic form, in domain decomposition methods, and in the proof of Sylvester's criterion in Lesson 9.
Low-rank updates
Theorem 4.3 (Sherman–Morrison–Woodbury). Let A ∈ 𝔽n×n and C ∈ 𝔽k×k be invertible and U ∈ 𝔽n×k, V ∈ 𝔽k×n. If C⁻¹ + V A⁻¹ U is invertible, then
(A + U C V)⁻¹ = A⁻¹ − A⁻¹ U (C⁻¹ + V A⁻¹ U)⁻¹ V A⁻¹
Proof. Multiply A + UCV by the proposed inverse. The product is I + UCVA⁻¹ − U(C⁻¹ + VA⁻¹U)⁻¹VA⁻¹ − UCVA⁻¹U(C⁻¹ + VA⁻¹U)⁻¹VA⁻¹. The last two terms combine to −UC(C⁻¹ + VA⁻¹U)(C⁻¹ + VA⁻¹U)⁻¹VA⁻¹ = −UCVA⁻¹, which cancels the second term, leaving I. ∎
The case k = 1 is the Sherman–Morrison formula (A + uvᵀ)⁻¹ = A⁻¹ − A⁻¹uvᵀA⁻¹/(1 + vᵀA⁻¹u). Its companion is the matrix determinant lemma det(A + uvᵀ) = det A · (1 + vᵀA⁻¹u), which follows from det(I + xvᵀ) = 1 + vᵀx: indeed I + xvᵀ maps x to (1 + vᵀx)x and fixes every vector of the (n − 1)-dimensional subspace {w : vᵀw = 0}, so (when vᵀx ≠ 0, and by continuity otherwise) its eigenvalues are 1 + vᵀx and 1 repeated n − 1 times. These formulas let one update a factorization after a rank-one change in O(n²) operations instead of refactoring in O(n³); they are the engine of quasi-Newton methods such as BFGS and of recursive least squares.
The Neumann series
If ‖E‖ < 1 in some submultiplicative matrix norm, then I − E is invertible and (I − E)⁻¹ = I + E + E² + ⋯, with ‖(I − E)⁻¹‖ ≤ 1/(1 − ‖E‖). The proof is the geometric series: the partial sums are Cauchy, and (I − E)(I + E + ⋯ + Ek) = I − Ek+1 → I. One consequence is that the invertible matrices form an open set: if A is invertible and ‖A⁻¹‖ ‖F‖ < 1, then A + F = A(I + A⁻¹F) is invertible.
Exercise
- (a)Compute the inverse of [ 2 1 ; 5 3 ] using the adjugate.
- (b)Let u = (1, 2, 3)ᵀ and v = (1, 1, 1)ᵀ. Find det(I + uvᵀ).
- (c)For the same u and v, use Sherman–Morrison to write (I + uvᵀ)⁻¹.
Show solution
Answers: (a) The determinant is 6 − 5 = 1, so the inverse is the adjugate [ 3 −1 ; −5 2 ]. (b) det(I + uvᵀ) = 1 + vᵀu = 1 + 1 + 2 + 3 = 7. (c) With A = I the formula gives (I + uvᵀ)⁻¹ = I − uvᵀ/(1 + vᵀu) = I − (1/7) uvᵀ, where uvᵀ = [ 1 1 1 ; 2 2 2 ; 3 3 3 ].