MathGroup Archive 2010

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

Search the Archive

Re: Equals, Less, Greater, etc; Confused by this simple output.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg109834] Re: Equals, Less, Greater, etc; Confused by this simple output.
  • From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
  • Date: Wed, 19 May 2010 20:12:19 -0400 (EDT)

Hi,

<snip>
> I would have thought that a <= a and a >= a would both evaluate to
> True, given that a == a does.

You cannot order complex numbers and now guess, what Mathematica uses  
for "a".

Simplify[{a == a, a <= a, a >= a, a < a, a > a}, Element[a, Reals]]

{True, True, True, False, False}

Cheers
Patrick


  • Prev by Date: Error when attempting to save Graphic to file
  • Next by Date: Re: combining ArrayPlot with ListLinePlot
  • Previous by thread: Equals, Less, Greater, etc; Confused by this simple output.
  • Next by thread: Re: Equals, Less, Greater, etc; Confused by this simple output.