Matrix Calculator

Add, subtract, and multiply matrices; find the transpose, determinant, inverse, rank, reduced row echelon form, or trace; and solve a linear system A x = b. Everything is computed with exact fractions, so there is no floating-point round-off.

One row per line; separate entries with spaces or commas. Entries may be integers, decimals, or fractions like 3/4.

-2