ArticleslgStudy

science

Absorbing Markov chain

Absorbing Markov chain is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Absorbing Markov chain rather than just read about it. In short: In the mathematical theory of probability, an absorbing Markov chain is a Markov chain in which every state can reach an absorbing state. An absorbing state is a state that, once entered, cannot be left.

Absorbing Markov chain — main illustration
Absorbing Markov chain — illustration

Key takeaways

  • Absorbing Markov chain belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Absorbing Markov chain to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Absorbing Markov chain from memory before moving on to harder problems.

Reference excerpt

In the mathematical theory of probability, an absorbing Markov chain is a Markov chain in which every state can reach an absorbing state. An absorbing state is a state that, once entered, cannot be left. Like general Markov chains, there can be continuous-time absorbing Markov chains with an infinite state space. However, this article concentrates on the discrete-time discrete-state-space case.

Formal definition A Markov chain is an absorbing chain if

there is at least one absorbing state and it is possible to go from any state to at least one absorbing state in a finite number of steps. In an absorbing Markov chain, a state that is not absorbing is called transient.

Canonical form Let an absorbing Markov chain with transition matrix P have t transient states and r absorbing states. The rows of P represent sources, while columns represent destinations. By ordering the transient states before the absorbing states, it can be assumed that P has the form

P=[QR𝟎Ir], where Q is a t-by-t matrix, R is a nonzero t-by-r matrix, 0 is an r-by-t zero matrix, and Ir is the r-by-r identity matrix. Thus, Q describes the probability of transitioning from some transient state to another while R describes the probability of transitioning from some transient state to some absorbing state. The probability of transitioning from i to j in exactly k steps is the (i,j)-entry of Pk, further computed below. When considering only transient states, the probability is found in the upper left of Pk, the (i,j)-entry of Qk.

Fundamental matrix

Expected number of visits to a transient state A basic property about an absorbing Markov chain is the expected number of visits to a transient state j starting from a transient state i (before being absorbed). This can be established to be given by the (i, j) entry of so-called fundamental matrix N, obtained by summing Qk for all k (from 0 to ∞). It can be proven that

N:=∑k=0∞Qk=(It−Q)−1, where It is the t-by-t identity matrix. The computation of this formula is the matrix equivalent of the geometric series of scalars, ∑k=0∞qk=11−q. With the matrix N in hand, also other properties of the Markov chain are easy to obtain.

Expected number of steps before being absorbed The expected number of steps before being absorbed in any absorbing state, when starting in transient state i can be computed via a sum over transient states. The value is given by the ith entry of the vector

𝐭:=N𝟏, where 1 is a length-t column vector whose entries are all 1.

Absorbing probabilities By induction,

Pk=[Qk(It−Qk)NR𝟎Ir]. The probability of eventually being absorbed in the absorbing state j when starting from transient state i is given by the (i,j)-entry of the matrix

B:=NR. The number of columns of this matrix equals the number of absorbing states r. An approximation of those probabilities can also be obtained directly from the (i,j)-entry of Pk for a large enough value of k, when i is the index of a transient, and j the index of an absorbing state. This is because

(limk→∞Pk)i,t+j=Bi,j.

Transient visiting probabilities The probability of visiting transient state j when starting at a transient state i is the (i,j)-entry of the matrix

H:=(N−It)(Ndg)−1, where Ndg is the diagonal matrix with the same diagonal as N.

Variance on number of transient visits The variance on the number of visits to a transient state j with starting at a transient state i (before being absorbed) is the (i,j)-entry of the matrix

N2:=N(2Ndg−It)−Nsq, where Nsq is the Hadamard product of N with itself (i.e. each entry of N is squared).

Variance on number of steps The variance on the number of steps before being absorbed when starting in transient state i is the ith entry of the vector

(2N−It)𝐭−𝐭sq, where tsq is the Hadamard product of t with itself (i.e., as with Nsq, each entry of t is squared).

Examples

String generation Consider the process of repeatedly flipping a fair coin until the sequence (heads, tails, heads) appears. This process is modeled by an absorbing Markov chain with transition matrix

P=[1/21/20001/21/201/2001/20001].

The first state represents the empty string, the second state the string "H", the third state the string "HT", and the fourth state the string "HTH". Although in reality, the coin flips cease after the string "HTH" is generated, the perspective of the absorbing Markov chain is that the process has transitioned into the absorbing state representing the string "HTH" and, therefore, cannot leave. For this absorbing Markov chain, the fundamental matrix is

N=(I−Q)−1=([100010001]−[1/21/2001/21/21/200])−1=[1/2−1/2001/2−1/2−1/201]−1=[442242222]. The expected number of steps starting from each of the transient states is

𝐭=N𝟏=[442242222][111]=[1086]. Therefore, the expected number of coin flips before observing the sequence (heads, tails, heads) is 10, the entry for the state representing the empty string.

Games of chance Games based entirely on chance can be modeled by an absorbing Markov chain. A classic example of this is the ancient Indian board game Snakes and Ladders. The graph on the left plots the probability mass in the lone absorbing state that represents the final square as the transition matrix is raised to larger and larger powers. To determine the expected number of turns to complete the game, compute the vector t as described above and examine tstart, which is approximately 39.2.

Infectious disease testing Infectious disease testing, either of blood products or in medical clinics, is often taught as an example of an absorbing Markov chain. The public U.S. Centers for Disease Control and Prevention (CDC) model for HIV and for hepatitis B, for example, illustrates the property that absorbing Markov chains can lead to the detection of disease, versus the loss of detection through other means. In the standard CDC model, the Markov chain has five states, a state in which the individual is uninfected, then a state with infected but undetectable virus, a state with detectable virus, and absorbing states of having quit/been lost from the clinic, or of having been detected (the goal). The typical rates of transition between the Markov states are the probability p per unit time of being infected with the virus, w for the rate of window period removal (time until virus is detectable), q for quit/loss rate from the system, and d for detection, assuming a typical rate λ at which the health system administers tests of the blood product or patients in question.

… excerpt ends here. Continue reading the full article.

Illustrations

Absorbing Markov chain: A Markov Chain with 4 states for the String Generation problem.
A Markov Chain with 4 states for the String Generation problem.
Absorbing Markov chain: The cumulative probability of finishing a game of Snakes and Ladders by turn N
The cumulative probability of finishing a game of Snakes and Ladders by turn N
Absorbing Markov chain: Classical example of HIV or hepatitis virus screening model
Classical example of HIV or hepatitis virus screening model

Worked examples

Example 1 — a first encounter with Absorbing Markov chain

Start with the simplest possible case. Write down what Absorbing Markov chain claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Absorbing Markov chain before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Absorbing Markov chain ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Absorbing Markov chain

In research
Absorbing Markov chain appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Absorbing Markov chain in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Absorbing Markov chain is common in secondary-school and first-year university syllabi. It links to neighbouring topics Markov models, Markov processes, so understanding it makes those chapters shorter.
In everyday life
Look for Absorbing Markov chain outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Absorbing Markov chain” →

How to study Absorbing Markov chain in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Absorbing Markov chain means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Absorbing Markov chain out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Absorbing Markov chain in simple terms?

In the mathematical theory of probability, an absorbing Markov chain is a Markov chain in which every state can reach an absorbing state. An absorbing state is a state that, once entered, cannot be left.

Why does Absorbing Markov chain matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Absorbing Markov chain?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Absorbing Markov chain.

Tags

  • Markov models
  • Markov processes

Keep exploring