Question: Find the distribution for the (random) time it takes an $M/M/1/2$ queuing system with $\lambda = \mu = 1$ to change its state from being full to being empty. ($\lambda, \mu$, arrival rate and serivce rate)
I have a hard time understanding this solution, can anyone help me out?:
Let $X_1, X_2, X_3, . . .$ be independent identically distributed random variables each of which is distributed like the sum of two independent random variables that are exponentially distributed with expected values 1 and 1/2, respectively.
Further, let N be a discrete random variable independent of the $X_n$'s such that $P(N = n) = 2^{−n}$ for $n = 1, 2, 3, . . .$
Then the asked for random time is distributed like $\sum_{n=0}^N X_n$.