How to use it
- Set the size with the steppers, from 1×1 to 5×5, and type the entries row by row. A field takes a
whole number, a fraction such as
2/3, or a decimal such as0.25. - Choose the operation: row reduction, determinant, inverse, rank and null space, or eigenvalues.
- For a system of equations, choose row reduction and tick the box for a right-hand side. The last column is then drawn after a vertical line, and the answer states whether the system has one solution, none, or infinitely many.
- The address bar holds the matrix and the operation, so a link brings the same working back.
Exact fractions, and steps in textbook order
Every entry is turned into a fraction and stays one: 0.1 is read as 1/10, and dividing a row by 3 gives thirds rather than 0.3333. The rows are reduced the way a linear algebra course does it by hand. The pivot is the first non-zero entry from the top of the column, it is scaled to a leading 1, the entries below it are cleared, and then the entries above each leading 1, from the last one up. Work in the same order on paper and your lines match the page one by one.
Worked examples
A system. x + y + 2z = 9, 2x + 4y − 3z = 1, 3x + 6y − 5z = 0 is the augmented matrix with rows (1, 1, 2 | 9), (2, 4, −3 | 1) and (3, 6, −5 | 0). Subtract 2 times row 1 from row 2 and 3 times row 1 from row 3, divide row 2 by 2, and continue down and then back up: the reduced form reads x = 1, y = 2, z = 3.
A determinant. For the rows (1, 5, 0), (2, 4, −1) and (0, −2, 0), cofactor expansion along the first row gives 1 · (−2) − 5 · 0 + 0 · (−4) = −2.
Eigenvalues. For the rows (1, 2) and (3, 4), det(A − λI) = λ² − 5λ − 2. It has no rational root, so the eigenvalues are written with the root: λ = (5 ± √33)/2.
The determinant two ways
For a 2×2 and a 3×3 the page expands along the first row, the method most courses start with, and shows each minor. Choose row reduction instead, or type a 4×4 or 5×5, and the matrix is reduced to triangular form. A row swap changes the sign of the determinant, adding a multiple of one row to another changes nothing, and the determinant of the triangular matrix is the product of its diagonal.
What it does not do
It does not multiply or add two matrices, and it takes numbers only, not letters. Matrices larger than 5×5 are out of range, and so are decompositions such as LU or QR. Eigenvalues are found up to 3×3. A cubic characteristic polynomial with no rational root gives its roots as decimals, because their exact form is a nested radical that no course asks for. For a system typed as equations rather than as a grid, use the system of equations calculator.