## Inverse Demo

Choose the size of the matrix to invert:

Complete the cells of the matrix `A`

:

The fully augmented matrix:

The matrix inverse `A`

:
^{-1}

The matrix inverse times the original matrix `(A`

:
^{-1} • A)

The matrix inverse times the original matrix times the matrix inverse`(A`

:
^{-1} • A • A^{-1})

If this worked as expected, the above matrix should be equivalent to the inverse calculated above. This matrix and the following one should confirm the left-hand and right-hand inverse properties of the inverse.

The original matrix times matrix inverse times the original matrix `(A • A`

:
^{-1} • A)

If this worked as expected, the above matrix should be equivalent to the original (perhaps with some roundoff error).

Identity minus the matrix inverse times the original matrix `(I - A`

:
^{-1} • A)

The original matrix times the (Identity minus the matrix inverse times the original matrix)
`A • (I - A`

:
^{-1} • A)

If this worked as expected, the resulting matrix should be identically zero.

The JavaScript is here.