Im doing the following excercise: Ok, so let $(e_n)$ be a orthonormal basis of $l^2$, and fix arbitrary complex numbers $(\lambda_n)$ and define $T:l^2\to l^2 $ as $$T(\sum x_ne_n)=\sum \lambda_nx_ne_n, $$ and let $$D(T) = \{\sum x_ne_n: \sum |\lambda_nx_n|^2 <\infty\}.$$
Clearly $T$ is densely defined since $e_n\in D(T)$ for all $n$. I want to determine the adjoint $T^*$. I thought as follows:
We find out how $T^*$ acts on the basis-vectors $e_j$. Note that $$(T(e_j), e_j) = \lambda_j.$$ Let $T^*e_j = z = \sum z_ne_n$, then using the orthonormality of the $e_n$ $$( e_j, T^*e_j) = \sum_n \overline{z_n}( e_j, e_n) = \overline{z_j}. $$ Also $(T(e_j),e_k) = 0$ if $k\neq j$ which is equivalent with $(e_j,T^*{e_k}) =0$ for $k\neq j$. It follows that for all $\sum x_ne_n \in D(T^*)$ that $$T^*(\sum x_ne_n) = \sum_n\overline{\lambda_n}x_ne_n.$$
Is this correct? Now here's my problem: As hint they say: Finite dimensional subspaces can be helpful for a precise argumentation that the domain of $T^*$ is what you think it is. I don't understand this, because it seems (assuming my $T^*$ is correct) that $D(T^*) = D(T)$. What am i missing?