I have to show that for a matrix with all integer valued entries, any integer eigenvalue will divide the determinant.
I know that the product of the eigenvalues is the determinant, but there can be non integral eigenvalues too. Also I know the sum of the eigenvalues, which is the trace of the matrix, is also integral.
Any hint will be good. Thank you.
Let $p(x) = x^n + c_1 x^{n-1} + \cdots + c_{n-1} x + c_{n}$ be the characteristic polynomial of the matrix $M$, so $c_n = \pm \det M$. If $M$ has all integer entries, then every coefficient $c_i$ is an integer. Now suppose that $M$ has an integer eigenvalue $\lambda$, meaning an integer such that $p(\lambda) = 0$.
Subbing $\lambda$ into $p(x)$ and rearranging, we get $$ -c_n = \lambda(\lambda^{n-1} + c_1 \lambda^{n-2} + \cdots + c_{n-1})$$ and so we have found that $\pm \det M$ may be written as a product of two integers, $\lambda$ and $(\lambda^{n-1} + c_1 \lambda^{n-2} + \cdots + c_{n-1})$. In particular, $\lambda$ is a factor of $\det M$.