Continuous at irrational points

Click For Summary
SUMMARY

The function f defined on the reals as f(x) = 0 for irrational x and f(x) = 1/n for rational x = m/n (where n > 0 and m, n are coprime integers) is continuous at every irrational point. As x approaches an irrational point, the rational approximations require increasingly larger denominators, leading to f(x) converging to 0. Additionally, the right and left-hand limits of f exist at every rational point, confirming that they also converge to 0 as rational sequences approach rational numbers.

PREREQUISITES
  • Understanding of real-valued functions and continuity
  • Familiarity with rational and irrational numbers
  • Knowledge of epsilon-delta definitions of limits
  • Basic concepts of sequences and convergence
NEXT STEPS
  • Study the epsilon-delta definition of continuity in detail
  • Explore the properties of rational and irrational numbers
  • Learn about sequences and their convergence in real analysis
  • Investigate the implications of continuity on function behavior at limits
USEFUL FOR

Students of real analysis, mathematicians exploring continuity concepts, and educators teaching advanced calculus or analysis topics.

ehrenfest
Messages
2,001
Reaction score
1
[SOLVED] continuous at irrational points

Homework Statement


Every rational x can be written in the form m/n where n>0, and m and n are integers without any common divisors. When x = 0, we take n=1. Consider the function f defined on the reals by

f(x) = 0 if x is irrational and f(x) = 1/n if x = m/n

Prove that f is continuous at every irrational point, and that the right and left-hand limits of f exist at every rational point.

Homework Equations


The Attempt at a Solution


If x is irrational, then when you get closer and closer to it, it will get harder and harder to express it is a rational number and you will need larger and larger n to do it. I need to make that precise somehow.

For the second part, I am guessing that the right and left-hand limits will always be zero. Anything else would be kind of weird. And that is basically for the same reason I gave above, any rational sequence converging to a rational number will get "nastier and nastier" as it gets closer. But I need to make that precise somehow.
 
Physics news on Phys.org
for continuity at an irrational point x_0 you can use epsilon-delta

so let e > 0, you need a d such that |x-x_0| < d => |f(x)-f(x_0)| < e

If x is irrational it's trivial.

Now for x rational, choose M s.t. 1/M < e. What can you say about all the numbers x = m/n which are at most some fixed distance from x_0 and for which n < M.

goodluck!
 
ehrenfest said:

Homework Statement


Every rational x can be written in the form m/n where n>0, and m and n are integers without any common divisors. When x = 0, we take n=1. Consider the function f defined on the reals by

f(x) = 0 if x is irrational and f(x) = 1/n if x = m/n

Prove that f is continuous at every irrational point, and that the right and left-hand limits of f exist at every rational point.


Homework Equations





The Attempt at a Solution


If x is irrational, then when you get closer and closer to it, it will get harder and harder to express it is a rational number and you will need larger and larger n to do it. I need to make that precise somehow.

For the second part, I am guessing that the right and left-hand limits will always be zero. Anything else would be kind of weird. And that is basically for the same reason I gave above, any rational sequence converging to a rational number will get "nastier and nastier" as it gets closer. But I need to make that precise somehow.
Yes, that's exactly right. Suppose m_i/n_i is a sequence of rational converging to the real number x. For a fixed N, what is true of the set of all M such that M/N is close to x? What is its size? What does that tell you?
 
HallsofIvy said:
Yes, that's exactly right. Suppose m_i/n_i is a sequence of rational converging to the real number x. For a fixed N, what is true of the set of all M such that M/N is close to x? What is its size? What does that tell you?

For a fixed N,
|\frac{M-Nx}{N}|&lt;\epsilon
iff
|M-Nx| &lt; \epsilon N

So the size of the set is less than or equal to floor(\epsilon N) I think. So your point is that the set is finite right? Which means that elements of that set cannot occur an infinite number of times in the sequence. Since this is true for any N, f(\frac{m_i}{n_i}) must converge to 0. I see thanks.
 
Nicely done! Lovely little problem isn't it?
 

Similar threads

Replies
7
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
16
Views
6K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 36 ·
2
Replies
36
Views
4K