# Inverse matrix

• Jul 20th 2006, 07:32 AM
kwtolley
Inverse matrix
Code:

```The inverse of                        1  -1  0                       0  1  1                       1  0  -1   is.  My answer is                       .5  .5  .5                       .5  .5  .5                       .5  .5  .5   thanks for checking my answer.```
• Jul 20th 2006, 09:17 AM
CaptainBlack
Quote:

Originally Posted by kwtolley
Code:

```The inverse of                        1  -1  0                       0  1  1                       1  0  -1   is.  My answer is                       .5  .5  .5                       .5  .5  .5                       .5  .5  .5   thanks for checking my answer.```

It can't be, just construct any row of the product of these two matrices.
You will find all the elements in that row equal (either 1s or 0s depending
on which row you consider, rather than two 0s and one 1.

RonL
• Jul 20th 2006, 09:23 AM
kwtolley
ok I see
I should have 1 1,, 1
-1 1,, 1
1 1,, 1 thanks again.
• Jul 20th 2006, 09:56 AM
CaptainBlack
Quote:

Originally Posted by kwtolley
I should have 1 1,, 1
-1 1,, 1
1 1,, 1 thanks again.

No,

Code:

``` >A=[1,-1,0;0,1,1;1,0,-1]             1            -1            0             0            1            1             1            0            -1 >inv(A)           0.5          0.5          0.5         -0.5          0.5          0.5           0.5          0.5          -0.5 >```
RonL
• Jul 20th 2006, 08:06 PM
kwtolley
yes thats right
I see thats right, I fliped it wrong, thanks for getting me back on track,