# [Continuity Problem] Is f(x) which is continuous at x=a necessarily...

• Dec 1st 2007, 08:12 AM
kevin_chn
[Continuity Problem] Is f(x) which is continuous at x=a necessarily...
First thanks for taking time to view my question.

Is f(x) which is continuous at x=A necessarily continuous at a certain neighborhood of A?

I am quite confused since many people say yes. But if f(x) is also continuous at say, B, which is in the neighborhood of A, then this process would be infinite, and so f(x) should be continuous everywhere.

Sorry for my English. I really need your help.
• Dec 1st 2007, 08:25 AM
Opalg
Quote:

Originally Posted by kevin_chn
Is f(x) which is continuous at x=A necessarily continuous at a certain neighborhood of A?

The answer is No. The standard counterexample is the function defined by $f(x) = \begin{cases}x&\text{if }x\text{ is rational,}\\0&\text{if }x\text{ is irrational.}\end{cases}$
This function is continuous at 0 but nowhere else.
• Dec 1st 2007, 02:30 PM
ThePerfectHacker
A simpler example $f(x):\{ 0 \} \mapsto \mathbb{R}$ defined as $f(0)=0$.