MathGroup Archive 2008

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

Search the Archive

Re: How can I evaluate this statement?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89956] Re: [mg89895] How can I evaluate this statement?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 25 Jun 2008 06:26:38 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

In general, it is neither True nor False

{a > b, a^2 > b^2} /. {a -> 2, b -> 1}

{True,True}

{a > b, a^2 > b^2} /. {a -> 2, b -> -3}

{True,False}

Simplify[Reduce[{a > b, a^2 > b^2, Element[{a, b}, Reals]}], a > b]

b > 0 || a + b > 0


Bob Hanlon

---- pircdefense <gregthaopenny at gvtc.com> wrote: 
> I'm trying to show for all real numbers whether the following statement is true or false:
> 
> If a > b, then a^2 > b^2. I've tried various syntax and configurations in Mathematica, but I can't get it to report true or false. Can anyone offer a solution?
> 



  • Prev by Date: How to get the size of Inset in Graphics?
  • Next by Date: Re: Export lists
  • Previous by thread: Re: Re: How can I evaluate this statement?
  • Next by thread: Re: How can I evaluate this statement?