Stellar Grove · Concrete Mathematical Modelling
Should the barber hire an assistant?
Customers who find every chair taken walk away. Does a second barber bring in enough of them to pay a wage?
Chapter 6 · Stationary distributions. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text.
Headline: Alone, the barber turns away 38% of customers. An assistant cuts that to 9%, adding 0.90 haircuts an hour worth $22.41, against a $30 wage: don't hire (net −$7.59 an hour).
- 38%of customers lost with one barber
- $22.41most the assistant is worth per hour
- 3.7/harrival rate above which hiring pays
The problem
Customers arrive at a barbershop at random, an hour. A haircut takes on average 30 minutes ( an hour). There are 3 waiting chairs; anyone who finds them all full leaves. A haircut costs $25. Should the barber pay an assistant $30 an hour?
The model
With barbers and room for customers, the number in the shop is a birth-death chain on : arrivals at rate (blocked at ), departures at . Detailed balance gives the stationary distribution:
Arrivals see the stationary distribution (Poisson arrivals see time averages), so the share turned away is and the shop serves customers an hour. Hiring pays if
Results
| One barber | Two barbers | |
|---|---|---|
| Customers turned away | 38.4% | 8.5% |
| Haircuts per hour | 1.85 | 2.74 |
| Barbers busy | 92% | 69% |
| Mean wait of those who stay (min) | 60 | 14 |
| Revenue per hour | $46.21 | $68.62 |
Try it
Barbershop explorer
Bars compare how many customers are in the shop with one barber and with two.
Key findings
- Lost customers are the hidden cost of being busy. One barber is busy 92% of the time and still loses 38% of arrivals, because 3 customers an hour arrive for a barber who can cut at most 2.
- The assistant's value is the recovered customers, not the idle time saved: 0.90 extra haircuts an hour × $25 = $22.41, less than the $30 wage.
- It turns on demand: hiring pays once arrivals exceed about 3.7 an hour (try the slider).
- Extra chairs barely help here: two more waiting chairs with no assistant would recover 0.09 haircuts an hour ($2.24), 10% of what the assistant brings, at the cost of longer waits.
from books.concrete_mathematics import stationary as st
r = st.hire_assistant(lam=3.0, mu=2.0, chairs=3, price=25.0, wage=30.0)
print(round(r["one"].p_block, 3), round(r["two"].p_block, 3), round(r["net_gain"], 2), r["hire"])
# → 0.384 0.085 -7.59 False
Assumptions and extensions
- Customers leave only when every chair is full. Real customers balk at long lines earlier; make the arrival rate fall with the number waiting (any state-dependent rates work in
stationary.birth_death_stationary). - The assistant is as fast as the barber and is paid whether busy or not.
- Steady demand. Saturday mornings and Tuesday afternoons deserve separate answers; part-time help is the natural compromise.