Is Function f Continuous Only at Zero?

Click For Summary
SUMMARY

The function f defined as f(x)={x, x in Q; 0, x in R\Q is continuous only at c = 0. The proof utilizes the theorem regarding disjoint subsets A and B of R, demonstrating that for any rational c, the limit does not converge to f(c) when c is not zero. Specifically, if c is rational and non-zero, the limit diverges due to the presence of irrational numbers in any neighborhood of c, leading to a contradiction. Conversely, if c is irrational, the same divergence occurs, confirming that continuity is exclusive to c = 0.

PREREQUISITES
  • Understanding of real analysis concepts, particularly limits and continuity.
  • Familiarity with rational and irrational numbers and their properties.
  • Knowledge of the epsilon-delta definition of continuity.
  • Experience with theorems involving disjoint subsets in real analysis.
NEXT STEPS
  • Study the epsilon-delta definition of continuity in depth.
  • Explore the properties of rational and irrational numbers in real analysis.
  • Learn about theorems related to limits and continuity in piecewise functions.
  • Investigate examples of functions that are continuous at specific points and discontinuous elsewhere.
USEFUL FOR

Mathematics students, particularly those studying real analysis, educators teaching continuity concepts, and anyone interested in advanced calculus topics.

miren324
Messages
13
Reaction score
0
Here's the problem:
Let f(x)={x, x in Q; 0, x in R\Q.
Show f is continuous at c if and only if c = 0.
Hint: You may want to use the following theorem: Let A and B be two disjoint subsets of R and f1:A[tex]\rightarrow[/tex]R and f2:B[tex]\rightarrow[/tex]R. Define f:A[tex]\cup[/tex]B[tex]\rightarrow[/tex]R by
f(x)={f1(x), x in A; f2(x), x in B​
Let c be an accumulation point of both A and B and L in R. Show c is an accumulation point of A[tex]\cup[/tex]B and L = limx[tex]\rightarrow[/tex]cf(x) if and only if L = limx[tex]\rightarrow[/tex]cf1(x) = limx[tex]\rightarrow[/tex]cf2(x).

Here's what I tried. Let f(x)=x for x in Q be f1 and f(x)=0 for x in R\Q be f2. Then by definition of continuous functions I have for all epsilon>0 there exists delta>0 such that |f(x)-f(c)|<epsilon when x is in Q[tex]\cup[/tex]R\Q and |x-c|<delta.

This leads to two possibilities: x is in Q or x is in R\Q, so we have |f(x)-f(c)|=|x-f(c)|<epsilon and |f(x)-f(c)|=|0-f(c)|<epsilon.

The problem is, what if c is not 0, but rather is x in Q? Then |x-f(c)|=|x-x|<epsilon which is true. Then I have f is continuous at c with c being nonzero. However, I know that I am supposed to PROVE this, not DISPROVE it. Am I missing something here?
 
Physics news on Phys.org
I have no idea what you mean by "what if c is not 0, but rather is x in Q". c is a fixed number, a constant. x is a variable.

c is rational or it is irrational.

1) If c is rational, then f(c)= c. If c is not 0, take [itex]\epsilon= |c|/2> 0[/itex]. For any [itex]\delta> 0[/itex], there exist an irrational x such that [itex]|x- c|< \delta[/itex]. Since x is irrational, [itex]f(x)= 0[/itex]. Then [itex]|f(x)- f(0)|= |0- c|= |c|> |c|/2= \epsilon[/itex].

2) If c is irrational, then f(c)= 0. If c is not 0, take [itex]\epsilon= |c|/2> 0[/itex]. For any [itex]\delta> 0[/itex], there exis a rational x such that [itex]|x- c|< \delta[/itex]. Since x is rational, [itex]f(x)= c[/itex]. Then [itex]|f(x)- f(0)= |c- 0|= c> |c|/2= \epsilon[/itex].
 
Last edited by a moderator:

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
22
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
4K