MathGroup Archive 2001

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

Search the Archive

Re: Determine the "value range" of a function

  • To: mathgroup at
  • Subject: [mg27184] Re: [mg27157] Determine the "value range" of a function
  • From: Daniel Lichtblau <danl at>
  • Date: Fri, 9 Feb 2001 03:10:29 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Dirk Heidenreich wrote:
> Hello,
> maybe its trivial but how can i determine the "value range" of a function?
> like  f(x)=Sin(x)     -> Range =-1..1
> Dirk Heidenreich

For simple cases, intervals can be used to this effect.

In[1]:= Sin[Interval[{-Infinity,Infinity}]]
Out[1]= Interval[{-1, 1}]

For, say, sums, you can get a superset of the actual range because the
intervals behave independently.

In[2]:= f[x_] := Sin[x] + Cos[x]

In[3]:= f[Interval[{-Infinity,Infinity}]]
Out[3]= Interval[{-2, 2}]

For functions that do not take on values in a continuum within the real
line, this method will not work at all.

Daniel Lichtblau
Wolfram Research

  • Prev by Date: Re: clever way to do a product?
  • Next by Date: Re: Thickness in ParametricPlot3D
  • Previous by thread: Determine the "value range" of a function
  • Next by thread: Re: Determine the "value range" of a function