Spivak Thomae's Function proof explanation

Click For Summary
Spivak's Thomae's function is defined such that f(x) = 1/q for rational x in the interval (0,1) and f(x) = 0 for irrational x. The limit of f(x) as x approaches a (where a is between 0 and 1) is shown to be 0, regardless of whether a is rational or irrational. The proof involves demonstrating that for any ε > 0, there exists a δ > 0 such that |f(x) - 0| < ε when x is sufficiently close to a but not equal to a. The discussion clarifies that there are only finitely many rational numbers with denominators less than or equal to n, ensuring that f(x) remains below ε for nearby rational numbers with larger denominators. This establishes the existence of the limit for Thomae's function.
  • #31
Alpharup said:
Sorry( for nagging), but how can we prove? Thought about it but I feel that I can't come up with my own proof.
(1) ⇒ (2) is obvious.
In the other direction simply consider ε and ε' = ε - 1/n for sufficiently large n.
 
  • Like
Likes Alpharup
Physics news on Phys.org
  • #32
Alpharup said:
Sorry( for nagging), but how can we prove? Thought about it but I feel that I can't come up with my own proof.
Let's prove that
(1) ##\forall \epsilon>0 \ \exists \delta>0: \forall x: |x-a|<\delta \ \Rightarrow |f(x)-f(a)|<\epsilon##
implies
(2) ##\forall \epsilon>0 \ \exists \delta>0: \forall x: |x-a|\leq \delta \ \Rightarrow |f(x)-f(a)|\leq \epsilon##.

Take ##\epsilon>0##
From (1) we know that ##\exists \delta_1>0: \forall x: |x-a|<\delta_1 \ \Rightarrow |f(x)-f(a)|<\epsilon##
Set ##\delta = \delta_1/2##
Then if ##|x-a|\leq \delta##, surely ##|x-a|<2*\delta=\delta_1##, so that ##|f(x)-f(a)|<\epsilon##
But if ##|f(x)-f(a)|<\epsilon##, surely ##|f(x)-f(a)|\leq\epsilon##
Hence we have deduced (2) from (1)

EDIT: @fresh_42 has given you a hint for (2) implies (1).
 
  • Like
Likes Alpharup
  • #33
The idea is simple, therefore I called it obvious (in both directions). In every ball (interval) with positive radius (length) you can always find another ball (interval) within with a smaller but still positive radius (length). Therefore it doesn't matter whether you consider the balls (intervals) with or without their surface (boundaries). In general topological spaces, however, continuity is defined without the surfaces / boundaries because they are not always as convenient as ##ℝ## or ##ℝ^n##. This has been the reason for Samy's and mine short debate on the issue. And it is the reason why Samy's Analysis professor insisted on "<". To his excuse I'd like to mention that it's been in the 1st year so he probably was especially fussy.
 
  • #34
fresh_42 said:
The idea is simple, therefore I called it obvious (in both directions). In every ball (interval) with positive radius (length) you can always find another ball (interval) within with a smaller but still positive radius (length). Therefore it doesn't matter whether you consider the balls (intervals) with or without their surface (boundaries). In general topological spaces, however, continuity is defined without the surfaces / boundaries because they are not always as convenient as ##ℝ## or ##ℝ^n##. This has been the reason for Samy's and mine short debate on the issue. And it is the reason why Samy's Analysis professor insisted on "<". To his excuse I'd like to mention that it's been in the 1st year so he probably was especially fussy.
I agree with everything, except the last part: my professor was always fussy. :oldsmile:
But I came to like him and appreciate him and his teaching. From day one he made it clear to our poor student brains that Mathematics has to be rigorous, and it was a lesson well learned. I may cut an edge sometimes now, but only when I know it is Ok to do so.
 
  • Like
Likes fresh_42
  • #35
Samy_A said:
But if ##|f(x)-f(a)|<\epsilon##, surely ##|f(x)-f(a)|\leq\epsilon##
Hence we have deduced (2) from (1)

EDIT: @fresh_42 has given you a hint for (2) implies (1).
I can't understand this step
 
  • #36
Alpharup said:
I can't understand this step
##A<\epsilon## means that ##A## is smaller than ##\epsilon##.
##A\leq \epsilon## means that ##A## is smaller than or equal to ##\epsilon##.
Any ##A## that satisfies ##A< \epsilon## will also satisfy ##A\leq \epsilon##.

That's all that there is to that step.
 

Similar threads

Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K