Related this this question.
I'm not able to work out why the manifold
$$ M = \left\{A \in \mathbb{R}^{3 \times 3} : A^2 - A = 0 \right\} $$
The only observation I was able to make is that the eigenvalues of the polynomial
$$ p(A) = A^2 - A $$
Are constructed by evaluating the polynomial
$$ p(\lambda) = \lambda^2-\lambda $$
at the eigenvalues of $A$. But I'm not really sure how I should use this and even if I can. The other observation is that the roots of $p(\lambda)$ are $\left\{0, 1 \right\}$. But even here I'm not really able to use this.