I want to prove the following:
Let $E \subset \mathbb{R}^n$ be a vector subspace of $\mathbb{R}^n$ which is not equal to $\mathbb{R}^n$. Then $\mathbb{R}^n \setminus E$ is connected if, and only if, the dimension of $E$ is at most $n - 2$ (or equivalently, codimension at least $2$).
For the $\implies$ direction, here's what I've got: Let $E$ be a vector subspace with dimension $n - 1$. Then: $$\mathbb{R}^n \setminus E = A \cup B$$
where $A = \{v \in \mathbb{R}^n \ \vert \ \langle v, n \rangle < 0 \}$ and $B = \{v \in \mathbb{R}^n \ \vert \ \langle v, n \rangle > 0 \}$ and $n$ is a normal vector to $E$ (which certainly exists). Now, intuitively, I know that $A$ and $B$ are disjoint open sets, but I haven't been able to prove it.
I couldn't think of anything yet regarding the $\impliedby$ direction. My strategy was proving that any two points in $\mathbb{R}^n \setminus E$ can be joined by a line or a union of broken lines, but I have been unsuccessful in getting anywhere with that approach.