Give an example of a function $f : R \rightarrow R$ which is continuous at all irrationals points and discontinuous at all rational points of $R$.
Asked
Active
Viewed 62 times
0
-
Welcome to MSE. Please use MathJax. – José Carlos Santos Aug 28 '17 at 10:10
-
Look for Thomaes function – Marios Gretsas Aug 28 '17 at 10:11
-
With respect to which subspace topology :D ? – Hermès Aug 28 '17 at 10:11
1 Answers
0
Define $f(x) = \begin{cases} 0 & x \in \mathbb{R}\setminus \mathbb{Q} \\ \frac{1}{q} & x = \frac{p}{q} \end{cases}$
at each irrational $f(x) = \lim\limits_{y \to x} = 0$, while at rationals any sequence of irrationals which converge to $x$ produce $0$.
dEmigOd
- 3,390