We want to find a probability vector \(\vec q\) so that \(P\vec q = \vec q\text{.}\) We can rearrage this equation by subtracting \(\vec q\) from both sides and factoring to obtain the following equation:
\begin{equation*}
P\vec q = \vec q \quad \implies \quad P\vec q - I\vec q = \vec 0 \quad \implies \quad (P - I)\vec q = \vec 0\text{,}
\end{equation*}
where we rewrote \(\vec q\) as \(I\vec q\) to make clear what is left over after factoring out \(\vec q\text{.}\) It follows that \(\vec q\) should be a probability vector that lives in \(\Nul(P - I)\text{.}\) Note that
\begin{equation*}
P - I = \begin{bmatrix} 0.8 - 1 \amp 0.3 \\ 0.2 \amp 0.7-1 \end{bmatrix} = \begin{bmatrix} -0.2 \amp 0.3 \\ 0.2 \amp -0.3 \end{bmatrix} \sim \begin{bmatrix} -2 \amp 3 \\ 0 \amp 0 \end{bmatrix}\text{.}
\end{equation*}
Since \(P - I\) has only one free variable, we know that \(\dim(\Nul(P-I)) = 1\text{.}\) Therefore, \(\Nul(P-I)\) is spanned by a single nonzero vector. By inspecting the REF of \(P-I\) given above, we see that \(\vec v = \begin{bmatrix} 3 \\ 2 \end{bmatrix}\) is a nonzero vector in \(\Nul(P-I)\text{.}\) Therefore, we have that
\begin{equation*}
\Nul(P-I) = \Span\left\{\begin{bmatrix} 3 \\ 2 \end{bmatrix}\right\}\text{.}
\end{equation*}
Note that \(\vec v\) is not a probability vector since its entries add to 5. We can modify \(\vec v\) by scaling it by a factor of \(\frac{1}{5}\) which will result in a probability vector living in \(\Nul(P - I)\text{.}\) Since this is the only way to create a probability vector in \(\Nul(P-I)\text{,}\) we see that
\begin{equation*}
\vec q = \frac{1}{5}\vec v = \begin{bmatrix} \frac{3}{5} \\ \frac{2}{5} \end{bmatrix} = \begin{bmatrix} 0.6 \\ 0.4 \end{bmatrix}
\end{equation*}
is the unique steady-state vector for \(P\text{.}\) We can check that \(\vec q\) is a steady-state vector. Note that
\begin{equation*}
P\vec q = \begin{bmatrix} 0.8 \amp 0.3 \\ 0.2 \amp 0.7 \end{bmatrix} \begin{bmatrix} 0.6 \\ 0.4 \end{bmatrix} = \begin{bmatrix} 0.8(0.6) + 0.3(0.4) \\ 0.2(0.6) + (0.7)(0.4) \end{bmatrix} = \begin{bmatrix} 0.6 \\ 0.4 \end{bmatrix} = \vec q\text{.}
\end{equation*}
What does the steady-state vector
\(\vec q\) tells us about the libraries in
ExampleΒ 4.1? It tells us the proportional distribution of the books between the two libraries. Since the two libraries had a total of 2000 books between them, we see that the limit vector of the Markov chain is
\begin{equation*}
\vec \ell = 2000 \vec q = 2000\begin{bmatrix} 0.6 \\ 0.4 \end{bmatrix} = \begin{bmatrix} 1200 \\ 800 \end{bmatrix}\text{.}
\end{equation*}
Thus, after many months, we should expect Library \(A\) to have 1200 books and Library \(B\) to have 800 books.