# Finding the Inverse of a Matrix

### Matrix manipulations and properties

Finding the inverse of a matrix is much more complex than finding the inverse of a number. All real numbers have an inverse (i.e. ). However, not all matrices have an inverse. There are several characteristics that allow us to visibly determine whether a matrix has an inverse but we will only focus on one. A matrix must be square (i.e. 2×2, 3×3, etc.) to have an inverse. Performing the following manipulations will be a waste of time if a matrix is not square. It is also important to know the inverse matrix property. Using my example above, and similarly with matrices, where In is the identity matrix (diagonal from top left to bottom right contains all 1’s, and everything else is 0) . We take advantage of this property when solving systems of matrices.

In words, the general algorithm for determining the existence of an inverse matrix is to manipulate the matrix into row reduced echelon form (rref). If the rref matrix is an identity matrix, then the inverse matrix exists. Hang on now, earlier I mentioned that there were other, visible characteristics that allow us to determine the existence of an inverse matrix, but now I’m asking you to perform a tedious process (without a calculator) with the same goal? Wouldn’t it be easier to first determine if finding the rref of the matrix is worthwhile? You’re right, except we are going to make a simple manipulation, and at the same time that we finish our rref process and determine that an inverse matrix exists, we will have found the inverse matrix! How do we do that? We will create an augmented matrix between our matrix in question, , and the appropriate identity matrix where the size of matrix is equal to the size of matrix . We will perform the same rref process to the augmented matrix . If the portion of our augmented matrix previously belonging to matrix reduces to an identity matrix (indicating the existence of ), then the portion previously belonging to the identity matrix, will equal .

### Some matrix math

Now, for the math…

Suppose we are asked to find the inverse of the following matrix:

First, we must set up the augmented matrix discussed above. Notice that I have simply placed the identity matrix (of the same size as ) on the right of matrix .

### Finding the rref of an augmented matrix

Next, we will attempt to find the rref of the augmented matrix. If the portion of the augmented matrix previously belonging to yields an identity matrix, is invertible.

rref =

Ok great! The left half of our augmented matrix reduced to an identity matrix. That means two things to us: the matrix has an inverse *and* we’ve already found the inverse. If you recall from above, is the right half of the augmented matrix (after finding it’s rref, of course). So we can conclude:

If our rref of the augmented matrix had yielded anything other than an identity matrix, we would conclude that does not exist. This method will simply allow us to determine the existence of and entries to for any size matrix.