Transition Matrices & Markov Chains (DP IB Maths: AI HL)

Topic Questions

4 hours21 questions
1a
Sme Calculator
1 mark

It is known that in the town of Nikudy the weather displays the following patterns:

  • If it rains on one day then there is a probability of 0.6 that it will rain on the following day

  • If it does not rain on one day then there is only a probability of 0.2 that it will rain on the following day

Represent this information as

(i)
a transition state diagram

(ii)
Indented a transition matrix
1b
Sme Calculator
1 mark

Let bold italic T be the transition matrix found in part (a)(ii).

Find bold italic T squared.

1c
Sme Calculator
1 mark

Hence find the probability that it will rain on Wednesday, given that it did not rain on the preceding Monday.  Justify your answer.

Did this page help you?

2a
Sme Calculator
2 marks

In a robotics lab a robot is programmed to move randomly between three different locations, AB and C, according to a fixed set of probabilities.  At each ‘step’ of the robot’s movement about the lab, the robot will either remain where it is or else move to another location according to the probabilities in the following transition state diagram:


ma2a-4-13-transition-matrices-_-markov-chains-ib-ai-hl-medium-maths

Write down the transition matrix T for this system of probabilities.

2b
Sme Calculator
3 marks

Given that the robot begins at location C, find the probabilities that the robot will be at locations A, B or C three steps later.

2c
Sme Calculator
4 marks

By considering the matrices T to the power of 50 and T to the power of 100, determine the long-term probabilities of the robot being found at locations straight A comma straight B  or straight C.  State whether or not these probabilities depend on the robot’s starting position.

Did this page help you?

3a
Sme Calculator
2 marks

Two social media influencers, Mememe and EegoTiss, are in a constant struggle to steal each other’s followers.  No one who follows Mememe will ever follow EegoTiss at the same time, and no one who follows EegoTiss will ever follow Mememe at the same time.  Each week, however, 15% of the people who follow Mememe switch to following EegoTiss and 20% of the people who follow EegoTiss switch to following Mememe.  It may be assumed that there are no other gains or losses of followers by the two influencers.

Write down a transition matrix bold italic T representing the movement of followers between the two influencers in a particular week.

3b
Sme Calculator
3 marks

Initially Mememe and EegoTiss each have 7000 followers.

(i)
Write down the initial state vector bold italic s subscript 0 for the system.

(ii)
Find the product bold italic T to the power of 5 bold italic s subscript 0.

(iii)
Hence determine the number of followers that Mememe and EegoTiss will each have after five weeks.
3c
Sme Calculator
3 marks

Find the number of followers that Mememe and EegoTiss will each have in the long term.

3d
Sme Calculator
2 marks

Find the total number of followers per week in the long term who will change from following one influencer to following the other.

Did this page help you?

4a
Sme Calculator
3 marks

In a videogame three mighty wizards – Eugenes (straight E), Ischyros (straight I) and Skleros (straight S) – are attempting to create armies of magical followers. They do this by magically changing members of the other armies into members of their own armies.  This happens in the following ways:

  • Eugenes’ army is made up of unicorns. During each turn of the game he quietly turns 40% of Ischyros’ myrmidons and 40% of Skleros’ orcs into unicorns.

  • Ischyros’ army is made up of myrmidons. During each turn of the game he powerfully turns 20% of Eugenes’ unicorns and 50% of Skleros’ orcs into myrmidons.

  • Skleros’ army is made up of orcs. During each turn of the game he wickedly turns 20% of Eugenes’ unicorns and 50% of Ischyros’ myrmidons into orcs.

There is no other way for the numbers of creatures in each of the wizard’s armies to increase or decrease.

Write down a transition matrix bold italic T representing the changes in the wizards’ armies from turn to turn.

4b
Sme Calculator
3 marks

At the start of a particular game Eugenes has 10 unicorns, Ischyros has 80 myrmidons, and Skleros has 350 orcs.

Find the number of creatures in each wizard’s army after one turn.

4c
Sme Calculator
3 marks

Find the number of creatures that each wizard can expect to have in his army if the game continues for a large number of turns.

Did this page help you?

5a
Sme Calculator
1 mark

The marketing department of ShedHead brand shampoo (“It makes you look like you woke up in a garden shed!”) is attempting to predict the percentage of potential customers who will purchase its product month by month in the future.

One marketing researcher believes that the probability of a potential customer buying ShedHead shampoo one month depends on what shampoo they bought the previous month, as well as what shampoo they bought the month before that.

Explain why a Markov chain cannot be used to represent month by month sales for this marketing researcher’s model.

5b
Sme Calculator
2 marks

Another marketing researcher believes that what shampoo a potential customer purchases one month depends only on what shampoo the customer purchased the previous month. Her research shows that if a customer buys ShedHead shampoo one month then there is a 93% chance they will buy it again the following month, while if a customer does not buy ShedHead shampoo one month then there is only a 5% chance that they will buy it the following month.

Write down a transition matrix bold italic T representing customer behaviour according to this researcher’s model.

5c
Sme Calculator
5 marks

Currently 20% of potential customers buy ShedHead shampoo.

Find the probability that a randomly selected potential customer

(i)
will purchase ShedHead shampoo next month

(ii)
will purchase ShedHead shampoo in the long term.

Did this page help you?

6a
Sme Calculator
2 marks

A delivery company operates a fleet of lorries serving three major cities, straight A, straight B and straight C. Past experience shows that if a lorry starts a week in city straight A there is a 70% chance that it will still be in city straight A at the start of the following week; otherwise there is a 20% chance that it will be in city straight B and a 10% chance that it will be in city straight C. If a lorry starts a week in city straight B there is an 80% chance that it will still be in city straight B at the start of the following week; otherwise it is equally likely to be in city straight A or city straight C. If a lorry starts a week in city straight C there is a 90% chance that it will still be in city straight C at the start of the following week; otherwise it will be in city straight A, with no chance of it being in city straight B.

Write down a transition matrix straight T representing the movement of the company’s lorries from week to week according to the above information.

6b
Sme Calculator
3 marks

By solving the system of linear equations represented by

               bold italic T bold italic p bold equals bold italic p 

determine a steady state vector bold italic p equals open parentheses table row a row b row c end table close parentheses  corresponding to matrix bold italic T.

6c
Sme Calculator
2 marks

The company is about to replace its entire fleet of lorries with a fleet of 280 brand new lorries.

Suggest how the company should initially distribute the new lorries between cities straight A, straight B and straight C. Be sure to justify your answer.

Did this page help you?

7a
Sme Calculator
2 marks

In the town of Manh, all the residents belong to either one or the other of the town’s two fitness clubs – Giang’s House of Fitness (G) or Thu’s Wonder Gym (T). Each year 30% of the members of straight G switch to straight T and 25% of the members of straight T switch to straight G. Any other losses or gains of members by the two fitness clubs may be ignored.

Write down a transition matrix bold italic T representing the movement of members between the two clubs in a particular year.

7b
Sme Calculator
4 marks

Find the eigenvalues and corresponding eigenvectors of bold italic T.

7c
Sme Calculator
2 marks

Hence write down matrices bold italic P and bold italic D such that bold italic T equals bold italic P bold italic D bold italic P to the power of negative 1 end exponent.

7d
Sme Calculator
6 marks

Initially there are 2500 members of straight G and 800 members of straight T.

Using the matrix power formula, show that the numbers of members of straight G and straight T after n years will be open parentheses 1500 plus 1000 space open parentheses 0.45 to the power of n close parentheses close parentheses and open parentheses 1800 minus 1000 open parentheses 0.45 to the power of n close parentheses close parentheses, respectively.

7e
Sme Calculator
2 marks

Hence write down the number of customers that each of the fitness clubs can expect to have in the long term.

Did this page help you?

1a
Sme Calculator
4 marks

It is known that in the legendary frozen town of Kholod the weather displays the following patterns: 

  • If it snows on one day then there is a probability of 0.8 that it will snow on the following day 
  • If it does not snow on one day then there is a probability of 0.6 that it will also not snow on the following day 

Represent this information as 

(i)     a transition state diagram 

(ii)    a transition matrix.

1b
Sme Calculator
4 marks

Let T be the transition matrix found in part (a)(ii).

By first finding an appropriate power of the matrix T, find the probability that it will snow on Friday, given that it did not snow on the preceding Tuesday.

Did this page help you?

2a
Sme Calculator
2 marks

Bartolomé is a professional probabilist who has devised a way to save money on lodging.  He has decided he can spend each day working in cafés in one of three cities A,B, and C.  Then each night he will sleep on an overnight train travelling between the cities (or in some cases returning by morning to the same city from which it left).  Due to his fondness for probability, Bartolomé has determined to allow his movement between the cities each night to be subject to the probabilities in the following transition state diagram:

mi-q2a-4-13-transition-matrices-_-markov-chains-ib-ai-hl-hard-maths_dig

Write down the transition matrix T for this system of probabilities.

2b
Sme Calculator
4 marks

One Friday, Bartolomé spends the day in the same city where he spent the preceding Monday.  Determine the probabilities of this having happened for each of the cities.

2c
Sme Calculator
3 marks

Find the long-term probabilities of Bartolomé spending a given day in cities A comma space B or C.

Did this page help you?

3a
Sme Calculator
2 marks

Two bands from Wem, WeDaBoyz and Grrl Pow-R, are the megastars of the new W-Pop scene.  At any one time, no fan of WeDaBoyz will ever also be a fan of Grrl Pow-R, and no fan of Grrl Pow-R will ever also be a fan of WeDaBoyz.  Each week, however, 17% of WeDaBoyz’s fans switch to become fans of Grrl Pow-R, and 13% of Grrl Pow-R’s fans switch to become fans of WeDaBoyz.  It may be assumed that there are no other gains or losses of fans by the two bands.

Write down a transition matrix T representing the movement of fans between the two bands in a particular week.

3b
Sme Calculator
1 mark

Initially WeDaBoyz has 4000 fans and Grrl Pow-R has 2300 fans.

Write down the initial state vector s subscript 0 for the system.

3c
Sme Calculator
3 marks

Determine the number of fans that WeDaBoyz and Grrl Pow-R will each have after four weeks.

3d
Sme Calculator
5 marks

Find

(i)
the number of followers that WeDaBoyz and Grrl Pow-R will each have in the long term,
(ii)
the total number of people per week in the long term who will change from being a fan of one band to being a fan of the other.

Did this page help you?

4a
Sme Calculator
4 marks

On a mystery cruise, each passenger is assigned to one of three groups – suspects, investigators or red herrings.  At a special ‘reveal’ event each night, passengers are reassigned roles according to the following scheme: 

  • Due to additional revealed information about the fictional crime, half the suspects become red herrings while one twentieth of them become investigators 
  • Due to revealed events from their fictional pasts, one third of the investigators become suspects and one tenth become red herrings 
  • Due to revealed disambiguations, all of the red herrings become either suspects or investigators, with five becoming suspects for each two that become investigators 

There is no other way for the numbers of passengers in each of the three roles to increase or decrease.  Initially there are 2100 suspects, 15 investigators, and 885 red herrings. 

Write down a transition matrix T and an initial state vector s subscript 0 representing the movement of passengers between the three roles from night to night.

4b
Sme Calculator
3 marks

Determine the number of nightly reveals will it take until the number of investigators exceeds 650.

4c
Sme Calculator
5 marks

If the cruise continued for an indefinite period of time, find

(i)
the number of passengers in the long term who would end up assigned to each role at the end of a given night,
(ii)
the number of passengers who would not change roles on any given night.

Did this page help you?

5a
Sme Calculator
1 mark

The marketing department of BreadHead brand shampoo (“It makes you look like you have breadcrumbs in your hair!”) is attempting to predict the percentage of potential customers who will purchase its product month by month in the future. 

The lead marketing researcher reports that, according to his research, there is only a 3% chance that a potential customer who buys BreadHead shampoo one month will buy it again the following month.  On the other hand, due to product placement deals with a number of popular social media influencers, there is a 99% chance that a potential customer who does not buy BreadHead shampoo one month will buy it the following month. 

Explain what assumption the marketing researcher would need to make in order to use a Markov chain to predict month by month sales according to his research.

5b
Sme Calculator
5 marks

The researcher decides to model the situation using a Markov chain.  It is known that currently 5% of potential customers buy BreadHead shampoo. 

Find the probability that a randomly selected potential customer 

(i)     will purchase BreadHead shampoo next month, 

(ii)    will purchase BreadHead shampoo in the long term.

5c
Sme Calculator
3 marks

Criticise the model, in particular the researcher’s decision to use a Markov chain.

Did this page help you?

6a
Sme Calculator
5 marks

An electric car hire company offers one-day hires from three hire centres located in a large city – one at the Airport (A), one at the Breakdancing Museum (B), and one in the City Centre (C).  Past experience shows that 82% of cars hired at A are returned to A; otherwise they are twice as likely to be returned to C as they are to B.   Only 12% of cars hired at B are returned to B, with 48% being returned to A and the rest returned to C.  Of cars hired at C, 64% are returned to C, with equal numbers of the remainder returned to A and B. 

By solving a system of linear equations represented by T p equals p, for an appropriately defined matrix T, determine a steady state vector p corresponding to T.

6b
Sme Calculator
4 marks

After a one-week shutdown for maintenance, the company is about to redistribute its entire fleet of 725 cars between its three locations. 

(i)
Suggest how the answer to part (a) might be used by the company to decide how many cars should initially be placed in locations A,B and C.  Be sure to justify your answer.      
(ii)
Explain why the distribution of cars in part (b)(i) might not necessarily be the best way for the company to distribute their hire cars.

Did this page help you?

7a
Sme Calculator
2 marks

In the town of Petersham, all the residents belong to either one or the other of the town’s two curling clubs – the Slippery Sliders (S) or the Wild Sweepers (W).  Competition between the clubs is fierce, and members tend to be quite loyal.  Still, each year 2% of the members of S switch to W and 3% of the members of W switch to S.  Any other losses or gains of members by the two curling clubs may be ignored.

Write down a transition matrix bold italic T representing the movement of members between the two clubs in a particular year.

7b
Sme Calculator
6 marks

Diagonalise the matrix bold italic T by writing it in the form bold italic T equals bold italic P bold italic D bold italic P to the power of negative 1 end exponent for appropriate matrices bold italic P and bold italic D.

7c
Sme Calculator
6 marks

Initially there are 574 members of  and 621 members of W.

Show that the numbers of members of S and W after n years will be open parentheses 717 minus 143 open parentheses 0.95 to the power of n close parentheses close parentheses    and open parentheses 478 plus 143 open parentheses 0.95 to the power of n close parentheses close parentheses , respectively.

7d
Sme Calculator
2 marks

Hence write down the number of members that each of the curling clubs can expect to have in the long term.

Did this page help you?

1a
Sme Calculator
4 marks

Blythe is a chess player whose results in games during tournaments are strongly affected by the result of the immediately preceding game: 

  • If he wins a game, his increased confidence means that the probabilities for him winning, drawing or losing the next game are 0.38, 0.35 and 0.27 respectively. 
  • If he draws a game, his feeling of calm means that the probabilities for him winning, drawing or losing the next game are 0.24, 0.57 and 0.19 respectively. 
  • If he loses a game, his desire for retribution means that the probabilities for him winning, drawing or losing the next game are 0.47, 0 and 0.53 respectively. 

Represent this information as 

(i)     a transition state diagram 

(ii)    a transition matrix

1b
Sme Calculator
4 marks

Blythe is playing in a five-day tournament, and he will be playing one game on each of the five days.  His game on the last day of the tournament is against his arch-rival Rob Skodur.  Blythe does not care how he does in the rest of the tournament, as long as he wins against Rob Skodur on the final day. 

Determine the result Blythe should seek in his first game of the tournament, to maximise his chances of winning against Rob Skodur on the final day.  Be sure to justify your answer.

Did this page help you?

2a
Sme Calculator
2 marks

Paul is a pizza fanatic, and he has his dinner every night in one of three pizza restaurants – the Athol House of Pizza (A), Lenny and John’s Pizzeria (L), or Original Pizza II (O).  Depending on where he has eaten on one night, his choice of restaurant the following night is determined according to the probabilities in the following transition state diagram:

mi-q2a-4-13-transition-matrices-_-markov-chains-ib-ai-hl-vhard-maths_dig

Write down the transition matrix T for this system of probabilities.

2b
Sme Calculator
7 marks

Determine the probabilities that, in the long term, 

(i)
Paul will have dinner on Monday night in the same restaurant in which he had dinner on Saturday night 
(ii)
where Paul has dinner on Friday night is also where he had dinner on both Wednesday and Thursday nights.

Did this page help you?

3a
Sme Calculator
4 marks

All members of the Pwll y Felin Mathematics Society are fans of either quaternions or of octonions as being their favourite normed division algebra.  At any one time, no quaternions fan will ever also be a fan of octonions, and no octonions fan will ever also be a fan of quaternions.  Each week, however, due to ongoing mathematical discoveries, 3.5% of the quaternion fans switch to become octonion fans, and 1.75% of the octonion fans switch to become quaternion fans. It may be assumed that there are no other changes in the numbers of fans of each of the two normed division algebras. 

Initially there are 45240 members of the society, and they are evenly split between fans of quaternions and fans of octonions. 

Use a matrix method to determine the number of fans that each normed division algebra will have after six weeks.

3b
Sme Calculator
4 marks

Determine the number of society members in the long term who will not change which normed division algebra they are a fan of from any given week to the next.

Did this page help you?

4a
Sme Calculator
4 marks

The hero Odysseus has landed on the island of Aiaia. The island is ruled by the sorceress Circe who has turned all 600 of Odysseus’ followers into beasts.  However the goddess Athena has come to help Odysseus, and with her help and his own herbal medicine skills Odysseus hopes to be able to turn his followers back into men and leave the island.  Each month on the island: 

  • Athena turns 15% of the beasts back into men, and turns another 55% of the beasts into half-beasts that will be easier for Odysseus to cure with his herbs 
  • Odysseus uses his herbs to turn 3% of the beasts and 60% of the half-beasts back to men 
  • Circe uses her spells to turn 17% of the men and 20% of the half-beasts back into beasts 

There is no other way for Odysseus’ followers to change between forms, and at any one time each of the followers will be either a ‘man’ or a ‘half-beast’ or a ‘beast’. 

Write down a transition matrix T and an initial state vector s subscript 0representing the transformations of Odysseus’ followers from month to month.

4b
Sme Calculator
3 marks

Show that Odysseus can never get all of his followers turned back into men at the same time.

4c
Sme Calculator
3 marks

Odysseus decides that he will have to leave the island once no more than 130 of his followers are in beast form.  Although he will have to leave the beasts behind, he will be able to take all the rest of his followers and cure the half-beasts during the journey home. 

Find (i) the whole number of months it will be before Odysseus can leave Aiaia, and (ii) the respective numbers of half-beasts and of men he will have with him on the journey home.

4d
Sme Calculator
3 marks

Determine the long-term fate of Odysseus’ followers if Odysseus did not have Athena’s help, but all other factors remained the same.

Did this page help you?

5a
Sme Calculator
2 marks

The marketing department of DeadHead brand shampoo (“It makes you look like you’re stuck in a time warp from 1967!”) is attempting to predict the percentage of potential customers who will purchase its product month by month in the future. 

The lead marketing researcher claims that most of the potential customers for DeadHead shampoo have very short memories, and will not remember what shampoo they have used or how well it has worked for more than a month. 

Explain why the lead researcher’s claim, if it were true, would support the use of a Markov chain to model DeadHead shampoo’s month-on-month market share of potential customers.

5b
Sme Calculator
2 marks

Suggest a counter-claim that, if it were true, would suggest that a Markov chain is not a suitable method for modelling DeadHead’s month-on-month market share.

5c
Sme Calculator
5 marks

Currently 13% of potential customers buy DeadHead shampoo.  Research suggests that there is a 98% chance that a potential customer who buys DeadHead shampoo one month will buy it again the following month.  On the other hand, there is only a 5% chance that a potential customer who does not buy DeadHead shampoo one month will switch to buying DeadHead shampoo the following month. 

Assuming that a Markov chain may be used to model the situation, find the probability that a randomly selected potential customer 

(i)     will purchase DeadHead shampoo two months from now 

(ii)    will purchase DeadHead shampoo in the long term.

Did this page help you?

6a
Sme Calculator
5 marks

A canoe hire company offers one-day canoe rentals from its three locations in towns on the Millers River – one in Athol (A), one in Orange (O), and one in Millers Falls (M).  Past experience shows that two-fifths of canoes hired at A are returned to A; otherwise they are half as likely to be returned to O as they are to M.   Only 4% of canoes hired at O are returned to O, with seven of the remainder being returned to M for each one that is returned to A.  Of canoes hired at M, 80% are returned to M, with two fifths of the remainder returned to O and the rest returned to A. 

By solving an appropriate system of linear equations, determine a steady state vector for the number of canoes at each of the three locations.

6b
Sme Calculator
2 marks

The hire company owns a total of 468 hire canoes.  The owner of the company would like to minimise the number of road trips that need to be made to shuttle canoes between the three locations.

Suggest how the owner might distribute the canoes between locations A, O and M in order to minimise the number of road trips. Be sure to justify your answer.

6c
Sme Calculator
2 marks

Athol lies upstream of Orange, which in turn lies upstream of Millers Falls. 

Given this additional information, explain why the answer to part (b) might not be the best way for the business to distribute its hire canoes between the three locations.

Did this page help you?

7a
Sme Calculator
13 marks

In the town of Sodden Chipsbury, all the residents support either one or the other of the town’s two lawn bowling teams – the Barnstorming Boulists (B) or the Jackanapes (J).  Feelings run high, and supporters of rival teams will sometimes even refuse to chat about the weather with each other.  Yet supporters are also fickle, and each year 9% of the supporters of B switch to supporting J and 7% of the supporters of J switch to supporting B.  Any other losses or gains of supporters by the two teams may be ignored. 

Initially there are 2824 supporters of B and 2232 supporters of J. 

Use a matrix method to show that the numbers of supporters of B and J after n years will be  open parentheses 2212 plus 612 open parentheses 0.84 to the power of n close parentheses close parentheses  and open parentheses 2844 minus 612 open parentheses 0.84 to the power of n close parentheses close parentheses   respectively.

7b
Sme Calculator
3 marks

Hence determine the number of years it will be until the Jackanapes have more supporters than the Barnstorming Boulists.

7c
Sme Calculator
3 marks

Write down the number of supporters each team will have in the long term, being sure to justify your answer

Did this page help you?