I am studying some examples of balance equations for Markov models. I am presented with the following example:
$$\mathcal{P} = \begin{bmatrix} 0.2 & 0.3 & 0.5 \\ 0.1 & 0 & 0.9 \\ 0.55 & 0 & 0.45 \end{bmatrix}$$
[dropping the $i$ subscript by writing $\pi_j$ for $\pi_{ij}.]$
The balance equations are
$$\begin{align} &\pi_1 = 0.2 \pi_1 + 0.1 \pi_2 + 0.55 \pi_3 \tag{a} \\ &\pi_2 = 0.3 \pi_1 \tag{b} \\ &\pi_3 = 0.5 \pi_1 + 0.9 \pi_2 + 0.45 \pi_3 \tag{c} \end{align}$$
Since, also, $\pi_1 + \pi_2 + \pi_3 = 1$, the unique solution is
$$\pi_1 = \frac1{2.7} = 0.37037, \ \ \ \pi_2 = \frac19 = 0.11111, \ \ \ \pi_3 = \frac{1.4}{2.7} = 0.51852$$
How do we solve this for the values $\pi_1, \pi_2, \pi_3$? Is there a way to solve this using matrix computations? The difficulty here, as I see it, is that we have a constraint $\pi_1 + \pi_2 + \pi_3 = 1$ that must hold, so I'm unsure of how this is done.
I would greatly appreciate it if someone would please take the time to show this.