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