MathGroup Archive 2011

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

Search the Archive

Re: Domain of a function

  • To: mathgroup at
  • Subject: [mg123228] Re: Domain of a function
  • From: Andrzej Kozlowski <akoz at>
  • Date: Mon, 28 Nov 2011 05:52:21 -0500 (EST)
  • Delivered-to:
  • References: <j9b6lb$4sv$> <j9lpke$lif$> <>

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