Lesson Video: Inverse of a 2 × 2 Matrix | Nagwa Lesson Video: Inverse of a 2 × 2 Matrix | Nagwa

Lesson Video: Inverse of a 2 × 2 Matrix Mathematics • First Year of Secondary School

In this video, we will learn how to check whether a 2 × 2 matrix has an inverse and then find its inverse, if possible.

16:34

Video Transcript

In this video, we’ll learn how to check whether a two-by-two matrix has an inverse and then find its inverse if possible. For matrices, there’s no such thing as division. We can add, subtract, and multiply them, but we can’t divide matrices. There is, however, a related concept which is called inversion. And it’s extremely useful for helping us to find the inverse of a matrix and to solve matrix equations. We say that an 𝑛-by-𝑛 matrix, that’s a square matrix, is invertible if there exists a second 𝑛-by-𝑛 square matrix such that the product of the matrix and its inverse is 𝐼, the identity matrix. In the two-by-two case, that’s the matrix one, zero, zero, one.

Now, remember, multiplying matrices is not commutative. It can’t be done in any order. However, when multiplying a matrix by its inverse in any order, we’ll always get the identity matrix. Note, though, that not all matrices do have an inverse. We’re going to look at the process for finding the inverse of a two-by-two matrix and see what criteria our matrices need to meet to ensure that they do have an inverse. We say that for a two-by-two matrix 𝑎, 𝑏, 𝑐, 𝑑, its inverse is found by multiplying one over the determinant of 𝐴 by the two-by-two matrix 𝑑, negative 𝑏, negative 𝑐, 𝑎. Where the determinant of 𝐴 is the product of the top-left and bottom-right elements minus the product of the top-right and bottom-left elements.

Notice also that to get from the two-by-two matrix 𝐴 to the two-by-two matrix the inverse of 𝐴, we swap these elements and we change the sign of these. So, what does this latter part of the formula mean for finding the inverse of a matrix 𝐴? Well, we know that one divided by zero is undefined. We say then that if the determinant of the matrix is zero, it is not invertible; it doesn’t have an inverse. It’s also worth noting that only square matrices are invertible. So, let’s have a look at some examples.

Is the matrix three, one, negative three, negative one invertible?

Remember, for a two-by-two matrix 𝐴 given by 𝑎, 𝑏, 𝑐, 𝑑, the inverse of 𝐴 is one over the determinant of 𝐴 times 𝑑, negative 𝑏, negative 𝑐, 𝑎, where the determinant of 𝐴 is equal to 𝑎𝑑 minus 𝑏𝑐. We say that the determinant of the matrix doesn’t exist. In other words, 𝐴 is not invertible if its determinant is equal to zero. So, all we need to do to establish whether a matrix is invertible is evaluate its determinant and see if that’s equal to zero. So, let’s find the determinant of the matrix three, one, negative three, negative one. And we use these bars either side of the matrix to represent its determinant.

The determinant is found by subtracting the product of the top-right and bottom-left elements from the product of the top left and bottom right. So here, 𝑎 times 𝑑 is three multiplied by negative one. We then subtract 𝑏 multiplied by 𝑐. That’s one multiplied by negative three. And so, our determinant is three multiplied by negative one minus one multiplied by negative three. That’s negative three minus negative three, which is negative three plus three, which is equal to zero. So, the determinant of our matrix three, one, negative three, negative one is zero. We can therefore say that the matrix doesn’t have an inverse. And therefore, the answer to this question is no, it’s not invertible.

In our next example, we’ll extend this idea about the criteria for matrix invertibility.

Given that the matrix seven, one, negative seven, 𝑎 is invertible, what must be true of 𝑎?

Remember, for a square matrix 𝐴 equals 𝑎, 𝑏, 𝑐, 𝑑 to be invertible, its determinant must not be equal to zero. Now, for this matrix, its determinant is 𝑎𝑑 minus 𝑏𝑐. So, let’s find an expression for the determinant of our matrix. It’s the product of the top-left and bottom-right elements, that’s seven times 𝑎 or seven 𝑎, minus the product of the top-right and bottom-left elements. That’s one multiplied by negative seven. So, the determinant of our matrix is seven 𝑎 minus negative seven, which we can write as seven 𝑎 plus seven.

We’re told that our matrix is invertible, so its determinant cannot be equal to zero. In other words, seven 𝑎 plus seven cannot be equal to zero. We need to find the values of 𝑎 such that this expression is not equal to zero. So, we’re going to solve the inequation. We’ll solve it like solving a normal equation. But instead of our answer being 𝑎 is equal to some constant, we know 𝑎 will not be equal to the result.

Let’s begin by subtracting seven from both sides. When we do, we find that seven 𝑎 will not be equal to negative seven. Next, we divide through by seven, and we find 𝑎 cannot be equal to negative one. So, if 𝑎 is equal to negative one, the matrix does not have an inverse. So, for it to be invertible, 𝑎 cannot be equal to negative one.

In our next example, we’ll look at how to establish whether two matrices are multiplicative inverses of one another.

Are the matrices one, two, three, four and one, one-half, one-third, and one-quarter multiplicative inverses of each other?

Let’s remind ourselves what we mean by the phrase multiplicative inverses. We say that an 𝑛-by-𝑛 matrix, that’s a square matrix, is invertible if there exists a second 𝑛-by-𝑛 matrix such that the product of the matrix and its inverse in any order is 𝐼, where 𝐼 is the identity matrix. In the case of two-by-two identity matrices, that’s one, zero, zero, one. So, we could answer this question in one of two ways. We could find the inverse of each matrix and check whether it matches the original of the other matrix. Alternatively, we could find the product of the matrices and see if we get the identity matrix. Let’s look at the latter method.

We’re going to multiply one, two, three, four by one, one-half, a third, a quarter. And we remind ourselves that to do so, we begin by finding the dot product of the elements in the first row of the first matrix by the elements in the first column of the second. So, that’s the dot product of one, two and one, one-third. That’s one multiplied by one plus two multiplied by one-third. That’s five-thirds. Next, we find the dot product of the elements in the first row of our first matrix and of the second column in our second. So, that’s one multiplied by a half plus two multiplied by one-quarter, which is one.

Now, we find the dot product of the elements in the second row of our first matrix and the first column of our second. That’s three times one plus four times one-third, which is 13 over three. Finally, the dot product of three, four and a half, one-quarter. That’s three times a half plus four times a quarter, which is five over two. And so, we see that when we multiply the matrix one, two, three, four by the matrix one, one-half, a third, a quarter, we get a two-by-two matrix of five-thirds, one, thirteen-thirds, and five over two. This is quite clearly not equal to the identity matrix one, zero, zero, one. And so, we can say no, the two matrices are not multiplicative inverses of each other.

We’ll now calculate the multiplicative inverse of a two-by-two matrix.

Find the multiplicative inverse of the matrix 𝐴 equals negative four, negative 10, three, five, if possible.

Remember, to find the multiplicative inverse or the inverse of a two-by-two matrix 𝐴 equals 𝑎, 𝑏, 𝑐, 𝑑, we multiply one over the determinant of 𝐴 by the matrix 𝑑, negative 𝑐, negative 𝑏, 𝑎. Remember that this means that if the determinant of 𝐴 is equal to zero, we’re performing the calculation one divided by zero, which is undefined. And this means the inverse does not exist. So, let’s begin by calculating the determinant of our matrix 𝐴 equals negative four, negative 10, three, five.

To find its determinant, we multiply the element in the top left by the element in the bottom right. And then we subtract the product of the elements in the top right by the bottom left. So, the determinant of our matrix is negative four times five minus negative 10 times three. That’s negative 20 minus negative 30, which is negative 20 plus 30. And so we see that the determinant of our matrix 𝐴 is 10. That’s quite clearly not equal to zero. So, the inverse of our matrix 𝐴 does exist. The formula tells us to multiply one over the determinant of 𝐴, so that’s one over 10, by a two-by-two matrix which is found by switching the elements in the top left and bottom right and then changing the sign of the other two elements.

So, the inverse of 𝐴 is one-tenth times five, 10, negative three, negative four. And we know that we can multiply a matrix by a scalar by simply multiplying each of its individual elements. One-tenth times five is five-tenths. One-tenth times 10 is ten-tenths. One-tenth times negative three is negative three-tenths. And one-tenth times negative four is negative four-tenths. All that’s left to evaluate the multiplicative inverse of our matrix 𝐴 is to simplify each of these fractions. And so, we see that the inverse of our matrix 𝐴 is one-half, one, negative three over 10, negative two-fifths.

In our next example, we’ll consider how we combine this process with another operation on matrices.

Consider the matrices 𝐴 and 𝐵. Determine the inverse of 𝐴 plus 𝐵. Here, 𝐴 is given as the matrix negative three, negative two, negative five, negative seven. And 𝐵 is negative one, two, eight, nine.

This expression here means to find the inverse of the sum of these two matrices. So, let’s simply begin by calculating the sum of 𝐴 and 𝐵. We do this by adding the individual elements on each row and each column. So, the element in the first row and first column is negative three plus negative one, which is negative four. The second element in the first row is negative two plus two, which is zero. We then add negative five and eight to get three. And finally, we add negative seven and nine to get two. So, the sum of our two matrices is the two-by-two matrix negative four, zero, three, two.

We now need to find the inverse of this matrix. And so, we recall that for a two-by-two matrix 𝑎, 𝑏, 𝑐, 𝑑, its inverse is one over the determinant of 𝐴 times 𝑑, negative 𝑏, negative 𝑐, 𝑎. Now, the determinant of 𝐴 is actually 𝑎𝑑 minus 𝑏𝑐. It’s the product of the elements in the top left and bottom right of our matrix minus the product of the elements in the top right and bottom left. Note, of course, this means that if the determinant is equal to zero, we’re performing the calculation one divided by zero, which is undefined. And so, our matrix does not have an inverse.

So, let’s begin by calculating the determinant of our matrix 𝐴 plus 𝐵. It’s negative four times two minus zero times three, which is simply negative eight. So, we know the inverse of the sum of our two matrices does exist, and we’re now ready to work it out. It’s one over the determinant of our matrix, so one over negative eight. And then we swap the element on the top left with the element on the bottom right and change the sign of the other two elements. So, the inverse of 𝐴 plus 𝐵 is one over negative eight times two, zero, negative, three, negative four. Now, of course, one divided by negative eight is the same as negative one-eighth. And we know that we can multiply a matrix by a scalar by multiplying each of its individual elements.

Negative one-eighth multiplied by two is negative one-quarter or negative 0.25. Negative one-eighth multiplied by zero is, of course, zero. Then, we multiply negative one-eighth by negative three. Well, a negative multiplied by a negative is a positive. So, we get three-eighths which is 0.375. Finally, we multiply negative four by negative one-eighth, and we get one-half or 0.5. And so, the inverse of our matrix 𝐴 plus 𝐵 is negative 0.25, zero, 0.375, and 0.5. Note, of course, that we could check our solution by ensuring that when we find the product of the matrix 𝐴 plus 𝐵 and its inverse, we get the identity matrix. That’s the matrix one, zero, zero, one.

In our final example, we’ll look at what we mean when we say a matrix is singular and how this definition can help us to solve problems.

Find the set of real values of 𝑥 that make the two-by-two matrix 𝑥 minus three, eight, two, 𝑥 plus three singular.

Let’s begin by defining the word singular when it comes to matrices. We say that a matrix is singular if it’s not invertible; it doesn’t have an inverse. We know that a matrix is invertible if its determinant is not equal to zero, and the converse is also true. So, in other words, a matrix is singular if its determinant is equal to zero. In this case then, we need to find the set of real values of 𝑥 such that the determinant of our matrix is equal to zero. The determinant of a two-by-two matrix 𝑎, 𝑏, 𝑐, 𝑑 is 𝑎𝑑 minus 𝑏𝑐. We subtract the product of the elements in the top right and bottom left from the product of those in the top left and bottom right.

So, in this case, that’s 𝑥 minus three times 𝑥 plus three minus eight times two. If we distribute these parentheses, we get 𝑥 times 𝑥, which is 𝑥 squared, plus three 𝑥 minus three 𝑥 minus three times three, which is nine. That simplifies to 𝑥 squared minus nine. And eight multiplied by two is 16. So the determinant of our matrix is 𝑥 squared minus nine minus 16, which is 𝑥 squared minus 25. We’re trying to find the set of values of 𝑥 that make our matrix singular. In other words, which values of 𝑥 make the determinant zero? So, let’s set our expression for the determinant equal to zero and solve for 𝑥. That is, 𝑥 squared minus 25 equals zero.

Adding 25 to both sides of this equation gives us 𝑥 squared equals 25. And then we’ll take the square root of both sides of our equations, remembering to take the positive and negative square root of 25. That gives us 𝑥 is equal to positive or negative five. We can use these squiggly brackets to help us represent the set of values that make our matrix singular. They are negative five and five. Note that at this stage, we could check our solutions by substituting each value of 𝑥 into our original matrix and then checking that the determinant is indeed equal to zero.

We’ll now summarize the key points from this video. We saw that an 𝑛-by-𝑛 matrix, a square matrix, is invertible if there exists a second matrix such that the product of that matrix and its inverse is 𝐼, the identity matrix. We saw that if a two-by-two matrix is defined as 𝑎, 𝑏, 𝑐, 𝑑, then its inverse is one over the determinant of 𝑎 times the matrix 𝑑, negative 𝑏, negative 𝑐, 𝑎. And we, of course, calculate the determinant of 𝐴 by finding the product of 𝑎𝑑 and subtracting the product of 𝑏𝑐. Finally, we saw that a matrix is said to be singular if it doesn’t have an inverse. In other words, if the determinant of that matrix is equal to zero.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy