The University of Edinburgh · FACULTY OF MATHEMATICS

MATH11029 Chap.8 Continuous-Time Markov Chains

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

Continuous-Time Markov Chains

Read the generator as a rate model

A continuous-time Markov chain occupies a discrete state at every real time. Its generator Q stores instantaneous jump rates. Off-diagonal qij values are nonnegative rates from i to j. The diagonal qii is the negative total departure rate from state i, so each generator row sums to zero.

These are rates, not one-step probabilities.

Separate holding time from destination

Let qi=-qii. The holding time in state i is exponential with rate qi and mean one over qi. Conditional on leaving, the probability of jumping to j is qij/qi. These normalized probabilities form the embedded jump chain.

This factorization answers two different questions: when the next transition occurs and where the process goes.

Construct states before rates

The state must contain enough information for the future evolution to depend only on the present. Exponential service or failure times often make a compact state possible through memorylessness.

With non-exponential durations, elapsed or residual time may need to enter the state. Draw all possible events from each state before writing generator entries, then set the diagonal last.

Recognise birth-death and queue structures

A birth-death process permits only adjacent jumps.

In an M/M/1 queue, arrivals increase customer count at rate lambda and service completions reduce it at rate mu whenever the system is nonempty. The downward rate vanishes at state zero.

In a multi-server system, total completion rate rises with the number of busy servers until capacity is reached.

For a short interval h, an off-diagonal transition probability is approximately qij h and the stay probability is approximately one minus qi h. These are small-time approximations. Finite-time transition probabilities come from P(t), not from relabelling Q as a probability matrix.

In this chapter

What this chapter covers

  • 01

    Continuous-Time Chain

  • 02

    Generator Matrix

  • 03

    Holding Time

  • 04

    Embedded Chain

  • 05

    Birth-Death Process

  • 06

    Queue State

Worked example · free

Construct a repair generator

Q [6 marks]. AskSia-authored practice. A machine is up or down. It fails from up at rate two per day and is repaired from down at rate three per day. Construct Q and interpret the holding times. The weighting is a study aid, not a University marking scheme.
A birth-death generator permits only adjacent jumps.A birth-death generator permits only adjacent jumps. Arrival rates point upward through queue sizes, while service rates point downward and determine each diagonal row sum.0 jobs1 job2 jobsarrival λservice μarrival λservice μ
A birth-death generator permits only adjacent jumps. Arrival rates point upward through queue sizes, while service rates point downward and determine each diagonal row sum.
  • 1Fix state order as up, down.
  • 2Place off-diagonal event rates.
  • 1Set diagonals to negative row sums.
  • 2Invert departure rates for mean holding times.
In state order up, down, Q=[[-2,2],[3,-3]]. The up-state departure rate is two per day, giving a mean up holding time of one half day. The down-state departure rate is three per day, giving a mean repair holding time of one third day. Each row sums to zero, and the embedded chain alternates because each state has only one destination.
Sia tip — Fill off-diagonal rates from events first; use the row-sum rule to determine each diagonal.
Glossary

Key terms

Generator Matrix
Generator Matrix records instantaneous jump rates and has zero row sums.
Holding Rate
Holding Rate is the total rate at which the process leaves its current state.
Holding Time
Holding Time is the exponential duration spent in a state before the next jump.
Embedded Chain
Embedded Chain records jump destinations while ignoring the elapsed holding times.
Birth-Death Process
Birth-Death Process moves only between neighbouring states through upward and downward rates.
FAQ

Continuous-Time Markov Chains FAQ

Why do generator rows sum to zero?

Off-diagonal entries are outgoing jump rates, while the diagonal is defined as their negative total. The sum is therefore zero. This structure ensures that short-time stay probability plus short-time jump probabilities totals approximately one and supports a valid transition matrix P(t).

Can a generator rate be greater than one?

Yes. A rate is measured per unit time and is not a probability. A rate of three per hour means mean exponential waiting time one third of an hour. Probabilities arise after combining a rate with time or normalizing competing outgoing rates.

How is the embedded chain constructed?

For state i, sum outgoing rates to obtain qi. Divide each off-diagonal qij by qi to get the conditional probability of destination j given that a jump occurs. The embedded chain describes jump order but discards holding durations.

Why does state zero have no service transition in a queue?

When the system is empty, no customer can complete service, so the downward event is impossible and its rate must be zero. Retaining a service edge from zero would create a negative customer count or an event with no physical meaning.

Study strategy

Exam move

Build each generator from a rate diagram: states, possible events, off-diagonal rates, then diagonals. For every row, compute the holding mean and embedded probabilities. Compare a queue boundary state with an interior state so impossible service transitions and capacity effects remain visible.

Convert the whole model from hours to minutes and verify that jump probabilities in the embedded chain stay unchanged while holding-time means rescale. Use a two-destination state to practise competing clocks. Finally, test the small-time approximation only for a genuinely short interval and explain why it cannot replace the finite-time transition matrix.

Working through Continuous-Time Markov Chains in MATH11029? Sia is AskSia’s AI Mathematics tutor — ask any MATH11029 Continuous-Time Markov Chains 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