Existence of a limit for a rational/irrational-valued function
Consider the function defined for all real numbers .
Every interval around , no matter how small, contains infinitely many rational numbers and infinitely many irrational numbers. Using this fact, determine whether exists. Explain your reasoning and state your conclusion.
Hint
Think about what happens if you pick a sequence of rational -values approaching 0, versus a sequence of irrational -values approaching 0. Does settle down to a single value in either case? Compare the two behaviors — this is one of the three standard ways a limit can fail to exist.
Step-by-step solution
Choose values of approaching 0 that are all rational, such as . For every one of these, , so along this approach the values seem to head toward .
Now choose values of approaching 0 that are all irrational, such as . For every one of these, , so along this approach the values head toward instead.
Since we can get arbitrarily close to while stays exactly at , and also get arbitrarily close to while stays exactly at , the function does not approach a single value as . It oscillates between and no matter how close gets to , so the limit fails to exist.
Related problems
Practice similar Calculus problems interactively.
Start Closing the Gap