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


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

Re: it isn't strange?!

From Daniel Lichtblau <danl@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: it isn't strange?!
Date 2011-02-03 10:30 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iie050$bmg$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web