The original question was as follows. Define $T\in\mathcal{L}(F^n)$ by $$T(x_1,x_2,x_3,\cdots,x_n)=(x_1,2x_2,3x_3,\cdots,nx_n).$$(a) Find all eigenvalues and eigenvectors of $T.$
(b) Find all invariant subspaces of $T$.
Part (a) is easy, for which the answer is for each $\lambda=n$, we have an eigenvector of $(0,\cdots,a_i,\cdots,0)$ where $a_i$ is at $i^{th}$ position in the list.
But I need help in verification of my proof in Part (b). Here is my proof:
Proof: Since we have $n$ eigenvectors and each of the eigenvectors can form an invariant subspaces under $T$, where the invariant subspaces corresponding to each eigenvector is denoted by $U_1,\cdots,U_n$. By theorem, we know the sum of the invariant subspaces is still invariant under T. Hence $U_1+\cdots+U_n$ is invariant under $T$. But $U_1,\cdots,U_n$ actually forms a basis of $F^n$ (since the eigenvectors are actually standard basis of $F^n$) Hence we can conclude that the set of any linear combinations of $u_1+\cdots+u_n$ for each $u_j\in U_j$ is the invariant subspaces of $T$. In other words, $span(u_1+\cdots+u_n)$ is the invariant subspaces of $T$.
Am I correct with this proof?