For transient states $i$ and $j$ , let $s_{ij}$ denote the expected number of time periods that the Markov chain is in state $j$, given that it starts in state $i$. Let
$\delta_{i,j}= \begin{cases} 1,&\text{when $i=j\quad$ and}\\ 0,& \text{otherwise.} \end{cases}$
Condition of the initial transition to obtain:
$s_{ij}=\delta_{i,j}+\sum P_{ik}s_{kj}$
Let $S$ denote the matrix of values $s_{ij},\text{for }i,j=1,2,\cdots,t$
In matrix notation, $S=I+PS$, $S=(I-P)^{-1}$ where $P$ specifies the transition probabilities from transient states into transient states.
Can someone show me how to prove the existence of the inverse of $(I-P)$