Find the inverse of this matrix, or show that it has none.
Checked: multiplying by this matrix gives the identity.
Say what an inverse is, and set up the method
The inverse of is the matrix that UNDOES . We could hunt for its entries as unknowns, which for a matrix means nine unknowns in nine equations. There is a far better idea: every row operation is itself a multiplication by some matrix, so the whole sequence of operations that turns into the identity IS, multiplied together, the inverse. We do not need to find those matrices. We only need to apply the same operations to the identity and watch what it turns into.
Pivot 1: column 1, row 1
We work one column at a time, left to right. The goal for a column is a single (the pivot) with zeros everywhere else in it. A column in that state says something very plain: its variable appears in exactly one equation, with nothing in front of it. Each cleared column is one variable pinned down.
Swap row 1 and row 2, to bring the entry up to the pivot position. Swapping two equations changes nothing about what they say together.
Replace row 2 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 2: column 2, row 2
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
Swap row 2 and row 3, to bring the entry up to the pivot position. Swapping two equations changes nothing about what they say together.
Multiply row 2 by , which turns the pivot into . Multiplying an equation through by a number that is not zero keeps it true for exactly the same values.
| column | working | new entry |
|---|---|---|
Replace row 1 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Replace row 3 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Pivot 3: column 3, row 3
The same job for the next column. Working left to right matters: the rows we use now already have zeros in the earlier pivot columns, so clearing this column cannot spoil the columns already finished. That is why the method never has to go back.
Multiply row 3 by , which turns the pivot into . Multiplying an equation through by a number that is not zero keeps it true for exactly the same values.
| column | working | new entry |
|---|---|---|
Replace row 2 by . The multiplier is chosen so that the entry under attack, , is cancelled exactly by the pivot: .
| column | working | new entry |
|---|---|---|
Read off the inverse
The left half is now the identity, which means the operations we performed, taken together, amount to multiplying by . The right half started as and received exactly the same operations, so it is now .
Prove it by multiplying back
The definition of the inverse is a multiplication, so the definition itself is the test. Each entry of is a row of times a column of : multiply matching entries and add. The diagonal entries must come to and all the others to . One wrong entry anywhere in our answer would show up here.
| entry | working | value |
|---|---|---|
| row , column | ||
| row , column | ||
| row , column | ||
| row , column | ||
| row , column | ||
| row , column | ||
| row , column | ||
| row , column | ||
| row , column |