Math-MateSchool maths, made clearer

Search the complete textbook

Find a Math-Mate lesson

Type at least two letters to search 240+ lessons.

Topic 50 · lesson 4 of 4

The Inverse Of A Matrix

Clear explanations and worked examples from the Math-Mate school maths textbook.

Free lessonNo sign-upPrint friendly

The Inverse of a Matrix

So far we’ve covered adding, subtracting and multiplying matrices.  We’ve also gone over how you can multiply or divide any matrix by a scalar value (single value).  Dividing matrices by other matrices is a different sort of thing however.  You don’t just go and divide one matrix by another.  One thing you can do however is find the inverse of a matrix.

Say I start with a 2 by 2 matrix, matrix A:

                                                         Mathematical diagram

The inverse of this matrix is the matrix you need to multiply it by to get the identity matrix.  It’s just like for actual numbers, for instance, say we want to find the number that we multiply 6 by to get 1:

                                                            Mathematical diagram

We know that the fraction ‘one sixth’ goes where the question mark is:

                                                           Mathematical diagram

Mathematical diagram is known as the inverse of 6 – it’s the number you multiply 6 by to get 1.  Well, with matrices, the only difference is that instead of ‘1’ we have the identity matrix, which is the matrix equivalent of 1.  So we can write the inverse equation for our matrix A like this:

                                                  Mathematical diagram

Since our first matrix is 2 by 2, and our answer is 2 by 2, the matrix which is going to go where the question mark is will be 2 by 2 as well:

                                              Mathematical diagram

How do we find our inverse matrix?

Finding the matrix inverse

For a two by two matrix, it’s fairly easy to find its inverse matrix.  If we have a matrix called A:

                                                         Mathematical diagram

We can find the inverse like this:

                                              Mathematical diagram

The inverse of matrix A is written with a power of –1; Mathematical diagram.  Notice how the ‘a’ and the ‘d’ have swapped places, and also how the sign of ‘b’ and ‘c’ has changed.  The ‘ad – bc’ part in the denominator of the fraction is called the determinant of the matrix A, and is often written as Mathematical diagram or Mathematical diagram:

                                             Mathematical diagram

So if we go back to our original A matrix, we can find its inverse using this information. First of all, let’s work out the determinant of this matrix:         

                                      Mathematical diagram

Next, we need to swap around and change signs of the elements in matrix A:

                                        Mathematical diagram

So our inverse of A is:

                                               Mathematical diagram

Now that we’ve found our inverse, we can check whether when we multiply A by it we really do get the identity matrix:

                                      Mathematical diagram

It works – Mathematical diagram really does give the identity matrix.  So how is this useful?  Well, one of the most common uses of matrices is to solve simultaneous equations.  Say we had these two equations and we wanted to solve for the values of x and y:

                                                        Mathematical diagram

We can convert these equations into matrix form like this:

                                                    Mathematical diagram

When these matrices are multiplied out, you end up with the equations we started with.  Now, with any equation, you can do whatever you want to one side of the equation, as long as you do it to the other side.  In this case, multiplying both sides by the inverse of the first matrix gives you a very useful result. We’ve already worked out the inverse of this matrix, so let’s go ahead and just do the calculation:

                             Mathematical diagram

Then actually do each of the individual calculations:

                    Mathematical diagram

We could have skipped a lot of these steps because we already knew that when we multiplied the inverse matrix by the original matrix we’d just get an identity matrix, like we now have in front of the ‘x and y’ matrix.

By doing the same thing to both sides of the equation, we’ve made it a lot simpler.  If we multiply out the matrices now, we get this:

                                                   Mathematical diagram

By multiplying out the matrices we get a very simple answer for the two variable values:

                                                              Mathematical diagram