Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Limit of Floor function

  • To: mathgroup at smc.vnet.net
  • Subject: [mg73938] Re: Limit of Floor function
  • From: dh <dh at metrohm.ch>
  • Date: Sat, 3 Mar 2007 01:11:55 -0500 (EST)
  • References: <es6dgu$s4l$1@smc.vnet.net>


Hi Eric,

the answer depends on the direction from where you aproach the limit:

Limit[Floor[x],x->10,Direction->1] gives 9

Limit[Floor[x],x->10,Direction->-1] gives 10

The manual does not specify what the direction is in Limit[expr,x->x0], 

but obviously Direction->-1 is used by default.

Daniel



Eric Smith wrote:

> Mathematica 5.2 evaluates one-sided limits of the Floor function

> correctly.  But if I just ask:

> 

>    Limit[Floor[x],x->10]

> 

> It replies "10".  Shouldn't it tell me the limit is undefined,

> since the Floor function has a step discontinuity at every integer

> value?

> 

> Thanks,

> Eric

> 




  • Prev by Date: Re: The Mathematica equivalent of Cons (as in Lisp)?
  • Next by Date: Re: Number of digits
  • Previous by thread: Re: Limit of Floor function
  • Next by thread: Compile question