TITLE: Invariant subspace of a diagonal matrix
QUESTION [5 upvotes]: Suppose $T:V\to V$ is a diagonalizable linear transformation with no repeated eigenvalues, and denote $\{e_i:i\in I\}$ an eigenbasis of $V$. Suppose $W$ is an invariant subspace of $T$. Is it true that $W=\mathrm{span}\{e_i:J\subset I\}$ for some $J$? Why?

REPLY [3 votes]: Suppose $\{\lambda_i \mid i \in I\}$ are the eigenvalues that go along with the eigenbasis $\{e_i \mid i \in I\}$. Take any $w \in W$, which may be written relative to the eigenbasis as $w = a_1 e_1 + \cdots + a_n e_n$. Here we also assume that all the $a_i$ are nonzero. Now
$$\begin{aligned}
(T - \lambda_n) w &= a_1 (\lambda_1 - \lambda_n) e_1 + \cdots + a_{n-1} (\lambda_{n-1} - \lambda_n) e_{n-1} + a_n (\lambda_n - \lambda_n) e_n \\
 &= b_1 e_1 + \cdots + b_{n-1} e_{n-1} \end{aligned} $$
where each $b_i$ is nonzero, by the assumption that all eigenvalues are distinct. It is clear that by iterating this process, we stay inside $W$, and so each eigenvector $e_1, \ldots, e_n$ belongs to $W$. So your claim is true.