Course contentsShow
← Mathematics
Lesson 2154 of 3,12145. Linear Algebra — Determinants and EigenvaluesFree lesson

Determinant of Triangular Matrices

Recognize that determinants of upper or lower triangular matrices equal the product of diagonal entries.

Determinant of Triangular Matrices

What you'll learn: You'll discover a powerful shortcut for computing determinants when your matrix has a triangular structure.


The Big Shortcut

By now, you've learned that computing determinants using cofactor expansion can be tedious, especially for larger matrices. But here's excellent news: when you have a triangular matrix (upper triangular or lower triangular), the determinant equals simply the product of the diagonal entries.

What Are Triangular Matrices?

A matrix is upper triangular if all entries below the main diagonal are zero. It's lower triangular if all entries above the main diagonal are zero.

Upper triangular example:

⎡ 2   3   4 ⎤
⎢ 0  -1   5 ⎥
⎣ 0   0   7 ⎦

Lower triangular example:

⎡ 5   0   0 ⎤
⎢ 3  -2   0 ⎥
⎣ 1   4   6 ⎦

The Rule

For any triangular matrix (upper or lower), the determinant is:

det(A) = product of diagonal entries

For the upper triangular matrix above: det(A) = 2 × (−1) × 7 = −14

For the lower triangular matrix: det(A) = 5 × (−2) × 6 = −60

Why This Works

When you perform cofactor expansion on a triangular matrix, most terms vanish because they multiply by zeros. The only surviving term comes from the diagonal entries. This pattern repeats at every level of expansion, leaving only the diagonal product.

This is why row reduction is so powerful for determinants—getting a matrix into row echelon form (which is upper triangular!) makes computing the determinant trivial.

Key Takeaway: The determinant of any triangular matrix equals the product of its diagonal entries—no cofactor expansion needed!