datarekha

Partition (Block) Matrices

Draw a few lines through a big matrix and treat the rectangles inside as single objects. Blocks largely behave like scalars — you add and multiply them block-wise — and for block-diagonal or block-triangular layouts the determinant is just the product of the diagonal blocks' determinants.

5 min read Intermediate GATE DA Lesson 31 of 122

What you'll learn

  • Partitioning a matrix into blocks and multiplying block-wise (respecting order)
  • Block-diagonal / block-triangular determinant = product of the diagonal blocks' determinants
  • The inverse of a block-diagonal matrix is the block-wise inverse

Before you start

The last lesson tamed a big matrix by factoring it. Here is a different handle: just draw a few lines through it and treat the rectangles inside as single objects. That is a partitioned matrix — the same numbers, merely regrouped into blocks. The convenient surprise is that those blocks largely behave like scalars: you add and multiply them block by block, as if each block were one number — as long as the sizes line up so the inner products make sense. (It is not just exam bookkeeping: the covariance of two feature groups, a graph’s adjacency matrix, and a neural network’s weight layout all carry natural block structure this arithmetic exploits.)

Blocks behave like scalars

ABCDone 4×4 = four 2×2 blocks
A 4×4 partitioned into 2×2 blocks A, B, C, D — multiply such matrices block-wise, like 2×2 scalar arithmetic, but the blocks never commute.

Multiplying two block matrices follows the ordinary row-times-column rule, with blocks in place of numbers. For the 2×2 block layout above,

[ A  B ] [ E  F ]   [ AE + BG    AF + BH ]
[ C  D ] [ G  H ] = [ CE + DG    CF + DH ]

— identical in shape to scalar 2×2 multiplication, except each product like AE is a matrix product: A’s column count must match E’s row count, and the order AE must be kept, never EA.

The payoff GATE leans on: when the blocks land in a block-triangular (one off-diagonal block zero) or block-diagonal (both zero) pattern, two normally-painful operations turn trivial. The determinant collapses to the product of the diagonal blocks:

det [ A  B ]  =  det(A) · det(D)            (block-triangular: lower-left = 0)
    [ 0  D ]

det diag(A, B, C, …)  =  det(A) · det(B) · det(C) · …   (block-diagonal)

And a block-diagonal matrix inverts block by block: diag(A, B)⁻¹ = diag(A⁻¹, B⁻¹), provided each diagonal block is itself invertible.

A worked example

Take M = diag(A, B) with A = [[2, 0], [0, 2]] (det = 4) and B = [[1, 1], [0, 3]] (det = 3). Written out, M is the 4×4

M = [ 2  0 | 0  0 ]
    [ 0  2 | 0  0 ]
    [ ---------- ]      det(M) = det(A) · det(B) = 4 · 3 = 12
    [ 0  0 | 1  1 ]
    [ 0  0 | 0  3 ]

No 4×4 cofactor expansion needed — the block structure does the work, turning 4 × 3 = 12 into the whole answer.

A question to carry forward

We have now broken matrices apart in several ways — into eigen-pieces QΛQᵀ, into triangular LU factors, into blocks. But every one of those needed the matrix to be square. Here is the thread onward: is there a single decomposition that works for any matrix at all — rectangular, rank-deficient, anything — and reveals its true “stretch directions” the way eigenvalues do for a square one?

In one breath

  • A partitioned (block) matrix regroups the same numbers into rectangular blocks; blocks add and multiply block-wise like scalars — when sizes are conformable.
  • Block multiplication is row-times-column with matrix blocks: each AE is a matrix product, order kept (AE ≠ EA).
  • Block-triangular / block-diagonal determinant = product of the diagonal blocks’ determinants (det diag(A,B) = det(A)·det(B)).
  • Block-diagonal inverse is block-wise: diag(A,B)⁻¹ = diag(A⁻¹, B⁻¹) (each block invertible).
  • The determinant shortcut needs a zero off-diagonal block — a full block matrix does not give det(A)·det(D).

Practice

Quick check

0/6
Q1Recall: for which block structure does det = det(A)·det(D) hold for [[A, B], [C, D]]?
Q2Trace: M is block-diagonal with A = [[3, 0], [0, 3]] and B = [[2, 5], [0, 4]]. Enter det(M).numerical answer — type a number
Q3Trace: a block upper-triangular [[A, B], [0, D]] has A = [[1, 2], [3, 4]] (det = −2) and D = [[5, 0], [0, 5]] (det = 25). Enter its determinant.numerical answer — type a number
Q4Apply: which statements about block matrices are correct? (select all that apply)select all that apply
Q5Apply: I = diag(I₂, I₂) is the 4×4 identity in 2×2 blocks. Enter its determinant via the block rule.numerical answer — type a number
Q6Create: M = [[A, 0], [0, B]] with A = [[2,1],[0,2]] and B = [[1,0],[3,1]]. Give det(M) and M⁻¹'s structure, with reasoning.

Sign in to track your progress

Completed lessons, your XP, level, and streak save to your account — it's free and takes a few seconds.

Practice this in an interview

All questions

Related lessons

Explore further

Skip to content