21. Inverses: examples

21. Inverses: examples

Method for finding the inverse

Theorem:

Given an n -by- n matrix A , form the augmented matrix ( A | I ) (i.e. you have the n -by- n identity matrix on the right hand side of the bar). Apply row operations to this augmented matrix until you obtain an augmented matrix ( B | C ) with B in reduced echelon form.

  • If B = I then A is invertible with inverse C .

  • If B I then A is not invertible.

So if A is invertible, you start with ( A | I ) and you end up with ( I | A - 1 ) . We're going to postpone the proof for now, and work out some examples before developing the theory necessary for the proof.

Examples

Let A = ( 1 - 1 1 1 ) . The augmented matrix is ( 1 - 1 | 1 0 1 1 | 0 1 ) . To put the left-hand block into reduced echelon form, we do R 2 R 2 - R 1 : ( 1 - 1 | 1 0 0 2 | - 1 1 ) , then we do R 2 1 2 R 2 to get: ( 1 - 1 | 1 0 0 1 | - 1 / 2 1 / 2 ) . Next we do R 1 R 1 + R 2 , which gives: ( 1 0 | 1 / 2 1 / 2 0 1 | - 1 / 2 1 / 2 ) . Now the left-hand block is in reduced echelon form; it is the identity matrix, so A is invertible and its inverse is the right-hand block: ( 1 / 2 1 / 2 - 1 / 2 1 / 2 ) . You can check this agrees with the 2-by-2 inverse we talked about last time.

Here's a messy example. Let's invert A = ( 1 2 3 0 1 4 1 5 0 ) . We have ( A | I ) = ( 1 2 3 | 1 0 0 0 1 4 | 0 1 0 1 5 0 | 0 0 1 ) . Perform R 3 R 3 - R 1 to clear the first column: ( 1 2 3 | 1 0 0 0 1 4 | 0 1 0 0 3 - 3 | - 1 0 1 ) . Next, R 3 R 3 - 3 R 2 gets us into echelon form: ( 1 2 3 | 1 0 0 0 1 4 | 0 1 0 0 0 - 15 | - 1 - 3 1 ) . Now R 3 - R 3 / 15 gives: ( 1 2 3 | 1 0 0 0 1 4 | 0 1 0 0 0 1 | 1 / 15 1 / 5 - 1 / 15 ) . Clear the last column with R 2 R 2 - 4 R 3 and R 1 R 1 - 3 R 3 to get: ( 1 2 0 | 4 / 5 - 3 / 5 1 / 5 0 1 0 | - 4 / 15 1 / 5 4 / 15 0 0 1 | 1 / 15 1 / 5 - 1 / 15 ) . Finally, R 1 R 1 - 2 R 2 yields: ( 1 0 0 | 4 / 3 - 1 - 1 / 3 0 1 0 | - 4 / 15 1 / 5 4 / 15 0 0 1 | 1 / 15 1 / 5 - 1 / 15 ) . The left-hand block is the identity matrix, so A is invertible and the right-hand block is A - 1 .

This means A - 1 = ( 4 / 3 - 1 - 1 / 3 - 4 / 15 1 / 5 4 / 15 1 / 15 1 / 5 - 1 / 15 ) . We can check this by computing A - 1 A : we get I .