Question Video: Solving a Matrix Equation by Finding the Inverse of a Matrix | Nagwa Question Video: Solving a Matrix Equation by Finding the Inverse of a Matrix | Nagwa

Reward Points

You earn points by engaging in sessions or answering questions. These points will give you a discount next time you pay for a class.

Question Video: Solving a Matrix Equation by Finding the Inverse of a Matrix Mathematics • First Year of Secondary School

Given that [−1, 1 and −1, −1][𝑥 and 𝑦] = [−7 and 5], find [𝑥 and 𝑦].

04:35

Video Transcript

Given that the matrix negative one, one, negative one, negative one times 𝑥, 𝑦 is equal to negative seven, five, find 𝑥, 𝑦.

Now, in fact, what we’ve been given is a matrix form of a system of linear equations. And so imagine we’re given a matrix equation 𝐴𝑋 equals 𝐵, where 𝐴 is the two-by-two matrix negative one, one, negative one, negative one. Capital 𝑋 is the column matrix 𝑥, 𝑦. And 𝐵 is the column matrix negative seven, five. We can multiply both sides by the inverse of 𝐴 providing it exists. This gives us the inverse of 𝐴 times 𝐴𝑋 is equal to the inverse of 𝐴 times 𝐵. And of course, we remember that matrix multiplication is not commutative. We have to do it in this order.

But of course, the inverse of a matrix times itself is equal to 𝐼, the identity matrix. So this equation becomes 𝐼𝑋 equals the inverse of 𝐴 times 𝐵. But in fact, 𝐼𝑋 is simply equal to 𝑋 since multiplying any matrix by an identity matrix of the appropriate size just leaves the original matrix. So we can say that 𝑋 is equal to the inverse of 𝐴 times 𝐵. And this gives us a way to solve our matrix equation. We begin by finding the inverse of the two-by-two matrix negative one, one, negative one, negative one and then we’ll multiply that by the column matrix negative seven, five.

So, given the 𝐴 we’ve defined, how do we calculate the inverse? Well, given a general two-by-two matrix 𝑎, 𝑏, 𝑐, 𝑑, its inverse is one over the determinant of the original matrix times the matrix with elements 𝑑, negative 𝑏, negative 𝑐, 𝑎. Essentially, we switch the elements in the top left and bottom right. And then we change the sign of the remaining two elements. And of course, the determinant of a two-by-two matrix is 𝑎𝑑 minus 𝑏𝑐. Essentially, we subtract the product of the top-right and bottom-left elements from the product of the top left and bottom right. And this inverse will not exist if the determinant is equal to zero. In this case, we say that the matrix is not invertible.

So it makes sense to begin by calculating the determinant of our matrix 𝐴. It’s the product of the top left and bottom right, so negative one times negative one minus the product of the top right and bottom left. So we subtract one times negative one. Negative one times negative one is one. So this actually becomes one plus one, which is equal to two. So since the determinant is not equal to zero, the inverse of 𝐴 exists, and we can carry on with the next step. We calculate one over the determinant. So that’s one over two. Then we switch the elements in the top left and bottom right. And we change the sign of the remaining two.

So we get that the inverse of 𝐴 is one-half times negative one, negative one, one, negative one. And so, given that we’ve defined 𝑋 to be the matrix 𝑥, 𝑦 and 𝐵 to be the matrix negative seven, five, the solution to our equation is one-half times the matrix negative one, negative one, one, negative one times the column matrix negative seven, five. Now, of course, we could distribute that one-half across the two-by-two matrix or we can complete that step at the end. And in fact, since distributing a half across the two-by-two matrix will make it very fraction heavy, we will in fact do this step at the end.

Let’s clear some space and multiply the pair of matrices. We’re multiplying a two-by-one matrix by a two-by-two matrix. And this will, in fact, result in a two-by-one matrix. To find the first element in this result, we find the dot product of the elements in the first row with the elements in our column matrix, that’s negative one times negative seven plus negative one times five, which is two. Let’s repeat this process to find the next element. This time, it’s the dot product of the elements in the second row with the elements in this column matrix.

So this time, it’s one times negative seven plus negative one times five, which is negative 12. Substituting this into our earlier expression for 𝑥, 𝑦 and we see 𝑥, 𝑦 is equal to one-half times the matrix two, negative 12. All that’s left is to distribute one-half across this matrix. A half of two is one and a half of negative 12 is negative six. And so, the matrix 𝑥, 𝑦 is the matrix one, negative six.

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