Can a Real Function Be Continuous Only at a Single Point?

  • Context: Undergrad 
  • Thread starter Thread starter glance
  • Start date Start date
  • Tags Tags
    Continuity Point
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
glance
Messages
8
Reaction score
0
Hi
The question is the following: is it possible for a (say) real function to be continuous at a certain point internal to its domain, and be discontinuous in some neighborhood of that point?
I am not talking about a function defined at a single point or things like that, but of a function defined on the entire [itex]\mathbb{R}[/itex] (or some interval in it, whatever).

Now, i have also came up with an answer: a function [itex]f[/itex] defined as [itex]f(0)=0[/itex], [itex]f(x)=x[/itex] for every rational [itex]x[/itex], and [itex]f(x) = 2x[/itex] for every irrational [itex]x[/itex]. Such a function would be (seems to me) continuous at [itex]x=0[/itex] and discontinuous for any other [itex]x[/itex]. I am not completely certain of this, though, and for that reason i would like some feedback on this.

I am also asking this question because strangely enough I have never heard of the concept of an isolated continuity point, while for example the "opposite" (that of an isolated singularity) is quite common, and I would like to know if it's just me or if it is just a "useless" pathological concept.

Thank you in advance.
Bye
 
Physics news on Phys.org
glance said:
Is it possible for a (say) real function to be continuous at a certain point internal to its domain, and be discontinuous in some neighborhood of that point?

Yes.

In fact, there is a function defined on all of ##\mathbb{R}## which is continuous at a single point.
 
glance said:
Now, i have also came up with an answer: a function [itex]f[/itex] defined as [itex]f(0)=0[/itex], [itex]f(x)=x[/itex] for every rational [itex]x[/itex], and [itex]f(x) = 2x[/itex] for every irrational [itex]x[/itex]. Such a function would be (seems to me) continuous at [itex]x=0[/itex] and discontinuous for any other [itex]x[/itex].

Yes, that is a correct example.

Now, can you come up with an example of a function defined on entire ##\mathbb{R}## that is differentiable only in one point? :-p
 
glance said:
Hi
The question is the following: is it possible for a (say) real function to be continuous at a certain point internal to its domain, and be discontinuous in some neighborhood of that point?
I am not talking about a function defined at a single point or things like that, but of a function defined on the entire [itex]\mathbb{R}[/itex] (or some interval in it, whatever).

If [itex]f : \mathbb{R} \to \mathbb{R}[/itex] and [itex]g : \mathbb{R} \to \mathbb{R}[/itex] are continuous such that there exists a unique [itex]a \in \mathbb{R}[/itex] such that [itex]f(a) = g(a)[/itex], then the function [tex] h : \mathbb{R} \to \mathbb{R} : x \mapsto \begin{cases} f(x) & x \in \mathbb{Q} \\<br /> g(x) & x \in \mathbb{R} \setminus \mathbb{Q} \end{cases}[/tex] is discontinuous on [itex]\mathbb{R} \setminus \{a\}[/itex] and continuous at [itex]a[/itex].
 
pasmith said:
If [itex]f : \mathbb{R} \to \mathbb{R}[/itex] and [itex]g : \mathbb{R} \to \mathbb{R}[/itex] are continuous such that there exists a unique [itex]a \in \mathbb{R}[/itex] such that [itex]f(a) = g(a)[/itex], then the function [tex] h : \mathbb{R} \to \mathbb{R} : x \mapsto \begin{cases} f(x) & x \in \mathbb{Q} \\<br /> g(x) & x \in \mathbb{R} \setminus \mathbb{Q} \end{cases}[/tex] is discontinuous on [itex]\mathbb{R} \setminus \{a\}[/itex] and continuous at [itex]a[/itex].
That is a very interesting example, thank you.

micromass said:
Now, can you come up with an example of a function defined on entire ##\mathbb{R}## that is differentiable only in one point? :-p
That seems to be tricky! I did some research and stumbled upon this discussion of that matter, in which that question is very well explained.

Now however I wonder if it is accidental that in all of these examples the functions are constructed using rational and irrational numbers. I think that the important point is to have one subset which is dense in the other. Is there some example of functions having this kind of "pathologies" NOT using rational/irrational numbers in the definition?
Even better, is it possible to find a function of this kind NOT using at all dense subsets of the real numbers in the definition?

Thanks