Given a matrix, $P$, why does finding its eigenvalues, say they are $\{\lambda_1, \lambda_2\}$ then the general form of $p_{ij}^{(n)}=A_{ij}\lambda_1^n+B_{ij}\lambda_2^n$? Thanks.
Added: Context: $P$ is a transition matrix
Given a matrix, $P$, why does finding its eigenvalues, say they are $\{\lambda_1, \lambda_2\}$ then the general form of $p_{ij}^{(n)}=A_{ij}\lambda_1^n+B_{ij}\lambda_2^n$? Thanks.
Added: Context: $P$ is a transition matrix