STA215 ยท 2081 ยท 5 marks
Explain briefly the queuing theory. Customers arrive at a one-man barber shop according to Poisson process with mean inter arrival time of 12 minutes. Customer spends an average of 10 minutes in the barberโs chair. What is the expected number of customers in the barber shop in the queue?
Explain briefly the queuing theory. Customers arrive at a one-man barber shop according to Poisson process with mean inter arrival time of 12 minutes. Customer spends an average of 10 minutes in the barberโs chair. What is the expected number of customers in the barber shop in the queue? [5]
Queuing Theory and Barber Shop Problem
Part 1: Brief Explanation of Queuing Theory
Queuing theory is the mathematical study of waiting lines. It models systems in which customers (or jobs) arrive, possibly wait in a queue, receive service from one or more servers, and then leave. Its aim is to predict system performance measures such as average waiting time, queue length, and server utilization so resources can be optimally designed.
Characteristics of a queuing system (Kendall notation A/B/c):
| Element | Description |
|---|---|
| Arrival process | Typically Poisson arrivals with rate $\lambda$ |
| Service process | Typically exponential service with rate $\mu$ |
| Number of servers | $c$ (here $c = 1$) |
| Queue discipline | Usually FCFS |
| System capacity / population | Usually infinite |
Utilization (traffic intensity): $\rho = \dfrac{\lambda}{c\mu}$; stability requires $\rho < 1$.
Part 2: Barber Shop Numerical Solution
Given data
- Mean inter-arrival time $= 12$ minutes
- Mean service time (in barber's chair) $= 10$ minutes
- One server (one-man shop) โ M/M/1 model
Step 1: Rates
$$\lambda = \frac{1}{12}\text{ customers/min}, \qquad \mu = \frac{1}{10}\text{ customers/min}$$
Step 2: Traffic intensity
$$\rho = \frac{\lambda}{\mu} = \frac{1/12}{1/10} = \frac{10}{12} = \frac{5}{6} \approx 0.833 \quad (<1,\text{ stable})$$
Step 3: Expected number in queue $L_q$
$$L_q = \frac{\rho^2}{1-\rho} = \frac{(5/6)^2}{1 - 5/6} = \frac{25/36}{1/6} = \frac{25}{6} \approx 4.17 \text{ customers}$$
(Supporting) Expected number in system $L_s$
$$L_s = \frac{\rho}{1-\rho} = \frac{5/6}{1/6} = 5 \text{ customers}$$
Final Answer
$$\boxed{L_q = \frac{25}{6} \approx 4.17 \text{ customers waiting in the queue}}$$
The question specifically asks for customers in the queue, so $L_q \approx 4.17$ is the required answer ($L_s = 5$ is the number in the whole shop).
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.