Block matrix
In mathematics, a block matrix or a partitioned matrix is a matrix which is interpreted as having been broken into sections called blocks or submatrices.^{[1]} 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 out, or partition it, into a collection of smaller matrices.^{[2]} 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 by matrix by partitioning into a collection , and then partitioning into a collection . The original matrix is then considered as the "total" of these groups, in the sense that the entry of the original matrix corresponds in a 1to1 way with some offset entry of some , where and .
Block matrix algebra arises in general from biproducts in categories of matrices.^{[3]}
Contents
Example
The matrix
can be partitioned into 4 2×2 blocks
The partitioned matrix can then be written as
Block matrix 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"^{[4]} between two matrices and such that all submatrix products that will be used are defined.^{[5]} Given an matrix with row partitions and column partitions
and a matrix with row partitions and column partitions
that are compatible with the partitions of , the matrix product
can be formed blockwise, yielding as an matrix with row partitions and column partitions. The matrices in your matrix are calculated by multiplying:
Or, using the Einstein notation that implicitly sums over repeated indices:
Block matrix inversion
If a matrix is partitioned into four blocks, it can be inverted blockwise as follows:

where A, B, C and D have arbitrary size. (A and D must be square, so that they can be inverted. Furthermore, A and D−CA^{−1}B must be nonsingular.^{[6]})
Equivalently,

Block diagonal matrices
A block diagonal matrix is a block matrix which is a square matrix, and having main diagonal blocks square matrices, such that the offdiagonal blocks are zero matrices. A block diagonal matrix A has the form
where A_{k} is a square matrix; in other words, it is the direct sum of A_{1}, …, A_{n}. It can also be indicated as A_{1} A_{2} A_{n} or diag(A_{1}, A_{2},, A_{n}) (the latter being the same formalism used for a diagonal matrix). Any square matrix can trivially be considered a block diagonal matrix with only one block.
For the determinant and trace, the following properties hold
 ,
The inverse of a block diagonal matrix is another block diagonal matrix, composed of the inverse of each block, as follows:
The eigenvalues and eigenvectors of are simply those of and and ... and (combined).
Block tridiagonal matrices
A block tridiagonal matrix is another special block matrix, which is just like the block diagonal matrix a square matrix, having square matrices (blocks) in the lower diagonal, main diagonal and upper diagonal, with all other blocks being zero matrices. It is essentially a tridiagonal matrix but has submatrices in places of scalars. A block tridiagonal matrix A has the form
where A_{k}, B_{k} and C_{k} are square submatrices of the lower, main and upper diagonal respectively.
Block tridiagonal matrices are often encountered in numerical solutions of engineering problems (e.g., computational fluid dynamics). Optimized numerical methods for LU factorization are available and hence efficient solution algorithms for equation systems with a block tridiagonal matrix as coefficient matrix. The Thomas algorithm, used for efficient solution of equation systems involving a tridiagonal matrix can also be applied using matrix operations to block tridiagonal matrices (see also Block LU decomposition).
Block Toeplitz matrices
A block Toeplitz matrix is another special block matrix, which contains blocks that are repeated down the diagonals of the matrix, as a Toeplitz matrix has elements repeated down the diagonal. The individual block matrix elements, Aij, must also be a Toeplitz matrix.
A block Toeplitz matrix A has the form
Direct sum
For any arbitrary matrices A (of size m × n) and B (of size p × q), we have the direct sum of A and B, denoted by A B and defined as
For instance,
This operation generalizes naturally to arbitrary dimensioned arrays (provided that A and B have the same number of dimensions).
Note that any element in the direct sum of two vector spaces of matrices could be represented as a direct sum of two matrices.
Direct product
Application
In linear algebra terms, the use of a block matrix corresponds to having a linear mapping thought of in terms of corresponding 'bunches' of basis vectors. That again matches the idea of having distinguished direct sum decompositions of the domain and range. It is always particularly significant if a block is the zero matrix; that carries the information that a summand maps into a subsum.
Given the interpretation via linear mappings and direct sums, there is a special type of block matrix that occurs for square matrices (the case m = n). For those we can assume an interpretation as an endomorphism of an ndimensional space V; the block structure in which the bunching of rows and columns is the same is of importance because it corresponds to having a single direct sum decomposition on V (rather than two). In that case, for example, the diagonal blocks in the obvious sense are all square. This type of structure is required to describe the Jordan normal form.
This technique is used to cut down calculations of matrices, columnrow expansions, and many computer science applications, including VLSI chip design. An example is the Strassen algorithm for fast matrix multiplication, as well as the Hamming(7,4) encoding for error detection and recovery in data transmissions.
Notes
 ↑ Eves, Howard (1980). Elementary Matrix Theory (reprint ed.). New York: Dover. p. 37. ISBN 0486639460. Retrieved 24 April 2013.
We shall find that it is sometimes convenient to subdivide a matrix into rectangular blocks of elements. This leads us to consider socalled partitioned, or block, matrices.
 ↑ Anton, Howard (1994). Elementary Linear Algebra (7th ed.). New York: John Wiley. p. 30. ISBN 0471587427.
A matrix can be subdivided or partitioned into smaller matrices by inserting horizontal and vertical rules between selected rows and columns.
 ↑ H.D. Macedo, J.N. Oliveira, Typing linear algebra: A biproductoriented approach, Science of Computer Programming, Volume 78, Issue 11, 1 November 2013, Pages 21602191, ISSN 01676423, http://dx.doi.org/10.1016/j.scico.2012.07.012.
 ↑ Eves, Howard (1980). Elementary Matrix Theory (reprint ed.). New York: Dover. p. 37. ISBN 0486639460. Retrieved 24 April 2013.
A partitioning as in Theorem 1.9.4 is called a conformable partition of A and B.
 ↑ Anton, Howard (1994). Elementary Linear Algebra (7th ed.). New York: John Wiley. p. 36. ISBN 0471587427.
...provided the sizes of the submatrices of A and B are such that the indicated operations can be performed.
 ↑ Bernstein, Dennis (2005). Matrix Mathematics. Princeton University Press. p. 44. ISBN 0691118027.
References
 Strang, Gilbert (1999). "Lecture 3: Multiplication and inverse matrices". MIT Open Course ware. 18:30–21:10.