miren324
- 13
- 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\rightarrowR and f2:B\rightarrowR. Define f:A\cupB\rightarrowR by
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\cupR\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?
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\rightarrowR and f2:B\rightarrowR. Define f:A\cupB\rightarrowR 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\cupB and L = limx\rightarrowcf(x) if and only if L = limx\rightarrowcf1(x) = limx\rightarrowcf2(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\cupR\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?