TITLE: What are the possible eigenvalues of a linear transformation $T$ satifying $T = T^2$
QUESTION [5 upvotes]: Let $T$ be a linear transformation $T$ such that $T\colon V \to V$.
Also, let $T = T^2$. What are the possible eigenvalues of $T$?
I am not sure if the answer is only $1$, or $0$ and $1$.
It holds that $T = T^2$, thus $T(T(x)) = T(x)$. Let's call $T(x) = v$, so $T(v) = v$. which means that $\lambda=1$. But I am not sure about this, while I have seen a solution that says that $0$ is possible as well.
Thanks in advance !

REPLY [2 votes]: Another side remark: You say that you are not sure if 1, or both 0 and 1 can be eigenvalues.
In some cases, it is worthwhile to think of specific examples and see what they can tell us. So what are some examples of matrices $T$ that satisfy $T^2 = T$?
Well, the identity is certainly one, and its eigenvalues are all 1.
However, another such matrix is the zero matrix! It also trivially satisfies $\mathbf{0}^2 = \mathbf{0}$. Its eigenvalues are all zero, so zero can certainly be an eigenvalue as well.
Anyhow, this of course just tells you that both 0 and 1 are possible eigenvalues of such a matrix, but not that they are the only possible eigenvalues. For that, the other answers provide a full solution.