Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Problem with Limit' topicStudent Support Forum > General > "Problem with Limit"

Next Comment >Help | Reply To Topic
Author Comment/Response
David Trotz
10/07/03 5:03pm

Hello all,
I found this problem which Mathematica does not handle well, and I am wondering why. Here is the problem

f[x_] := Floor[x] + Floor[-x]
Limit[f[x], x->2, Direction -> 1]
Limit[f[x], x->2, Direction -> -1]

When evaluated I get: 0
Zero is not the limit of this function -1 is, jst look at the graph and you can see that as x approaches 2 it gets closer and closer (really stays contant) to -2. Whereas when f[2] is evaluated I get 0, that is the right answer for f[2] but not for the limit as f approaches 2. Any insights here?
David Trotz

URL: ,

Subject (listing for 'Problem with Limit')
Author Date Posted
Problem with Limit David Trotz 10/07/03 5:03pm
Re: Problem with Limit Henry Lamb 10/08/03 00:44am
Re: Problem with Limit halmos 10/23/03 11:49pm
Re: Problem with Limit Henry Lamb 10/25/03 02:34am
Next Comment >Help | Reply To Topic