Hey I'm stuck on this question, I'll be glad to get some help.
$A$ is a matrix, $f(x)$ is a polynomial such that $f(A)=0$. Show that every eigenvalue of $A$ is a root of $f$.
Well, I thought of something but I got stuck: we know that if $t$ is an eigenvalue of $A$, then $f(t)$ is an eigenvalue of $f(A)$, so letting $v$ be an eigenvector for $t$: $$f(A)=0\implies f(t)v=f(A)v=0\implies (v\ne 0)\implies f(t)=0$$ although I think that the last step is not true. Any help?