Model a system that moves between states with a transition diagram and a transition matrix, find state probabilities after n steps with sₙ = Tⁿs₀, and find the steady state by high powers, by solving equations or as an eigenvector.
Each is in the Maths AI glossary, with every other term in the subject.
A state of a Markov chain that cannot be left once it is entered, so that the probability of moving from it to itself is 1.
The state vector that describes a Markov chain before the first step, giving the probability of starting in each state or the number starting in each state.
The limit of the probability of being in a given state after steps of a Markov chain as
With a free account, Augment remembers where you stopped and what you have practiced.
A sequence of random states, observed at equal steps, in which the probability of moving to each state at the next step depends only on the current state, and these probabilities stay the same at every step.
The property that the probability of the next state depends only on the current state, and not on the states that came before it.
A Markov chain whose transition matrix has some power in which every entry is strictly positive.
One of the possible conditions a system can be in at a given step of a Markov chain; at each step the system is in exactly one state.
A column vector whose entries give, for each state of a Markov chain, the probability of being in that state (or the number of members in that state) after steps.
A state vector of a Markov chain with whose entries are non-negative and sum to 1, so that a chain with this distribution keeps the same distribution at every later step.
A directed graph whose vertices are the states of a Markov chain and whose edges are arrows labelled with the transition probabilities, including loops for staying in the same state.
The square matrix of a Markov chain whose entry in row and column is the probability of moving from state to state in one step, so that every entry lies between 0 and 1 and each column sums to 1.
The probability that a Markov chain moves from one given state to another given state in one step; denotes the probability of moving from state to state .
Draw a transition diagram for a system that moves between a finite number of states, and complete one from a description.
Write down a transition matrix in which each column holds the probabilities of moving from one state, and interpret any entry in context.
Write down an initial state vector of probabilities or of numbers in each state.
Calculate the state vector after steps with , using the correct number of steps.
Interpret the entries of a power as probabilities of moving between states in exactly steps.
Determine whether a Markov chain is regular, and explain what regularity guarantees about the long term.
Find the steady state by raising the transition matrix to a high power, by solving a system of linear equations, and as the eigenvector for the eigenvalue 1 scaled so that its entries sum to 1.
Give steady-state and long-term probabilities exactly when asked, as fractions or from an eigenvector with integer entries.
Describe the long-term behaviour of a chain with an absorbing state.
Many systems move step by step between a small number of conditions: a day is dry or wet, a customer uses one company or another, a shared bike sits at one of several docking stations, a gambler holds a certain amount of money. When the chance of each move depends only on the present condition, the system can be modelled by a Markov chain. A square table of probabilities, the transition matrix, then turns every question about the future into matrix multiplication, and the long-run behaviour of the system appears as a fixed vector that the matrix leaves unchanged.
Markov chains are used to model weather, the spread of customers between competing firms, the position of a random web surfer, the letters of a language and the moves of a board game. The method draws together probability from subtopics 4.5 and 4.6, matrices from subtopic 1.14 and eigenvectors from subtopic 1.15.
The first step in any Markov model is to list the conditions the system can be in. For a model of the weather in a town, a simple choice is "dry" and "wet" for each day. For a bike-share scheme, it is the docking station at which a bike ends the day. Every observation of the system must fall into exactly one of these conditions, called states.
Choosing the states is a modelling decision. Splitting the weather into "dry", "light rain" and "heavy rain" gives a more detailed model with three states and nine transition probabilities to estimate instead of four. More states describe the system more closely but need more data to estimate their probabilities.
A sequence of states observed at equal steps (days, months, turns of a game) is a chain. In general, the probability of the next state could depend on the whole history: whether it rained yesterday, the day before and the day before that. The simplest useful model assumes that only the present state matters.
With the Markov property, a forecast for tomorrow needs only today's weather. This is an assumption about the system, and real systems satisfy it only approximately: a run of wet days might make another wet day more likely than one wet day alone would. A model that ignores such effects can still describe the long-run proportions well; Markov's chain of vowels and consonants in a Russian novel is an example.
The second condition in the definition, that the probabilities do not change from step to step, matters as much as the first. A chain in which the chance of rain after a dry day is 0.2 in winter and 0.1 in summer would need a different model for each season.
Suppose that in a town (a hypothetical model), a dry day is followed by another dry day with probability 0.8 and by a wet day with probability 0.2. A wet day is followed by a dry day with probability 0.4 and by a wet day with probability 0.6. Each of these four numbers is a conditional probability: the probability of tomorrow's state given today's state.
From any one state, the system must go somewhere at the next step, even if "somewhere" is the same state. The transition probabilities out of each state therefore add up to 1: from a dry day, ; from a wet day, . Checking these sums is a quick way to find a probability that has been misread or left out.
A diagram shows the states and the possible moves at a glance. Each state is drawn as a circle, and each possible move as an arrow labelled with its probability. A move that keeps the system in the same state is drawn as a loop.
The transition diagram of the weather model has two states, two loops and two arrows between the states.

A transition diagram is a directed graph in the sense of subtopic 3.14: the direction of each arrow matters, because the chance of a wet day after a dry one (0.2) differs from the chance of a dry day after a wet one (0.4). An arrow with probability 0 is simply left out.
YouTubeA bike-share scheme in a small city (hypothetical) has docking stations at a park, a harbour and a university. Records show where a bike that starts the day at each station ends the day.
From the Park: 60% end at the Park, 30% at the Harbour, 10% at the University.
From the Harbour: 20% end at the Park, 70% at the Harbour, 10% at the University.
From the University: 25% end at the Park, 15% at the Harbour, 60% at the University.

The diagram makes it easy to see that bikes drift towards the Harbour: it keeps 70% of its own bikes and receives 30% of the Park's. Whether this means the Harbour eventually holds most of the bikes depends on all nine numbers together, which is the question the steady state answers.
The transition probabilities are stored in a square matrix with one row and one column for each state, listed in the same order. The standard convention is that each column describes where the system goes from one state: column holds the probabilities of moving from state , and the entry in row of that column is the probability of moving to state .
For the weather model, with the states in the order dry, wet, the matrix with labels is:
from Dry | from Wet | |
|---|---|---|
to Dry | 0.8 | 0.4 |
to Wet | 0.2 | 0.6 |
Writing "from" across the top and "to" down the side before filling in any numbers prevents the most common error. Each column is one state's set of outgoing probabilities, so each column sums to 1: and . The rows have no such rule: the first row,
For the bike-share scheme, in the order Park, Harbour, University:
Column 1 holds the three percentages for bikes starting at the Park, column 2 those starting at the Harbour, and column 3 those starting at the University. Each column sums to 1.
Some textbooks and websites write transition matrices the other way round, with rows summing to 1 and the state written as a row vector multiplied on the left. Both conventions describe the same chain and give the same answers if one of them is used consistently, with
Because each column sums to 1, a transition matrix with some entries missing can often be completed. Each column with one unknown entry gives that entry at once. Interpreting the entry then needs the convention: an entry's column is where the system comes from and its row is where it goes to.
The transition matrix describes how the system moves; a second object is needed to describe where it is. A state vector is a column vector with one entry for each state, in the same order as the rows and columns of .
The entries can be probabilities, in which case they add up to 1, or numbers of people or objects, in which case they add up to the total population being modelled. The same matrix works for both, because multiplying a vector of counts by moves each fraction of each group to its new state.
A known starting state gives a vector with a single 1 and 0s elsewhere. An uncertain start, such as "a 30% chance that today is wet", gives . A count start, such as 150 bikes at the Park, 100 at the Harbour and 50 at the University, gives
Suppose today is dry with probability and wet with probability . Tomorrow can be dry in two ways: today dry and stays dry, or today wet and turns dry. These two routes are mutually exclusive, so, as with the branches of a tree diagram, their probabilities are multiplied along each route and added across routes.
The two equations are exactly the rows of a matrix multiplication:
This is why the column convention is used. Row of collects every probability of arriving at state , one from each starting state, and the row-by-column product weights each by the probability of being in that starting state. The order of the product matters: is a column vector, while
Each step multiplies the state vector by once more, so the steps chain together:
Continuing in the same way gives the general result. The brackets can be moved because matrix multiplication is associative (subtopic 1.14, Matrices).
A tree diagram over two days shows what contains. Starting from a dry Monday, there are four routes to Wednesday.

The probability of a dry Wednesday given a dry Monday is , which is row 1 of multiplied by column 1 of . The same reasoning applies to every entry, so
In general, the entry in row , column of is the probability of being in state exactly steps after being in state
The power is the number of transitions, not the number of days mentioned. From Monday to Wednesday there are two transitions (Monday → Tuesday → Wednesday), so the power is 2. From day 1 to day 30 there are 29 transitions. From "this week" to "in four weeks' time" with weekly steps there are 4.
Matrix powers by hand are slow and error-prone beyond , and the GDC does them directly.
Enter in the matrix editor (as matrix A, say) with the correct dimensions, column by column from the "from" states.
Enter as a separate matrix with one column (matrix B).
On the home screen, compute , for example
On a TI-84 Plus CE the matrix editor is under 2nd x⁻¹ (MATRIX) → EDIT; on a Casio fx-CG50 it is in the Run-Matrix application. On any model, write down the matrix calculation and the resulting vector, not keystrokes.
When the state vector holds numbers, gives the expected numbers in each state after steps. The results need not be whole numbers, because they are averages over the random moves of every member. They are rounded only at the end, and only as far as the context requires.
Since , the previous state can be recovered with the inverse matrix whenever is non-singular:
Yesterday was dry with probability 0.75. The inverse has negative entries, so it is not a transition matrix and cannot be read as "probabilities of moving backwards"; it only undoes the arithmetic. If going back produces a negative entry, the given vector could not have come from the chain in one step.
Continuing the weather model from a dry day and from a wet day shows a clear pattern. Using the eigenvalues of (1 and 0.4, from subtopic 1.15), the probability of a dry day after steps is
0 | 1 | 2 | 3 | 4 | 5 | 6 | |
|---|---|---|---|---|---|---|---|
P(dry), dry start | 1 | 0.8 | 0.72 | 0.688 | 0.675 | 0.670 | 0.668 |
P(dry), wet start | 0 | 0.4 | 0.56 | 0.624 | 0.650 | 0.660 | 0.664 |
The two sequences approach the same value, , from opposite sides. After about a week, the weather on the starting day has almost no influence on the forecast. The gap from shrinks by a factor of 0.4 each day, which is the second eigenvalue of
The limit is a state vector that one more step leaves unchanged. If settles to a vector , then taking the limit of both sides of
The steady state does not mean the system stops moving. Individual days still switch between dry and wet; what stays fixed is the proportion. In the bike-share scheme in its steady state, bikes still travel between stations every day, but the flows balance so that each station ends each day with the same expected number of bikes.
A long-term probability can also be read as the long-run proportion of steps the system spends in that state. Over a long period in the weather model, about two days in every three are dry.
There are three ways to find the steady state, each suited to a different form of answer. All three give the same result for a regular chain.
For large , every column of approaches the steady state. On the GDC,
The two columns are identical, and this is the sign that the power is high enough. The columns are identical because column of is for a start in state , and in the long run the start does not matter. Multiplying
The high-power method gives decimals. When exact values are needed, a decimal such as 0.667 is not the exact value , and converting it to does not make it exact either: the exact value comes from solving equations.
To find the steady state exactly, write it as with
Both equations simplify to , that is . The two equations always say the same thing, because adding them gives
For an -state chain, gives equations, of which only are independent. Any
The result confirms what the diagram suggested. The Harbour ends up with the largest share, 45%, although it started with only a third of the bikes, and the Park falls from half the bikes to 35%. A scheme operator could use it to plan how many bikes to move back to the Park each night.
Any two-state transition matrix can be written as
where is the probability of moving from state 1 to state 2 and the probability of moving from state 2 to state 1. In the steady state, the expected flow out of state 1 equals the flow into it: . Solving gives
For the weather model, and , so
The equation is the eigenvector equation of subtopic 1.15 with . So the steady state is an eigenvector of
Every transition matrix has 1 as an eigenvalue. Subtracting 1 from each diagonal entry of takes 1 away from exactly one entry in each column, so every column of sums to 0. The rows of then add up to a row of zeros, so they are linearly dependent and
An eigenvector can be multiplied by any non-zero number and remain an eigenvector, so the eigenvector itself is a whole family of vectors pointing the same way. The steady state is the one member whose entries sum to 1. An eigenvector with integer entries is convenient for exact work, because dividing each entry by the sum of the entries gives the exact steady state.
The eigenvector method links Markov chains to diagonalisation. Writing gives
YouTubePlanning often needs the first step at which a probability reaches a given level. The GDC can list for successive , or a formula for can be solved. Because
The answer must be turned back into the context: six steps after Monday is Sunday, not "day 6". Counting the starting day as step 0 avoids an off-by-one error.
The weather and bike-share chains settle to one steady state from any start. Not every chain behaves like this. Two examples show what can go wrong.
A light that switches every second, on to off and off to on, has . The vector
The property that rules out both problems is that, after some fixed number of steps, every state can be reached from every state.
For a regular chain:
there is exactly one steady state, and all its entries are positive;
the columns of all approach that steady state as grows, so approaches a matrix with identical columns;
The second point is how the high-power method works, and the third is why the weather forecast for a day far ahead does not depend on today's weather. A transition matrix with no zero entries at all is regular with .
For a regular two-state chain, the second eigenvalue lies strictly between and 1, so its powers tend to 0 and only the steady-state part survives. For the switching light, and the second eigenvalue is
A negative second eigenvalue, such as , still gives convergence, but then overshoots the steady state on alternate steps, approaching it from above and below in turn. This happens when switching states is more likely than staying, as in Markov's chain of vowels and consonants.
Some chains contain a state that, once entered, is never left: a game that has ended, a customer who has closed an account permanently, a machine that has been scrapped.
In the transition matrix, an absorbing state has a 1 on the leading diagonal in column and 0s in the rest of that column. In the transition diagram it has a loop labelled 1 and no arrows leaving it. A chain with an absorbing state that can be reached from every other state is not regular, because no power of can have a non-zero entry for a move out of the absorbing state.
A board game in which a player's next square depends only on the current square and the roll of a die, such as Snakes and Ladders, can be modelled as an absorbing chain. The squares are the states and the final square is the absorbing state. Powers of the transition matrix give the probability that the game has finished within a given number of turns.
A classic absorbing chain is the gambler's ruin problem. A gambler with £2 bets £1 at a time, winning each bet with probability 0.4 and losing with probability 0.6, and stops on reaching £0 (ruin) or £4 (the target). The states are the amounts of money, £0 to £4, and £0 and £4 are absorbing.

With the states in the order £0, £1, £2, £3, £4, the transition matrix and initial state vector are
The GDC gives
Unlike a regular chain, this chain has a long-term state that depends on where it starts: from £3 the chance of reaching £4 rises to about 0.585. The equation has many solutions, any mixture of "all at £0" and "all at £4", so there is no single steady state, and the columns of do not become identical.
Andrey Markov published his first paper on the chains named after him in 1906, to show that averages can settle down even when successive events are not independent. In 1913 he tested the idea on real data: he took the first 20,000 letters of Alexander Pushkin's novel in verse Eugene Onegin, classified each letter as a vowel (V) or a consonant (C), and counted the pairs of consecutive letters.
Quantity | Count |
|---|---|
Letters | 20,000 |
Vowels (43.2% of letters) | about 8,640 |
Consonants (56.8% of letters) | about 11,360 |
Vowel followed by vowel | 1,104 |
Consonant followed by consonant | 3,827 |
Vowel and consonant pairs in either order | 15,069 |
Source: counts from Markov (1913) as reported by O. Schwartz, IEEE Spectrum, 2019, and H. K. Strick, MacTutor History of Mathematics, St Andrews.
If letters were independent, the probability that a vowel follows a vowel would be the overall proportion of vowels, 0.432, and about vowel–vowel pairs would be expected. Markov found 1,104, less than a third as many. The next letter clearly depends on the current one, so a two-state Markov chain with states V and C is a natural model.
The transition probabilities come from the pair counts. Of the roughly 8,640 vowels, 1,104 are followed by another vowel, and of the roughly 11,360 consonants, 3,827 are followed by another consonant:
The other two probabilities complete each column: and . With the states in the order V, C,
Using the two-state formula with and
The steady state of the chain is 43.2% vowels, the same proportion Markov counted. The agreement follows from how the chain was fitted. In any string of letters, the number of switches from a vowel to a consonant and the number from a consonant to a vowel can differ by at most one, because a run of vowels that starts must end (here each is about 7,535, half of the 15,069 mixed pairs). That is the flow-balance equation of the steady state, written with counts. A chain fitted to a long sequence therefore has a steady state almost exactly equal to the observed proportions, and the model reproduces the text's long-run make-up while also describing how letters follow one another.
The second eigenvalue of is . It is negative because changing state is more likely than staying: a vowel is usually followed by a consonant and a consonant usually by a vowel. Starting from a vowel, the probability that the second letter after it is a vowel is 0.595, then 0.345 for the third: the probabilities overshoot 0.432 on alternate steps while closing in on it, which is the pattern of a language that tends to alternate its sounds.
The model uses only the previous letter. Real text depends on longer stretches: the chance of a vowel after two consonants differs from the chance after one, and Markov himself also counted triples of letters for this reason. The probabilities also belong to one Russian text; another language or another writer would give a different matrix. Four probabilities reproduce the long-run share of vowels accurately, but predictions of longer patterns, such as the chance of three consonants in a row, rest on the Markov property, which the text satisfies only roughly.
Markov chains appear on Paper 1 as short questions (2–8 marks) and on Paper 2 as longer questions (10–15 marks), often combined with eigenvalues and diagonalisation from subtopic 1.15. On Paper 3 they appear inside investigations that link graphs and Markov chains, such as a robot or an animal moving around a maze. The recurring tasks are:
Complete or draw a transition diagram; write down the transition matrix (marks for the right size, entries between 0 and 1, columns summing to 1, then each column correct).
Find a probability or an expected number after steps with .
Find the steady state or long-term probability: by a high power, by solving
What to write down: the transition matrix itself (labelled if helpful), the product used, such as , with the resulting vector, and for a steady state either the high power used with its matrix, or the equations solved, or the eigenvector and its scaling. Markschemes award the method mark for "attempting to raise the transition matrix to a large power", and they condone omitting when the correct column is read from
The examiners' reports on Markov chain questions repeat a few points. Entries are often placed wrongly in the matrix, not only transposed but scrambled; labelling "from" and "to" first prevents this. Exact answers must be exact: a GDC decimal for a long-term probability earns partial credit at most when a fraction is asked for. Candidates who diagonalise a matrix when a GDC power would do tend to make more errors.
Interpretation parts carry a mark only when the direction of the move is clear. For the fitness app, "the probability of becoming Inactive" is not enough for the entry in row 3, column 1; the answer must say that it is the probability that a user who is Active one week is Inactive the next week.
Each school day, Ravi either walks (W) or takes the bus (B). If he walks one day, the probability that he walks the next day is 0.75. If he takes the bus one day, the probability that he walks the next day is 0.5. (a) Write down the transition matrix, with states in the order W, B. [2] (b) Ravi walks on Monday. Find the probability that he walks on Wednesday. [2] (c) Find the exact long-term proportion of days on which Ravi walks. [3]
Find the values of , and in the transition matrix
(a) . (b) Two transitions:
A Markov chain moves between states in steps, and the probability of the next state depends only on the current state (the Markov property).
A transition diagram shows the states as circles and the moves as labelled arrows and loops; the probabilities leaving each state sum to 1.
In the transition matrix, is the probability of moving from state to state : column = from, row = to, and each column sums to 1.
A state vector holds the probability of, or the number in, each state;
I can draw a transition diagram from a description, with loops for staying in a state.
I can write a transition matrix with "from" along the top and "to" down the side, and check that each column sums to 1.
I can find missing entries of a transition matrix and interpret any entry, naming the direction of the move.
I can write an initial state vector of probabilities or of counts.
I can explain why one step of a chain is the multiplication .
I can count the number of transitions between two named days or times correctly.
I can find a probability or expected number after steps with
48 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
Students at Kanoa High School either buy lunch from the cafeteria (C) or bring a packed lunch (P). Each week, a student's choice depends only on their choice the week before, as given by the transition matrix
where the first column and row refer to C and the second column and row refer to P.
Interpret the value 0.3 in context.
1 mark
the probability that a student who brings a packed lunch one week buys from the cafeteria the next week is 0.3 A1
[1 mark]
Find the eigenvalues of .
3 marks
The towns of Ashby and Brookfield have a combined population of 45 000, which stays constant. Each year, 10% of the people living in Ashby move to Brookfield, and 5% of the people living in Brookfield move to Ashby. Nobody else moves into or out of the two towns.
Write down a transition matrix for the movement of people between the two towns in one year.
2 marks
Show that
A car-sharing company keeps its cars at two hubs, the airport (A) and the city centre (C). Each day, a car's hub at the end of the day depends only on its hub at the start of the day, as given by the transition matrix
The entries of the mathematics: applications and interpretation formula booklet that 4.19 uses. Each opens in the explained booklet.
(b) Column 1 is "from H" and column 2 is "from I":
Check: each column sums to 1.
(c) Row 2, column 1 is "to I, from H": 0.18 is the probability that a customer who ordered a hot drink on one visit orders an iced drink on the next visit. The direction of the move (from hot to iced) must be stated.
(a) Find the values of and . [2]
(b) Interpret the value of in context. [1]
(a) Each column sums to 1:
(b) is in row 1 (to W) and column 2 (from B). is the probability that a machine that is broken one morning is working the next morning, for example because it has been repaired overnight.
(a) Monday to Thursday is three transitions. With (wet Monday), the GDC gives
so the probability that Thursday is dry is 0.624 A1. This is the entry in row 1 (to dry), column 2 (from wet) of .
(b) This asks for one particular sequence of states, not the state on one day, so the transition probabilities along the route are multiplied: wet → dry (0.4), dry → wet (0.2), wet → wet (0.6).
The probability is 0.048. A power of would add up all routes to a state, which is not what the question asks.
(a) Find the expected number of bikes at each station at the end of Monday. [2]
(b) Find the expected number of bikes at the Harbour at the end of Thursday. [2]
(a) One step, with :
The expected numbers are 122.5 at the Park, 122.5 at the Harbour and 55 at the University (about 123, 123 and 55 bikes). Check: .
(b) The end of Monday is one step and the end of Thursday is four steps. On the GDC,
so the expected number at the Harbour is 134.66, about 135 bikes A1.
Let . The equations are (M1)
Only two are independent, so use the first two with . Rearranged:
The GDC's simultaneous equation solver gives , , A1. By hand, the third original equation gives
In the long term, the expected numbers are (M1): 105 bikes at the Park, 135 at the Harbour and 60 at the University A1. Check with method 1: every column of is
With (state 1 to state 2) and (state 2 to state 1), the long-term probability of state 1 is (M1)
so , , and A1.
Check with : .
(b) Hence find the exact long-term probability that a regular customer orders a hot drink. [2]
(a) Solve (M1):
Multiplying by 100 and dividing by 6 gives , so an eigenvector is A1 (or any integer multiple).
(b) Scale so that the entries sum to 1: (M1), giving
Check: on the GDC has both columns equal to , and
4 | 5 | 6 | |
|---|---|---|---|
P(dry) | 0.6496 | 0.65984 | 0.663936 |
The probability is below 0.66 for and above it for (A1). Six steps after Monday is the following Sunday A1.
A chain with never moves. Every vector is a steady state, and the long-term state is just the starting state.
(a) has a zero entry, so check its powers:
Every entry of is positive, so the chain is regular R1A1. From state 1 the chain cannot stay in state 1 for one step, but in two steps it can be anywhere.
(b) Column 1 of is : once in state 1, the chain stays there. Every power also has column 1 equal to
0.8894 |
0.8894 |
0.9469 |
The probability first exceeds 0.9 after 8 bets A2. It stays the same from 6 to 7 bets because, starting from £2, the money is even after an even number of bets and odd after an odd number, and play can only stop at the even amounts £0 and £4 after an even number of bets.
Interpret an entry of in words, naming both the state moved from and the state moved to.
Comment on a limitation of the model: transition probabilities assumed constant, the Markov property, movements between steps ignored.
Show that is an eigenvalue, or find the steady state of a matrix with letters as entries.
Award M1 for a 3 × 3 matrix with entries between 0 and 1 and every column summing to 1; A1 for all entries correct. Accept the transpose if used consistently.
(b) (M1)
about 2104 Active users A1 (accept 2100 or 2104.3)
(c) The two-step probability from A to A is the entry in row 1, column 1 of (M1).
so the probability is 0.56 A1 ().
(d) M1
A1
From the second equation, , so and . Then and give
A1A1
Award A1 for two correct entries and A1 for all three; decimals (0.393, 0.286, 0.321) earn at most M1A1A0A0.
(e) , about 1607 Inactive users A1
(f) For example: the weekly transition probabilities are assumed to stay the same over time, but app updates or seasons (New Year, summer) may change them; or users are assumed to join and leave the app in no other way, but new users sign up and others delete the app; or the next week's level is assumed to depend only on this week's level R1
Total [12]
Each month, 6% of the customers of phone company Aster switch to company Birch, and 9% of Birch's customers switch to Aster. No other customers join or leave. At the start, Aster has 40,000 customers and Birch has 60,000. (a) Find the expected number of Aster customers after 6 months. [3] (b) Find the first month in which Aster is expected to have more than 55,000 customers. [3] (c) Find the expected number of Aster customers in the long term. [2]
A Markov chain has transition matrix . (a) Find an eigenvector of for the eigenvalue 1 in the form , . [3] (b) Hence write down the exact long-term probability of being in state 1. [1]
Determine whether each matrix is the transition matrix of a regular Markov chain, giving a reason: (a) ; (b) . [4]
A board game has three positions: Start (S), Middle (M) and Finish (F). On each turn, a player at S stays at S with probability 0.5 and moves to M with probability 0.5. A player at M moves back to S with probability 0.2, stays at M with probability 0.3 and moves to F with probability 0.5. A player who reaches F stays there. (a) Draw a transition diagram and write down the transition matrix, in the order S, M, F. [4] (b) A player starts at S. Find the probability that the player has finished after 4 turns. [2] (c) Find the least number of turns after which the probability of having finished exceeds 0.95. [2]
For Ravi in question 1, the probability that he walks today is 0.7. Find the probability that he walked yesterday. [3]
A two-state transition matrix is , with and . (a) Show that is an eigenvalue of . [2] (b) Show that the steady state vector is . [3]
Explain why each column of a transition matrix must sum to 1, and why its rows need not. [2]
Columns sum to 1: , , . is the probability of moving from state 3 to state 2 in one step.
(a) ; , about 52,457 customers. (b) After 8 months about 54,550 (); after 9 months about 55,368 (): month 9. (c) Long-term share of Aster , so 60,000 customers.
(a) : , so and . (b) .
(a) Regular: it has a zero entry, but its square is , with all entries positive. (b) Not regular: state 2 is absorbing (column 2 is ), so the entry in row 1, column 2 of every power is 0.
(a) Diagram: loop 0.5 on S, S → M 0.5, M → S 0.2, loop 0.3 on M, M → F 0.5, loop 1 on F. . (b) has third entry . (c) gives 0.93825 and gives 0.95482, so 11 turns.
with : , so 0.8.
(a) , so satisfies the characteristic equation. (b) : first row , so , , and .
Column lists the probabilities of every possible next state from state ; the system must move to exactly one state, so they sum to 1. A row lists probabilities of arriving at one state from different starting states, which are conditional on different events, so their sum has no fixed value.
After steps, ; the entry in row , column of is the probability of moving from to in exactly steps. Count transitions, not days.
The steady state satisfies with entries summing to 1. Find it by a high power of (identical columns), by solving of the equations with the sum condition, or as the eigenvector for scaled to sum to 1.
For a two-state chain with switching probabilities (1 to 2) and (2 to 1), the steady state is and the second eigenvalue sets the speed of convergence.
A chain is regular if some power of has all entries positive; it then has a unique steady state, reached from any start.
An absorbing state cannot be left; chains with absorbing states are not regular, and their long-term state depends on the start.
I can tell the probability of a particular sequence of states (multiply along one route) from the probability of being in a state (a power of ).
I can find the steady state from a high power of and recognise identical columns.
I can find an exact steady state by solving with the entries summing to 1.
I can find an integer eigenvector for and scale it into a steady state.
I can explain why every transition matrix has the eigenvalue 1.
I can decide whether a chain is regular by looking at powers of its matrix.
I can recognise an absorbing state and find long-term probabilities for a chain with absorbing states from a high power.
I can state a limitation of a Markov model in context.
(A1)
, A1
[3 marks]
Find an eigenvector for the eigenvalue 1, and hence find the long-term proportion of students who buy lunch from the cafeteria.
3 marks
(M1)
A1
(60%) A1
[3 marks]
2 marks
Hence find the long-term population of each town.
2 marks
where the first column and row refer to A and the second column and row refer to C.
It is given that , where and .
Find .
1 mark
Hence show that, as , .
4 marks
Interpret your answer to part (b) in context.
1 mark