I am trying to do an inverse of the following matrix but somehow I can't work it out.
The given matrix is this:
I added the I matrix to that :Code:1 1 0 1 1 1 2 1 1
and started to reducing to upper triangular form:Code:1 1 0 | 1 0 0 1 1 1 | 0 1 0 2 1 1 | 0 0 1
Row2 = Row2 - Row1
Row3 = Row3 - 2Row1
but this was the result
and I got stuck there.Code:1 1 0 | 1 0 0 0 0 1 | -1 1 0 0 -1 1| -2 0 1
Isit perhaps because I am doing something wrong?
Well, That's what I actually thought because it becomes perfect then, but this is just a matrix not a system of equations.You now need to exchange rows 2 and 3.
(just invented for an example)Code:1 2 3 | 5 4 5 6 | 7 7 8 9 | 8
I think that is possible in only system of equations or am i wrong?
I am confused as to what you are asking. There are three types of "row operation": multiply a single row by a number, add a multiple of one row to another (the multiple can be negative), and interchange two rows. You can use them to solve a system of equations by writing the equations as matrices but that is not the only use of row operations. They can be used to find inverse matrices, as you do here, or to find the determinant of a matrix.
What you give would be written as
(I removed the vertical line because that is not part of a matrix- that would be used to identify the right hand side of a system of equations, which you say you are not talking about.)
Yes, you can apply all row operations to that matrix- but to what purpose? What do you want to do with this matrix?