Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

I have been trying to find a function f: R->R$f : \mathbb R \to \mathbb R$ such that lim x->c f(x)$\lim_{x \to c} f(x)$ exists when c$c$ is irrational and the limit doesn't exist when c$c$ is rational.

I tried variations of the Dirichlet function and Thomae's function, but I couldn't get anywhere. I also tried proving that such a function cannot exist, using the fact that both the rationals and the irrationals are dense in real numbers. But I couldn't get a satisfying proof that way either.

I have been trying to find a function f: R->R such that lim x->c f(x) exists when c is irrational and the limit doesn't exist when c is rational.

I tried variations of the Dirichlet function and Thomae's function, but I couldn't get anywhere. I also tried proving that such a function cannot exist, using the fact that both the rationals and the irrationals are dense in real numbers. But I couldn't get a satisfying proof that way either.

I have been trying to find a function $f : \mathbb R \to \mathbb R$ such that $\lim_{x \to c} f(x)$ exists when $c$ is irrational and the limit doesn't exist when $c$ is rational.

I tried variations of the Dirichlet function and Thomae's function, but I couldn't get anywhere. I also tried proving that such a function cannot exist, using the fact that both the rationals and the irrationals are dense in real numbers. But I couldn't get a satisfying proof that way either.

Source Link

Is there a real valued function whose limit exists only on irrational numbers?

I have been trying to find a function f: R->R such that lim x->c f(x) exists when c is irrational and the limit doesn't exist when c is rational.

I tried variations of the Dirichlet function and Thomae's function, but I couldn't get anywhere. I also tried proving that such a function cannot exist, using the fact that both the rationals and the irrationals are dense in real numbers. But I couldn't get a satisfying proof that way either.