I have a stochastic matrix $A \in R^{n \times n}$ whose sum of the entries in each row is $1$. When I found out the eigenvalues and eigenvectors for this stochastic matrix, it always happens that one of the eigenvalues is $1$.
Is it true that for any square row- or right-stochastic matrix (i.e. each row sums up to $1$) one of the eigenvalues is $1$? If so, how do we prove it?
That is a basic and important property of stochastic matrices. It's also non-obvious, unless you are aware of the Perron-Frobenius theorem.