16.3 Finding the Inverse of a Matrix

  • Inverse of a 2× 2 Matrix • Gauss–Jordan Method • Inverse on a Calculator

We now show how to find the inverse of a matrix, and in the next section, we show how it is used in solving a system of linear equations. First, we show two methods of finding the inverse of a 2× 2 matrix. The first method is as follows:

  1. Interchange the elements on the principal diagonal.

  2. Change the signs of the off-diagonal elements.

  3. Divide each resulting element by the determinant of the given matrix.

CAUTION

This method can be used with second-order square matrices but not with higher-order matrices.

The following example illustrates this method.

EXAMPLE 1 Inverse of 2 × 2 matrix—method 1

Find the inverse of the matrix A =  [ 2 − 34 − 7 ]  . 

First, we interchange the elements on the principal diagonal and change the signs of the off-diagonal elements. This gives us the matrix

A 2 by 2 matrix. Row 1: negative 7 and 3. Row 2: negative 4 and 2. The diagonal elements 2 and negative 7 are interchanged, and the signs of 3 and negative 4 are changed.

Now, we find the determinant of the original matrix, which means we evaluate

 | 2 − 34 − 7 |  =  − 14 − ( − 12) =  − 2

CAUTION

If the value of the determinant is zero, the inverse matrix does not exist. It would cause division by zero in the method used in Example 1.

We now divide each element of the second matrix by  − 2. This gives

A − 1 = 1 − 2 [  − 73 − 42 ]  =  [  − 7 − 23 − 2 − 4 − 22 − 2 ]  =  [ 72 − 322 − 1 ] ← inverse

Checking by multiplication gives

AA − 1 =  [ 2 − 34 − 7 ]  [ 72 − 322 − 1 ]  =  [ 7 − 6 − 3 + 314 − 14 − 6 + 7 ]  =  [ 1001 ]  = I

Because AA − 1 = I ,  the matrix A − 1 is the proper inverse matrix.

GAUSS–JORDAN METHOD

The second method, called the Gauss–Jordan method, involves transforming the given matrix into the identity matrix while transforming the identity matrix into the inverse. There are three types of steps allowable in making these transformations:

  1. Any two rows may be interchanged.

  2. Every element in any row may be multiplied by any number other than zero.

  3. Any row may be replaced by a row whose elements are the sum of a nonzero multiple of itself and a nonzero multiple of another row.

NOTE

[Note that these are row operations, not column operations, and are the same operations used in solving a system of equations by addition and subtraction.]

EXAMPLE 2 2 × 2 Inverse—Gauss-Jordan method

Find the inverse of the matrix

A =  [ 2 − 34 − 7 ] this is the same matrix as in Example 1

First, we set up the given matrix with the identity matrix as follows:

 [ 2 − 34 − 4 | 1001 ] 

The vertical line simply shows the separation of the two matrices.

We wish to transform the left matrix into the identity matrix. Therefore, the first requirement is a 1 for element a11 .  Therefore, we divide all elements of the first row by 2. This gives the following setup:

 [ 4 − 324 − 7 | 12001 ] 

Next, we want to have a zero for element a21 .  Therefore, we subtract 4 times each element of row 1 from the corresponding element in row 2, replacing the elements of row 2. This gives us the following setup:

 [ 1 − 324 − 4(1) − 7 − 4( − 32) | 1200 − 4(12)1 − 4(0) ] or [ 1 − 320 − 1 | 120 − 21 ] 

Next, we want to have 1, not  − 1 ,  for element a22 .  Therefore, we multiply each element of row 2 by  − 1. This gives

 [ 1 − 3201 | 1202 − 1 ] 

Finally, we want zero for element a12 .  Therefore, we add 32 times each element of row 2 to the corresponding elements of row 1, replacing row 1. This gives

 [ 1 + 32(0) − 32 + 32(1)01 | 12 + 32(2)0 + 32( − 1)2 − 1 ] or [ 1001 | 72 − 322 − 1 ] 

At this point, we have transformed the given matrix into the identity matrix, and the identity matrix into the inverse. Therefore, the matrix to the right of the vertical bar in the last setup is the required inverse. Thus,

A − 1 =  [ 72 − 322 − 1 ] 

To find the inverse on a calculator, we first enter the matrix A and then use the  key. Figure 16.7 shows matrix A, its inverse A − 1 ,  and the product A − 1A ,  which equals the identity matrix.

A calculator screen.

Fig. 16.7

Graphing calculator keystrokes: bit.ly/2OP9gbV

In transforming a matrix into the identity matrix, we work on one column at a time, transforming the columns in order from left to right. It is generally best to make the element on the principal diagonal for the column 1 first and then make all other elements in the column 0. The method is applicable for any square matrix. The following two examples illustrate this method, with the row operations shown in red. For example, the notation  − 4R1 + R2 means that a row is being replaced with  − 4 times row 1 plus row 2.

EXAMPLE 3 2 × 2 Inverse—Gauss-Jordan method

Find the inverse of the matrix  [  − 3645 ]  . 

Row wise multiplication process of augmented matrix.

Therefore, A − 1 =  [  − 539213439113 ]  ,  which can be checked by multiplication.

EXAMPLE 4 3 × 3 Inverse—Gauss-Jordan method

Find the inverse of the matrix  [ 12 − 135 − 1 − 2 − 1 − 2 ]  . 

Row wise multiplication process of augmented matrix.

Therefore, the required inverse matrix is

 [ 112 − 52 − 32 − 421 − 723212 ] 

which may be checked by multiplication. See Fig. 16.8 for a calculator window showing A − 1 in decimal and fractional form.

A calculator screen.

Fig. 16.8

Graphing calculator keystrokes: bit.ly/2A6Y5Da

EXERCISES 16.3

In Exercises 1 and 2, make the given changes in the indicated examples of this section and then find the matrix inverses.

  1. In Example 1, change the element  − 7 to  − 5 and then find the inverse using the same method.

  2. In Example 3, change the element  − 3 to  − 2 and then find the inverse using the same method.

In Exercises 310, find the inverse of each of the given matrices by the method of Example 1 of this section.

  1.  [ 2 − 3 − 24 ] 

  2.  [  − 633 − 2 ] 

  3.  [  − 15410 ] 

  4.  [ 0.8 − 0.1 − 0.4 − 0.5 ] 

  5.  [ 0 − 426 ] 

  6.  [ 70 − 30 − 6040 ] 

  7.  [  − 30 − 452650 ] 

  8.  [ 7.2 − 3.6 − 1.3 − 5.7 ] 

In Exercises 1120, find the inverse of each of the given matrices by transforming the identity matrix, as in Examples 24.

  1.  [ 1225 ] 

  2.  [ 15 − 1 − 4 ] 

  3.  [ 24 − 1 − 1 ] 

  4.  [  − 263 − 4 ] 

  5.  [  − 25 − 12 ] 

  6.  [  − 23 − 35 ] 

  7.  [ 1 − 3 − 2 − 2731 − 1 − 3 ] 

  8.  [ 12 − 137 − 5 − 1 − 20 ] 

  9.  [ 132 − 2 − 5 − 1240 ] 

  10.  [ 134 − 1 − 4 − 24920 ] 

In Exercises 2128, find the inverse of each of the given matrices by using a calculator. The matrices in Exercises 23 and 24 are the same as those in Exercises 19 and 20.

  1.  [  − 28 − 16 ] 

  2.  [ 20 − 45 − 1224 ] 

  3.  [ 132 − 2 − 5 − 1240 ] 

  4.  [ 134 − 1 − 4 − 24920 ] 

  5.  [ 24034 − 2 − 112 ] 

  6.  [ 10 − 530 − 24 − 52055 ] 

  7.  [ 1 − 2101 − 22 − 301 − 11 − 23 − 23 ] 

  8.  [ 12.5 − 2.61.27.6 − 4.610.0 − 4.7 − 6.85.7 − 3.77.311.08.86.814.04.7 ] 

In Exercises 2931, find BA − 1 .  In Exercises 3234, find CA − 1 . 

B =  [ 8 − 234 ] C =  [ 5 − 102 − 21 − 304 ] 
  1. A =  [ 2 − 4 − 13 ] 

  2. A =  [  − 416 − 2 ] 

  3. A =  [ 5 − 32 − 1 ] 

  4. A =  [  − 31 − 11 − 4 − 7125 ] 

  5. A =  [ 1 − 110 − 21 − 2 − 30 ] 

  6. A =  [ 102 − 1231 − 10 ] 

In Exercises 3544, solve the given problems.

  1. Show that the matrix  [ 1111 ]  has no inverse.

  2.  Find the determinant of the matrix  [ 1 − 20 − 2483 − 66 ]  .  Explain what this tells us about its inverse.

  3. For the matrix A =  [ abcd ]  ,  show that 1ad − bc [ abcd ]  [ d − b − ca ]  =  [ 1001 ]  . 

    This verifies the method of Example 1.

  4.  Describe the relationship between the elements of the matrix  [ a000b000c ]  and the elements of its inverse.

  5. In Exercise 44 of Section 16.2, we saw that the matrix multiplication  [ cosθ − sinθsinθcosθ ]  [ x1x2x3y1y2y3 …  ]  rotates the points in the second matrix counterclockwise about the origin by angle θ .  If we replace the first matrix with its inverse, it has the opposite effect of rotating clockwise by angle θ .  The vertices of a triangle in a graphic design program are at (2 , 0) , ( − 2 , 0) ,  and (0 , 2) .  If the triangle is rotated clockwise about the origin by 45 °  ,  find the new coordinates of the vertices.

  6. The matrix A =  [ 2 − 11 − 14 − 31 − 32 ]  is symmetric (note the elements on opposite sides of the main diagonal are equal). Show that A − 1 is also symmetric.

  7. For the four-terminal network shown in Fig. 16.9, it can be shown that the voltage matrix V is related to the coefficient matrix A and the current matrix I by V = A − 1I ,  where

    A circuit with two terminals of i sub 1 on the left with v sub 1, and two terminals of i sub 2 on the right with v sub 2.

    Fig. 16.9

    V =  [ v1v2 ] A =  [ a11a12a21a22 ] I =  [ i1i2 ] 

    Find the equations for v1 and v2 that give each in terms of i1 and i2 . 

  8. The rotations of a robot arm such as that shown in Fig. 16.10 are often represented by matrices. The values represent trigonometric functions of the angles of rotation. For the following rotation matrix R, find R − 1 . 

    A robotic arm is hinged at its base and a point where it can bend. Its hand is able to rotate.

    Fig. 16.10

    R =  [ 0.80.0 − 0.60.01.00.00.60.00.8 ] 
  9. An avid math student sends an encrypted matrix message E to a friend who has the coding matrix C. The friend can decode E to get message M by multiplying E by C − 1 .  If

    E =  [ 42614762181641971071241344755 ] andC =  [ 1121101112121101 ]  , 

    what is the message? (0 = space , 1 = A , 2 = B , 3 = C , etc . )

  10. (See Exercise 43.) Using the same encryption code C, the student’s friend answered with

    R =  [ 1992023708367884543406439304551 ]  .  What was the return message R ? 

Answers to Practice Exercises

  1.  [  − 14 − 1232 ] 

  2.  [  − 14 − 1232 ] 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.183.150