How do you derive the block-matrix determinant formula det⁡(ABCD)=det⁡(A)det⁡(D−CA−1B) via block LU factorisation (assuming A is invertible), and how does it prove the matrix determinant lemma det⁡(A+uv⊤)=det⁡(A)(1+v⊤A−1u)?

Linear algebra and optimisation, Trace and determinant identities
Level L5 Expert. Length Long. Nature Mat Mathematical.

What's being asked

Whether you can factor a block matrix to isolate the Schur complement and apply both directions of the block identity to a rank-1 update.

Key idea

Block elimination factors (ABCD) into lower-, block-diagonal and upper-triangular matrices whose determinant is det⁡(A)det⁡(D−CA−1B); comparing both elimination orders on (A−uv⊤1) yields the matrix determinant lemma.

Steps

  1. Perform block Gaussian elimination on M=(ABCD) (where A is square and invertible, and I denotes identity matrices of matching block sizes): multiply block row 1 on the left by CA−1 and subtract from block row 2, giving the block-LDU factorisation M=(I0CA−1I)(A00S)(IA−1B0I), where S=D−CA−1B is the Schur complement of A.
  2. Verify the product directly by multiplying out the three block matrices to recover (ABCCA−1B+S)=M.
  3. Take determinants using det⁡(XY)=det⁡(X)det⁡(Y): both outer block-triangular matrices have all diagonal entries equal to 1, so their determinants are 1. The middle block-diagonal matrix has determinant det⁡(A)det⁡(S), giving det⁡(M)=det⁡(A)det⁡(D−CA−1B).
  4. Symmetrically, if D is invertible, eliminating the upper-right block gives det⁡(M)=det⁡(D)det⁡(A−BD−1C).
  5. Apply both formulas to the (n+1)×(n+1) block matrix K=(A−uv⊤1), where u,v∈Rn: eliminating via A gives det⁡(K)=det⁡(A)det⁡(1−v⊤A−1(−u))=det⁡(A)(1+v⊤A−1u).
  6. Eliminating K via the scalar block D=1 gives det⁡(K)=1⋅det⁡(A−(−u)(1)−1v⊤)=det⁡(A+uv⊤). Equating the two expressions for det⁡(K) proves det⁡(A+uv⊤)=det⁡(A)(1+v⊤A−1u).

Common mistakes

How long your answer should be

One page; 6–7 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: How do you prove the Eckart–Young–Mirsky theorem in the spectral norm: for any matrix A∈Rm×n with singular values σ1≥⋯≥σr>0 and any matrix B of rank at most k<r, why must ∥A−B∥2≥σk+1, and why does the truncated SVD Ak achieve equality?
Next in Linear algebra and optimisation: Let f:Rd→R be μ-strongly convex and L-smooth with unique minimiser x∗. How do you prove that gradient descent with step size η=1/L achieves linear convergence ∥xt−x∗∥22≤(1−μL)t∥x0−x∗∥22?