Lower Triangular Matrix Checker
Check whether every entry above the main diagonal of a square matrix is zero.
Check whether every entry above the main diagonal of a square matrix is zero.
How Lower Triangular Matrix Checker Works
The calculator checks every position strictly above the main diagonal (where the column index is greater than the row index) and confirms each one is zero — entries on or below the diagonal can be anything.
See It In Action
Who Uses Lower Triangular Matrix Checker and Why
- Verifying a matrix is set up correctly before running forward substitution to solve a linear system by hand.
- Checking an intermediate result from an LU decomposition, where the L factor is required to be lower triangular.
- Confirming a homework or textbook matrix qualifies as lower triangular before applying the diagonal-product shortcut for its determinant.
- Spot-checking a matrix generated by code (e.g., in a numerical library) that is supposed to be lower triangular by construction.
Mistakes to Avoid
- Mixing up lower triangular with upper triangular — lower triangular requires zeros ABOVE the main diagonal, not below it; the two are opposite conditions.
- Assuming diagonal entries must also be non-zero — a lower triangular matrix can have zeros on the diagonal too; the definition only restricts what's above it.
- Testing a non-square matrix — the notion of a main diagonal, and therefore of lower triangular, only applies to square matrices.
Tips for Best Results
- If your matrix passes this check, you get a free shortcut: its determinant is just the product of the diagonal entries, no cofactor expansion needed.
- Lower triangular matrices are exactly the ones solvable by forward substitution, one row at a time from the top — useful to recognize when setting up a system by hand.
Fixing Common Problems
My matrix looks triangular to me but the checker says it isn't. — Double-check you're not confusing rows and columns — a single non-zero entry in the upper-right region, even one that looks minor, fails the test. Re-verify which index is the row and which is the column for each non-zero-above-diagonal entry.
Terms Explained
Main diagonal: The entries running from the top-left corner to the bottom-right corner of a square matrix, where the row index equals the column index.
Forward substitution: A method for solving a lower triangular system of equations by solving for each variable in order, top to bottom, using values already found.