After noticing that function $f: \mathbb R\rightarrow \mathbb R $ $$ f(x) = \left\{\begin{array}{l} \sin\frac{1}{x} & \text{for }x\neq 0 \\ 0 &\text{for }x=0 \end{array}\right. $$ has a graph that is a connected set, despite the function not being continuous at $x=0$, I started wondering, doest there exist a function $f: X\rightarrow Y$ that is nowhere continuous, but still has a connected graph?
I would like to consider three cases
- $X$ and $Y$ being general topological spaces
- $X$ and $Y$ being Hausdorff spaces
- ADDED: $X=Y=\mathbb R$
But if you have answer for other, more specific cases, they may be interesting too.
Check out this paper:
F. B. Jones, Totally discontinuous linear functions whose graphs are connected, November 23, (1940).
Abstract:
In particular, Theorem 5 presents a nowhere continuous function $f:\Bbb R \rightarrow \Bbb R$ whose graph is connected.
Whether Conway base 13 function is such an example remains unknown. (at least on MSE; see Is the graph of the Conway base 13 function connected?)It turns out the graph of Conway base 13 function is totally disconnected. See this brilliant answer.