The University of Edinburgh · FACULTY OF MATHEMATICS

MATH11029 Chap.10 CTMC Stationarity, Queues and Costs

- one subject, every graph, every model, every mark
6 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 10 of 10 · MATH11029

CTMC Stationarity, Queues and Costs

Balance stationary rates and normalize

A CTMC stationary distribution satisfies pi Q=0, nonnegativity and total mass one. Each component equation balances probability flow into and out of a state. In a birth-death process, detailed balance pairs adjacent flows and yields a recursion for stationary masses.

The resulting coefficients must have a finite sum before they can be normalized into probabilities.

Interpret queue stability before using formulas

For an M/M/1 queue, utilization rho=lambda/mu measures offered load relative to service capacity. Stationary masses pi_n=(1-rho)rho^n exist only when rho is below one.

At or above one, average incoming work is at least available service and the geometric series fails to normalize. Stability is a modelling conclusion, not a denominator detail.

When stable, pi_0 is the long-run idle fraction and one minus pi_0 equals utilization. The mean number in the system is rho/(1-rho), which rises sharply as rho approaches one.

State whether a requested queue length includes the customer in service or counts only those waiting.

Use generator boundary systems

CTMC hitting probabilities satisfy Qh=0 on interior states with fixed boundary values. Mean hitting times satisfy Qg=-1 with zero target values.

The embedded chain often gives the same hitting probabilities because only jump order matters, but mean times depend on the holding rates and cannot be copied from step counts.

Match rewards to elapsed time

If c(i) is cost per unit time in state i and the chain is irreducible positive recurrent, long-run average cost is the stationary weighted sum of c(i). A reward paid only at jumps uses another model.

Always report units and state the recurrence condition that justifies stationary averaging.

Sensitivity checks complete the analysis. Increasing arrival rate at fixed service rate raises utilization and congestion. Increasing service rate lowers them. Scaling both rates together leaves stationary proportions unchanged but speeds the process in calendar time.

In this chapter

What this chapter covers

  • 01

    Global Balance

  • 02

    Detailed Balance

  • 03

    Birth-Death Stationarity

  • 04

    Queue Stability

  • 05

    CTMC First Passage

  • 06

    Long-Run Cost

Worked example · free

Find a stable queue distribution

Q [8 marks]. AskSia-authored practice. An M/M/1 queue has arrival rate two per hour and service rate three per hour. Find utilization, idle fraction, stationary mass and mean system size. The weighting is a study aid, not a University marking scheme.
Expected system size accelerates as utilization approaches one.Expected system size accelerates as utilization approaches one. The red curve rises toward the dashed stability boundary because the denominator one minus rho shrinks.mean queue lengthutilisation ρ approaches oneinstability boundary
Expected system size accelerates as utilization approaches one. The red curve rises toward the dashed stability boundary because the denominator one minus rho shrinks.
  • 2Compute and test utilization.
  • 2Write the normalized geometric masses.
  • 1Identify the idle fraction.
  • 3Calculate and interpret mean system size.
Utilization is rho=2/3, which is below one, so a stationary distribution exists. The masses are pi_n=(1/3)(2/3)^n, making pi_0=1/3 the idle fraction. The mean number in the system is rho/(1-rho)=(2/3)/(1/3)=2. This includes any customer in service as well as customers waiting.
Sia tip — Write rho below one before any stationary queue formula; otherwise the geometric expression is not a probability distribution.
Glossary

Key terms

Global Balance
Global Balance equates total stationary flow into each state with total flow out.
Birth-Death Balance
Birth-Death Balance pairs stationary flows between adjacent states.
Utilization
Utilization is arrival rate divided by service rate in an M/M/1 queue.
Idle Fraction
Idle Fraction is the stationary probability that a queueing system contains no customers.
Long-Run Cost
Long-Run Cost is stationary average cost per unit time under positive recurrence.
FAQ

CTMC Stationarity, Queues and Costs FAQ

Why must utilization be below one?

In an M/M/1 queue, rho below one means average service capacity exceeds incoming work. It also makes the geometric stationary masses summable. At rho at least one, the normalization diverges and the queue does not have the stated stationary distribution.

What does the stationary queue mean count?

The standard M/M/1 state is the total number of customers in the system, including any customer in service. Its mean rho/(1-rho) therefore differs from the mean number waiting in the queue. Define the state before attaching an operational interpretation.

Why do CTMC hitting times use Qg=-1?

First-step conditioning includes the expected holding time before the next jump. Multiplying the embedded-chain equation by the total departure rate produces the generator equation with right side negative one. Hitting probabilities have zero on the interior because they accumulate no elapsed time.

How is a long-run cost rate checked?

Multiply each cost per unit time by the corresponding stationary probability and sum. The result keeps cost-per-time units. Then change a high-cost state's mass or cost and predict the direction. If positive recurrence is unavailable, the stationary averaging argument cannot be used as written.

Study strategy

Exam move

Draw the birth-death rate diagram, derive adjacent stationary ratios and test whether they normalize. For queues, calculate utilization before any other quantity and interpret state zero. Pair one hitting-probability system with its mean-time version, then add a state cost and track the output units. Compute queue means at several utilization levels to see the nonlinear rise near capacity.

Distinguish number in the system from number waiting by identifying the customer in service. For a finite-capacity model, connect top-state mass to blocking and explain how that boundary changes the rate diagram and normalization.

Working through CTMC Stationarity, Queues and Costs in MATH11029? Sia is AskSia’s AI Mathematics tutor — ask any MATH11029 CTMC Stationarity, Queues and Costs question and get a clear, step-by-step explanation grounded in how MATH11029 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 10 of your subjects at The University of Edinburgh, plus 1,000+ more Bibles across the AskSia library.
Sia - your MATH11029 tutor, unlimited, worked the way the exam marks it
The full 3-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works