Queuing Theory: The Mathematical Study of Waiting in Line (2024)

Science, Tech, Math ›Math

The mathematical study of waiting in line

Queuing Theory: The Mathematical Study of Waiting in Line (1)

Math

  • Statistics
    • Applications Of Statistics
    • Statistics Tutorials
    • Formulas
    • Descriptive Statistics
    • Inferential Statistics
  • Math Tutorials
  • Geometry
  • Arithmetic
  • Exponential Decay
  • Worksheets By Grade
  • Resources

By

Alane Lim

Alane Lim

Science Expert

  • Ph.D., Materials Science and Engineering, Northwestern University
  • B.A., Chemistry, Johns Hopkins University
  • B.A., Cognitive Science, Johns Hopkins University

Alane Lim holds a Ph.D. in materials science and engineering. She has published numerous peer-reviewed journal articles on nanotechnology and materials science.

Learn about ourEditorial Process

Updated on July 09, 2018

Queuing theory is the mathematical study of queuing, or waiting in lines. Queues contain customers (or “items”) such as people, objects, or information. Queuesform when there are limited resources for providing a service. For example, if there are 5 cash registers in a grocery store, queues will form if more than 5 customers wish to pay for their items at the same time.

A basic queuing system consists of an arrival process (how customers arrive at the queue, how many customers are present in total), the queue itself, the service process for attending to those customers, and departures from the system.

Mathematical queuing models are often used in software and business to determine the best way of using limited resources. Queueing models can answer questions such as: What is the probability that a customer will wait 10 minutes in line? What is the average waiting time per customer?

The following situations are examples of how queueing theory can be applied:

  • Waiting in line at a bank or a store
  • Waiting for a customer service representative to answer a call after the call has been placed on hold
  • Waiting for a train to come
  • Waiting for a computer to perform a task or respond
  • Waiting for an automated car wash to clean a line of cars

Characterizing a Queuing System

Read MoreUnlocking Set Theory: Mathematics' FoundationBy Courtney Taylor

Queuing modelsanalyze how customers (including people, objects, and information) receive a service. A queuing system contains:

  • Arrival process. The arrival process is simply how customers arrive. They may come into a queue alone or in groups, and they may arrive at certain intervals or randomly.
  • Behavior. Howdo customers behave when they are in line? Some might be willing to wait for their place in the queue; others may become impatient and leave. Yet others might decide to rejoin the queue later, such as when they are put on hold with customer service and decide to call back in hopes of receiving faster service.
  • How customers are serviced. This includes the length of time a customer is serviced, the number of servers available to help the customers, whether customers are served one by one or in batches, and the order in which customers are serviced, also called service discipline.
  • Service discipline refers to the rule by which the next customer is selected. Although many retail scenariosemploy the “first come, first served” rule, other situations may call for other types of service. For example, customers may be served in order of priority, or based on the number of items they need serviced (such as in an express lane in a grocery store). Sometimes, thelast customer to arrive will be served first (such s in the case in a stack of dirty dishes, where the one on top will be the first to be washed).
  • Waiting room. The number of customers allowed to wait in the queue may be limited based on the space available.

Mathematics of Queuing Theory

Kendall’s notation is a shorthand notation that specifies the parameters of a basic queuing model. Kendall’s notation is written in the form A/S/c/B/N/D, where each of the letters stand for different parameters.

  • The A term describes when customers arrive at the queue – in particular, the time between arrivals, or interarrival times. Mathematically, this parameter specifies the probability distribution that the interarrival times follow. One common probability distribution used for the A term is the Poisson distribution.
  • The S term describes how long it takes for a customer to be serviced after it leaves the queue. Mathematically, this parameter specifies the probability distribution that these service times follow. The Poisson distribution is also commonly used for the S term.
  • The c term specifies the number of servers in the queuing system. The model assumes that all servers in the system are identical, so they can all be described by the S term above.
  • The B term specifies the total number of items that can be in the system, and includes items that are still in the queue and those that are being serviced. Though many systems in the real world have a limited capacity, the model is easier to analyze if this capacity is considered infinite. Consequently, if the capacity of a system is large enough, the system is commonly assumed to be infinite.
  • The N term specifies the total number of potential customers – i.e., the number of customers that could ever enter the queueing system – which may be considered finite or infinite.
  • The D term specifies the service discipline of the queuing system, such as first-come-first-served or last-in-first-out.

Little’s law, which was first proven by mathematician John Little, states that the average number of items in a queue can be calculated by multiplying the average rate at which the items arrive in the system by the average amount of time they spend in it.

  • In mathematical notation, the Little's law is: L = λW
  • L is the average number of items, λ is the average arrival rate of the items in the queuing system, and W is the average amount of time the items spend in the queuing system.
  • Little’s law assumes that the system is in a “steady state” – the mathematical variables characterizing the system do not change over time.

Although Little’s law only needs three inputs, it is quite general and can be applied to many queuing systems, regardless of the types of items in the queue or the way items are processed in the queue. Little’s law can be useful in analyzing how a queue has performed over some time, or to quickly gauge how a queue is currently performing.

For example: a shoebox company wants to figure out the average number of shoeboxes that are stored in a warehouse. The company knows that the average arrival rate of the boxes into the warehouse is 1,000 shoeboxes/year, and that the average time they spend in the warehouse is about 3 months, or ¼ of a year. Thus, the average number of shoeboxes in the warehouse is given by (1000 shoeboxes/year) x (¼ year), or 250 shoeboxes.

Key Takeaways

  • Queuing theory is the mathematical study of queuing, or waiting in lines.
  • Queues contain “customers” such as people, objects, or information. Queues form when there are limited resources for providing a service.
  • Queuing theory can be applied to situations ranging fromwaiting in line at the grocery store to waiting for a computer to perform a task. It is often used in software and business applications to determine the best way of using limited resources.
  • Kendall’s notation can be used to specify the parameters of a queuing system.
  • Little’s law is a simple but general expression that can provide a quick estimate of the average number of items in a queue.

Sources

Format

mlaapachicago

Your Citation

Lim, Alane. "An Introduction to Queuing Theory." ThoughtCo, Jun. 25, 2024, thoughtco.com/queuing-theory-4171870.Lim, Alane. (2024, June 25). An Introduction to Queuing Theory. Retrieved from https://www.thoughtco.com/queuing-theory-4171870Lim, Alane. "An Introduction to Queuing Theory." ThoughtCo. https://www.thoughtco.com/queuing-theory-4171870 (accessed July 4, 2024).

Queuing Theory: The Mathematical Study of Waiting in Line (2024)

FAQs

What is queuing theory the mathematical study of _____ of waiting in line? ›

Queuing theory is the mathematical study of the formation and function of waiting lines. Queuing theory assesses the arrival process, service process, customer flow and other components of the waiting experience.

Is the queuing theory the mathematics of waiting lines? ›

Queuing theory is a branch of mathematics that studies and models the act of waiting in lines. This paper will take a brief look into the formulation of queuing theory along with examples of the models and applications of their use.

What is the formula for waiting time in queuing theory? ›

Wq = Lq/λ. denotes the waiting time in the queue for the A/B/c queue. The above works well for M/G/c queues, but does not always work well when the inter-arrival time is not exponentially distributed.

What is the mathematical model queuing theory? ›

Queueing theory is the mathematical study of waiting lines, or queues. A queueing model is constructed so that queue lengths and waiting time can be predicted.

What is the queuing theory in simple words? ›

Queuing theory is the study of the movement of people, objects, or information through a line. Studying congestion and its causes in a process is used to help create more efficient and cost-effective services and systems.

What is an example of a waiting line model? ›

An example of this is a waiting line in a fast-food drive-through, where everyone stands in the same line, and will be served by one of the multiple servers, as long as arrivals are Poisson and service time is Exponentially distributed.

How to solve waiting line? ›

Here are the best ways to help you solve queuing problems:
  1. Assess and improve your queue management strategy.
  2. Implement digital queuing software.
  3. Keep the rules of queuing fair and consistent.
  4. Design your space to accomodate queues.
  5. Inform customers of the duration of their wait.

Is queuing theory difficult? ›

Queueing theory is an effective tool for studying several performance parameters of computer systems. It is a difficult subject, and the best way to comprehend queueing theory is by working on information processing problems.

What are the rules of queuing theory? ›

Queuing theory scrutinizes the entire system of waiting in line, including elements like the customer arrival rate, number of servers, number of customers, capacity of the waiting area, average service completion time, and queuing discipline.

What is the little formula in queuing theory? ›

Abstract. Little's formula, L = λW, is one of the most well-known and most useful conservation laws in queueing theory and stochastic systems. It states that the time average number of units in system equals the arrival rate of units × the average time-in-system per unit.

What is the real time queuing theory? ›

Real time queueing theory offers the promise of providing real time system predictability for systems characterized by substantial stochastic behavior (such as ATM networks and multimedia systems). Possible generalizations are discussed.

What are the assumptions of the queueing theory? ›

Queueing Theory:

There are four assumptions made when using the queuing model: 1) customers are infinite and patient, 2) customer arrivals follow an exponential distribution, 3) service rates follow an exponential distribution, and 4) the waiting line is handled on a first-come, first-serve basis.

Is queuing theory the mathematical study of waiting lines or queues? ›

Queuing theory is the mathematical study of waiting lines or queues. This approach is applied to different types of problems, such as scheduling, resource allocation, and traffic flow. It is often applied in: Operations research.

What are some important formulas used in queuing theory? ›

PRACTICAL FORMULAE INVOLVED IN QUEUING THEORY
1.Arrival Rate per hour= λ
2.Service Rate per hour= μ
3.Average Utilisation Rate (or Utilisation Factor), ρ=
4.Average Waiting Time in the System, (waiting and servicing Time) W s=
5.Average Waiting Time in the Queue, W q=
2 more rows

What are the three types of queuing models? ›

There are these ways: 1) FIFO (First In First Out) also called FCFS (First Come First Serve) - orderly queue. 2) LIFO (Last In First Out) also called LCFS (Last Come First Serve) - stack. 3) SIRO (Serve In Random Order).

What is waiting lines and queuing system? ›

A waiting line system, also known as a queuing system, is exactly what it sounds like. It's when a person or object spends time waiting in a line for an activity or transaction to happen.

Is waiting line theory another term for queuing theory? ›

Queuing theory is the mathematical study and modeling of waiting times in lines (also called queues). It is used to predict queue length and waiting time in simulations. Its goal is to inform business decisions that improve queue speed to optimize resource planning, space allocation, and related tasks.

In which country did the study of waiting lines queueing theory originate? ›

Queueing Theory's Origins: 1900 to 1917

The origins of modern queueing analysis lie in the growth of telephone systems in Denmark and Norway during the early 20th century.

What is the term queuing theory refers to the body of knowledge dealing with waiting lines? ›

6.4 Queueing theory

The research of people, things, or information along a line is called a queuing theory. Congestion and its causes are investigated in developing more practical and cost-effective services and infrastructure in queuing theory.

References

Top Articles
Crazy Hair Day | SCA Library! | TinyCat
21 Braided Hairstyles You Need to Try Next
Leah4Sci Alkene Reactions
Pwc Transparency Report
ᐅ eGirl Kleidung kaufen: Wie ein eGirl aussehen so funktionierts!
Provider Connect Milwaukee
Record-breaking crowd lifts Seattle Sounders to CCL glory on "special" night | MLSSoccer.com
50 Cent – Baby By Me (feat. Ne-Yo) ఆంగ్ల లిరిక్స్ & రంగుల అనేక. అనువాదాలు - lyrics | çevirce
Realidades 2 Capitulo 2B Answers
Events - R Consortium
Madden 23 Playbooks Database
Weather Radar For East Coast
Tammi Light Obituary
Ups Cc Center
Craigslist Albany Oregon Free Stuff
McDonald's restaurants locator - Netherlands
Splunk Append Search
Does Publix Pharmacy Accept Sunshine Health
Sites Like SkiptheGames Alternatives
Les Schwab Product Code Lookup
Ethiopia’s PM pledges victory in video from front line
BitLife: How to Become a Supermodel
Craigslist Ct Pets
Sufficient Velocity Quests
Craigslist Gaming Chair
Zipformsonline Plus Login
Jordan Torres Leaked
Accuweather Mold Count
Mylaheychart Login
Drug Stores Open 24Hrs Near Me
Scythe Banned Combos
Edt National Board
Seconds Valuable Fun Welcoming Gang Back Andy Griffith's Birthday A Top Wish So A Happy Birthday FZSW A Fabulous Man Kevin Talks About Times From Ten Day Weekend Fun Labor Day Break
Webcentral Cuny
Maatschappij- en Gedragswetenschappen: van inzicht naar impact
Low Tide In Twilight Mangabuddy
Official Klj
Tcu Jaggaer
Sodexo North Portal
Lohud Rockland Obituaries
Goodwill Southern California Store & Donation Center Montebello Photos
Whitfield County Jail Inmates P2C
Craigslist Boats For Sale By Owner Sacramento
Bryant Air Conditioner Parts Diagram
Solar Smash Unblocked Wtf
Beacon Schneider La Porte
Feetfinder Reviews Trustpilot
Gowilkes For Rent
Redbox Walmart Near Me
Codex Genestealer Cults 10th Edition: The Goonhammer Review
Ideological variation in preferred content and source credibility on Reddit during the COVID-19 pandemic
Unblocked Games 76 Bitlife
Latest Posts
Article information

Author: Madonna Wisozk

Last Updated:

Views: 5713

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Madonna Wisozk

Birthday: 2001-02-23

Address: 656 Gerhold Summit, Sidneyberg, FL 78179-2512

Phone: +6742282696652

Job: Customer Banking Liaison

Hobby: Flower arranging, Yo-yoing, Tai chi, Rowing, Macrame, Urban exploration, Knife making

Introduction: My name is Madonna Wisozk, I am a attractive, healthy, thoughtful, faithful, open, vivacious, zany person who loves writing and wants to share my knowledge and understanding with you.