Reference articles on history, science, culture and more
Encyclopedia

Matrix decomposition

Representation of a matrix as a product

Image credit is listed at the end of this article.

In the mathematical discipline of linear algebra, a matrix decomposition or matrix factorization is a factorization of a matrix into a product of matrices. There are many different matrix decompositions; each finds use among a particular class of problems.

01Example

In numerical analysis, different decompositions are used to implement efficient matrix algorithms.

For example, when solving a system of linear equations A\mathbf {x} =\mathbf {b}, the matrix A can be decomposed via the LU decomposition. The LU decomposition factorizes a matrix into a lower triangular matrix L and an upper triangular matrix U. The systems L(U\mathbf {x} )=\mathbf {b} and U\mathbf {x} =L^{-1}\mathbf {b} require fewer additions and multiplications to solve, compared with the original system A\mathbf {x} =\mathbf {b}, though one might require significantly more digits in inexact arithmetic such as floating point.

Similarly, the QR decomposition expresses A as QR with Q an orthogonal matrix and R an upper triangular matrix. The system Q(Rx) = b is solved by Rx = QTb = c, and the system Rx = c is solved by 'back substitution'. The number of additions and multiplications required is about twice that of using the LU solver, but no more digits are required in inexact arithmetic because the QR decomposition is numerically stable.

04Other decompositions

Polar decomposition

  • Applicable to: any square complex matrix A.
  • Decomposition: A=UP (right polar decomposition) or A=P'U (left polar decomposition), where U is a unitary matrix and P and P' are positive semidefinite Hermitian matrices.
  • Uniqueness: P is always unique and equal to {\sqrt {A^{*}A}} (which is always hermitian and positive semidefinite). If A is invertible, then U is unique.
  • Comment: Since any Hermitian matrix admits a spectral decomposition with a unitary matrix, P can be written as P=VDV^{*}. Since P is positive semidefinite, all elements in D are non-negative. Since the product of two unitary matrices is unitary, taking W=UVone can write A=U(VDV^{*})=WDV^{*} which is the singular value decomposition. Hence, the existence of the polar decomposition is equivalent to the existence of the singular value decomposition.

Algebraic polar decomposition

  • Applicable to: square, complex, non-singular matrix A.
  • Decomposition: A=QS, where Q is a complex orthogonal matrix and S is complex symmetric matrix.
  • Uniqueness: If A^{\mathsf {T}}A has no negative real eigenvalues, then the decomposition is unique.
  • Comment: The existence of this decomposition is equivalent to AA^{\mathsf {T}} being similar to A^{\mathsf {T}}A.
  • Comment: A variant of this decomposition is A=RC, where R is a real matrix and C is a circular matrix.

Mostow's decomposition

  • Applicable to: square, complex, non-singular matrix A.
  • Decomposition: A=Ue^{iM}e^{S}, where U is unitary, M is real anti-symmetric and S is real symmetric.
  • Comment: The matrix A can also be decomposed as A=U_{2}e^{S_{2}}e^{iM_{2}}, where U2 is unitary, M2 is real anti-symmetric and S2 is real symmetric.

Sinkhorn normal form

  • Applicable to: square real matrix A with strictly positive elements.
  • Decomposition: A=D_{1}SD_{2}, where S is doubly stochastic and D1 and D2 are real diagonal matrices with strictly positive elements.

Sectoral decomposition

  • Applicable to: square, complex matrix A with numerical range contained in the sector S_{\alpha }=\left\{re^{i\theta }\in \mathbb {C} \mid r>0,|\theta |\leq \alpha <{\frac {\pi }{2}}\right\}.
  • Decomposition: A=CZC^{*}, where C is an invertible complex matrix and Z=\operatorname {diag} \left(e^{i\theta _{1}},\ldots ,e^{i\theta _{n}}\right) with all \left|\theta _{j}\right|\leq \alpha.

Williamson's normal form

Matrix square root

  • Decomposition: A=BB, not unique in general.
  • In the case of positive semidefinite A, there is a unique positive semidefinite B such that A=B^{*}B=BB.

05Generalizations

There exist analogues of the SVD, QR, LU and Cholesky factorizations for quasimatrices and cmatrices or continuous matrices. A "quasimatrix" is, like a matrix, a rectangular scheme whose elements are indexed, but one discrete index is replaced by a continuous index. Likewise, a "cmatrix", is continuous in both indices. As an example of a cmatrix, one can think of the kernel of an integral operator.

These factorizations are based on early work by Fredholm (1903), Hilbert (1904), and Schmidt (1907). For an account and a translation to English of the seminal papers, see Stewart (2011).

Watch videos about Matrix decompositionExplainers and documentaries on YouTube (opens in a new tab)

Sources and credits

This article is adapted from the Wikipedia article Matrix decomposition, 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:

Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.