I have been asked the following problem which I have so far failed to solve rigourosly.
Let $M=\{ (a_n)_{n=1}^\infty\in l^2\vert \sum_{n=1}^\infty \frac{a_n}{\sqrt{n}}=0 \}$. Determine whether $M$ is a closed subspace of $l^2$.
My attempt:
I think that the answer is no because this seems like the kernel of a functional
$$ \phi(a):= \Big \langle a,\big(\frac{1}{\sqrt{n}}\big) \Big \rangle $$.
And since $(l^2)^*=l^2$, and $\Big( n^{-1/2} \Big)_{n=1}^\infty\notin l^2$, we should know that $\phi$ is not continuous and its kernel is dense, i.e., not closed.
However it is not clear that $\phi$ is defined and hence not even necessarily a functional.
My question is whether this argument is salvagable, and if not whether someone knows of a solution to this question?
No, $\phi$ is not well-defined. It follows from this nice result:
Also, an indication that $\phi$ is not well-defined is the fact that we cannot explicitly construct an unbounded linear functional on a Banach space. This is because it is consistent with the axiom of choice that all linear functionals on a Banach space are bounded.
There is a better way to show that $M$ is not closed. Prove that $M^\perp = \{0\}$. Then, if $M$ were closed, The Riesz projection theorem would imply that $\ell^2 = M \oplus M^\perp = M$, which is false since e.g. $e_1 \notin M$.
Let $x = (x_n)_n \in M^\perp$ be arbitrary; we claim that $x = 0$. For every $n \ge 2$ we have that $\sqrt{n-1}e_{n-1} - \sqrt{n}e_n \in M$ and hence $$x \perp \left(\sqrt{n-1}e_{n-1} - \sqrt{n}e_n\right) \implies x_n = \sqrt{\frac{n-1}{n}}x_{n-1}$$ so iterating this gives $x = x_1\left(\frac1{\sqrt{n}}\right)_n \in M$ which implies $x_1 = 0$ and hence $x = 0$. Therefore $M^\perp = \{0\}$.