Find the Inverse of a Matrix

Learning Objectives

  • Verify that multiplying a matrix by it’s inverse results in 1
  • Use matrix multiplication to find the inverse of a matrix
  • Finding an inverse by augmenting with an identity matrix

We know that the multiplicative inverse of a real number aa is a1a1, and aa1=a1a=(1a)a=1aa1=a1a=(1a)a=1. For example, 21=1221=12 and (12)2=1(12)2=1. The multiplicative inverse of a matrix is similar in concept, except that the product of matrix AA and its inverse A1A1 equals the identity matrix. The identity matrix is a square matrix containing ones down the main diagonal and zeros everywhere else. We identify identity matrices by InIn where nn represents the dimension of the matrix. The equations below are the identity matrices for a 2×22×2 matrix and a 3×33×3 matrix, respectively.

I2=[1001]I2=[1001]

I3=[100010001]I3=100010001

The identity matrix acts as a 1 in matrix algebra. For example, AI=IA=AAI=IA=A.

A matrix that has a multiplicative inverse has the properties

AA1=IA1A=IAA1=IA1A=I

A matrix that has a multiplicative inverse is called an invertible matrix. Only a square matrix may have a multiplicative inverse, as the reversibility, AA1=A1A=IAA1=A1A=I, is a requirement. Not all square matrices have an inverse, but if AA is invertible, then A1A1 is unique. We will look at two methods for finding the inverse of a 2×22×2 matrix and a third method that can be used on both 2×22×2 and 3×33×3 matrices.

A General Note: The Identity Matrix and Multiplicative Inverse

The identity matrix, InIn, is a square matrix containing ones down the main diagonal and zeros everywhere else.

I2=[1001]I3=[100010001] 2×2 3×3I2=[1001]I3=100010001 2×2 3×3

If AA is an n×nn×n matrix and BB is an n×nn×n matrix such that AB=BA=InAB=BA=In, then B=A1B=A1, the multiplicative inverse of a matrix AA.

Example: Showing That the Identity Matrix Acts as a 1

Given matrix A, show that AI=IA=AAI=IA=A.
A=[3425]A=[3425]

How To: Given two matrices, show that one is the multiplicative inverse of the other.

  1. Given matrix AA of order n×nn×n and matrix BB of order n×nn×n multiply ABAB.
  2. If AB=IAB=I, then find the product BABA. If BA=IBA=I, then B=A1B=A1 and A=B1A=B1.

Example: Showing That Matrix A Is the Multiplicative Inverse of Matrix B

Show that the given matrices are multiplicative inverses of each other.

A=[1529],B=[9521]A=[1529],B=[9521]

Try It

Show that the following two matrices are inverses of each other.

A=[1413],B=[3411]A=[1413],B=[3411]

Finding the Multiplicative Inverse Using Matrix Multiplication

We can now determine whether two matrices are inverses, but how would we find the inverse of a given matrix? Since we know that the product of a matrix and its inverse is the identity matrix, we can find the inverse of a matrix by setting up an equation using matrix multiplication.

Example: Finding the Multiplicative Inverse Using Matrix Multiplication

Use matrix multiplication to find the inverse of the given matrix.

A=[1223]A=[1223]

Finding the Multiplicative Inverse by Augmenting with the Identity

Another way to find the multiplicative inverse is by augmenting with the identity. When matrix AA is transformed into II, the augmented matrix II transforms into A1A1.

For example, given

A=[2153]A=[2153]

augment AA with the identity

[2153 | 1001][2153 | 1001]

Perform row operations with the goal of turning AA into the identity.

  1. Switch row 1 and row 2.
    [5321 | 0110][5321 | 0110]
  2. Multiply row 2 by 22 and add to row 1.
    [1121 | 2110][1121 | 2110]
  3. Multiply row 1 by 22 and add to row 2.
    [1101 | 2152][1101 | 2152]
  4. Add row 2 to row 1.
    [1001 | 3152][1001 | 3152]
  5. Multiply row 2 by 11.
    [1001 | 3152][1001 | 3152]

The matrix we have found is A1A1.

A1=[3152]A1=[3152]

Finding the Multiplicative Inverse of 2×2 Matrices Using a Formula

When we need to find the multiplicative inverse of a 2×22×2 matrix, we can use a special formula instead of using matrix multiplication or augmenting with the identity.

If AA is a 2×22×2 matrix, such as

A=[abcd]A=[abcd]

the multiplicative inverse of AA is given by the formula

A1=1adbc[dbca]A1=1adbc[dbca]

where adbc0adbc0. If adbc=0adbc=0, then AA has no inverse.

Example: Using the Formula to Find the Multiplicative Inverse of Matrix A

Use the formula to find the multiplicative inverse of

A=[1223]A=[1223]

Try It

Use the formula to find the inverse of matrix AA. Verify your answer by augmenting with the identity matrix.

A=[1123]A=[1123]

Example: Finding the Inverse of the Matrix, If It Exists

Find the inverse, if it exists, of the given matrix.

A=[3612]A=[3612]

Finding the Multiplicative Inverse of 3×3 Matrices

Unfortunately, we do not have a formula similar to the one for a 2×22×2 matrix to find the inverse of a 3×33×3 matrix. Instead, we will augment the original matrix with the identity matrix and use row operations to obtain the inverse.

Given a 3×33×3 matrix

A=[231331241]A=231331241
augment AA with the identity matrix
A|I=[231331241 | 100010001]A|I=231331241 | 100010001

To begin, we write the augmented matrix with the identity on the right and AA on the left. Performing elementary row operations so that the identity matrix appears on the left, we will obtain the inverse matrix on the right. We will find the inverse of this matrix in the next example.

How To: Given a 3×33×3 matrix, find the inverse

  1. Write the original matrix augmented with the identity matrix on the right.
  2. Use elementary row operations so that the identity appears on the left.
  3. What is obtained on the right is the inverse of the original matrix.
  4. Use matrix multiplication to show that AA1=IAA1=I and A1A=IA1A=I.

Example: Finding the Inverse of a 3 × 3 Matrix

Given the 3×33×3 matrix AA, find the inverse.

A=[231331241]A=231331241

Try It

Find the inverse of the 3×33×3 matrix.

A=[217111117032]A=217111117032