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


Groups > comp.soft-sys.math.mathematica > #6265 > unrolled thread

Domain of a function

Started byTutor <alfred.muehlleitner@gmx.at>
First post2011-11-08 12:17 +0000
Last post2011-11-28 10:59 +0000
Articles 6 — 4 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Domain of a function Tutor <alfred.muehlleitner@gmx.at> - 2011-11-08 12:17 +0000
    Re: Domain of a function Peter Pein <petsie@dordos.net> - 2011-11-12 12:42 +0000
      Re: Domain of a function Tutor <alfred.muehlleitner@gmx.at> - 2011-11-27 09:18 +0000
      Re: Domain of a function Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-11-28 10:52 +0000
      Re: Domain of a function Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-11-29 12:12 +0000
    Re: Domain of a function Bob Hanlon <hanlonr357@gmail.com> - 2011-11-28 10:59 +0000

#6265 — Domain of a function

FromTutor <alfred.muehlleitner@gmx.at>
Date2011-11-08 12:17 +0000
SubjectDomain of a function
Message-ID<j9b6lb$4sv$1@smc.vnet.net>
Hallo!

How can I find the domain of a function?

something like this: ForAll[Element[f,Reals]] and it should return
something like this: x element ]-2,oo[

I have NO idea, how this can be done for a function f...

[toc] | [next] | [standalone]


#6411

FromPeter Pein <petsie@dordos.net>
Date2011-11-12 12:42 +0000
Message-ID<j9lpke$lif$1@smc.vnet.net>
In reply to#6265
Am 08.11.2011 13:17, schrieb Tutor:
> Hallo!
>
> How can I find the domain of a function?
>
> something like this: ForAll[Element[f,Reals]] and it should return
> something like this: x element ]-2,oo[
>
> I have NO idea, how this can be done for a function f...
>

With a little luck, Reduce can do this:


In[20]:= Reduce[Element[x | Sqrt[2 + x], Reals], x]
Out[20]= x >= -2
In[21]:= Reduce[Element[x | Sqrt[1/2 + Sin[x]], Reals, x, Reals]
Out[21]= (Element[C[1], Integers] && (x == -Pi/6 + 2 Pi C[1] || x== 7 
Pi/6 + 2 Pi C[1])) ||
  (Element[C[1], Integers] && 1/6 (-Pi + 12 Pi C[1]) < x < 1/6 (7 Pi + 
12  Pi C[1]))

[toc] | [prev] | [next] | [standalone]


#6778

FromTutor <alfred.muehlleitner@gmx.at>
Date2011-11-27 09:18 +0000
Message-ID<jasv8p$768$1@smc.vnet.net>
In reply to#6411
Element[x | Sqrt[2 + x], Reals]; what exactly does "|" in this case?

[toc] | [prev] | [next] | [standalone]


#6796

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2011-11-28 10:52 +0000
Message-ID<javp5v$j84$1@smc.vnet.net>
In reply to#6411
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

[toc] | [prev] | [next] | [standalone]


#6814

FromAndrzej Kozlowski <akoz@mimuw.edu.pl>
Date2011-11-29 12:12 +0000
Message-ID<jb2i7b$5j1$1@smc.vnet.net>
In reply to#6411
Forgot to mention the obvious:

Reduce[Element[x | Sqrt[2 + x], Reals]]

x >= -2

Andrzej Kozlowski


On 28 Nov 2011, at 11:52, Andrzej Kozlowski wrote:

> 
> 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
> 

[toc] | [prev] | [next] | [standalone]


#6793

FromBob Hanlon <hanlonr357@gmail.com>
Date2011-11-28 10:59 +0000
Message-ID<javpio$jd5$1@smc.vnet.net>
In reply to#6265
Select the | and press F1. This will lead you to Help for Alternatives

http://reference.wolfram.com/mathematica/ref/Alternatives.html


Bob Hanlon

On Sun, Nov 27, 2011 at 4:14 AM, Tutor <alfred.muehlleitner@gmx.at> wrote:
> Element[x | Sqrt[2 + x], Reals]; what exactly does "|" in this case?
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web