Let's solve the problem using a Markov chain model. We'll define the state of the system as the number of operational machines.
Given:
- ( m ) : Total number of machines.
- Repair time ~ Exponential((\lambda)), mean repair time = (\frac{1}{\lambda}).
- Operational time ~ Exponential((\mu)), mean operational time = (\frac{1}{\mu}).
The states of the system can be denoted by ( n ), where ( n ) represents the number of operational machines (( n = 0, 1, 2, \ldots, m )).
(a) Steady-State Probability that there is no Operational Machine
We need to find ( P_0 ) (the steady-state probability that there are 0 operational machines).
The steady-state probabilities for an M/M/m queue with a single repairperson (repair server) can be found using the birth-death process. In this process,
- The rate of going from ( n ) operational machines to ( n-1 ) is ( n\mu ).
- The rate of going from ( n ) - 1 operational machines to ( n ) is ( \lambda ), but only if there's at least one failed machine (one failed machine ready to be repaired).
The balance equations are:
[
P_{n-1}\cdot (m - (n-1))\lambda = P_n\cdot n\mu, \quad n = 1, 2, \ldots, m
]
Using the recursive relation:
[
P_n = P_{n-1} \cdot \frac{(m-(n-1))\lambda}{n\mu}
]
Starting with the base case ( P_0 ):
[
P_1 = P_0 \cdot \frac{m\lambda}{\mu}
]
[
P_2 = P_1 \cdot \frac{(m-1)\lambda}{2\mu} = P_0 \cdot \frac{m\lambda}{\mu} \cdot \frac{(m-1)\lambda}{2\mu}
]
Continuing this pattern, we find:
[
P_n = P_0 \cdot \frac{m!}{(m-n)!} \cdot \frac{\lambda^n}{\mu^n}
]
To normalize the probabilities, we use the fact that the sum of all probabilities must be 1:
[
\sum_{n=0}^{m} P_n = 1
]
[
P_0 \sum_{n=0}^{m} \frac{m!}{(m-n)!} \cdot \frac{\lambda^n}{\mu^n} = 1
]
This is a sum of binomial coefficients scaled by terms of (\left(\frac{\lambda}{\mu}\right)^n). Therefore, it can be simplified as:
[
P_0 \cdot \sum_{n=0}^{m} \frac{m! \cdot \lambda^n}{(m-n)! \cdot \mu^n} = 1
]
[
P_0 \cdot m! \sum_{n=0}^{m} \frac{\lambda^n}{\mu^n (m-n)!} = 1
]
[
P_0 = \frac{1}{m! \sum_{n=0}^{m} \frac{\lambda^n}{\mu^n (m-n)!}}
]
Since (\frac{1}{(m-n)!}) are the terms corresponding to the binomial coefficients:
[
P_0 = \frac{1}{\sum_{n=0}^{m} \binom{m}{n} \left(\frac{\lambda}{\mu}\right)^n}
]
This can be further simplified as:
[
P_0 = \frac{1}{\left(1+\frac{\lambda}{\mu}\right)^m}
]
So, the steady-state probability that there are no operational machines is:
[
P_0 = \left(1 + \frac{\lambda}{\mu}\right)^{-m}
]
(b) Expected Number of Operational Machines in Steady-State (E[n])
The expected number of operational machines ( E[n] ) can be found using the steady-state probabilities:
[
E[n] = \sum_{n=0}^{m} n \cdot P_n
]
Using ( P_n = P_0 \cdot \frac{m!}{(m-n)!} \cdot \frac{\lambda^n}{\mu^n} ):
[
E[n] = P_0 \sum_{n=0}^{m} n \cdot \frac{m!}{(m-n)!} \cdot \left(\frac{\lambda}{\mu}\right)^n
]
This sum can be representable in terms of known series expansions. However, in simpler terms that can be realized through known M/M/1 queue results, the expected number of operational machines is generally given by:
[
E[n] = m - \frac{\lambda}{\mu} (1 - P_0)
]
Given that ( P_0 = \left(1 + \frac{\lambda}{\mu}\right)^{-m} ):
[
E[n] = m - \frac{\lambda}{\mu} \left(1 - \left(1 + \frac{\lambda}{\mu}\right)^{-m}\right)
]
Thus, the expected number of operational machines in steady-state is valid through combinatorial series results as needed, but the essential formula shifts results back essentially to products of dimensional consistent values.