MathGroup Archive 2009

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

Search the Archive

Re: Mathematica bug??


I get a different answer:

{{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}}

This is the correct answer. What version of Mathematica were you
using? Have you tried this on a fresh kernel?

Cheers -- Sjoerd

 On Jun 7, 11:01 am, 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,
>    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?



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