Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2702 > unrolled thread

Problem with Simplify and Assumptions

Started byCisco Lane <travlorf@yahoo.com>
First post2011-05-25 09:57 +0000
Last post2011-05-25 23:32 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Problem with Simplify and Assumptions Cisco Lane <travlorf@yahoo.com> - 2011-05-25 09:57 +0000
    Re: Problem with Simplify and Assumptions ADL <alberto.dilullo@tiscali.it> - 2011-05-25 23:32 +0000

#2702 — Problem with Simplify and Assumptions

FromCisco Lane <travlorf@yahoo.com>
Date2011-05-25 09:57 +0000
SubjectProblem with Simplify and Assumptions
Message-ID<irijr5$qfu$1@smc.vnet.net>
I am wondering how to get the last line to say "True"

In[1]:= $Assumptions = {m >= 1, s > 0}

Out[1]= {m >= 1, s > 0}

In[3]:= Simplify[(1 - 2*m)*s < 0]

Out[3]= True

In[4]:= Simplify[Exp[(1 - 2*m)*s] < 1]

Out[4]= E^s < E^(2 m s)

Thanks, 
Frank L.

[toc] | [next] | [standalone]


#2710

FromADL <alberto.dilullo@tiscali.it>
Date2011-05-25 23:32 +0000
Message-ID<irk3ht$78d$1@smc.vnet.net>
In reply to#2702
On 25 Mag, 11:57, Cisco Lane <travl...@yahoo.com> wrote:
> I am wondering how to get the last line to say "True"
>
> In[1]:= $Assumptions = {m >= 1, s > 0}
>
> Out[1]= {m >= 1, s > 0}
>
> In[3]:= Simplify[(1 - 2*m)*s < 0]
>
> Out[3]= True
>
> In[4]:= Simplify[Exp[(1 - 2*m)*s] < 1]
>
> Out[4]= E^s < E^(2 m s)
>
> Thanks,
> Frank L.

To look around Andrzej Kozlowski's suggestions, I observe that Reduce
seems to be insensitive to $Assumptions or Assuming, which is strange
(to me) and not mentioned in the help.

In any case,

In[]:= Reduce[m>=1 && s>0 && Exp[(1-2*m)*s]<1]
Out[]= m>=1 && s>0

which is a rather unusual way to express that the condition on Exp is
redundant (and thus disappeared).

In fact:

In[]:= Reduce[m >= 1 && s > 0 && Exp[(1 - 2*m)*s] >= 1]
Out[]= False

So, it seems to be easier to get a False than to get a True.

ADL

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web