Re: (x|y) \[element] Integers in Reduce function
- To: mathgroup at smc.vnet.net
- Subject: [mg82604] Re: (x|y) \[element] Integers in Reduce function
- From: Bhuvanesh <lalu_bhatt at yahoo.com>
- Date: Fri, 26 Oct 2007 05:16:14 -0400 (EDT)
Jean-Marc Gulliet wrote:
> The correct answer is (b).
Actually, the answer is (a): Element[x|y,domain] means that both x and y are elements of the specified domain.
In[1]:= Reduce[Element[x|y, Integers]]
Out[1]= x \[Element] Integers && y \[Element] Integers
In[2]:= Element[Sqrt[2]|E, Algebraics]
Out[2]= False
In[3]:= Element[#, Algebraics]& /@ {Sqrt[2], E}
Out[3]= {True, False}
Bhuvanesh,
Wolfram Research