MathGroup Archive 2009

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

Search the Archive

Re: Mathematica bug??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg100565] Re: Mathematica bug??
  • From: Bill Rowe <readnews at sbcglobal.net>
  • Date: Mon, 8 Jun 2009 02:06:29 -0400 (EDT)

On 6/7/09 at 5:02 AM, oshaughn at gravity.psu.edu (oshaughn) wrote:

>{{Sqrt[1 - 2/r], 0, 0, 0}, {0, 1/Sqrt[1 - 2/r], 0, 0}, {0, 0, r,
>0}, {0, 0, 0, r Sin[\[Theta]]}} // Inverse

>gives

>{{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 1/r, 0}, {0, 0, 0, Csc[\[Theta]]/
>r}}

>with no warnings.  This is a *diagonal* matrix that should be
>trivially invertible.

>Does anyone know why Inverse has catastrophically failed here?

Here, I get:

In[4]:= {{Sqrt[1 - 2/r], 0, 0, 0}, {0, 1/Sqrt[1 - 2/r], 0, 0}, {0, 0,
   r, 0}, {0, 0, 0, r Sin[\[Theta]]}} // Inverse

Out[4]= {{1/Sqrt[1 - 2/r], 0, 0, 0}, {0, Sqrt[1 - 2/r], 0, 0},
   {0, 0, 1/r, 0}, {0, 0, 0, Csc[\[Theta]]/r}}

In[5]:= $Version

Out[5]= 7.0 for Mac OS X x86 (64-bit) (February 19, 2009)

Perhaps there is a version or platform issue.



  • Prev by Date: Re: Mathematica bug??
  • Next by Date: Re: Mathematica bug??
  • Previous by thread: Re: Mathematica bug??
  • Next by thread: Re: Mathematica bug??