Skip to content

Triangular Matrix

Definition

An n×nn\times n matrix is upper triangular if every entry below the main diagonal is zero: aij=0a_{ij}=0 for i>ji>j.

It is lower triangular if every entry above the main diagonal is zero: aij=0a_{ij}=0 for i<ji<j.


Interpretation

The main diagonal consists of entries with equal row and column indices. Comparing ii and jj locates each entry below or above it and specifies which entries must vanish.

Triangular matrices are almost diagonal. They are useful because many computations, such as determinants and solving systems, become simpler.

A 4 by 4 upper triangular matrix with zeros below the main diagonal.

The entries below the main diagonal are zero, and det⁡U=u11u22u33u44\det \boldsymbol{U}=u_{11}u_{22}u_{33}u_{44}. Its eigenvalues are the diagonal entries; if they are nonzero, Ux=b\boldsymbol{U}\boldsymbol{x}=\boldsymbol{b} can be solved by back substitution. A lower triangular matrix instead has zeros above its main diagonal.


Key Results

  • Every diagonal matrix is both upper and lower triangular.
  • The determinant of a triangular matrix is the product of its main diagonal entries.
  • A matrix that is both upper triangular and lower triangular is diagonal.

Examples

  • (1203)\begin{pmatrix}1&2\\0&3\end{pmatrix} is upper triangular.
  • (1023)\begin{pmatrix}1&0\\2&3\end{pmatrix} is lower triangular.

Prerequisites

Sources

Aliases: upper triangular, lower triangular Keywords: upper triangular matrix, lower triangular matrix

Last updated: 20 October 2026 03:02