# F(x) = x if x is rational, 0 if x is irrational.

by Mjjellen
Tags: irrational, rational
 P: 1 1. The problem statement, all variables and given/known data F(x) = x if x is rational, 0 if x is irrational. Use the δ, ε definition of the limit to prove that lim(x→0)f(x)=0. Use the δ, ε definition of the limit to prove that lim(x→a)f(x) does not exist for any a≠0. 2. Relevant equations lim(x→a)f(x)=L 0<|x-a|<δ, |f(x)-L|<ε 3. The attempt at a solution I was mostly having troubles writing my initial equation, I was stumped very early on by filling in the values for the epsilon part of the equation, if that's how one is supposed to go by this problem. If not, any other advice that can be given to me?
 PF Patron HW Helper Sci Advisor Emeritus P: 7,077 For the limit as x → 0 :For rational numbers, f(x) = x. What does δ need to be so that if 0 < |x - 0| < δ , then |f(x) - 0| < ε ? For irrational numbers, any δ will work. Why? So, use the same δ you pick for the rationals. Do you know how to show that limx → ag(x) doesn't exist, in general? Of course using δ, ε .
 P: 2 I have the exact same exercise and i cannot prove the second part "Use the δ, ε definition of the limit to prove that lim(x→a)f(x) does not exist for any a≠0." I was wondering if anyone could help me with that Thank you in advance
Mentor
P: 13,602

## F(x) = x if x is rational, 0 if x is irrational.

 Mentor P: 13,602 Show that no matter what value L you pick as $\lim_{x \to c} f(x)$ means that you can find some $\epsilon>0$ but you cannot find a $\delta>0$ that satisfies the definition of the limit.