Matrix Solver

Determinant, inverse, rank, transpose, products and linear systems for small matrices.

How it works

Type each row of the matrix on its own line with spaces between numbers. Fractions like 1/2 work. Pick what to do. To solve equations, type the coefficients and put the right-hand side as the last number on each row.

The formula

Determinant and rank come from Gauss row reduction.
Inverse: reduce [A | I] until the left side is I.
Solve: reduce [A | b] and read x from the last column.

Worked example

For 2x + y = 5 and x + 3y = 10 type the rows 2 1 5 and 1 3 10. The answer is x = 1, y = 3.

Good to know

Common questions

Why does it say no solution or infinitely many?
The equations either contradict each other or repeat the same information.
Is rank the number of independent rows?
Yes, it is the number of pivots after row reduction.
Can I multiply any two matrices?
Only when the columns of A equal the rows of B.

More in Math, Science & Engineering.