Review of the problem setup: Imagine there is a queue of length \(r\). Burned out bulbs enter the queue (with inter-arrival time which is a random variable distributed as an exponential with rate \(\lambda \)). Bulbs continue to enter the queue until the queue is full, then at that moment we imagine a single server processing the bulbs in the queue all at once and immediately all \(r\) bulbs become operational again and the queue is now empty. This process repeats again and again.
A stochastic process \(X\left ( t\right ) \) is defined to have the Markov property if its transition to the next state depends only on the current state and not on any earlier states. In other words it satisfies the following
In this problem \(X\left ( t\right ) \) is the number of burned out bulbs in the queue at any time \(t\). When \(X\left ( t\right ) <r\) then \(X\left ( t\right ) \) can be viewed as a counting process (or pure birth process) or a Poisson process (until the queue become full).
Therefore, The time between each successive events (where an event causes the count to increase by one) is a random variable with exponential distribution (we are also given this fact in the problem). But the exponential distribution is memoryless6 by definition. Therefore it does not depend on clock time but only on the length of the time interval. Hence the process satisfies the Markov property.
A stochastic process \(X\left ( s\right ) \) is defined to be stationary7 if its state transition \(p_{ij}\left ( t\right ) \) do not depend on when the transitions happen but only on the time interval \(t\). In other words, random process \(X\left ( s\right ) \) is stationary if
For any \(c,s\geq 0.\) So, letting \(c=0\), the system is stationary if
This process is clearly stationary, since it is a counting process (when \(X\left ( t\right ) \leq r-1\)). A counting Poisson process is stationary since it does not depend on clock time as was argued in part (A). To show this more clearly, since this is a counting process, then by definition of the Poisson process
We see that the probability of \(X=n\) does not depend on \(s\) and depends only on the time interval \(t\). If this was a non-stationary process, then \(s\) would appear in the RHS above. I.e. the probability of the random variable would depend on clock time, but we see from the above definition that it does not.
A stochastic process is a pure jump process if the transition probabilities can be written as
\(p_{ii}\left ( h\right ) =1-v_{i}h+o\left ( h\right ) \) and \(p_{ij}\left ( h\right ) =q_{ij}h+o\left ( h\right ) \) as \(h\rightarrow 0^{+}\)
In this problem \(p_{ii}\left ( h\right ) \) is the probability than no bulb burns out during an interval \(h\). This is given by the probability than no bulb burns out from the current number of functional bulbs which is \(N-i\). Due to independence, we obtain
Applying Binomial expansion \(\left ( a+b\right ) ^{n}={\displaystyle \sum \limits _{k=0}^{n}} \begin {pmatrix} n\\ k \end {pmatrix} a^{n-k}b^{k}\), to the above, and taking \(a=1,b=-\lambda h+o\left ( h\right ) ,n=N-i\) we obtain
Hence we can write \(p_{ii}\left ( h\right ) =1-v_{i}h+o\left ( h\right ) \) where \(v_{i}=\lambda \left ( N-i\right ) \)
Now \(p_{ij}\left ( h\right ) \) is the probability that there will be \(j\) failed bulbs after \(h\) units of time given that there is already \(i\) failed bulbs. For this to occur, then we need to have \(j-i\) bulbs fail in \(h\) units of time. We can solve for the general case when \(j-i>1,\,\ \)but since we will let \(h\rightarrow 0^{+}\,\ \)it is most likely that there will be only one event occur (one bulb fail) during this time, and we can collect all other less likely probabilities in the \(o\left ( h\right ) \) term. Hence we will only consider \(p_{i,i+1\text { }}\)in the following.
Therefore from \(p_{ij}\left ( h\right ) =q_{ij}h+o\left ( h\right ) \) we see that \(q_{i,i+1}=\left ( N-i\right ) \lambda \) i.e. \(\lambda _{i}=\left ( N-i\right ) \lambda \ \ \ \ \ \ \ \ i=0,1,\cdots r-1\)
Hence the \(Q\) matrix (The rate matrix) is
Part (d)
The balance equation can be obtained from balancing the flow out rate of a state \(i\) (which is given by \(v_{i}\)) by all the flow in rate into the state which is given by \({\displaystyle \sum \limits _{v\neq i}} q_{v,i}\) as illustrated below for the above problem
Hence we write
and for state \(i=0\) we have
Therefore we obtain
Hence we have for \(\ i=1,2,\cdots r-1\)
Therefore we have
back substitute, we obtain
Hence
We notice that the last equation above, is the same as for the case \(i=0\). Hence we have one of the \(r\) equations duplicated. Hence we need one more equation to solve for the unknowns \(\pi _{i}\) and for that we use \({\displaystyle \sum \limits _{i=0}^{r}} \pi _{i}=1\)
Therefore, the general expression for \(\pi _{i}\) is
Now since \(\pi _{0}+\pi _{1}+\cdots +\pi _{r-1}=1\), then we write
So now that we know \(\pi _{0}\) from (2), we substitute it into (1) and solve for the remaining \(\pi _{i}\)
But
Which is the difference between 2 partial sums of harmonic numbers. Let \(H_{n}={\displaystyle \sum \limits _{k=1}^{n}} \frac {1}{k}\), then \({\displaystyle \sum \limits _{i=1}^{r}} \frac {1}{N-i}=H_{N-1}-H_{N-r-1}\) hence (3) becomes
Hence
This is a small program which show the long term \(\pi \) for \(N=100,r=10\) using the above equation
l.609 — TeX4ht warning — \SaveEverypar’s: 3 at \begindocument and 4 \enddocument —