In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called lower triangular if all the entries above the main diagonal are zero. Similarly, a square matrix is called upper triangular if all the entries below the main diagonal are zero. Because matrix equations with triangular matrices are easier to solve, they are very important in numerical analysis. By the LU decomposition algorithm, an invertible matrix may be written as the product of a lower triangular matrix L and an upper triangular matrix U if and only if all its leading principal minors are non-zero.
Description A matrix of the form
L=[ℓ1,10⋮ℓ2,1ℓ2,2⋮ℓ3,1ℓ3,2⋱⋮⋮⋱⋱ℓn,1ℓn,2…ℓn,n−1ℓn,n] is called a lower triangular matrix or left triangular matrix, and analogously a matrix of the form
U=[u1,1u1,2u1,3…u1,n⋮u2,2u2,3…u2,n⋮⋱⋱⋮⋱un−1,n⋮0un,n⋮] is called an upper triangular matrix or right triangular matrix. A lower or left triangular matrix is commonly denoted with the variable L, and an upper or right triangular matrix is commonly denoted with the variable U or R. A matrix that is both upper and lower triangular is diagonal. Matrices that are similar to triangular matrices are called triangularisable. A non-square (or sometimes any) matrix with zeros above (below) the diagonal is called a lower (upper) trapezoidal matrix. The non-zero entries form the shape of a trapezoid.
Examples The matrix
[10029604969] is the lower triangular for the non symmetric matrix:
[15829694969] and
[141069001] is the upper triangular for the non symmetric matrix:
[141996940881]
Forward and back substitution A matrix equation in the form L𝐱=𝐛 or U𝐱=𝐛 is very easy to solve by an iterative process called forward substitution for lower triangular matrices and analogously back substitution for upper triangular matrices. The process is so called because for lower triangular matrices, one first computes x1, then substitutes that forward into the next equation to solve for x2, and repeats through to xn. In an upper triangular matrix, one works backwards, first computing xn, then substituting that back into the previous equation to solve for xn−1, and repeating through x1. Notice that this does not require inverting the matrix.
Forward substitution The matrix equation Lx = b can be written as a system of linear equations
ℓ1,1x1=b1ℓ2,1x1+ℓ2,2x2=b2⋮⋮⋱⋮ℓm,1x1+ℓm,2x2+⋯+ℓm,mxm=bm Observe that the first equation (ℓ1,1x1=b1) only involves x1, and thus one can solve for x1 directly. The second equation only involves x1 and x2, and thus can be solved once one substitutes in the already solved value for x1. Continuing in this way, the k-th equation only involves x1,…,xk, and one can solve for xk using the previously solved values for x1,…,xk−1. The resulting formulas are:
x1=b1ℓ1,1,x2=b2−ℓ2,1x1ℓ2,2, ⋮xm=bm−∑i=1m−1ℓm,ixiℓm,m. A matrix equation with an upper triangular matrix U can be solved in an analogous way, only working backwards.
Applications Forward substitution is used in financial bootstrapping to construct a yield curve.
Properties The transpose of an upper triangular matrix is a lower triangular matrix and vice versa. A matrix which is both symmetric and triangular is diagonal. In a similar vein, a matrix which is both normal (meaning A*A = AA*, where A* is the conjugate transpose) and triangular is also diagonal. This can be seen by looking at the diagonal entries of A*A and AA*. The determinant and permanent of a triangular matrix equal the product of the diagonal entries, as can be checked by direct computation. In fact more is true: the eigenvalues of a triangular matrix are exactly its diagonal entries. Moreover, each eigenvalue occurs exactly k times on the diagonal, where k is its algebraic multiplicity, that is, its multiplicity as a root of the characteristic polynomial pA(x)=det(xI−A) of A. In other words, the characteristic polynomial of a triangular n×n matrix A is exactly
pA(x)=(x−a11)(x−a22)⋯(x−ann), that is, the unique degree n polynomial whose roots are the diagonal entries of A (with multiplicities). To see this, observe that xI−A is also triangular and hence its determinant det(xI−A) is the product of its diagonal entries (x−a11)(x−a22)⋯(x−ann).
Special forms
Unitriangular matrix If the entries on the main diagonal of a (lower or upper) triangular matrix are all 1, the matrix is called (lower or upper) unitriangular. Other names used for these matrices are unit (lower or upper) triangular, or very rarely normed (lower or upper) triangular. However, a unit triangular matrix is not the same as the unit matrix, and a normed triangular matrix has nothing to do with the notion of matrix norm. All finite unitriangular matrices are unipotent.
Strictly triangular matrix If all of the entries on the main diagonal of a (lower or upper) triangular matrix are also 0, the matrix is called strictly (lower or upper) triangular. All finite strictly triangular matrices are nilpotent of index at most n as a consequence of the Cayley–Hamilton theorem.
Atomic triangular matrix
An atomic (lower or upper) triangular matrix is a special form of unitriangular matrix, where all of the off-diagonal elements are zero, except for the entries in a single column. Such a matrix is also called a Frobenius matrix, a Gauss matrix, or a Gauss transformation matrix.
Block triangular matrix
A block triangular matrix is a block matrix (partitioned matrix) that is a triangular matrix.
Upper block triangular A matrix A is upper block triangular if
A=[A11A12⋯A1k0A22⋯A2k⋮⋮⋱⋮00⋯Akk], where Aij∈𝔽ni×nj for all i,j=1,…,k.
Lower block triangular A matrix A is lower block triangular if
A=[A110⋯0A21A22⋯0⋮⋮⋱⋮Ak1Ak2⋯Akk], where Aij∈𝔽ni×nj for all i,j=1,…,k.
… excerpt ends here. Continue reading the full article.
