Steady States and Long-Term Behaviour of Markov Chains | Applications and Interpretation IB Maths notes

Free preview: Steady States and Long-Term Behaviour of Markov Chains

What Happens in the Long Run?

Applications and interpretation: HL only (AHL 4.19)

Here's a question a weather forecaster might ask: over a whole year, what fraction of days in this town are sunny? It sounds like it should depend on whether we start on a sunny day or a rainy one. Let's find out.

Take the weather chain from the previous note, T=(0.80.40.20.6) (columns: from S, from R). Start on a sunny day and keep multiplying:

n0123510
P(sunny)10.80.720.6880.6700.667
  • The probabilities settle down. Start on a rainy day instead and they settle to the same values.
  • After many days, today's weather hardly affects the probability of sun far in the future. The chain "forgets" where it started.

Powers of T settle down too

T10=(0.66670.66660.33330.3334) (4 d.p.),Tn→(23231313)

  • Every column becomes the same vector. That vector is the steady state 𝐬.
  • Why the columns agree: column j of Tn is where you end up after n steps starting from state j. If the start no longer matters, every column must be the same.
  • Here 𝐬=(2313): in the long run, about two days in three are sunny.

The steady state

A steady state vector does not change when you take another step:

T𝐬=𝐬,entries of 𝐬 add up to 1

  • Its entries are the long-term probabilities of being in each state.
  • With numbers instead of probabilities, the long-term expected numbers are the total × the steady-state probabilities.

💡 In plain words

  • Steady state = the balance point. Each day as many "sunny" chances flow out to rain as flow back in from rain.
  • Check it: 23×0.2=215 flows from S to R, and 13×0.4=215 flows from R to S. Equal, so nothing changes.

✏️ YOUR TURN 1

Try this first:

Start on a rainy day instead, 𝐬0=(01). Find 𝐬1, 𝐬2 and 𝐬3. What do you notice?

Answer:

  • 𝐬1=(0.40.6) (the R column of T).
  • 𝐬2=(0.8(0.4)+0.4(0.6)0.2(0.4)+0.6(0.6))=(0.560.44).
  • 𝐬3=(0.6240.376).
  • P(sunny) goes 0, 0.4, 0.56, 0.624, ... climbing towards 23, the same value as when we started on a sunny day (that sequence came down towards it).

✏️ YOUR TURN 2

Try this first:

Show that 𝐬=(2313) is a steady state of the weather chain.

Answer:

  • T𝐬=(0.8×23+0.4×130.2×23+0.6×13)=(1.6+0.430.4+0.63)=(2313).
  • So T𝐬=𝐬, and 23+13=1. Both conditions hold.

Finding the Steady State

There are three ways to find the steady state. Use whichever the question allows; they always agree.

Method 1: a high power on the GDC

  1. Enter T and work out a high power, such as T50.
  2. If every column is the same (to the accuracy shown), that column is the steady state.
  3. Try a higher power too. If nothing changes, it has settled.

Method 2: solve the equations

  1. Write 𝐬 with unknowns, one per state.
  2. Write the equations from T𝐬=𝐬, one row at a time. Use all but one of them (one is always redundant).
  3. Add the condition that the entries add up to 1. Why: without it, any multiple of the answer also works.
  4. Solve, by hand or with the simultaneous-equation solver.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in HL: Markov chains (AHL 4.19, with AHL 1.15)

  1. Diagonalising a Matrix and Finding Powers with PDⁿP⁻¹
  2. Markov Chains: Transition Matrices and State Vectors
  3. Steady States and Long-Term Behaviour of Markov Chains

What's inside for this topic

3 teacher notes, 57 practice questions, 28 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Markov Chains: Transition Matrices and State Vectors

All Applications and Interpretation IB Maths topics · IB Maths