MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Matrix Inverse Issue


On 8/26/07 at 3:00 AM, brg at nowhere.org (Brian Gladman) wrote:

>I am having a problem with the matrix inverse for the following
>matrix in Mathematica 6:

>A = Table[If[j == i, 1 - i/10, If[j == i + 1, i/10, 0]], {i, 9},=
 {j,
>9}]

>A Inverse[A]

>I expected the identity matrix here but I get extra terms.

>Am I doing something wrong?

Yes.

A Inverse[A]

does an element by element multiplication. You want

A.Inverse[A]

which does a matrix multiplication and gives the expected result
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Improper Integral & Mathematica
  • Next by Date: Plot "not working"
  • Previous by thread: Re: Matrix Inverse Issue
  • Next by thread: Re: Matrix Inverse Issue