What is Queuing Theory? 

The mathematical study of a queue or waiting lines is called the queuing theory. In queuing theory, a mathematical model is constructed to predict the queue length and waiting time for the service.  

Waiting Lines

We observe waiting for lines every day at various instances. For example, waiting at the cash counter of the grocery store, at some ticket booking counter of a movie theatre, at the bank to check the account balance, in a car repair shop, patients waiting in the queue at the doctor's office, calling the customer care number of a company, at diners, etc. Queues could be formed by items like trucks in lines that need to be unloaded, machines waiting to be repaired, airplanes lined up on the runway for take-off, etc. At any given time, when there are more customer service requests than the service which can be provided, a waiting line occurs. 

Major Components of a Waiting Line (Queuing System)

Wait time in a line is impacted by the design of the waiting line system (or queuing system). 

  • Customer or Arrivals or Input to the System: The arriving unit requires some service. The customer may be a person, machine, vehicle, item, etc. These have characteristics such as customer population size, behavior, etc. 
  • Queue (Waiting Line): The number of customers waiting to be serviced. The queue does not include the customer being serviced. 
  • Service Channel: The process or facility which is providing service to the customer. It may be single or multiple. 

We now explore each of the three parts in detail. 

Arrival Characteristics

The input source of a queuing model has important features, which are as follows. 

I. Size of Arrival (or customer) Population: The customer population can be finite or infinite. When the number of people or objects in the waiting line is a very small portion of all potential arrivals at any point in time, then population size is considered infinite. Real-life examples of infinite arrival population would be the number of vehicles at a highway toll booth, people at the cash counter of a grocery shopping, etc. A class of 20 students waiting in line to meet their career counselor will be considered a finite population. Most waiting line models assume an infinite arrival population. In the case of finite arrival population, queuing model becomes much more complex. 

ii. Behavior of the Arrivals: Most queuing model assumes that an arriving customer is a patient customer and will wait in the queue until they are served. But in real life, people balkrenege, and jockey. Balking means a customer refuses to join the line because it is too long. Reneging refers to customers who join the line but grows impatient and leave the line without being served. Jockeying occurs when a customer switches lines for quicker service time.  

iii. Arrival Pattern: Customer may arrive at a service facility randomly or on a scheduled time like an airplane lands every 5 minutes at an airport. The probability of arrival can be established by the discrete Poisson distribution formula.  

P(x)= e λ λ x x!    for  x=1,2,3,4,...

where,

P(x)= Probability of x arrivals.

x= Number of arriving customers per unit of time

λ= Average or mean arrival rate

e=2.7183 (base of natural logarithm).

Waiting-Line Characteristic

 The second component of a queuing model is the waiting line itself. It has two main features as follows: 

i. Length of the Queue: The length of a waiting line can be finite or infinite. The waiting line at a hair salon would be of finite length due to the limited number of waiting-chair present. While in the case of highway toll booths, the number of vehicles waiting in line can be treated as infinite length. Most queuing models assume the length of the queue to be infinite.  

ii. Queue Discipline: Queue discipline refers to the priority based on which a customer is served. Most queuing systems use the first-in, first-out (FIFO) rule. In this discipline, the first customer in line receives the service first. This may not be the case always. Like in the hospital emergency room, priority changes are based on the injury of the patient.    

Service Channel Characteristic

The third component of a queuing model is the service facility, also called the service channel. Its important features are service infrastructure which includes the number of waiting queues, the number of servers, placement of the servers, and service pattern. 

Based on the number of servers and number of services stops that must be made (phases) before leaving the system, service systems are classified into four types- i. Single-Channel, Single-Phase System: Example would be a queue at the ATM machine for cash withdrawal or checking account balance.

"Design of a single channel single-phase waiting line model"

ii. Single-Channel, Multiphase System: Example, a canteen where the customer first needs to collect the food coupon and then go to other servers for collecting the food. 

"Design of a single channel multi-phase waiting line model"

iii. Multiple-Channel, Single Phase System: Example, a hair salon where one can receive service from the first available barber. 

"Design of a multi channel single-phase waiting line model"

iv. Multiple-Channel, Multi-Phase System: Example, a driver's license agency where one has to wait for submitting an application, then go to another station for a driving test, and then pay the application fee on another counter. For each phase, there are multiple service channels available.  

"Design of a multi channel multi-phase waiting line model"

Waiting-Line Performance Measures

 Performance measures help in understanding a waiting-line system's performance. These measures include the following:

  • average queue length;
  • the average time that each arrival or customer spends in the queue;
  • the average number of customers in the queueing system;
  • average time each customer spends in the system, including waiting time plus service time;
  • average or mean service time;
  • utilization factor for the queueing system;
  • probability of a specific number of customers in the queueing system; and
  • the probability that the service facility will be idle. 

Single Channel Waiting-line Model

We now try to understand the various performance measures of a single channel waiting-line model. This involves a single line, single server, and single-phase system. This is the easiest waiting-line model. Certain assumptions as follows are made while modeling such scenarios. 

  • Arrivals or customer population size is infinite, and they are patient. Customers don't balk, renege, or jockey. 
  • The queue discipline follows a first-come, first-serve basis. 
  • The arrival rate for each customer varies, but the mean customer arrival rate(λ) is known and does not change over time and follows the Poisson distribution.  
  • The service rate for each customer varies, but the mean service rate (μ) is constant and follows the Poisson distribution. 
  • For the determination of arrival rate and service rate, the same time period is used. For example, if λ is the average number of arrivals per hour, then μ is also the average number of customers served per hour.

After taking into consideration, these assumptions, operating characteristic or performance measures of a single-channel waiting line system is calculated using below formulas.

Let, λ= mean or average arrival rate (average number of customers arriving per unit of time) and μ= mean service rate (average number of customers being served per unit of time), then the below formulas are used for the analysis of performance measures of a single-channel waiting-line system.

  • The average number of customers L in the queue system, which includes both customers waiting and customers being served, is given by:
L= λ μλ
  • The average waiting time of customers W in the queue system, which includes both the time spent in the line plus time spent being served, is given by:
W= 1 μλ
  • The utilization factor ρ of the system is given by:
ρ= λ μ
  • The average number of customers in the queue L q is given by:
L q =ρL= λ μ λ μλ = λ 2 μ μλ
  • The average time customers spend waiting in the queue W q is given by:
W q =ρW= λ μ 1 μλ = λ μ μλ
  • The probability that the queuing system is idle, that is, there are zero customers in the system, is given by:
P 0 =1 λ μ
  • The probability that there are more than k customers in the system is given by:
P n>k = λ μ k+1

Multi-Channel Waiting-Line Model

We now try to understand the various performance measures of a multi-channel waiting-line model. This involves a single line, more than one server, and a single-phase system. One such example would be a hair salon where multiple barbers are serving, and the customer can go to the first available barber to get serviced. This also takes into consideration all assumptions made for the single-channel waiting line model.

Let, λ= mean or average arrival rate (average number of customers arriving per unit of time), μ= mean service rate (average number of customers being served per unit of time)and m= number of active service channel,

The below formulas are used for the analysis of performance measures of a multi-channel waiting-line system.

  • The probability that the queuing system is idle, that is, there are zero customers in the system, is given by:
P 0 = 1 n=0 n=m1 1 n! λ μ n + 1 m! λ μ m mμ mμλ    for  mμ>λ
  • The average number of customers L in the queue system, which includes both customers waiting and customers being served, is given by:
L= λμ λ μ m m1 ! mμλ 2 P 0 + λ μ
  • The average waiting time of customers W in the queue system includes both the time spent in the line plus time spent being served is given by:
W= L λ = μ λ μ m m1 ! mμλ 2 P 0 + 1 μ
  • The utilization factor ρ of the system is given by:
ρ= λ mμ
  • The average number of customers in the queue L q is given by:
L q =L λ μ
  • The average time customers spend waiting in the queue W q is given by:
W q =W 1 μ = L q λ

Application

Application of the queueing theory is in determining the waiting cost and service cost of the queuing system.  Cost analysis or economic analysis helps in deciding the best among various waiting-line system designs for a business requirement. 

Waiting cost is labeled in terms of customer dissatisfaction and loss of goodwill, while service cost is considered the cost for running a service channel. 

Let, m= number of channels,

C s = Labor cost or service of each channel

C w = Waiting cost of each channel

Total service cost = service cost per channel number of channel =m C s

Total waiting cost= Number of arrivals Average waiting time per arrival waiting cost =λW C w

Total cost=service cost+waiting cost =m C s +λW C w

Practice Problem

Mr. A is running a hair salon and has employed Mr. D as a specialist. The average number of customers arriving per hour is three, and Mr. D is able to service four customers per hour. The waiting cost is $20 per hour, and the labor cost of Mr. D is $20 per hour. Should Mr. A hire another person, Mr. J, in place of Mr. D, who can service five customers per hour but demands more, $25 per hour?

Solution:

The scenario satisfies all assumptions of a single-channel queuing system. 

Here, 

λ=mean arrival rate=3 per hour μ 1 =mean service rate of Mr. D=4 per hour μ 2 =mean service rate of Mr. J=5 per hour m=number of channel=1 For Mr. D,  C s =$20 per hour, C w =$20 per hour For Mr. J,  C s =$25 per hour, C w =$20 per hour

Performance measures Mr. D Mr. D 
L= λμ-λL=34-3=3L=35-3=1.5
W=1μ-λW=14-3=1W=15-3=0.5
ρ=λμρ=34=0.75ρ=35=0.6
Lq=ρL=λ2μμ-λLq=ρL=0.75x3=2.25Lq=ρL=0.6x1.5=0.90
Wq=ρW=λμμ-λWq=ρW=0.75x1=0.75Wq=ρW=0.6x0.5=0.30
P0=1-λμP0=1-34=0.25P0=1-35=0.4
Total cost = serivice cost + waiting cost                = mCs + λWCwTotal cost = mCs + λWCw                = 1x$20+3x1x$20                = $80Total cost = mCs + λWCs                = 1x$25+3x0.5x$20                = $55

Thus, we can see the total cost is lower in case Mr. A hires Mr. J as a specialist in place of Mr. D.

Context and Application

This topic is significant in professional exams for both undergraduate and graduate courses, especially for B.Sc. and M.Sc. in Mathematics. It is also important for designing a queuing system to optimize waiting-line service, minimize service time, and advance research in operation management

Want more help with your operations management homework?

We've got you covered with step-by-step solutions to millions of textbook problems, subject matter experts on standby 24/7 when you're stumped, and more.
Check out a sample operations management Q&A solution here!

*Response times may vary by subject and question complexity. Median response time is 34 minutes for paid subscribers and may be longer for promotional offers.

Search. Solve. Succeed!

Study smarter access to millions of step-by step textbook solutions, our Q&A library, and AI powered Math Solver. Plus, you get 30 questions to ask an expert each month.

Queuing Theory and Waiting Line Model Homework Questions from Fellow Students

Browse our recently answered Queuing Theory and Waiting Line Model homework questions.

Search. Solve. Succeed!

Study smarter access to millions of step-by step textbook solutions, our Q&A library, and AI powered Math Solver. Plus, you get 30 questions to ask an expert each month.