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


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

Re: it isn't strange?!

Started byDaniel Lichtblau <danl@wolfram.com>
First post2011-02-03 10:30 +0000
Last post2011-02-03 10:30 +0000
Articles 1 — 1 participant

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


Contents

  Re: it isn't strange?! Daniel Lichtblau <danl@wolfram.com> - 2011-02-03 10:30 +0000

#15653 — Re: it isn't strange?!

FromDaniel Lichtblau <danl@wolfram.com>
Date2011-02-03 10:30 +0000
SubjectRe: it isn't strange?!
Message-ID<iie050$bmg$1@smc.vnet.net>
olfa wrote:
> Hi Mathematica community,
> 
> here is my pb:
> 
>  input:
> Reduce[Max[a, b] == Max[c, d], c, Reals]
> output:
>  (d < Max[a, b] && c == Max[a, b]) || (d == Max[a, b] &&  c <= Max[a,
> b])
> 
> when testing this output with 2 initialisations:
> d = 2  a =  4  b = 3  c = 6  here d < Max[4, 3] but c is not equal to
> Max[4, 3]
> 
> d = 4  a =   4  b = 3  c = 6  here d = Max[4, 3] but c is not <= to
> Max[4, 3]
> 
> where is the pb?!

I see no problem in the results below.

In[27]:= rr = Reduce[Max[a, b] == Max[c, d], c, Reals]
Out[27]= (d < Max[a, b] && c == Max[a, b]) || (d == Max[a, b] &&
    c <= Max[a, b])

In[28]:= rr /. {d -> 2, a -> 4, b -> 3, c -> 6}
Out[28]= False

In[29]:= rr /. {d -> 4, a -> 4, b -> 3, c -> 6}
Out[29]= False

It occurs to me that you gave no serious information about what, 
specifically, you did in "testing". That is to say, no code is shown. So 
it is unlikely anyone will succeed in leading you to the lead.

Daniel Lichtblau
Wolfram Research

[toc] | [standalone]


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


csiph-web