Operations Research

Chapter 11
Queuing, Markov and Reliability Models

Post Graduate Program in Operations Management
Operations Research   •   Post Graduate

Queuing, Markov and Reliability Models

Introduction

Operations managers make decisions in environments characterized by waiting, uncertainty, state changes and equipment failure. Customers wait for service, jobs wait for machines, patients wait for treatment, and information waits for processing capacity. At the same time, service systems evolve through identifiable states—such as idle, busy, congested or failed—and operational assets may deteriorate or fail over time. Queuing theory, Markov models and reliability analysis provide complementary tools for understanding these situations.

Queuing models estimate congestion, waiting time, utilization and service capacity. Markov models represent probabilistic movement among system states and help determine long-run operating conditions. Reliability models quantify the probability that a component or system performs without failure, while replacement models support decisions about preventive maintenance and renewal. Together, these methods connect operational continuity with customer experience, cost and risk.

Learning Objectives

By the end of this chapter, the reader should be able to:

  1. Explain the structure and assumptions of waiting-line systems.
  2. Apply M/M/1 and M/M/s models to capacity decisions.
  3. Interpret Little’s Law and distinguish customer-level from system-level measures.
  4. Construct transition matrices and calculate steady-state probabilities for Markov chains.
  5. Model component and system reliability using series and parallel structures.
  6. Evaluate replacement, maintenance and operational-continuity decisions.
  7. Critically assess assumptions, data requirements, ethics and implementation risks.

1. Foundations of Queuing Systems

A queue exists when demand for a service facility temporarily exceeds immediately available capacity. A complete queuing system consists of an arrival process, a waiting line, a service mechanism, a queue discipline and a departure process.

The principal elements are:

  • Calling population: The potential sources of customers or jobs. It may be finite, such as machines requesting repair, or effectively infinite, such as retail customers.
  • Arrival process: The timing and pattern of arrivals. A Poisson process is commonly used when arrivals are independent and the average rate is stable.
  • Queue capacity: The maximum number allowed in the system or waiting area. It may be finite or infinite.
  • Service mechanism: The number of servers and the service-time distribution.
  • Queue discipline: The rule determining service order, such as first-come, first-served (FCFS), priority, shortest processing time or appointment order.
  • Customer behavior: Customers may balk, reneging or jockeying between lines.

The notation [[M/M/1]] means Markovian (Poisson) arrivals, Markovian (exponential) service times and one server. More generally, Kendall’s notation is [[M/G/s/K/N/Disc]], where the first symbol describes arrivals, the second service-time distribution, [[s]] the number of servers, [[K]] system capacity, [[N]] population size and [[Disc]] the discipline. The symbols often omitted in elementary models are assumed to be infinite capacity, infinite population and FCFS.

Arrival and service rates

Let λ denote the mean arrival rate in customers per unit time and μ the mean service rate of one server in customers per unit time. The traffic intensity for one server is:

ρ = λ ÷ μ

Here, ρ is dimensionless. For a stable single-server system, ρ < 1. For s identical servers, the utilization is:

ρ = λ ÷ (sμ)

The stability condition is generally ρ < 1. If the effective arrival rate is at least the total service capacity, the expected queue length grows without bound in an unlimited-capacity model.

Little’s Law

Little’s Law is one of the most useful relationships in operations management:

L = λW

L is the average number of entities in the system, λ is the long-run throughput rate and W is the average time an entity spends in the system. For the waiting line alone:

Lq = λWq

The law applies under broad conditions, including a stable system and a long-run flow balance. It does not require Poisson arrivals or exponential service. Units must be consistent: customers per hour multiplied by hours per customer gives customers.

2. The M/M/1 Model

The [[M/M/1]] model assumes:

  1. Arrivals follow a Poisson process with rate λ.
  2. Service times are independent and exponentially distributed with rate μ.
  3. There is one server.
  4. The queue has unlimited capacity and the population is effectively infinite.
  5. Customers are served FCFS and do not abandon the system.
  6. The system is stable, so λ < μ.

The steady-state probability of finding n customers in the system is:

Pn = (1 − ρ)ρn, n = 0, 1, 2, …

The probability that the server is idle is P0 = 1 − ρ, and the probability that an arriving customer must wait is ρ. Important performance measures are:

L = ρ ÷ (1 − ρ)
Lq = ρ² ÷ (1 − ρ)
W = 1 ÷ (μ − λ)
Wq = λ ÷ [μ(μ − λ)] = ρ ÷ (μ − λ)

L and Lq are average customers in the system and queue. W and Wq are average times in the system and queue. Since service time averages 1 ÷ μ, the identity W = Wq + 1 ÷ μ holds.

Worked example: a technical-support desk

A support desk receives 18 requests per hour and can complete 24 requests per hour. Thus λ = 18 and μ = 24, both measured in requests per hour.

ρ = 18 ÷ 24 = 0.75

The utilization is 75%. The average number waiting is:

Lq = 0.75² ÷ (1 − 0.75) = 0.5625 ÷ 0.25 = 2.25 requests

The average waiting time is:

Wq = 2.25 ÷ 18 = 0.125 hour = 7.5 minutes

The average number in the system is L = 0.75 ÷ 0.25 = 3 requests, and the average total time is W = 3 ÷ 18 = 0.1667 hour, or approximately 10 minutes. The example demonstrates the nonlinear effect of high utilization: moving from 75% toward 100% can increase waiting sharply.

3. Multi-Server and Practical Queues

In an [[M/M/s]] system, arrivals are Poisson, each of s servers has exponential service times with rate μ, and customers form one common FCFS queue. Define a = λ ÷ μ as the offered load and ρ = λ ÷ (sμ). The probability of zero customers is:

P0 = [∑(n=0 to s−1) an ÷ n! + as ÷ (s!(1 − ρ))]⁻¹

The probability that an arrival must wait, known as the Erlang C probability, is:

Pwait = [as ÷ (s!(1 − ρ))]P0

The expected queue length and waiting time are:

Lq = Pwait × ρ ÷ (1 − ρ)
Wq = Lq ÷ λ

These formulas require ρ < 1 and a common queue feeding identical servers. Separate queues, unequal servers, priorities and abandonment require other models or simulation.

Finite capacity and abandonment

When the system can hold only K customers, arrivals finding K customers are blocked or lost. The effective throughput is lower than the offered arrival rate. If customers abandon after waiting, the relevant arrival rate is the rate that actually enters service or remains in the system. Ignoring abandonment may overstate congestion and understate customer dissatisfaction. Queueing models with balking and reneging often use state-dependent arrival or departure rates and are best solved using birth–death processes or simulation.

Capacity decisions

A manager should not minimize waiting time alone. Additional capacity incurs labor, equipment and space costs, while insufficient capacity creates delay, abandonment, lost sales, overtime and reputational damage. A useful decision compares the marginal cost of capacity with the marginal expected cost of delay:

Total expected cost = Capacity cost + Cost of waiting + Cost of lost demand

The terms must be estimated in the same time period and monetary units. Service-level constraints, such as “90% of calls answered within 30 seconds,” may be more useful than average waiting time because averages can conceal variability.

4. Markov Chains for Operational States

A discrete-time Markov chain describes a system whose next state depends on the current state but not on the complete history. This is the Markov property:

P(Xt+1 = j | Xt = i, Xt−1, …) = P(Xt+1 = j | Xt = i)

The states may represent machine conditions, inventory positions, customer relationship states or service-system conditions. A transition matrix P contains elements pij, where pij = P(Xt+1=j | Xt=i). Each row sums to 1 and all entries are non-negative.

For a row-vector convention, the state distribution evolves as:

πt+1 = πtP

A steady-state distribution π satisfies:

π = πP, ∑πi = 1

A steady state exists under conditions such as irreducibility and positive recurrence; aperiodicity supports convergence from arbitrary initial distributions in finite chains. These conditions should be checked rather than assumed.

Worked example: service-channel states

Suppose a digital service has three states: Good (G), Degraded (D) and Outage (O). Its one-day transition matrix is:

Current stateGDO
G0.800.150.05
D0.300.500.20
O0.400.300.30

Let π = (g,d,o). Solving π = πP together with g+d+o=1 gives approximately:

π ≈ (0.632, 0.263, 0.105)

Thus the long-run outage probability is approximately 10.5%, subject to the transition estimates and model assumptions. If the financial consequence of outage is ₹50,000 per day, the expected daily outage cost is approximately 0.105 × 50,000 = ₹5,250. This calculation assumes the cost is incurred whenever the system is in the outage state and that the steady-state distribution is appropriate.

Absorbing and transient states

An absorbing state satisfies pii=1. Examples include permanent failure or customer churn when return is impossible within the study horizon. Transient states are states that may be left and potentially revisited. Absorbing Markov models can estimate the probability of eventual failure and expected time to absorption. They are useful for warranty, credit default, patient progression and technology retirement analysis.

5. Reliability Models

Reliability is the probability that an item performs its required function for a specified time under stated conditions. Let T be the random time to failure. The reliability function is:

R(t) = P(T > t)

The failure distribution function is F(t)=P(T≤t)=1−R(t). If a density exists, the hazard or instantaneous failure rate is:

h(t) = f(t) ÷ R(t)

where f(t) is the failure-time density. The hazard is a rate conditional on survival to time t, not simply the probability of failure at that instant.

Exponential reliability

For a constant failure rate λf per hour:

R(t) = e^(−λf t)

The mean time to failure (MTTF) is:

MTTF = 1 ÷ λf

This model is appropriate during a useful-life period with approximately constant hazard. It is not automatically appropriate for infant mortality or wear-out failures.

Series and parallel systems

For statistically independent components in a series system, all components must function:

Rseries(t) = ∏(i=1 to n) Ri(t)

For two independent components in parallel, the system functions if at least one functions:

Rparallel(t) = 1 − [1−R1(t)][1−R2(t)]

For a k-out-of-n system, the system functions when at least k components function. If components are identical and independent with reliability R, then:

Rsystem = ∑(j=k to n) C(n,j)Rj(1−R)^(n−j)

Independence is a strong assumption. Common power supplies, environmental shocks, software defects and human errors can create common-cause failures and make these formulas optimistic.

Availability and maintainability

Reliability concerns failure-free operation over a mission. Availability concerns the proportion of time a repairable asset is operational. In a simple alternating up/down model with constant failure rate λf and repair rate μr:

A = μr ÷ (λf + μr)

Equivalently, under stable long-run conditions:

A = MTBF ÷ (MTBF + MTTR)

MTBF is mean time between failures and MTTR is mean time to repair. The formula assumes a two-state process, statistically stable rates and negligible logistics constraints. Preventive maintenance, spares and repair queues may require a richer model.

6. Replacement and Maintenance Decisions

Replacement decisions balance operating cost, failure risk and residual value. A component may be replaced at failure, preventively at a fixed age or according to condition-monitoring information.

For a simple age-replacement policy, replace an item at age T if it survives, or immediately after failure if it fails earlier. If operating cost and downtime cost vary with age, the expected cost per cycle is divided by the expected cycle length:

Average cost rate = Expected cost per cycle ÷ Expected cycle length

For renewal analysis, if C(T) is the cost of a cycle and L(T) its length:

g(T) = E[C(T)] ÷ E[L(T)]

The policy with the lowest long-run cost rate is preferred only if reliability, safety and service-level requirements are satisfied. A purely cost-minimizing policy may be unacceptable where failure threatens life, regulatory compliance or critical infrastructure.

Condition-based maintenance uses sensor data to estimate degradation and remaining useful life. It can reduce unnecessary replacement, but requires validated models, data quality controls, cybersecurity and clear intervention thresholds.

7. Integrated Case: Reliability and Queue Capacity in a Hospital Diagnostic Unit

Background

The following is an illustrative case. A hospital diagnostic unit processes urgent imaging requests. Patients arrive at an average rate of 10 per hour. One scanner can process 12 patients per hour under normal conditions. The scanner has a constant failure rate of 0.02 per hour and a repair rate of 0.5 per hour.

Problem

Management must determine whether the current unit provides acceptable capacity and availability, and whether a standby scanner is justified.

Analysis

If failures are initially ignored, the one-server queue has:

ρ = 10 ÷ 12 = 0.8333

The expected waiting-line size is:

Lq = ρ² ÷ (1−ρ) ≈ 0.8333² ÷ 0.1667 ≈ 4.17 patients

The average waiting time is:

Wq = Lq ÷ λ = 4.17 ÷ 10 = 0.417 hour ≈ 25 minutes

This is a high utilization level with substantial delay.

The availability of the scanner is:

A = 0.5 ÷ (0.02 + 0.5) ≈ 0.9615

Thus the scanner is operational approximately 96.15% of the time, under the two-state assumptions. The effective capacity averaged over long periods is approximately 12 × 0.9615 = 11.54 patients per hour, but simply replacing μ by this average in an [[M/M/1]] model is only an approximation because failures create correlated interruptions and backlogs.

Approach and solution

Management should compare at least three alternatives: retain one scanner, add a standby scanner, or reduce failure duration through faster spare-part and technician response. A robust analysis would use a Markov-modulated queue or discrete-event simulation, because the scanner’s state affects service capacity and waiting customers accumulate during outages. The evaluation should include patient-delay costs, clinical urgency, capital expenditure, maintenance cost and regulatory requirements.

Outcome and learning points

The preliminary calculations reveal two risks: utilization is already high, and downtime is operationally significant. Reliability improvement may produce greater value than nominal capacity expansion if repairs are long or if outages affect urgent patients. The case illustrates why queueing and reliability should not be analyzed independently. Capacity, failure, repair and priority rules jointly determine service performance.

8. Data, Technology and Governance

Effective modeling begins with data. Arrival timestamps, service start and completion times, abandonment, failure codes, repair duration and staffing rosters should be collected consistently. Analysts should test whether arrival rates vary by hour, day or season and whether service times are approximately exponential. Aggregating data can hide peaks and produce misleading averages.

Simulation is valuable when queues have priorities, scheduled arrivals, finite buffers, batch processing, shift changes, failures or multiple interacting resources. A simulation model should be verified against its logic and validated against observed performance. Sensitivity analysis should examine uncertainty in arrival rates, service times, failure rates and repair durations.

AI and predictive analytics can forecast demand, classify failure signals and estimate remaining useful life. However, predictive accuracy does not guarantee operational value. Models require drift monitoring, explainable intervention rules, cybersecurity and human oversight. In healthcare, finance and public services, priority rules must be audited for discriminatory effects. Customer data and equipment telemetry should be minimized, protected and retained according to applicable law and organizational policy.

9. Limitations and Best Practices

Important limitations include:

  • Poisson arrivals may fail during promotions, emergencies or scheduled releases.
  • Exponential service times may poorly represent standardized or highly variable work.
  • FCFS may be inappropriate where urgency or contractual priority governs service.
  • Independence assumptions can fail because of common-cause failures.
  • Steady-state results may not describe start-up, peak or finite-horizon operations.
  • Average measures can conceal tail delays and inequitable outcomes.
  • Estimated rates may be unstable when failure observations are scarce.

Best practice is to define the decision first, collect event-level data, state assumptions explicitly, calibrate the model, test alternatives and communicate uncertainty. Managers should report both average and percentile performance, distinguish offered from effective demand, and validate recommendations through pilots where possible.

Chapter Summary

Queuing models describe arrivals, waiting lines, service capacity and customer flow. The [[M/M/1]] model provides tractable expressions for utilization, queue length and waiting time when Poisson arrivals, exponential service, one server and stability assumptions are reasonable. Little’s Law links average flow, time and work in process across a wide range of systems. Multi-server models support staffing and capacity decisions, while abandonment and finite capacity require specialized analysis.

Markov chains represent probabilistic movement among operational states. Transition matrices, state distributions and steady-state equations help analyze service quality, degradation and failure progression. Reliability analysis measures failure-free performance, while availability incorporates repair. Series, parallel and k-out-of-n structures reveal how redundancy affects system performance, but common-cause failures must be considered.

Replacement and maintenance decisions should evaluate long-run cost, risk, service levels and safety. The integrated hospital case demonstrates that waiting and downtime interact: a system may require both capacity and reliability improvement. Sound practice combines analytical models, simulation, reliable data, sensitivity analysis, governance and managerial judgment.

Key Terms

Queuing system: A population, waiting line and service facility considered together.

Arrival rate: Average number of entities arriving per unit time.

Service rate: Average number of entities one server can process per unit time.

Utilization: Fraction of available service capacity being used.

Queue discipline: Rule that determines the order of service.

Little’s Law: Relationship L=λW between average number, throughput and time.

Poisson process: Arrival process with independent increments and a constant average rate.

Exponential distribution: Distribution with a memoryless property commonly used for interarrival or service times.

Markov property: Conditional independence of the future from the past given the present state.

Transition matrix: Matrix of one-step probabilities between states.

Steady-state distribution: Long-run probabilities assigned to system states.

Absorbing state: State that, once entered, cannot be left.

Reliability: Probability of functioning for a specified time under stated conditions.

Hazard rate: Conditional instantaneous failure rate given survival to a specified time.

Availability: Long-run proportion of time an asset is operational.

MTBF: Mean time between failures for a repairable asset.

MTTR: Mean time to repair.

Series system: System that functions only when every component functions.

Parallel system: System that functions when at least one redundant component functions.

Preventive maintenance: Planned intervention before functional failure.

Review Questions

5 Short Answer Questions

  1. What conditions are required for stability in an [[M/M/1]] queue?
  2. Distinguish L from Lq.
  3. What does a transition-matrix row represent?
  4. Define reliability and availability.
  5. Why can common-cause failures invalidate a simple parallel-reliability calculation?

5 Long Answer Questions

  1. Explain the structure of a queuing system and discuss how queue discipline affects managerial outcomes.
  2. Derive or explain the principal [[M/M/1]] performance measures and their assumptions.
  3. Describe how a steady-state Markov distribution is calculated and interpreted.
  4. Compare series, parallel and k-out-of-n reliability structures.
  5. Discuss the strategic trade-off between preventive maintenance, corrective maintenance and redundancy.

3 Analytical / Application Questions

  1. A service desk receives 15 requests per hour and serves 20 per hour with one server. Calculate utilization, Lq, Wq and W. Interpret the result.
  2. Construct a transition matrix for an asset with operating, degraded and failed states, then identify the data needed to estimate its steady-state failure probability.
  3. A critical process has two independent components, each with reliability 0.90 over a mission. Calculate the parallel-system reliability and explain why the result may be optimistic in practice.

Multiple Choice Questions with Answers

Question 1

In a stable M/M/1 queue, which condition must hold?

A. λ > μ

B. λ = μ

C. λ < μ

D. ρ > 1

Correct Answer: C. λ < μ

Question 2

For an M/M/1 queue with λ = 6 customers per hour and μ = 10 customers per hour, utilization is:

A. 0.40

B. 0.60

C. 1.67

D. 4.00

Correct Answer: B. 0.60

Question 3

Little’s Law is expressed as:

A. L = λW

B. L = μW

C. W = λL

D. ρ = L + W

Correct Answer: A. L = λW

Question 4

A transition-matrix row in a Markov chain must sum to:

A. 0

B. The arrival rate

C. The service rate

D. 1

Correct Answer: D. 1

Question 5

A steady-state distribution π satisfies which equation under the row-vector convention?

A. π = Pπ

B. π = πP

C. π = P + π

D. π = 1 − P

Correct Answer: B. π = πP

Question 6

For a component with constant failure rate λ_f, exponential reliability is:

A. R(t) = 1 + λ_ft

B. R(t) = λ_ft

C. R(t) = e^(−λ_ft)

D. R(t) = e^(λ_ft)

Correct Answer: C. R(t) = e^(−λ_ft)

Question 7

A series system functions only when:

A. At least one component functions

B. Exactly one component fails

C. Every required component functions

D. The repair rate exceeds the failure rate

Correct Answer: C. Every required component functions

Question 8

For a two-state repairable asset with failure rate λ_f and repair rate μ_r, availability is:

A. λ_f ÷ μ_r

B. μ_r ÷ (λ_f + μ_r)

C. λ_f ÷ (λ_f + μ_r)

D. λ_f + μ_r

Correct Answer: B. μ_r ÷ (λ_f + μ_r)

Question 9

Which factor most directly violates the independence assumption in a parallel-reliability model?

A. Separate component labels

B. Common-cause environmental shocks

C. Different component names

D. A specified mission time

Correct Answer: B. Common-cause environmental shocks

Question 10

If an M/M/1 queue has λ = 18 per hour and μ = 24 per hour, its average number in the system is:

A. 0.75

B. 2.25

C. 3.00

D. 4.50

Correct Answer: C. 3.00

Operations Research
Chapter 11 of 15