Partitioned (Block) Matrices and Idempotent Matrices
GATE 2027 DA core: partition matrix and idempotent matrix properties. Orthogonal and projection matrices and quadratic forms are taught in the QR and spectral-theorem lessons and linked here.
“Treat big matrices as grids of smaller ones, and meet the matrices that do the same thing twice.”
1.Partitioned matrices
§ 4.1.Draw horizontal and vertical lines through a matrix and each piece becomes a block. A 4×4 matrix can be seen as a 2×2 grid of 2×2 blocks, written M = [A B; C D].
The useful fact is that block matrices multiply exactly like ordinary 2×2 matrices, provided each block product is defined: the top-left block of MN is AE + BG, and so on. Because matrix multiplication does not commute, keep every product in its original order.
Block structure shows up all over data science. Splitting a design matrix into feature groups, writing a covariance matrix as [Σ11 Σ12; Σ21 Σ22] for conditional distributions, and building block-diagonal models for independent sub-problems all rely on it.
2.Determinants and inverses of block matrices
§ 4.2.If the lower-left block is zero, the matrix is block upper-triangular, and its determinant is the product of the diagonal blocks' determinants: det[A B; 0 D] = det(A)·det(D). The same holds for block lower-triangular and block diagonal matrices.
For a general [A B; C D] with A invertible, eliminate C using block row operations. What remains in the bottom-right is the Schur complement S = D − C A⁻¹ B, giving det[A B; C D] = det(A)·det(S).
A block diagonal matrix inverts block by block: [A 0; 0 D]⁻¹ = [A⁻¹ 0; 0 D⁻¹].
3. Worked example: a 4×4 determinant in two lines
Partition into 2×2 blocks. The lower-left block is all zeros, so M is block upper-triangular.
↳ Result: A = [[2,1],[1,1]], D = [[3,0],[4,2]]det(A) = 2·1 − 1·1 and det(D) = 3·2 − 0·4.
↳ Result: det(A) = 1, det(D) = 6The off-diagonal block B does not affect the answer.
4.Idempotent matrices
§ 4.4.A square matrix P is idempotent if P² = P. Applying it twice does nothing more than applying it once, which is exactly what a projection does: once a vector has been projected, projecting again leaves it where it is.
If Pv = λv, then λv = Pv = P²v = λ²v, so λ² = λ and every eigenvalue is 0 or 1. Idempotent matrices are always diagonalizable, so their rank (the number of eigenvalue-1 directions) equals their trace.
I − P is idempotent too, and P(I − P) = 0. Together they split every vector into a part in the range of P and a part in the null space of P.
An idempotent P is an orthogonal projection exactly when it is symmetric. A non-symmetric idempotent such as [[1,1],[0,0]] still projects onto a line, but along a slanted direction rather than straight down. Orthogonal projection matrices like A(AᵀA)⁻¹Aᵀ are covered in [inner product spaces, Gram-Schmidt and QR](/notes/linear-algebra/inner-product-spaces-gram-schmidt-and-qr-decomposition), and quadratic forms in [symmetric matrices and the spectral theorem](/notes/linear-algebra/symmetric-matrices-spectral-theorem-and-positive-definiteness).
Practice
M = [A B; 0 D] where A is 3×3 with det(A) = 2 and D is 2×2 with det(D) = −4. What is det(M)?
P is a 5×5 idempotent matrix with trace(P) = 3. What is rank(P)?
Which statement about P = [[1,1],[0,0]] is true?
If P is idempotent, which of these must also be idempotent?
One-minute revision
“Blocks multiply like numbers (in order). Idempotent: P² = P, eigenvalues 0/1, rank = trace.”
- •det[A B; 0 D] = det A · det D
- •det[A B; C D] = det A · det(D − CA⁻¹B)
- •(I − P)² = I − P
- •Orthogonal projection ⇔ P² = P and Pᵀ = P
- •Blocks don't commute
- •det of a block matrix is not ad − bc of block determinants
- •Idempotent need not be symmetric
Primary Academic References & Exam Sources
Every concept in Notes From a B.Tech Brain is synthesized from authoritative academic texts, seminal peer-reviewed research, verified exam archives, and renowned university lectures.