User interface language: English | Español

Date May Example question Marks available 1 Reference code EXM.3.AHL.TZ0.4
Level Additional Higher Level Paper Paper 3 Time zone Time zone 0
Command term Explain Question number 4 Adapted from N/A

Question

This question will connect Markov chains and directed graphs.

Abi is playing a game that involves a fair coin with heads on one side and tails on the other, together with two tokens, one with a fish’s head on it and one with a fish’s tail on it. She starts off with no tokens and wishes to win them both. On each turn she tosses the coin, if she gets a head she can claim the fish’s head token, provided that she does not have it already and if she gets a tail she can claim the fish’s tail token, provided she does not have it already. There are 4 states to describe the tokens in her possession; A: no tokens, B: only a fish’s head token, C: only a fish’s tail token, D: both tokens. So for example if she is in state B and tosses a tail she moves to state D, whereas if she tosses a head she remains in state B.

After n throws the probability vector, for the 4 states, is given by  v n = ( a n b n c n d n ) where the numbers represent the probability of being in that particular state, e.g.  b n  is the probability of being in state B after n  throws. Initially  v 0 = ( 1 0 0 0 ) .

Draw a transition state diagram for this Markov chain problem.

[3]
a.i.

Explain why for any transition state diagram the sum of the out degrees of the directed edges from a vertex (state) must add up to +1.

[1]
a.ii.

Write down the transition matrix M, for this Markov chain problem.

[3]
b.

Find the steady state probability vector for this Markov chain problem.

[4]
c.i.

Explain which part of the transition state diagram confirms this.

[1]
c.ii.

Explain why having a steady state probability vector means that the matrix M must have an eigenvalue of  λ = 1 .

[2]
d.

Find v 1 , v 2 , v 3 , v 4 .

[4]
e.

Hence, deduce the form of  v n .

[2]
f.

Explain how your answer to part (f) fits with your answer to part (c).

[2]
g.

Find the minimum number of tosses of the coin that Abi will have to make to be at least 95% certain of having finished the game by reaching state C.

[4]
h.

Markscheme

    M1A2

[3 marks]

a.i.

You must leave the state along one of the edges directed out of the vertex.   R1

[1 mark]

a.ii.

( 0 0 0 0 1 2 1 2 0 0 1 2 0 1 2 0 0 1 2 1 2 1 )       M1A2

[3 marks]

b.

( 0 0 0 0 1 2 1 2 0 0 1 2 0 1 2 0 0 1 2 1 2 1 ) ( w x y z ) = ( w x y z ) 0 = w , w 2 + x 2 = x , w 2 + y 2 = y , x 2 + y 2 + z = z      M1

w = 0 , x = 0 , , y = 0 , z = 1   since   w + x + y + z = 1   so steady state vector is  ( 0 0 0 1 ) .     A1R1A1

[4 marks]

c.i.

There is a loop with probability of 1 from state D to itself.    A1

[1 mark]

c.ii.

Let the steady state probability vector be s then Ms = 1s showing that (\lambda  = 1\) is an eigenvalue with associated eigenvector of s.    A1R1

[2 marks]

d.

v 1 = ( 0 1 2 1 2 0 ) , v 2 = ( 0 1 4 1 4 2 4 ) , v 3 = ( 0 1 8 1 8 6 8 ) , v 4 = ( 0 1 16 1 16 14 16 )           A1A1A1A1

[4 marks]

e.

v n = ( 0 1 2 n 1 2 n 2 n 2 2 n )          A2

[2 marks]

f.

lim n v n = ( 0 0 0 1 )  the steady state probability vector       M1R1

[2 marks]

g.

Require  2 n 2 2 n 0.95 2 2 n 0.05 n = 6  (e.g. by use of table)      R1M1A2

[4 marks]

h.

Examiners report

[N/A]
a.i.
[N/A]
a.ii.
[N/A]
b.
[N/A]
c.i.
[N/A]
c.ii.
[N/A]
d.
[N/A]
e.
[N/A]
f.
[N/A]
g.
[N/A]
h.

Syllabus sections

Topic 4—Statistics and probability » AHL 4.19—Transition matrices – Markov chains
Show 36 related questions
Topic 4—Statistics and probability

View options