## Simple Matrix Calculator

This will take a matrix, of size up to 5x6, to reduced row echelon form by Gaussian elimination. Each elementary row operation will be printed. Given a matrix smaller than 5x6, place it in the upper lefthand corner and leave the extra rows and columns blank. Some sample values have been included. Press "Clear" to get rid of them.

Matrix

A is a 2x2 matrix and B is 2x1 matrix. This calculator will attempt to find AB and solve AX=B by calculating A-1B, when possible. Otherwise it will report whether it is consistent. It also gives det, rank and eigenvalues.

Matrix A Matrix B

A few comments about what's going behind the scenes: The Gaussian elimination uses the same algorithm that you would use by hand: work left to right, and do elementary row operations to get each column to have the right shape. This puts the matrix in echelon form. Then go back and eliminate extra entries to get it into reduced form.
For the second part, the inverse is computed by the standard formula using determinants