Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15807 > unrolled thread
| Started by | Derivator <derivatorb@gmail.com> |
|---|---|
| First post | 2011-02-03 10:27 +0000 |
| Last post | 2011-02-03 10:27 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: it isn't strange?! Derivator <derivatorb@gmail.com> - 2011-02-03 10:27 +0000
| From | Derivator <derivatorb@gmail.com> |
|---|---|
| Date | 2011-02-03 10:27 +0000 |
| Subject | Re: it isn't strange?! |
| Message-ID | <iidvuk$bhf$1@smc.vnet.net> |
On 2 feb, 12:06, olfa <olfa.mra...@yahoo.fr> 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?! Actually I cannot see any problem. In the examples you give the initial proposition Max[a, b] == Max[c, d] is false, and the equivalent proposition generated by Reduce is equally false. If you consider all possible situations you will find that Max[a, b] == Max[c, d] is indeed always equivalent to (d <= Max[a, b] && c == Max[a, b]) || (d == Max[a, b] && c <= Max[a,b]): both are simultaneously true of false. Note that you do not really use a and b separately, only the combination Max[a,b], so you need to consider only if (m == Max[c, d]) is equivalent to (d < m && c == m) || (d == m && c <= m). Good luck L.L.
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web