I do not know an example. Will ask question if in doubt of the proofs provided thank you!!
Asked
Active
Viewed 386 times
7
-
1http://math.stackexchange.com/q/194194 – Oct 16 '12 at 21:24
3 Answers
13
Let $g(x)=1$ if $x$ is rational, and $0$ if $x$ is irrational. Let $f(x)=xg(x)$.

André Nicolas
- 507,029
4
$$ F(x) = \left\{ \begin{array}{rcl} x,& \mbox{if} & x \in \mathbb{Q}\\ -x , & \mbox{if} & x \notin \mathbb{Q} \\ \end{array} \right. $$
$|x-0| < \varepsilon \Rightarrow |f(x) - f(0)| = |x| <\varepsilon$. If $x_0 > 0$. There is $x \notin \mathbb{Q}$ sufficiently near $x_0$ such that $f(x) = -x$ is sufficiently near $-x_0$. Thus do not sufficiently near $f(x_0) = x_0$.

user29999
- 5,211
-
-
Do you mean continuous except at the integers or discontinuous except at the integers? – André Nicolas Oct 16 '12 at 21:44
-
an example where f:R--->R which is continuous except at the integers. – Maximiliano Oct 16 '12 at 21:49
-
That's much easier really... the indicator function for Z should do the trick. – Christian Mann Oct 17 '12 at 03:20
3
$$ f(x) = \left\{ \begin{array}{rl} x^{2} &\mbox{ if $x$ is rational} \\ -x^{2} &\mbox{ otherwise} \end{array} \right. $$

Tomás
- 22,559