Re: Mathematica bug??
- To: mathgroup at smc.vnet.net
- Subject: [mg100581] Re: Mathematica bug??
- From: lehin.p at gmail.com
- Date: Mon, 8 Jun 2009 03:05:37 -0400 (EDT)
- References: <h0fvlb$rct$1@smc.vnet.net>
On 7 =C9=C0=CE, 13:01, oshaughn <oshau... at gravity.psu.edu> wrote:
> {{Sqrt[1 - 2/r], 0, 0, 0}, {0, 1/Sqrt[1 - 2/r], 0, 0}, {0, 0, r,
> =9A =9A0}, {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]]/
> =9A r}}
>
> with no warnings. =9AThis is a *diagonal* matrix that should be
> trivially invertible.
>
> Does anyone know why Inverse has catastrophically failed here?
Hello,
I can not reproduce this behavior with Mathematica 7.01 on WinXP SP3:
In[26]:= {{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[26]= {{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}}