In mathematics, a block matrix or a partitioned matrix is a matrix that is interpreted as having been broken into sections called blocks or submatrices. Intuitively, a matrix interpreted as a block matrix can be visualized as the original matrix with a collection of horizontal and vertical lines, which break it up, or partition it, into a collection of smaller matrices. For example, the 3×4 matrix presented below is divided by horizontal and vertical lines into four blocks: the top-left 2×3 block, the top-right 2×1 block, the bottom-left 1×3 block, and the bottom-right 1×1 block. [a11a12a13b1a21a22a23b2c1c2c3d] Any matrix may be interpreted as a block matrix in one or more ways, with each interpretation defined by how its rows and columns are partitioned. This notion can be made more precise for an n by m matrix M by partitioning n into a collection rowgroups, and then partitioning m into a collection colgroups. The original matrix is then considered as the "total" of these groups, in the sense that the (i,j) entry of the original matrix corresponds in a 1-to-1 way with some (s,t) offset entry of some (x,y), where x∈rowgroups and y∈colgroups. Block matrix algebra arises in general from biproducts in categories of matrices.
Example The matrix 𝐏=[1227156233453367] can be visualized as divided into four blocks, as 𝐏=[1227156233453367]. The horizontal and vertical lines have no special mathematical meaning, but are a common way to visualize a partition. By this partition, P is partitioned into four 2×2 blocks, as 𝐏11=[1215],𝐏12=[2762],𝐏21=[3333],𝐏22=[4567]. The partitioned matrix can then be written as 𝐏=[𝐏11𝐏12𝐏21𝐏22].
Formal definition Let A∈ℂm×n. A partitioning of A is a representation of A in the form A=[A11A12⋯A1qA21A22⋯A2q⋮⋮⋱⋮Ap1Ap2⋯Apq], where Aij∈ℂmi×nj are contiguous submatrices, ∑i=1pmi=m, and ∑j=1qnj=n. The elements Aij of the partition are called blocks. By this definition, the blocks in any one column must all have the same number of columns. Similarly, the blocks in any one row must have the same number of rows.
Partitioning methods A matrix can be partitioned in many ways. For example, a matrix A is said to be partitioned by columns if it is written as A=(a1 a2 ⋯ an), where aj is the jth column of A. A matrix can also be partitioned by rows: A=[a1Ta2T⋮amT], where aiT is the i-th row of A.
Common partitions Often, we encounter the 2×2 partition A=[A11A12A21A22], particularly in the form where A11 is a scalar: A=[a11a12Ta21A22].
Block matrix operations
Transpose Let A=[A11A12⋯A1qA21A22⋯A2q⋮⋮⋱⋮Ap1Ap2⋯Apq] where Aij∈ℂki×ℓj. (This matrix A will be reused in § Addition and § Multiplication.) Then its transpose is AT=[A11TA21T⋯Ap1TA12TA22T⋯Ap2T⋮⋮⋱⋮A1qTA2qT⋯ApqT], and the same equation holds with the transpose replaced by the conjugate transpose.
Block transpose A special form of matrix transpose can also be defined for block matrices, where individual blocks are reordered but not transposed. Let A=(Bij) be a k×l block matrix with m×n blocks Bij, the block transpose of A is the l×k block matrix Aℬ with m×n blocks (Aℬ)ij=Bji. As with the conventional trace operator, the block transpose is a linear mapping such that (A+C)ℬ=Aℬ+Cℬ. However, in general the property (AC)ℬ=CℬAℬ does not hold unless the blocks of A and C commute.
Addition Let B=[B11B12⋯B1sB21B22⋯B2s⋮⋮⋱⋮Br1Br2⋯Brs], where Bij∈ℂmi×nj, and let A be the matrix defined in § Transpose. (This matrix B will be reused in § Multiplication.) Then if p=r, q=s, ki=mi, and ℓj=nj, then A+B=[A11+B11A12+B12⋯A1q+B1qA21+B21A22+B22⋯A2q+B2q⋮⋮⋱⋮Ap1+Bp1Ap2+Bp2⋯Apq+Bpq].
Multiplication It is possible to use a block partitioned matrix product that involves only algebra on submatrices of the factors. The partitioning of the factors is not arbitrary, however, and requires "conformable partitions" between two matrices A and B such that all submatrix products that will be used are defined.
Two matrices A and B are said to be partitioned conformally for the product AB, when A and B are partitioned into submatrices and if the multiplication AB is carried out treating the submatrices as if they are scalars, but keeping the order, and when all products and sums of submatrices involved are defined. Let A be the matrix defined in § Transpose, and let B be the matrix defined in § Addition. Then the matrix product C=AB can be performed blockwise, yielding C as an (p×s) matrix. The matrices in the resulting matrix C are calculated by multiplying: Cij=∑k=1qAikBkj. Or, using the Einstein notation that implicitly sums over repeated indices: Cij=AikBkj. Depicting C as a matrix, we have C=AB=[∑i=1qA1iBi1∑i=1qA1iBi2⋯∑i=1qA1iBis∑i=1qA2iBi1∑i=1qA2iBi2⋯∑i=1qA2iBis⋮⋮⋱⋮∑i=1qApiBi1∑i=1qApiBi2⋯∑i=1qApiBis].
Inversion
If a matrix is partitioned into four blocks, it can be inverted blockwise as follows: P=[ABCD]−1=[A−1+A−1B(D−CA−1B)−1CA−1−A−1B(D−CA−1B)−1−(D−CA−1B)−1CA−1(D−CA−1B)−1], where A and D are square blocks of arbitrary size, and B and C are conformable with them for partitioning. Furthermore, A and the Schur complement of A in P: P/A = D − CA−1B must be invertible. Equivalently, by permuting the blocks: P=[ABCD]−1=[(A−BD−1C)−1−(A−BD−1C)−1BD−1−D−1C(A−BD−1C)−1D−1+D−1C(A−BD−1C)−1BD−1]. Here, D and the Schur complement of D in P: P/D = A − BD−1C must be invertible. If A and D are both invertible, then: [ABCD]−1=[(A−BD−1C)−100(D−CA−1B)−1][I−BD−1−CA−1I]. By the Weinstein–Aronszajn identity, one of the two matrices in the block-diagonal matrix is invertible exactly when the other is. Block matrix inversion also enables to yield from the efficiency of the fast matrix multiplication algorithms, which allows to perform the inversion in time O(nω) for 2.37≤ω<3, Sect. 11, pp. 413-414 .
Computing submatrix inverses from the full inverse By the symmetry between a matrix and its inverse in the block inversion formula, if a matrix P and its inverse P−1 are partitioned conformally: P=[ABCD],P−1=[EFGH] then the inverse of any principal submatrix can be computed from the corresponding blocks of P−1: A−1=E−FH−1G D−1=H−GE−1F This relationship follows from recognizing that E−1 = A − BD−1C (the Schur complement), and applying the same block inversion formula with the roles of P and P−1 reversed.
… excerpt ends here. Continue reading the full article.

