In the mathematical discipline of linear algebra, a triangular matrix is a special kind of square matrix where the entries below or above the main diagonal are zero. Because matrix equations with triangular matrices are easy to solve they are very important in numerical analysis. The LU decomposition gives an algorithm to decompose any invertible matrix A into a normed lower triangle matrix L and an upper triangle matrix U.
Definition
A matrix
is called lower triangular matrix or left triangular matrix, and analogously a matrix of the form
is called upper triangular matrix or right triangular matrix.
If the entries uii=1 for all i ≤ n, the matrix is termed unit upper/lower or normed upper/lower triangular.
The matrix
is called atomic lower triangular matrix, with
being called atomic upper triangular matrix.
Notes
The identity matrix is a normed upper and lower triangular matrix.
The product of two upper triangular matrices is upper triangular, so the set of upper triangular matrices forms an algebra. Algebras of upper triangular matrices have a natural generalisation in functional analysis which yields nest algebras.
The transpose of a upper triangular matrix is a lower triangular matrix and vice versa.
The variable L is commonly used for lower triangular matrix, standing for lower/left, while the variable U or R is commonly used for upper triangular matrix, standing for upper/right. The variable R has the added benefit of being the same initial for the German term for 'right.'
Generally, operations can be performed on triangular matrices within half the time.
Examples
is upper triangular and
is lower triangular.
Application
A matrix equation in the form
or
is very easy to solve. The matrix equation Lx= b can be written as a system of linear equations
which can be solved by the following recursive relation
A matrix equation with a normed upper triangular matrix U can be solved in an analogous way.