Upper Triangular Matrix Calculator (Elementary Row Operations)

Reduce a matrix to upper triangular (row echelon) form with elementary row operations — every operation listed — and get the determinant from the diagonal.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Type the matrix row by row: separate rows with semicolons (or new lines) and entries with spaces or commas — e.g. 1 2; 3 4 is the 2 × 2 matrix [[1, 2], [3, 4]]. Up to 10 × 10. Elementary operations: swap two rows, scale a row, add a multiple of one row to another. Each corresponds to multiplying by an elementary matrix.

Example

Example: the matrix reduces to [ 2 1 -1 ] [ 0 0.5 0.5 ] [ 0 0 -1 ] so det = -1.

Assumptions

Row swaps only when a pivot is zero.

Frequently Asked Questions

Why does a triangular matrix make the determinant easy?

Its determinant is the product of its diagonal entries.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile