TITLE: Neither open nor closed subspace of a vector space?
QUESTION [7 upvotes]: Consider a vector space $V$ over $\mathbb{C}$ with some norm (and topology induced by that norm). I am trying to find a subspace $W \subset V$ such that it is neither open nor closed in the topology mentioned above?
Motivation: I have studied that every banach space is essentially a closed subspace of $\mathcal{C}(X)$ for some compact Hausdorff space $X$ and hence I thought that we could also have some structure for normed linear spaces if the answer to my question is negative.

REPLY [2 votes]: Other answers have mentioned that it's impossible for a finite dimensional space, but I think it would be good to mention a proof:
If a space is finite dimensional, then it has a finite basis $\{b_1, b_2, ... b_n\}$. Given a sequence of vectors in the space $v_k$, each vector can be written as a linear combination of the basis vectors: $v_k=\sum_{i=0}^n c_{i,k} b_i$. Now suppose $v_k$ converges to some limit $v$. Then $v = \sum_{i=0}^n c_i b_i$. So $\lim_{k \rightarrow \infty}\sum_{i=0}^n c_{i,k} b_i =  \sum_{i=0}^n c_i b_i$. Now $\lim_{k \rightarrow \infty}  c_{i,k}b_i$ exists for each $i$, so we can then interchange the sum and the limit:  $\sum_{i=0}^n\lim_{k \rightarrow \infty}  c_{i,k}b_i =  \sum_{i=0}^n c_i b_i$. If there is a subspace that contains $v_k$ for all $k$, then we can come up with a basis of the larger space such that the set of basis vectors of the subspace is a subset of the basis vectors of the larger space, and $c_{i,k}$ will be zero for any $i$ such that $b_i$ is not in the set of basis vectors of the subspace. Thus $\lim_{k \rightarrow \infty}  c_{i,k}$ will be equal to zero for all such $i$, and $v$ will be a linear combination of only vectors that are in the set of basis vectors of the subspace, and thus will be a member of the subspace.
This shows that the limit of any sequence of vectors in the subspace will itself be in the subspace, and thus the subspace will be closed. So where did we use finite dimensionality? When we exchanged the sum and limit, that relied on the sum being finite. For infinite sums, the identity $\sum_{i =0}^{\infty} \lim_{k \rightarrow \infty} a_{i,k}= \lim_{k \rightarrow \infty}\sum_{i=0}^{\infty}  a_{i,k}$ does not necessarily hold. To find a subspace that's not closed, we need an infinite dimensional space where this identity fails (or, as @mathcounterexamples.net mentions, find non-continuous linear forms, which is equivalent to the identity failing).