I am working with a linear equation of the following form.
$$x = q + Px,$$ where $x, q$ are vectors of size $K$ and $P$ is a square matrix of size $K$. The variables satisfy: (1) $q > 0$, (2) $0 \le P_{i,j} \le 1$ for all $i,j$ and (3) $\sum_j P_{i,j} < 1$ for each $i$.
If $(I-P)$ is nonsingular, then the equation can be solved by $x = (I-P)^{-1} q$. My question is whether or not $(I-P)$ is always nonsingular under the above conditions, and if not, what is the condition to add on to make sure the invertibility. I conjecture that it has something to do with the eigenvalues of the matrix but cannot figure out an answer.
Any hint would be appreciated.