Upper Triangular Matrix — Definition, Formula & Examples
An upper triangular matrix is a square matrix where every entry below the main diagonal is zero. The nonzero entries can only appear on or above the diagonal.
A square matrix of order is upper triangular if for all , meaning each entry in row and column vanishes whenever the row index exceeds the column index.
Key Formula
Where:
- = Entry in row i, column j; equals 0 whenever i > j
- = Number of rows (and columns) of the square matrix
Worked Example
Problem: Find the determinant of the upper triangular matrix .
Verify structure: All entries below the main diagonal are zero, so A is upper triangular.
Apply the diagonal-product rule: The determinant of any triangular matrix equals the product of its diagonal entries.
Compute: Multiply the diagonal entries together.
Answer: The determinant of A is 36.
Why It Matters
Gaussian elimination reduces any square matrix to an upper triangular form (row echelon form), which makes computing determinants and solving linear systems far more efficient. Upper triangular matrices also appear in LU decomposition, QR factorization, and the Schur decomposition, all core tools in numerical linear algebra and engineering computations.
Common Mistakes
Mistake: Assuming the diagonal entries of an upper triangular matrix must be nonzero.
Correction: Diagonal entries can be any value, including zero. The only requirement is that all entries below the diagonal are zero. An upper triangular matrix with a zero on the diagonal is singular (non-invertible).
