2

I am working on the following problem:

Problem: Let $t(x)$ be Thomae's function: $$t(x)= \begin{cases} 1 & \text{if }x=0, \\ 1/n & \text{if }x=m/n \in \mathbf Q\setminus\{0\}\text{ is in lowest terms with }n>0,\\\ 0 & \text{if }x\notin\mathbf Q. \end{cases}$$

Show that $$\lim_{x\to1}t(x) =0$$

By showing that given $\epsilon>0$ that all the points in the set $T=\{ x \in \mathbb{R} : t(x) \geq \epsilon \}$ are isolated.

Progress I understand this intuitively and I think I have proven it using the usual definition of functional convergence by picking $\delta= |m-n|\epsilon$. However I did not use the set T. Moreover I do no understand why we would need to show that first.

Another Post about the ( maybe the same) problem: How to prove the limit of Thomae function?

I have read the solution and I am lost for the same reasons as the OP of the post. The problem is that I still do not understand the hint that was given on that post, and I have been stuck on this for a long time.

Any help would be appreciated, thank you!!

  • You may have a look at this answer https://math.stackexchange.com/a/3312174/72031 which shows how the limit is always $0$ for this function. – Paramanand Singh Dec 10 '20 at 05:03

1 Answers1

4

You don't need to use the set $T$ to prove continuity. It provides one way of going about it (and a handy way of thinking about limits of $t$), but it is by no means necessary. Let's do a direct approach, which works in much the same way as the hint in the linked question.

First, consider the case $\varepsilon = \frac{1}{n}$ for some $n$ (yes, $\varepsilon > 0$ should be completely arbitrary, but we'll get to that in a second). Following the hint in the linked question, we just need to show that $$\frac{p}{q} \in \left(1 - \frac{1}{n}, 1 + \frac{1}{n}\right) \setminus \{1\} \implies |q| \ge n + 1 > n.$$ Let's say we have such a $p/q$. Then $$\left|\frac{p}{q} - 1\right| < \frac{1}{n} \implies\frac{|p - q|}{|q|} < \frac{1}{n} \implies |q| > |p - q|n.$$ Since $p/q \neq 1$, we have $p \neq q$, hence $|p - q| \ge 1$, hence $$|q| > |p - q|n \ge n \implies |q| \ge n + 1.$$ The benefit here is that it means $$t\left(\frac{p}{q}\right) \le \frac{1}{n + 1} < \frac{1}{n}.$$ That is, we can simply take $\delta = \frac{1}{n}$ as well, since $$0 < |x - 1| < \delta \implies \begin{cases}t(x) = 0 < \dfrac{1}{n} & \text{if } x \in \Bbb{R} \setminus \Bbb{Q} \\ 0 \le t(x) < \dfrac{1}{n} & \text{if } x \in \Bbb{Q}\end{cases} \implies |t(x) - 0| < \frac{1}{n},$$ proving the limit for $\varepsilon = \frac{1}{n}$.

How can we show this for more general $\varepsilon > 0$? Well, since $\frac{1}{n} \to 0$ as $n \to \infty$, we can always choose a sufficiently large $n$ such that $0 < \frac{1}{n} \le \varepsilon$. We can then use $\delta = \frac{1}{n}$ as above.


If you wanted to go about this question using the hint, let's prove the isolation of $T$. You can prove isolation directly, but here's an indirect proof.

Suppose, for the sake of contradiction $(x_n)$ is an injective sequence in $T$ such that $x_n \to x_0 \in T$. Then $x$ and $x_n$ must be rational numbers; let $x_0 = p_0/q_0$ and $x_n = p_n/q_n$, each in lowest terms, each with positive denominator. We also must have $t(x_i) = 1 / q_i < \varepsilon$, i.e. $0 < q_i < 1/\varepsilon$.

Note that there are only finitely many integers in $(0, 1/\varepsilon)$, so there must be one such integer $q$ which is used infinitely often in the sequence. That is, there must be a subsequence $x_{n_k}$ such that $q_{n_k} = q$ for all $k$. But then $$\frac{p_{n_k}}{q_{n_k}} = \frac{p_{n_k}}{q} \to x_0 \implies p_{n_k} \to x_0 q,$$ as $k \to \infty$. This implies $p_{n_k}$ is Cauchy, and so eventually the terms must become closer than $1/2$ to each other. But since this sequence is composed of integers, this implies that $p_{n_k}$ is eventually constant, contradicting injectivity. Thus, each point in $T$ is isolated.

How does this help us prove the limit? Well, for $0 < \varepsilon \le 1$, we have $1 \in T$, as $t(1) = 1 \ge \varepsilon$. Therefore, as proven above, it is isolated. That is, there must exist some $\delta > 0$ such that $(1 - \delta, 1 + \delta) \cap T = \{1\}$. That is, \begin{align*} 0 < |x - 1| < \delta &\implies x \in (1 - \delta, 1 + \delta) \text{ and } x \neq 1 \\ &\implies x \in (1 - \delta, 1 + \delta) \text{ and } x \notin T \cap (1 - \delta, 1 + \delta) \\ &\implies x \notin T \\ &\implies t(x) < \varepsilon. \end{align*}