Let $V$ be a complete subspace of $\ell^2$ over the complex plane $\mathbb{C}$
Let $T:V \to \mathbb{C}$ be a bounded linear operator
Let $w \in V$ such that $T(v)=\langle v,w\rangle $ (Riesz representation theorem)
Let $u \in \ell^2 \backslash V $ be a vector of $\ell^2$ but not in $V$
I would like to know if is true that $$ \langle u,w\rangle =0 $$
Thanks.
It is not true in general. For example consider $e_1 = (1,0,0,\dots)$ and let $V = \text{span}\{e_1\}$. Then $V$ is a complete subset of $\ell^2$, but $e_1 + e_2 \notin V$ and $\langle e_1 + e_2,e_1\rangle = 1 \neq 0$.
As you can see, here $T$ doesn't really play any role, but if you want you can think of $e_1$ as if it was given by the linear map $T(v) = \langle v,e_1\rangle$.