MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Domain of a function


On 27 Nov 2011, at 10:14, Tutor wrote:

> Element[x | Sqrt[2 + x], Reals]; what exactly does "|" in this case?

The first argument of Element can be a pattern and the assertions is 
that everything that matches the pattern is real. So what kind things 
match the pattern? For one, x matches it. Also, Sqrt[2+x] matches it and 
nothing more does. In other words, both x and Sqrt[2+x] must be real.


Andrzej Kozlowski



  • Prev by Date: Re: ListPlot3D equal distance between ticks
  • Next by Date: Posting to blogger from a Mathematica notebook
  • Previous by thread: Re: Domain of a function
  • Next by thread: Re: Domain of a function