Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

3.4: Solving Systems with Inverses

( \newcommand{\kernel}{\mathrm{null}\,}\)

Learning Objectives

  • Find the inverse of a matrix.
  • Solve a system of linear equations using an inverse matrix

Prerequisite Skills

Before you get started, take this prerequisite quiz.

1. Use your calculator to find AB if A=[2153], B=[3152].

Click here to check your answer

[1001]

If you missed any part of this problem, review Section 3.2. (Note that this will open in a new window.)

 

2. Simplify 515 without using a calculator.

Click here to check your answer

1

If you missed this problem, review here. (Note that this will open a different textbook in a new window.)

 

3. Simplify 3223 without using a calculator.

Click here to check your answer

1

If you missed this problem, review here. (Note that this will open a different textbook in a new window.)

 

4. Solve 32x=58 by isolating the x first.  (Do not multiply both sides by the LCD.)

Click here to check your answer

x=512 

If you missed this problem, review here. (Note that this will open a different textbook in a new window.)

Nancy plans to invest $10,500 into two different bonds to spread out her risk. The first bond has an annual return of 10, and the second bond has an annual return of 6. To receive an 8.5 return from the two bonds, how much should Nancy invest in each bond? What is the best method to solve this problem? There are several ways we can solve this problem. As we have seen in previous sections, systems of equations and matrices are useful in solving real-world problems involving finance. After studying this section, we will have the tools to solve the bond problem using the inverse of a matrix.

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 In where n represents the dimension of the matrix. The identity matrices for a 2×2 matrix and a 3×3 matrix are, respectively:

I2=[1001]

I3=[100010001]

The identity matrix acts as a 1 in matrix algebra. For example,

AI=IA=A

Definition: THE IDENTITY MATRIX

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

I2=[1001]

as for the 2×2 identity matrix

I3=[100010001]

as for the 3×3 identity matrix

Example 3.4.1: Showing That the Identity Matrix Acts as a 1

Given matrix A, show that AI=IA=A.

A=[3425]

Solution

Use matrix multiplication to show that the product of A and the identity matric is equal to the product of the identity matrix and A.

AI=[3425][1001]=[31+4030+4121+5020+51]=[3425]

AI=[1001][3425]=[13+0(2)14+0503+1(2)04+15]=[3425]

We know that the multiplicative inverse of a real number is that which multiplies to create the multiplicative identity, which is 1.  Remember that a1=1a and that (a)(1a)=1.  Since (a)(a1)=1 and (a1)(a)=1, a and a1 are multiplicative inverses of each other.

aa1=a1a=(1a)a=1

For example, consider the example

21=12

As a multiplication problem,

2(12)=(12)2=1

therefore 2 and (12) are multiplicative inverses.

The multiplicative inverse of a matrix is similar in concept, except that the product of matrix A and its inverse A1 equals the identity matrix.

A matrix that has a multiplicative inverse has the properties

AA1=I

A1A=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=I

is a requirement. Not all square matrices have an inverse, but if A is invertible, then A1 is unique. We will look at two methods for finding the inverse of a 2×2 matrix and a third method that can be used on both 2×2 and 3×3 matrices.

 

Definition: THE MULTIPLICATIVE INVERSE

If A is an n×n matrix and B is an n×n matrix such that AB=BA=In, then B=A1, the multiplicative inverse of a matrix A.

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

  • Given matrix A of order n×n and matrix B of order n×n multiply AB.
  • If AB=I, then find the product BA. If BA=I, then B=A1 and A=B1.

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

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

A=[1529]

and

B=[9521]

Solution

Multiply AB and BA. If both products equal the identity, then the two matrices are inverses of each other.

AB=[1529]·[9521]=[1(9)+5(2)1(5)+5(1)2(9)9(2)2(5)9(1)]=[1001]

and

BA=[9521]·[1529]=[9(1)5(2)9(5)5(9)2(1)+1(2)2(5)+1(9)]=[1001]

Since both AB and BA equal the identity matrix, A and B are inverses of each other.

Exercise 3.4.1

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

A=[1413]

and

B=[3411]

Answer

AB=[1413][3411]=[1(3)+4(1)1(4)+4(1)1(3)+3(1)1(4)+3(1)]=[1001]

BA=[3411][1413]=[3(1)+4(1)3(4)+4(3)1(1)+1(1)1(4)+1(3)]=[1001]

Finding the Multiplicative Inverse by Augmenting with the Identity

We can now determine whether two matrices are inverses, but how would we find the inverse of a given matrix? One way to find the multiplicative inverse is by augmenting with the identity. When matrix A is transformed into I, the augmented matrix I transforms into A1.

For example, given

A=[2153]

augment A with the identity

[21105301]

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

  1. Switch row 1 and row 2.

    [53012110]

  2. Multiply row 2 by −2 and add to row 1.

    [11212110]

  3. Multiply row 1 by −2 and add to row 2.

    [11210152]

  4. Add row 2 to row 1.

    [10310152]

  5. Multiply row 2 by−1. −1.

    [10310152]

The matrix we have found is A1.

A1=[3152]

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

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

If A is a 2×2 matrix, such as

A=[abcd]

the multiplicative inverse of A is given by the formula

A1=1adbc[dbca]

where adbc0. If adbc=0, then A has no inverse.

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

Use the formula to find the multiplicative inverse of

A=[1223]

Solution

We can check that our formula works by using one of the other methods to calculate the inverse. Let’s augment A with the identity.

[12102301]

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

  1. Multiply row 1 by 2 and add to row 2.

    [12100121]

  2. Multiply row 1 by 2 and add to row 1.

    [10320121]

So, we have verified our original solution.

A1=[3221]

Exercise 3.4.2

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

A=[1123]

Answer

A1=[35152515]

Finding the Multiplicative Inverse Using a Calculator

For the purposes of this course, we can use the calculator to find a matrix inverse.

How to: Find the Matrix Inverse Using a Calculator

  1. Enter the original matrix into the calculator using the MATRIX EDIT screen.
  2. Press 2nd MATRIX and use down arrow key to select the correct matrix name from the NAMES menu.
  3. Press the x-1 key (for inverse). Press ENTER.
  4. The screen shows the command such as [A]-1. Press ENTER.
  5. If the matrix has an inverse, the calculator will display it.  If the matrix does not have an inverse, the calculator will display an error.

 

Exercise 3.4.3

Use a calculator to find the inverse of the 3×3 matrix.

A=[217111117032]

Answer

A1=[112243365]

Solving a System of Linear Equations Using the Inverse of a Matrix

Solving a system of linear equations using the inverse of a matrix requires the definition of new matrices: let A be the coefficient matrix, let X be the variable matrix, and let B be the constant matrix.  Provided that the system of equations has the same number of equations as it has variables, matrix multiplication allows us to define the system of equations as a new matrix equation,

AX=B

Then we will multiply both sides of the equation by the inverse of A to obtain the solution for X.

For example, look at the following system of equations.

a1x+b1y=c1

a2x+b2y=c2

From this system, the coefficient matrix is

A=[a1b1a2b2]

The variable matrix is

X=[xy]

And the constant matrix is

B=[c1c2]

Then AX=B looks like

[a1b1a2b2][xy]=[c1c2]

Recall the discussion earlier in this section regarding multiplying a real number by its inverse, (21)2=(12)2=1. To solve a single linear equation ax=b for x, we would simply multiply both sides of the equation by the multiplicative inverse (reciprocal) of a. Thus,

ax=b(1a)ax=(1a)b(a1)ax=(a1)b[(a1)a]x=(a1)b1x=(a1)bx=(a1)b

The only difference between a solving a linear equation and a system of equations written in matrix form is that finding the inverse of a matrix is more complicated, and matrix multiplication is a longer process. However, the goal is the same—to isolate the variable.

SOLVING A SYSTEM OF EQUATIONS USING THE INVERSE OF A MATRIX

Given a system of equations, write the coefficient matrix A, the variable matrix X, and the constant matrix B. Then

AX=B

Multiply both sides by the inverse of A to obtain the solution.

(A1)AX=(A1)B[(A1)A]X=(A1)BIX=(A1)BX=(A1)B

Q&A: If the coefficient matrix does not have an inverse, does that mean the system has no solution?

No, if the coefficient matrix is not invertible, the system could be inconsistent and have no solution, or be dependent and have infinitely many solutions.

Example 3.4.7: Solving a 2×2 System Using the Inverse of a Matrix

Solve the given system of equations using the inverse of a matrix.

3x+8y=54x+11y=7

Solution

Write the system in terms of a coefficient matrix, a variable matrix, and a constant matrix.

A=[38411], X=[xy], B=[57]

Then

[38411][xy]=[57]

or

[A][X]=[B]

First, we need to calculate A1.  Entering both [A] and [B] into the calculator and calling [A]1 finds that 

A1=[11843]

Now we are ready to solve. Multiply both sides of the equation by A1.

(A1)AX=(A1)BX=(A1)B

Entering [A]1[B] into the calculator gives the product of

[11] 

The solution is (1,1).

Q&A: Can we solve for X by finding the product BA1?

No, recall that matrix multiplication is not commutative, so A1BBA1. Consider our steps for solving the matrix equation.

(A1)AX=(A1)B[(A1)A]X=(A1)BIX=(A1)BX=(A1)B

Notice in the first step we multiplied both sides of the equation by A1, but the A1 was to the left of A on the left side and to the left of B on the right side. Because matrix multiplication is not commutative, order matters.

Exercise 3.4.4

Solve the system using the inverse of the coefficient matrix.

2x17y+11z=0x+11y7z=83y2z=2

Answer

X=[43858]

Media

Access these online resources for additional instruction and practice with solving systems with inverses.

Key Equations

Identity matrix for a 2×2 matrix I2=[1001]
Identity matrix for a 3×3 matrix

I3=[100010001]

Multiplicative inverse of a 2×2 matrix A1=1adbc[dbca], where adbc0

Key Concepts

  • An identity matrix has the property AI=IA=A. See Example 3.4.1.
  • An invertible matrix has the property AA1=A1A=I. See Example 3.4.2.
  • Use matrix multiplication and the identity to find the inverse of a 2×2 matrix. See Example 3.4.3.
  • The multiplicative inverse can be found using a formula. See Example 3.4.4.
  • Another method of finding the inverse is by augmenting with the identity. See Example 3.4.5.
  • We can augment a 3×3 matrix with the identity on the right and use row operations to turn the original matrix into the identity, and the matrix on the right becomes the inverse. See Example 3.4.6.
  • Write the system of equations as AX=B, and multiply both sides by the inverse of A: A1AX=A1B. See Example 3.4.7 and Example 3.4.8.
  • We can also use a calculator to solve a system of equations with matrix inverses. See Example 3.4.9.

Contributors and Attributions


3.4: Solving Systems with Inverses is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by LibreTexts.

Support Center

How can we help?