Busy Barber Problem: Proportion of Time Apprentice is Busy

Click For Summary
SUMMARY

The Busy Barber Problem involves a barbershop with two barbers: an experienced owner cutting hair at 4 customers/hour and an apprentice at 2 customers/hour. Customers arrive at a rate of 6 customers/hour, with the owner serving first. The discussion centers on constructing a continuous-time Markov chain, determining the infinitesimal generator G, and calculating the proportion of time the apprentice is busy. The equilibrium distribution calculations revealed negative probabilities for the apprentice's states, indicating a critical error in the setup of the Markov chain.

PREREQUISITES
  • Understanding of continuous-time Markov chains
  • Knowledge of infinitesimal generators in stochastic processes
  • Familiarity with equilibrium distributions and their properties
  • Basic probability theory, particularly regarding non-negative probabilities
NEXT STEPS
  • Review the construction of continuous-time Markov chains with a focus on state transitions
  • Study the properties of infinitesimal generators and their applications in Markov processes
  • Learn about equilibrium distributions and how to derive them correctly
  • Explore common pitfalls in probability calculations, especially regarding negative values
USEFUL FOR

Students and professionals in operations research, applied mathematics, or any field involving stochastic modeling, particularly those interested in queueing theory and Markov processes.

iikii
Messages
5
Reaction score
0

Homework Statement


A barbershop has two barbers: an experienced owner and an apprentice. The owner cuts hair at the rate of 4 customers/hour, while the apprentice can only do 2 customers/hour. The owner and the apprentice work simultaneously, however any new customer will always go first to the owner, if the latter is available. The barbershop has waiting room for only 1 customer (in case both barbers are busy), any additional customers are turned away. Suppose customers walk by the barbershop at the rate of 6 customers/hour.

1. Construct a continuous-time Markov chain for this problem and explain your assumptions.

2. Write down the infinitesimal generator G of this chain.

3. Using your model nd the proportion of time the apprentice is busy cutting hair.

Homework Equations

The Attempt at a Solution


1. For the Markov chain, I don't know how to do it here but I guess is P(0,1)=1,P(1,2)=0.6,P(2,3)=0.5;P(1,0)=0.4,P(2,1)=0.5,P(3,2)=1
2. I attached a picture of my markov chain.
3. Then, for question 3, I calculated the corresponding equilibrium distribution and got: π0 =0.6, π1=0.6, π2=−0.6, π3=−0.6 which leads to the proportion to π2+ π3=0
So I guess there must be something wrong. I appreciate any hint!
 

Attachments

  • Screen Shot 2016-11-17 at 9.28.05 AM.png
    Screen Shot 2016-11-17 at 9.28.05 AM.png
    4.8 KB · Views: 530
Physics news on Phys.org
iikii said:

Homework Statement


A barbershop has two barbers: an experienced owner and an apprentice. The owner cuts hair at the rate of 4 customers/hour, while the apprentice can only do 2 customers/hour. The owner and the apprentice work simultaneously, however any new customer will always go first to the owner, if the latter is available. The barbershop has waiting room for only 1 customer (in case both barbers are busy), any additional customers are turned away. Suppose customers walk by the barbershop at the rate of 6 customers/hour.

1. Construct a continuous-time Markov chain for this problem and explain your assumptions.

2. Write down the infinitesimal generator G of this chain.

3. Using your model nd the proportion of time the apprentice is busy cutting hair.

Homework Equations

The Attempt at a Solution


1. For the Markov chain, I don't know how to do it here but I guess is P(0,1)=1,P(1,2)=0.6,P(2,3)=0.5;P(1,0)=0.4,P(2,1)=0.5,P(3,2)=1
2. I attached a picture of my markov chain.
3. Then, for question 3, I calculated the corresponding equilibrium distribution and got: π0 =0.6, π1=0.6, π2=−0.6, π3=−0.6 which leads to the proportion to π2+ π3=0
So I guess there must be something wrong. I appreciate any hint!

You need ##a_{ij} \geq 0## for ##i \neq j##, but your second row has negative values for ##a_{10}## and ##a_{12}##.

You should realize that you can NEVER get negative probabilities, so getting ##\pi_2 < 0## and ##\pi_3 < 0## is an immediate signal that you have erred.

Also: in future, please just type out the matrix directly; I found it extremely inconvenient to open the attachment and then navigate back to this panel.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K