Determinant of a Triangular Matrix

Evaluate an upper- or lower-triangular determinant by multiplying only its diagonal entries.

Multiply down the diagonal

Every entry below the diagonal is zero, so cofactor expansion leaves only the diagonal path. Compute 2·4·5 = 40.

det([[2, 3, 1], [0, 4, −2], [0, 0, 5]])

Use the same rule below the diagonal

Lower-triangular matrices work the same way. Entries above the diagonal do not introduce additional terms.

det([[3, 0, 0], [2, −1, 0], [4, 5, 2]])

Handle zero or negative factors

A diagonal matrix is already triangular. Multiply its three diagonal entries, watching for a zero product or a negative sign.

det([[−2, 0, 0], [0, 5, 0], [0, 0, 3]])

Practice

Practice: problems like this one, made and checked in your browser.

Recap

  • A triangular determinant is the product of its diagonal entries.
  • The rule applies to upper- and lower-triangular matrices.
  • One zero diagonal entry makes the determinant zero.