Block matrix
Matrix defined using smaller matrices called blocks

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.
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 1-to-1 way with some
offset entry of some
, where
and
.
Block matrix algebra arises in general from biproducts in categories of matrices.
01Example
The matrix
can be visualized as divided into four blocks, as
The horizontal and vertical lines have no special mathematical meaning, but are a common way to visualize a partition. By this partition, is partitioned into four 2×2 blocks, as
The partitioned matrix can then be written as
02Formal definition
Let . A partitioning of
is a representation of
in the form
where are contiguous submatrices,
, and
. The elements
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 is said to be partitioned by columns if it is written as
where is the
th column of
. A matrix can also be partitioned by rows:
where is the
-th row of
.
Common partitions
Often, we encounter the 2×2 partition
particularly in the form where is a scalar:
03Block matrix operations
Transpose
Let
where . (This matrix
will be reused in § Addition and § Multiplication.) Then its transpose is
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 be a
block matrix with
blocks
, the block transpose of
is the
block matrix
with
blocks
. As with the conventional trace operator, the block transpose is a linear mapping such that
. However, in general the property
does not hold unless the blocks of
and
commute.
Addition
Let
where , and let
be the matrix defined in § Transpose. (This matrix
will be reused in § Multiplication.) Then if
,
,
, and
, then
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 and
such that all submatrix products that will be used are defined.
Two matrices
and
are said to be partitioned conformally for the product
, when
and
are partitioned into submatrices and if the multiplication
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.
, Arak M. Mathai and Hans J. Haubold, Linear Algebra: A Course for Physicists and Engineers
Let be the matrix defined in § Transpose, and let
be the matrix defined in § Addition. Then the matrix product
can be performed blockwise, yielding as an
matrix. The matrices in the resulting matrix
are calculated by multiplying:
Or, using the Einstein notation that implicitly sums over repeated indices:
Depicting as a matrix, we have
Inversion
If a matrix is partitioned into four blocks, it can be inverted blockwise as follows:
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:
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:
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 for
, 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:
then the inverse of any principal submatrix can be computed from the corresponding blocks of P−1:
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.
Determinant
The formula for the determinant of a -matrix above continues to hold, under appropriate further assumptions, for a matrix composed of four submatrices
with
and
square. The easiest such formula, which can be proven using either the Leibniz formula or a factorization involving the Schur complement, is
Using this formula, we can derive that characteristic polynomials of and
are same and equal to the product of characteristic polynomials of
and
. Furthermore, If
or
is diagonalizable, then
and
are diagonalizable too. The converse is false; simply check
.
If is invertible, one has
and if is invertible, one has
If the blocks are square matrices of the same size further formulas hold. For example, if and
commute (i.e.,
), then
Similar statements hold when
,
, or
. Namely, if
, then
Note the change in order of
and
(we have
instead of
). Similarly, if
, then
should be replaced with
(i.e. we get
) and if
, then we should have
. Note for the last two results, you have to use commutativity of the underlying ring, but not for the first two.
This formula has been generalized to matrices composed of more than blocks, again under appropriate commutativity conditions among the individual blocks.
For and
, the following formula holds (even if
and
do not commute)
04Special types of block matrices
Direct sums and block diagonal matrices
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.
Block diagonal matrices
A block diagonal matrix is a block matrix that is a square matrix such that the main-diagonal blocks are square matrices and all off-diagonal blocks are zero matrices. That is, a block diagonal matrix A has the form
where Ak is a square matrix for all k = 1, ..., n. In other words, matrix A is the direct sum of A1, ..., An. It can also be indicated as A1 ⊕ A2 ⊕ ... ⊕ An or diag(A1, A2, ..., An) (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:
and
A block diagonal matrix is invertible if and only if each of its main-diagonal blocks are invertible, and in this case its inverse is another block diagonal matrix given by
The eigenvalues and eigenvectors of are simply those of the
s 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 has the form
where ,
and
are square sub-matrices 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 triangular matrices
An matrix
is upper block triangular (or block upper triangular) if there are positive integers
such that
and
where the matrix
is
for all
.
Similarly,
is lower block triangular if
where
is
for all
.
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.
A matrix is block Toeplitz if
for all
, that is,
where .
Block Hankel matrices
A matrix is block Hankel if
for all
, that is,
where .
Sources and credits
This article is adapted from the Wikipedia article “Block matrix”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- BlockMatrix168square.png by Parasakthi ( பராசக்தி ) / User:Photonique, CC BY-SA 3.0
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.