Triangular Matrices¶
If in a matrix \(\,\boldsymbol{L}=[l_{ij}]_{n\times n}\in M_n(K)\,\) all elements located above the main diagonal do vanish: \(\ l_{ij}=0\ \) for \(\ i<j,\ \) \(\ i,j=1,2,\dots,n\,,\ \) then \(\,\boldsymbol{L}\,\) is named \(\,\) a \(\,\) lower triangular \(\,\) matrix.
Correspondingly, \(\,\) in \(\,\) an \(\,\) upper triangular \(\,\) matrix \(\,\boldsymbol{U}=[u_{ij}]_{n\times n}\in M_n(K)\,\) vanishing are all elements below the main diagonal: \(\,u_{ij}=0\ \ \text{for}\ \ i>j,\ \ i,j=1,2,\dots,n\,.\)
For instance, triangular matrices of size \(\,4\,\) have the following general form:
Properties of triangular matrices.
The sum of two lower triangular matrices is a lower triangular matrix.
The product of a lower triangular matrix by a scalar is a lower triangular matrix.
The product of two lower triangular matrices is a lower triangular matrix.
The inverse of a non-singular lower triangular matrix is also lower triangular.
The set of all lower triangular matrices of size \(\,n\,\) over a field \(\,K\,\) is therefore a subalgebra of the algebra \(\,M_n(K).\ \) The same holds for upper triangular matrices.
A system of linear equations with a square coefficient matrix \(\boldsymbol{A}\,\) is easy to solve, when \(\,\boldsymbol{A}\,\) is a lower or upper triangular matrix. For example, let’s consider a system with the matrix \(\,\boldsymbol{L}\,\) in Eq. (1), assuming that \(\ l_{ii}\neq 0,\ \ i=1,2,3,4\,:\)
The solution is readily obtained \(\,\) by \(\,\) forward substitution:
In general, if the coefficient matrix is a lower triangular one of size \(\,n\,\) with non-zero diagonal elements (the latter assures the existence of a unique solution), then
An analogous procedure, viz. the backward substitution, \(\,\) yields the solution of a linear system with an upper triangular coefficient matrix.