Are connected metric spaces locally compact too? If not, then I am looking for example of metric spaces which are connected, but not locally compact.
2026-03-31 23:28:30.1774999710
On
On
Connected metric space, which is not locally compact.
186 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
There are 3 best solutions below
0
On
Any infinite dimensional Banach space is connected (indeed path connected) but not locally compact.
Path connectivity follows from a simple check that $p(t)=t x + (1-t)y$ is a continuous path from $y$ to $x$. Lack of local compactness follows from the relatively well known theorem that a Banach space is locally compact if and only if it is finite dimensional.
4
On
The simplest counterexample I can find is $$\{(0,0)\} \cup \{(x,y) : x>0\}\subseteq \mathbb{R}^2$$
Here, we can see $(0,0)$ doesn't have a compact neighborhood as a result of no neighborhood of $(0,0)$ being complete.
Let $X=\mathbb{R}^\omega$ be a countable product of copies of $\mathbb{R}$ in the product topology. This is a complete separable metric space that is (path-)connected (both properties are preserved by all products) but locally compact at no point: if $C$ were a compact neighbourhood of some point it would have to contain a basic open neighbourhood $U$ as well, and these have infinitely many coordinates $n$ such that $\pi_n[U]=\Bbb R$ which implies that $\pi_n[C] = \Bbb R$ for such $n$ as well, so $C$ cannot be compact.