Suppose $A$ is a square matrix and $\lambda$ is an eigenvalue of $A$. Let $q(x)$ be a polynomial in the variable $x$. Then $q(\lambda)$ is an eigenvalue of the matrix $q(A)$.