Possible Duplicate:
Why don't * and ^ work as I expected on matrices?
When I enter this
Inverse[{{-112, 49, 2, 283}, {-138, 5, 3, 359}, {-20, 0, 0, 6}, {-40, -20, 0, 12}}] *
{{-112, 49, 2, 283}, {-138, 5, 3, 359}, {-20, 0, 0, 6}, {-40, -20, 0, 12}}
I don't get the identity matrix, but this output:

Can anybody explain why and how I can fix it?
*performs matrix multiplication, while.*performs Hadamard multiplication. In Mathematica, OTOH,*is Hadamard multiplication, while.is the operator for matrix multiplication. Common trip-up... – J. M.'s missing motivation Sep 10 '12 at 08:32