Partitioned Matrix
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a block matrix or a partitioned matrix is a
matrix Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** ''The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchis ...
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 Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
it, into a collection of smaller matrices. 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 \text, and then partitioning m into a collection \text. 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 Offset or Off-Set may refer to: Arts, entertainment, and media * "Off-Set", a song by T.I. and Young Thug from the '' Furious 7: Original Motion Picture Soundtrack'' * ''Offset'' (EP), a 2018 EP by singer Kim Chung-ha * ''Offset'' (film), a 200 ...
entry of some (x,y), where x \in \text and y \in \text. Block matrix algebra arises in general from
biproduct In category theory and its applications to mathematics, a biproduct of a finite collection of objects, in a category with zero objects, is both a product and a coproduct. In a preadditive category the notions of product and coproduct coincide for ...
s in
categories Category, plural categories, may refer to: Philosophy and general uses *Categorization, categories in cognitive science, information science and generally *Category of being *Categories (Aristotle), ''Categories'' (Aristotle) *Category (Kant) ...
of matrices.


Example

The matrix :\mathbf = \begin 1 & 2 & 2 & 7 \\ 1 & 5 & 6 & 2 \\ 3 & 3 & 4 & 5 \\ 3 & 3 & 6 & 7 \end can be partitioned into four 2×2 blocks : \mathbf_ = \begin 1 & 2 \\ 1 & 5 \end,\quad \mathbf_ = \begin 2 & 7\\ 6 & 2 \end,\quad \mathbf_ = \begin 3 & 3 \\ 3 & 3 \end,\quad \mathbf_ = \begin 4 & 5 \\ 6 & 7 \end. The partitioned matrix can then be written as :\mathbf = \begin \mathbf_ & \mathbf_ \\ \mathbf_ & \mathbf_ \end.


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 In mathematics, a matrix is conformable if its dimensions are suitable for defining some operation (''e.g.'' addition, multiplication, etc.). Examples * If two matrices have the same dimensions (number of rows and number of columns), they are ...
partitions" between two matrices A and B such that all submatrix products that will be used are defined. Given an (m \times p) matrix \mathbf with q row partitions and s column partitions :\mathbf = \begin \mathbf_ & \mathbf_ & \cdots & \mathbf_ \\ \mathbf_ & \mathbf_ & \cdots & \mathbf_ \\ \vdots & \vdots & \ddots & \vdots \\ \mathbf_ & \mathbf_ & \cdots & \mathbf_ \end and a (p \times n) matrix \mathbf with s row partitions and r column partitions :\mathbf = \begin \mathbf_ & \mathbf_ & \cdots &\mathbf_ \\ \mathbf_ & \mathbf_ & \cdots &\mathbf_ \\ \vdots & \vdots & \ddots &\vdots \\ \mathbf_ & \mathbf_ & \cdots &\mathbf_ \end, that are compatible with the partitions of A, the matrix product : \mathbf=\mathbf\mathbf can be performed blockwise, yielding \mathbf as an (m \times n) matrix with q row partitions and r column partitions. The matrices in the resulting matrix \mathbf are calculated by multiplying: : \mathbf_ = \sum^s_\mathbf_\mathbf_. Or, using the
Einstein notation In mathematics, especially the usage of linear algebra in Mathematical physics, Einstein notation (also known as the Einstein summation convention or Einstein summation notation) is a notational convention that implies summation over a set of ...
that implicitly sums over repeated indices: : \mathbf_ = \mathbf_\mathbf_.


Block matrix inversion

If a matrix is partitioned into four blocks, it can be inverted blockwise as follows: :\mathbf = \begin \mathbf & \mathbf \\ \mathbf & \mathbf \end^ = \begin \mathbf^ + \mathbf^\mathbf\left(\mathbf - \mathbf^\mathbf\right)^\mathbf^ & -\mathbf^\mathbf\left(\mathbf - \mathbf^\mathbf\right)^ \\ -\left(\mathbf-\mathbf^\mathbf\right)^\mathbf^ & \left(\mathbf - \mathbf^\mathbf\right)^ \end, where A and D are square blocks of arbitrary size, and B and C are
conformable In mathematics, a matrix is conformable if its dimensions are suitable for defining some operation (''e.g.'' addition, multiplication, etc.). Examples * If two matrices have the same dimensions (number of rows and number of columns), they are ...
with them for partitioning. Furthermore, A and the Schur complement of A in P: must be invertible. Equivalently, by permuting the blocks: :\mathbf = \begin \mathbf & \mathbf \\ \mathbf & \mathbf \end^ = \begin \left(\mathbf - \mathbf^\mathbf\right)^ & -\left(\mathbf-\mathbf^\mathbf\right)^\mathbf^ \\ -\mathbf^\mathbf\left(\mathbf - \mathbf^\mathbf\right)^ & \quad \mathbf^ + \mathbf^\mathbf\left(\mathbf - \mathbf^\mathbf\right)^\mathbf^ \end. Here, D and the Schur complement of D in P: must be invertible. If A and D are both invertible, then: : \begin \mathbf & \mathbf \\ \mathbf & \mathbf \end^ = \begin \left(\mathbf - \mathbf \mathbf^ \mathbf\right)^ & \mathbf \\ \mathbf & \left(\mathbf - \mathbf \mathbf^ \mathbf\right)^ \end \begin \mathbf & -\mathbf \mathbf^ \\ -\mathbf \mathbf^ & \mathbf \end. By the
Weinstein–Aronszajn identity In mathematics, the Weinstein–Aronszajn identity states that if A and B are matrices of size and respectively (either or both of which may be infinite) then, provided AB (and hence, also BA) is of trace class, :\det(I_m + AB) = \det(I_n + BA) ...
, one of the two matrices in the block-diagonal matrix is invertible exactly when the other is.


Block matrix determinant

The formula for the determinant of a 2 \times 2-matrix above continues to hold, under appropriate further assumptions, for a matrix composed of four submatrices A, B, C, D. The easiest such formula, which can be proven using either the Leibniz formula or a factorization involving the
Schur complement In linear algebra and the theory of matrices, the Schur complement of a block matrix is defined as follows. Suppose ''p'', ''q'' are nonnegative integers, and suppose ''A'', ''B'', ''C'', ''D'' are respectively ''p'' × ''p'', ''p'' × ''q'', ''q'' ...
, is :\det\beginA& 0\\ C& D\end = \det(A) \det(D) = \det\beginA& B\\ 0& D\end. If A is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that is ...
(and similarly if D is invertible), one has :\det\beginA& B\\ C& D\end = \det(A) \det\left(D - C A^ B\right) . If D is a 1 \times 1-matrix, this simplifies to \det (A) (D - CA^B). If the blocks are square matrices of the ''same'' size further formulas hold. For example, if C and D
commute Commute, commutation or commutative may refer to: * Commuting, the process of travelling between a place of residence and a place of work Mathematics * Commutative property, a property of a mathematical operation whose result is insensitive to th ...
(i.e., CD=DC), then :\det\beginA& B\\ C& D\end = \det(AD - BC). This formula has been generalized to matrices composed of more than 2 \times 2 blocks, again under appropriate commutativity conditions among the individual blocks. For A = D and B=C, the following formula holds (even if A and B do not commute) :\det\beginA& B\\ B& A\end = \det(A - B) \det(A + B).


Block diagonal matrices

A block diagonal matrix is a block matrix that is a
square matrix In mathematics, a square matrix is a matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Square matrices are often ...
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 :\mathbf = \begin \mathbf_1 & 0 & \cdots & 0 \\ 0 & \mathbf_2 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \mathbf_n \end where A''k'' is a square matrix for all ''k'' = 1, ..., ''n''. In other words, matrix A is the
direct sum The direct sum is an operation between structures in abstract algebra, a branch of mathematics. It is defined differently, but analogously, for different kinds of structures. To see how the direct sum is used in abstract algebra, consider a more ...
of A1, ..., A''n''. It can also be indicated as A1 ⊕ A2 ⊕ ... ⊕ A''n'' or diag(A1, A2, ..., A''n'')  (the latter being the same formalism used for a
diagonal matrix In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagonal ma ...
). Any square matrix can trivially be considered a block diagonal matrix with only one block. For the
determinant In mathematics, the determinant is a scalar value that is a function of the entries of a square matrix. It characterizes some properties of the matrix and the linear map represented by the matrix. In particular, the determinant is nonzero if and ...
and
trace Trace may refer to: Arts and entertainment Music * Trace (Son Volt album), ''Trace'' (Son Volt album), 1995 * Trace (Died Pretty album), ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * The Trace (album), ''The ...
, the following properties hold :\begin \det\mathbf &= \det\mathbf_1 \times \cdots \times \det\mathbf_n, \\ \operatorname\mathbf &= \operatorname \mathbf_1 + \cdots + \operatorname \mathbf_n.\end A block diagonal matrix is invertible
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bicondi ...
each of its main-diagonal blocks are invertible, and in this case its inverse is another block diagonal matrix given by :\begin \mathbf_ & 0 & \cdots & 0 \\ 0 & \mathbf_ & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \mathbf_ \end^ = \begin \mathbf_^ & 0 & \cdots & 0 \\ 0 & \mathbf_^ & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \mathbf_^ \end. The
eigenvalues and eigenvectors In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted b ...
of \mathbf are simply those of the \mathbf_ks combined.


Block tridiagonal matrices

A block tridiagonal matrix is another special block matrix, which is just like the block diagonal matrix a
square matrix In mathematics, a square matrix is a matrix with the same number of rows and columns. An ''n''-by-''n'' matrix is known as a square matrix of order Any two square matrices of the same order can be added and multiplied. Square matrices are often ...
, having square matrices (blocks) in the lower diagonal,
main diagonal In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries a_ where i = j. All off-diagonal elements are zero in a diagonal matrix. ...
and upper diagonal, with all other blocks being zero matrices. It is essentially a
tridiagonal matrix In linear algebra, a tridiagonal matrix is a band matrix that has nonzero elements only on the main diagonal, the subdiagonal/lower diagonal (the first diagonal below this), and the supradiagonal/upper diagonal (the first diagonal above the main di ...
but has submatrices in places of scalars. A block tridiagonal matrix A has the form :\mathbf = \begin \mathbf_ & \mathbf_ & & & \cdots & & 0 \\ \mathbf_ & \mathbf_ & \mathbf_ & & & & \\ & \ddots & \ddots & \ddots & & & \vdots \\ & & \mathbf_ & \mathbf_ & \mathbf_ & & \\ \vdots & & & \ddots & \ddots & \ddots & \\ & & & & \mathbf_ & \mathbf_ & \mathbf_ \\ 0 & & \cdots & & & \mathbf_ & \mathbf_ \end where A''k'', B''k'' and C''k'' 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 Computational fluid dynamics (CFD) is a branch of fluid mechanics that uses numerical analysis and data structures to analyze and solve problems that involve fluid flows. Computers are used to perform the calculations required to simulate th ...
). Optimized numerical methods for
LU factorization In numerical analysis and linear algebra, lower–upper (LU) decomposition or factorization factors a matrix as the product of a lower triangular matrix and an upper triangular matrix (see matrix decomposition). The product sometimes includes a per ...
are available and hence efficient solution algorithms for equation systems with a block tridiagonal matrix as coefficient matrix. The
Thomas algorithm In numerical linear algebra, the tridiagonal matrix algorithm, also known as the Thomas algorithm (named after Llewellyn Thomas), is a simplified form of Gaussian elimination that can be used to solve tridiagonal systems of equations. A tridiagona ...
, used for efficient solution of equation systems involving a
tridiagonal matrix In linear algebra, a tridiagonal matrix is a band matrix that has nonzero elements only on the main diagonal, the subdiagonal/lower diagonal (the first diagonal below this), and the supradiagonal/upper diagonal (the first diagonal above the main di ...
can also be applied using matrix operations to block tridiagonal matrices (see also
Block LU decomposition In linear algebra, a Block LU decomposition is a matrix decomposition of a block matrix into a lower block triangular matrix ''L'' and an upper block triangular matrix ''U''. This decomposition is used in numerical analysis to reduce the complexit ...
).


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 In linear algebra, a Toeplitz matrix or diagonal-constant matrix, named after Otto Toeplitz, is a matrix in which each descending diagonal from left to right is constant. For instance, the following matrix is a Toeplitz matrix: :\qquad\begin a & b ...
has elements repeated down the diagonal. A block Toeplitz matrix A has the form :\mathbf = \begin \mathbf_ & \mathbf_ & & & \cdots & \mathbf_ & \mathbf_ \\ \mathbf_ & \mathbf_ & \mathbf_ & & & & \mathbf_ \\ & \ddots & \ddots & \ddots & & & \vdots \\ & & \mathbf_ & \mathbf_ & \mathbf_ & & \\ \vdots & & & \ddots & \ddots & \ddots & \\ \mathbf_ & & & & \mathbf_ & \mathbf_ & \mathbf_ \\ \mathbf_ & \mathbf_ & \cdots & & & \mathbf_ & \mathbf_ \end.


Block transpose

A special form of matrix
transpose In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations). The tr ...
can also be defined for block matrices, where individual blocks are reordered but not transposed. Let A=(B_) be a k \times l block matrix with m \times n blocks B_, the block transpose of A is the l \times k block matrix A^\mathcal with m \times n blocks \left(A^\mathcal\right)_ = B_. As with the conventional trace operator, the block transpose is a
linear mapping In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pre ...
such that (A + C)^\mathcal = A^\mathcal + C^\mathcal . However, in general the property (A C)^\mathcal = C^\mathcal A^\mathcal does not hold unless the blocks of A and C commute.


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 \oplus B and defined as : \mathbf \oplus \mathbf = \begin a_ & \cdots & a_ & 0 & \cdots & 0 \\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots \\ a_ & \cdots & a_ & 0 & \cdots & 0 \\ 0 & \cdots & 0 & b_ & \cdots & b_ \\ \vdots & \ddots & \vdots & \vdots & \ddots & \vdots \\ 0 & \cdots & 0 & b_ & \cdots & b_ \end. For instance, : \begin 1 & 3 & 2 \\ 2 & 3 & 1 \end \oplus \begin 1 & 6 \\ 0 & 1 \end = \begin 1 & 3 & 2 & 0 & 0 \\ 2 & 3 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 & 6 \\ 0 & 0 & 0 & 0 & 1 \end. 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 The direct sum is an operation between structures in abstract algebra, a branch of mathematics. It is defined differently, but analogously, for different kinds of structures. To see how the direct sum is used in abstract algebra, consider a more ...
of two
vector space In mathematics and physics, a vector space (also called a linear space) is a set whose elements, often called ''vectors'', may be added together and multiplied ("scaled") by numbers called '' scalars''. Scalars are often real numbers, but can ...
s of matrices could be represented as a direct sum of two matrices.


Application

In
linear algebra Linear algebra is the branch of mathematics concerning linear equations such as: :a_1x_1+\cdots +a_nx_n=b, linear maps such as: :(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n, and their representations in vector spaces and through matrices. ...
terms, the use of a block matrix corresponds to having a
linear mapping In mathematics, and more specifically in linear algebra, a linear map (also called a linear mapping, linear transformation, vector space homomorphism, or in some contexts linear function) is a mapping V \to W between two vector spaces that pre ...
thought of in terms of corresponding 'bunches' of
basis vector In mathematics, a set of vectors in a vector space is called a basis if every element of may be written in a unique way as a finite linear combination of elements of . The coefficients of this linear combination are referred to as components ...
s. That again matches the idea of having distinguished direct sum decompositions of the
domain Domain may refer to: Mathematics *Domain of a function, the set of input values for which the (total) function is defined **Domain of definition of a partial function **Natural domain of a partial function **Domain of holomorphy of a function * Do ...
and
range Range may refer to: Geography * Range (geographic), a chain of hills or mountains; a somewhat linear, complex mountainous or hilly area (cordillera, sierra) ** Mountain range, a group of mountains bordered by lowlands * Range, a term used to i ...
. It is always particularly significant if a block is the
zero matrix In mathematics, particularly linear algebra, a zero matrix or null matrix is a matrix all of whose entries are zero. It also serves as the additive identity of the additive group of m \times n matrices, and is denoted by the symbol O or 0 followed b ...
; that carries the information that a summand maps into a sub-sum. 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 In mathematics, an endomorphism is a morphism from a mathematical object to itself. An endomorphism that is also an isomorphism is an automorphism. For example, an endomorphism of a vector space is a linear map , and an endomorphism of a g ...
of an ''n''-dimensional 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 In geometry, a diagonal is a line segment joining two vertices of a polygon or polyhedron, when those vertices are not on the same edge. Informally, any sloping line is called diagonal. The word ''diagonal'' derives from the ancient Greek δ ...
blocks in the obvious sense are all square. This type of structure is required to describe the
Jordan normal form In linear algebra, a Jordan normal form, also known as a Jordan canonical form (JCF), is an upper triangular matrix of a particular form called a Jordan matrix representing a linear operator on a finite-dimensional vector space with respect to som ...
. This technique is used to cut down calculations of matrices, column-row expansions, and many
computer science Computer science is the study of computation, automation, and information. Computer science spans theoretical disciplines (such as algorithms, theory of computation, information theory, and automation) to Applied science, practical discipli ...
applications, including
VLSI Very large-scale integration (VLSI) is the process of creating an integrated circuit (IC) by combining millions or billions of MOS transistors onto a single chip. VLSI began in the 1970s when MOS integrated circuit (Metal Oxide Semiconductor) c ...
chip design. An example is the
Strassen algorithm In linear algebra, the Strassen algorithm, named after Volker Strassen, is an algorithm for matrix multiplication. It is faster than the standard matrix multiplication algorithm for large matrices, with a better asymptotic complexity, although t ...
for fast
matrix multiplication In mathematics, particularly in linear algebra, matrix multiplication is a binary operation that produces a matrix from two matrices. For matrix multiplication, the number of columns in the first matrix must be equal to the number of rows in the s ...
, as well as the
Hamming(7,4) In coding theory, Hamming(7,4) is a linear error-correcting code that encodes four bits of data into seven bits by adding three parity bits. It is a member of a larger family of Hamming codes, but the term ''Hamming code'' often refers to this ...
encoding for error detection and recovery in data transmissions. The technique can also be used where the elements of the A,B,C, and D matrices do not all require the same field for their elements. For example, The matrix A can be over the field of complex numbers, while the matrix D can be over the field of real numbers. This can lead to valid operations involving the matrices, while simplifying the operations within one of the matrices. For example, if D has only real elements finding its inverse takes less calculations than if complex elements must be considered. But the reals is a subfield of the complex numbers (further it can be considered a projection), so the matrices operations can be well defined.


See also

*
Kronecker product In mathematics, the Kronecker product, sometimes denoted by ⊗, is an operation on two matrices of arbitrary size resulting in a block matrix. It is a generalization of the outer product (which is denoted by the same symbol) from vectors to ...
(matrix direct product resulting in a block matrix)


Notes


References

* {{Matrix classes Matrices Sparse matrices