Customers arrive at one personal barber shop according to a Poisson process with a mean inter-arrival time of 20 minutes. Customers spend on an average of 15 minutes, in the barber's chair. Determine how much time can a customer expect to wait for his turn.
This question asks us to calculate the expected waiting time for a customer at a barber shop. The key information provided is that customers arrive following a Poisson process, and we know the average time between customer arrivals and the average time a customer spends being served (in the barber's chair).
This scenario is a classic example that can be analyzed using queueing theory. Specifically, it fits the M/M/1 queueing model:
Let's define the parameters based on the information given:
To use the queueing formulas, we need the arrival rate ($\lambda$) and service rate ($\mu$) in terms of customers per unit of time (we'll use minutes).
$$ \lambda = \frac{1}{\text{Mean Inter-arrival Time}} = \frac{1}{20} \text{ customers per minute} $$
$$ \mu = \frac{1}{\text{Average Service Time}} = \frac{1}{15} \text{ customers per minute} $$
Server utilization, denoted by $\rho$, represents the fraction of time the server (the barber) is busy serving customers. It is calculated as the ratio of the arrival rate to the service rate:
$$ \rho = \frac{\lambda}{\mu} $$
Substituting the values:
$$ \rho = \frac{1/20}{1/15} = \frac{15}{20} = \frac{3}{4} = 0.75 $$
This result indicates that the barber is occupied 75% of the time.
The question asks for the expected time a customer waits *for their turn*, which means the time spent waiting in the queue before service begins. For an M/M/1 queue, this is denoted as $W_q$. The formula is:
$$ W_q = \frac{\lambda}{\mu(\mu - \lambda)} $$
Let's calculate the components needed for the formula:
$$ \mu - \lambda = \frac{1}{15} - \frac{1}{20} $$
To subtract these fractions, we find a common denominator, which is 60:
$$ \mu - \lambda = \frac{4}{60} - \frac{3}{60} = \frac{1}{60} \text{ customers per minute} $$
$$ \mu(\mu - \lambda) = \left(\frac{1}{15}\right) \times \left(\frac{1}{60}\right) = \frac{1}{900} $$
The units here are effectively (customers/min) * (customers/min) = customers2/min2, but in the context of the formula, it relates to the rate at which queue length decreases.
$$ W_q = \frac{\lambda}{\mu(\mu - \lambda)} = \frac{1/20}{1/900} $$
Dividing by a fraction is the same as multiplying by its reciprocal:
$$ W_q = \frac{1}{20} \times 900 = \frac{900}{20} = 45 \text{ minutes} $$
Alternatively, we can use the formula involving utilization ($\rho$):
$$ W_q = \frac{\rho}{\mu(1 - \rho)} $$
$$ 1 - \rho = 1 - 0.75 = 0.25 $$
$$ \mu(1 - \rho) = \left(\frac{1}{15}\right) \times (0.25) = \frac{1}{15} \times \frac{1}{4} = \frac{1}{60} $$
$$ W_q = \frac{\rho}{\mu(1 - \rho)} = \frac{0.75}{1/60} = 0.75 \times 60 = \frac{3}{4} \times 60 = 45 \text{ minutes} $$
Both methods confirm that the expected waiting time for a customer before they start receiving service at the barber shop is 45 minutes.
The probability of getting a total of 7 on two dice thrown together is:
If moment generating function of continuous random variable X is \(\frac{λ}{λ-t}\) t < λ, then E(X 3) equals to:
If moment generating function of discrete random variable X is (q + pe t) n, then E(X 2) equal to
If A and B are mutually exclusive events such that P(A) P(B) > 0, then which option is correct?
Two random variables X and Y are said to be independent if: