I am being asked to solve a Markov Matrix in general terms. Essentially I need to prove an eigenvalue with always be $1$.
I have set up the following matrix:
\begin{pmatrix}p&1-p\\q&1-q\end{pmatrix}
I think my issue is either with my matrix setup, or my algebra. But I cannot figure out how to get that $1$ value when using $\det (A - \lambda I) = 0$.