Been a while since I had to do this... totally forgot how to <_<
the only thing I can remember is or something...
But this leaves me absolutely clueless on how to solve
Thx in advance!
Here is what I consider a simpler method of inverting a matrix using "row reduction".
First write the matrix and the identity matrix side by side:
Now use "row-reduction" to reduce the given matrix to the identity matrix while applying the same reductions to the identity matrix. When you are done, you will have the identity matrix now where the given matrix was and the inverse where the identity matrix was.
"Row operations" basically correspond to the operations we can do to entire equations (each being a row of the matrix):
1) Multiply or divide every number in one row of the matrix by a number.
2) Add (or subtract) a multiple of one row to (or from) another.
3) Swap two row.
Work one column at a time from left to right- your objective is to get a "1" on the diagonal (at the "pivot" position) which you can do by dividing the entire row by the number in that spot, and then get "0" at every position below or above the diagon which you can do by subtracting the "pivot" row multiplied by the number in the row above or below the "pivot" from that row.
Here, I see that the number on the diagonal in the first row, the "pivot" number, is 1 so I don't have to divide that row by anything. Directly below it, in the second row, is a "2" so I subtract 2 times the first row from the second row. In the third row I have a "3" so I subtract 3 times the first row from the third row. And of course, I extend those same row operations to the identity matrix on the right.
Now, the "pivot" is the second number in the second row and it is "-1". I can make that "1" by multiplying the entire row by -1. Above the "pivot" is "2" and I can make that "0" by subtracting 2 times the (new) second row from the first row. Below the "pivot" is -2 and I can make that "0" by adding 2 times the (new) second row to it (or "subtracting -2 times...).
Notice that because of the "0" s in the first column, the first column is left as it was- already correct.
Now I see that the "pivot", last row, last column, is "1" so I don't have to multiply of divide the last row by anything. There is a "-1} in the first row of the last column so to get "0" in the first row above that, I need to add the third row to the first row. There is a "2" in the second row of the last column so to get a "0" there, I need to subtract 2 times the third row from the second row.
That is, the inverse matrix to