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

Lesson Explainer: Inverse of a 2 × 2 Matrix Mathematics

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

When working with real number systems, we know that multiplying any nonzero number by its reciprocal results in 1. 1 is a special real number because multiplying any number by 1 does not change the number. In this sense, 1 is called the multiplicative identity. The reciprocal of a nonzero number is called the multiplicative inverse.

We can see the usefulness of the multiplicative inverse when we solve a linear equation to find an unknown constant. For instance, consider the problem of finding the value of 𝑥 that satisfies the equation 3𝑥=6.

We can solve this equation simply by dividing both sides of the equation by 3. Dividing by 3 is the same as multiplying by 13, which is the reciprocal of 3. What is really happening here is that we are multiplying both sides of the equation by the multiplicative inverse of 3, which is the coefficient of the unknown constant 𝑥. This leads to 13×3×𝑥=13×6.

Multiplying 3 by its reciprocal results in 1, which is the multiplicative identity. So, the left-hand side of the equation becomes 1×𝑥, which is the same as 𝑥. This leads to 𝑥=2, which gives the value of the unknown constant.

Now, let us think of an analogous type of problem using matrix operations. Say that we know two matrices 𝐴 and 𝐵 and we want to find an unknown matrix 𝑋 that satisfies the matrix equation 𝐴𝑋=𝐵.

Thinking back on the solution process in context of real number operations, we would like to “divide” both sides by 𝐴. But we do not know a notion of division in matrix operations. Instead of division, we can think of multiplying both sides of the equation by the “reciprocal” of 𝐴, only if such an object as the reciprocal, or a multiplicative inverse, of a matrix can be defined.

The aim of this explainer is precisely to understand when it is possible to find a multiplicative inverse of a 2×2 matrix and to learn how to compute the inverse when possible. In order to discuss the multiplicative inverse of a matrix, we need to first understand the multiplicative identity.

We recall that the identity matrix, denoted 𝐼 or 𝐼, is a diagonal matrix whose diagonal entries are equal to 1. We know that multiplying any matrix by an identity matrix of compatible order does not change the matrix. Hence, the identity matrix is the multiplicative identity for matrix multiplication. This means that we can define the (multiplicative) inverse of a matrix so that multiplying a matrix by its inverse results in the identity matrix. In particular, we will need the 2×2 identity matrix 𝐼=1001 in order to define the inverse of a 2×2 matrix.

Definition: Inverse of a Matrix

Let 𝐴 be a 2×2 matrix. The inverse of 𝐴, denoted 𝐴, is a matrix that satisfies 𝐴𝐴=𝐼,𝐴𝐴=𝐼.

If such a matrix exists, we say that matrix 𝐴 is invertible.

If such a matrix does not exist, we say that matrix 𝐴 is not invertible.

We recall that the multiplication of an 𝑚×𝑛 matrix by an 𝑛×𝑘 matrix results in a 𝑚×𝑘 matrix. Since both 𝐴 and 𝐼 are 2×2 matrices, this means that the inverse 𝐴, if it exists, must also be a 2×2 matrix. In fact, this definition of the matrix inverse holds for larger matrices, as long as they are square matrices, by replacing 2 by 𝑛 in the statement. We will focus on the case 𝑛=2 in this explainer.

We can see that the inverse, or the multiplicative inverse, of a matrix is defined in a way such that multiplying any matrix by its inverse results in the identity matrix. In this way, the inverse of a matrix is analogous to the reciprocal of a nonzero real number.

We know that matrix multiplication is not commutative, which means that the order of multiplication matters. Thus, we need both 𝐴𝐴 and 𝐴𝐴 to be equal to the identity.

This definition tells us that the inverse of a 2×2 matrix is another 2×2 matrix such that multiplying the two matrices in either order results in the identity matrix 𝐼. If such a matrix 𝐴 exists, we can immediately see that the original matrix 𝐴 satisfies the definition of the inverse of 𝐴. This leads to the following property.

Property: Inverse of the Matrix Inverse

Let 𝐴 be an invertible matrix. Then, 𝐴 is invertible and 𝐴=𝐴.

Before discussing how to find an inverse of a matrix, we need to understand when a matrix is not invertible. In the context of real number operations, the only noninvertible real number is 0. The analog of the real number 0 is the zero matrix, denoted 𝑂, whose entries are all equal to 0. While it is true that the zero matrix is not invertible, there are larger families of matrices that are not invertible.

Property: Singular Matrices

A square matrix is not invertible if and only if its determinant is equal to zero. Matrices with this property are known as singular matrices.

To understand this statement, we recall the property of determinants of a matrix. Given square matrices 𝐵 and 𝐶 of the same order, detdetdet(𝐵𝐶)=(𝐵)×(𝐶).

We can use this property on the first equation in the definition of the matrix inverse: If 𝐴 is an invertible matrix, we have 𝐴𝐴=𝐼.

Taking the determinant of both sides of this equation, detdet𝐴𝐴=(𝐼).

We know that the determinant of an identity matrix is equal to 1. Using the property of the determinant, this equation can be written as detdet(𝐴)×𝐴=1.

Since det(𝐴) is one of the factors on the left-hand side of the equation, this equation cannot be satisfied if det(𝐴)=0. In other words, the condition 𝐴𝐴=𝐼 cannot be true for any matrix 𝐴 if det(𝐴)=0. This proves that 𝐴 is not invertible if det(𝐴)=0.

This argument only shows that a matrix with zero determinant is not invertible. We will not prove the converse statement here, which states that a matrix with nonzero determinant is invertible. Instead, we will develop a formula for finding the inverse of nonsingular matrices, which will serve as proof for the existence of an inverse.

Before going further into this discussion, let us consider a few examples where we will determine whether or not a given matrix is invertible.

Example 1: Determinants and Invertibility

Is the matrix 3131 invertible?

Answer

In this example, we need to determine whether a given matrix is invertible. We recall that a square matrix is invertible if and only if its determinant is not equal to zero. We can see that the order of the given matrix is 2×2, which means that it is a square matrix. So, we need to check its determinant to see whether it is equal to zero.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det3131=3×11×(3)=6.

We can see that the determinant of the given square matrix is nonzero. This tells us that this matrix is invertible.

Hence, the correct answer to the question in this example is yes.

Let us consider another example where we determine whether a given matrix is invertible.

Example 2: Determinants and Invertibility

Is the matrix 3131 invertible?

Answer

In this example, we need to determine whether a given matrix is invertible. We recall that a square matrix is invertible if and only if its determinant is not equal to zero. We can see that the order of the given matrix is 2×2, which means that it is a square matrix. So, we need to check its determinant to see whether it is equal to zero.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det3131=3×(1)1×(3)=0.

We can see that the determinant of the given square matrix is equal to zero. This tells us that this matrix is not invertible.

Hence, the correct answer to the question in this example is no.

In the next example, we will find a condition for an unknown constant in a matrix, given that a matrix is invertible.

Example 3: Determinants and Invertibility

Given that the matrix 717𝑎 is invertible, what must be true of 𝑎.

Answer

In this example, we are given that the matrix is invertible. We recall that a square matrix is invertible if and only if its determinant is not equal to zero. We can see that the order of the given matrix is 2×2, which means that it is a square matrix. So, we need to make sure that its determinant is not equal to zero to ensure that it is invertible.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det717𝑎=7×𝑎1×(7)=7𝑎+7.

Hence, the determinant of the given matrix is 7𝑎+7. Since the matrix is invertible, this value must not equal zero. This leads to 7𝑎+707𝑎7𝑎1.

Therefore, it must be true that 𝑎1.

In the next example, we will find all possible values of an unknown in a matrix when we are given that the matrix is singular.

Example 4: Finding the Unknown Elements of a Singular Matrix

Find the set of real values of (𝑥) that make the matrix 𝑥382𝑥+3 singular.

Answer

In this example, we are given that the matrix is singular. We recall that a singular matrix is a square matrix with zero determinant. We can see that the order of the given matrix is 2×2, which means that it is a square matrix. So, we need to make sure that its determinant is equal to zero.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det𝑥382𝑥+3=(𝑥3)×(𝑥+3)8×2.

We can expand through the parentheses in this expression by using the difference of squares formula, (𝑎+𝑏)(𝑎𝑏)=𝑎𝑏. Using this formula, we can write the determinant as 𝑥316=𝑥25.

Hence, the determinant of the given matrix is 𝑥25. Since this is a singular matrix, its determinant must equal to zero. This leads to 𝑥25=0𝑥=25𝑥=±5.

Hence, we must have either 𝑥=5 or 𝑥=5. The set of real values of (𝑥) for which the given matrix is singular is {5,5}.

So far, we have considered a few examples concerning the existence of the matrix inverse. Let us turn our attention to finding the inverse of a 2×2 matrix.

In the next example, we will determine whether two given matrices are inverses of each other.

Example 5: Verifying Whether a Given Matrix Is a Multiplicative Inverse of Another Given Matrix

Are the matrices 1234,1121314 multiplicative inverses of each other?

Answer

In this example, we need to determine whether two given matrices are inverses of each other. We can see that both of these matrices are 2×2 matrices. Recall that, given a 2×2 matrix 𝐴, its multiplicative inverse, denoted 𝐴, is the matrix that satisfies 𝐴𝐴=𝐴𝐴=𝐼, if such a matrix exists. We also recall that 𝐼 is the 2×2 identity matrix 1001. If we can obtain the identity matrix by multiplying the matrices in either order, then we will know that they are multiplicative inverses of each other. Let us compute the matrix multiplication in the order provided. 12341121314=1×1+2×131×12+2×143×1+4×133×12+4×14=53113352.

We can see that the resulting matrix is not the identity matrix. Hence, the two matrices are not multiplicative inverses of each other.

The answer to the question in this example is no.

In the previous example, we checked whether two given matrices are inverses of each other. Using this method, we can always check whether two given matrices are inverses of each other. However, this is not a good way to find the inverse of a matrix since we would need to check this for every possible matrix. We introduce the formula for the inverse of a 2×2 matrix.

Formula: Inverse of a 2 × 2 Matrix

Let 𝐴=𝑎𝑏𝑐𝑑 such that det𝐴0. Then, 𝐴=1𝐴𝑑𝑏𝑐𝑎.det

Note that we can obtain the inverse from 𝐴 by

  1. swapping the positions of 𝑎 and 𝑑 around,
  2. switching the signs of 𝑏 and 𝑐,
  3. and dividing by the determinant.

Let us prove the validity of this formula by computing the matrix multiplication 𝐴𝐴. The matrix multiplication 𝐴𝐴 is similar and is omitted. We have 𝐴𝐴=𝑎𝑏𝑐𝑑1𝐴𝑑𝑏𝑐𝑎=1𝐴𝑎𝑏𝑐𝑑𝑑𝑏𝑐𝑎=1𝐴𝑎×𝑑+𝑏×(𝑐)𝑎×(𝑏)+𝑏×𝑎𝑐×𝑑+𝑑×(𝑐)𝑐×(𝑏)+𝑑×𝑎=1𝐴𝑎𝑑𝑏𝑐00𝑎𝑑𝑏𝑐=𝑎𝑑𝑏𝑐𝐴00𝑎𝑑𝑏𝑐𝐴=1001.detdetdetdetdetdet

Indeed, multiplying matrix 𝐴 by matrix 𝐴 as defined above results in the identity matrix 𝐼. Along with the verification of the other equation 𝐴𝐴=𝐼, which is omitted here, we have proved that this matrix inverse formula is valid.

Let us pause here for a moment and ask an important philosophical question. Is this the only possible matrix inverse of 𝐴? In other words, is it possible for a matrix to have an inverse that is not given by this formula? This is a question that relates to the uniqueness of the matrix inverse.

Let us rephrase this question a little. We already know that, given a nonsingular matrix, there is a formula defining an inverse of the matrix. So, our question is essentially asking whether two different matrices can satisfy the equations 𝐴𝐴=𝐴𝐴=𝐼, for a given invertible matrix 𝐴. We will show that this is not possible. Say that matrices 𝐵 and 𝐶 are inverses of 𝐴. Then, we must have 𝐴𝐵=𝐵𝐴=𝐼,𝐴𝐶=𝐶𝐴=𝐼.

In particular, this means that 𝐴𝐵=𝐴𝐶.

We can multiply both sides of the equation from the left by 𝐵 to write 𝐵𝐴𝐵=𝐵𝐴𝐶.

Since 𝐵 is an inverse of 𝐴, we know that 𝐵𝐴=𝐼, which gives us 𝐼𝐵=𝐼𝐶.

𝐼 is the multiplicative identity, so 𝐵=𝐶.

This tells us that 𝐵 and 𝐶 are exactly the same matrix. This tells us that, if we have any two matrices that are inverses of a given matrix, they must be equal. In other words, there is only one inverse of an invertible matrix. Since we have a formula for an inverse of a 2×2 matrix, this must be the unique matrix inverse.

In the next example, we will use this formula to compute the inverse of a 2×2 matrix.

Example 6: Finding the Inverse of a Matrix

Find the multiplicative inverse of the matrix 𝐴=41035, if possible.

Answer

In this example, we need to find the inverse of a given 2×2 matrix, if possible. Recall that the inverse of a square matrix exists (i.e., the matrix is invertible) if and only if its determinant is not equal to zero. We can see that the order of the given matrix is 2×2, which means that it is a square matrix. So, we need to make sure that its determinant is not equal to zero to ensure that it is invertible.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det𝐴=(4)×5(10)×3=10.

Hence, the determinant of the given matrix is 10. Since the determinant is nonzero, we know that the inverse of a matrix exists. Let us find the inverse.

We recall that the inverse of matrix 𝐴=𝑎𝑏𝑐𝑑 with det𝐴0 is given by 𝐴=1𝐴𝑑𝑏𝑐𝑎.det

We can see from 𝐴=41035 that 𝑎=4,𝑏=10,𝑐=3,𝑑=5.

We have also computed det𝐴=10. Substituting these values into the formula for the matrix inverse, we obtain 𝐴=11051034.

Computing the scalar multiplication, we get 𝐴=5101010310410=12131025.

Now that we know how to find the inverse of a 2×2 matrix, let us return to the problem that motivated this development. If we know the inverse of a matrix, we can solve a matrix equation 𝐴𝑋=𝐵 to find the unknown matrix 𝑋 where 𝐴 and 𝐵 are known matrices. To solve this equation for the unknown matrix 𝑋, we need to multiply on the left of 𝐴𝑋 by the inverse matrix 𝐴, if it exists. Since this is an equation, we must do the same on the right-hand side of the equation. This leads to 𝐴𝐴𝑋=𝐴𝐵.

We know 𝐴𝐴=𝐼, which is the identity matrix. This leads to 𝑋=𝐴𝐵.

How To: Solving Matrix Equations

Let 𝐴 be an invertible matrix, and let both 𝐴 and 𝐵 be 2×2 matrices. Matrix 𝑋 satisfying the equation 𝐴𝑋=𝐵 is 𝑋=𝐴𝐵.

Similarly, matrix 𝑋 satisfying the equation 𝑋𝐴=𝐵 is 𝑋=𝐵𝐴.

We can see that the solution for the equation 𝐴𝑋=𝐵 is different from the solution of 𝑋𝐴=𝐵 because the matrix multiplication is noncommutative. In either case, we need to multiply both sides of the equation by the inverse of 𝐴, but it matters which side we are multiplying from.

In our final example, we will apply our knowledge of the matrix inverse to solve a matrix equation involving 2×2 matrices.

Example 7: Solving Matrix Equations

Using matrix inverses, solve the following for 𝑋: 𝑋3243=0230.

Answer

In this example, we need to solve a matrix equation. Recall that we can solve a matrix equation of the form 𝐴𝑋=𝐵 or 𝑋𝐴=𝐵 by using the inverse of matrix 𝐴, if it exists. In this example, matrix 𝐴 is the matrix on the left-hand side of the equation 𝐴=3243.

Let us first check whether the inverse of this matrix exists. Recall that the inverse of a square matrix exists (i.e. the matrix is invertible) if and only if its determinant is not equal to zero. We can see that the order of matrix 𝐴 is 2×2, which means that it is a square matrix. So, we need to make sure that its determinant is not equal to zero to ensure that it is invertible.

Recall that the determinant of a 2×2 matrix is given by det𝑎𝑏𝑐𝑑=𝑎×𝑑𝑏×𝑐.

This leads to det𝐴=(3)×(3)2×4=1.

Hence, the determinant of the given matrix is 1. Since the determinant is nonzero, we know that the inverse of a matrix exists. Let us find the inverse.

We recall that the inverse of matrix 𝐴=𝑎𝑏𝑐𝑑 with det𝐴0 is given by 𝐴=1𝐴𝑑𝑏𝑐𝑎.det

We can see from 𝐴=3243 that 𝑎=3,𝑏=2,𝑐=4,𝑑=3.

We also know that det𝐴=1, which means that the scalar factor 1𝐴det in the formula can be disregarded. Substituting these values into the formula of the matrix inverse, we obtain 𝐴=3243.

Now that we have computed the matrix inverse, let us consider how to solve the equation. Denoting the matrix on the right-hand side of the equation as 𝐵, our equation is in the form 𝑋𝐴=𝐵.

We can multiply 𝐴 from the right on both sides of the equation to write 𝑋𝐴𝐴=𝐵𝐴.

We know that 𝐴𝐴=𝐼, which is the identity matrix. Since multiplying by the identity matrix does not change the matrix, we have 𝑋=𝐵𝐴.

Hence, we need to find the matrix multiplication 𝐵𝐴: 𝐵𝐴=02303243=0×(3)+(2)×(4)0×(2)+(2)×(3)3×(3)+0×(4)3×(2)+0×(3)=8696.

Therefore, the answer is 𝑋=8696.

Let us finish by recapping a few important concepts from the explainer.

Key Points

  • Let 𝐴 be a 2×2 matrix. The inverse of 𝐴, denoted 𝐴, is a matrix that satisfies 𝐴𝐴=𝐼,𝐴𝐴=𝐼. If such a matrix exists, we say that matrix 𝐴 is invertible. If such a matrix does not exist, we say that matrix 𝐴 is not invertible.
  • Let 𝐴 be an invertible matrix. Then, 𝐴 is invertible and 𝐴=𝐴.
  • A singular matrix is a square matrix whose determinant is equal to zero. A square matrix is not invertible if and only if it is singular.
  • Let 𝐴=𝑎𝑏𝑐𝑑 such that det𝐴0. Then, 𝐴=1𝐴𝑑𝑏𝑐𝑎.det
  • Let 𝐴 be an invertible matrix and both 𝐴 and 𝐵 be 2×2 matrices. Matrix 𝑋 satisfying the equation 𝐴𝑋=𝐵 is 𝑋=𝐴𝐵. Similarly, matrix 𝑋 satisfying the equation 𝑋𝐴=𝐵 is 𝑋=𝐵𝐴.

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