Show that if a symmetric matrix $A \in \mathbb{R}^{n \times n}$ satisfies $A = A^{2}$, then all its eigenvalues must be either 1 or 0.
I think I'm able to show that the eigenvalue is equal to 1 through the following:
$$ Av - \lambda v = 0$$ $$ v(A - \lambda I) = 0 $$ $$ A-\lambda I = 0 $$ $$ A = \lambda I $$ $$ AA = \lambda I A$$ $$ A^{2} = \lambda A$$ $$ A = \lambda A $$ $$ \lambda = 1 $$
How can I show that the eigenvalue can also be equal to 0?
v(A−λI)=0" Multiplication is not communitive.
– Acccumulation Sep 19 '22 at 04:05