User interface language: English | Español

Date May Example question Marks available 4 Reference code EXM.3.AHL.TZ0.4
Level Additional Higher Level Paper Paper 3 Time zone Time zone 0
Command term Find 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 nn throws the probability vector, for the 4 states, is given by vn=(anbncndn)vn=⎜ ⎜ ⎜anbncndn⎟ ⎟ ⎟ where the numbers represent the probability of being in that particular state, e.g. bnbn is the probability of being in state B after nn throws. Initially v0=(1000)v0=⎜ ⎜ ⎜1000⎟ ⎟ ⎟.

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λ=1.

[2]
d.

Find v1,v2,v3,v4v1,v2,v3,v4.

[4]
e.

Hence, deduce the form of vnvn.

[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.

(0000121200120120012121)⎜ ⎜ ⎜ ⎜ ⎜0000121200120120012121⎟ ⎟ ⎟ ⎟ ⎟      M1A2

[3 marks]

b.

(0000121200120120012121)(wxyz)=(wxyz)0=w,w2+x2=x,w2+y2=y,x2+y2+z=z⎜ ⎜ ⎜ ⎜ ⎜0000121200120120012121⎟ ⎟ ⎟ ⎟ ⎟⎜ ⎜ ⎜wxyz⎟ ⎟ ⎟=⎜ ⎜ ⎜wxyz⎟ ⎟ ⎟0=w,w2+x2=x,w2+y2=y,x2+y2+z=z     M1

w=0,x=0,,y=0,z=1w=0,x=0,,y=0,z=1  since  w+x+y+z=1w+x+y+z=1  so steady state vector is  (0001)⎜ ⎜ ⎜0001⎟ ⎟ ⎟.     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.

v1=(012120),v2=(0141424),v3=(0181868),v4=(01161161416)v1=⎜ ⎜ ⎜ ⎜012120⎟ ⎟ ⎟ ⎟,v2=⎜ ⎜ ⎜ ⎜ ⎜0141424⎟ ⎟ ⎟ ⎟ ⎟,v3=⎜ ⎜ ⎜ ⎜ ⎜0181868⎟ ⎟ ⎟ ⎟ ⎟,v4=⎜ ⎜ ⎜ ⎜ ⎜01161161416⎟ ⎟ ⎟ ⎟ ⎟          A1A1A1A1

[4 marks]

e.

vn=(012n12n2n22n)vn=⎜ ⎜ ⎜ ⎜ ⎜012n12n2n22n⎟ ⎟ ⎟ ⎟ ⎟         A2

[2 marks]

f.

limnvn=(0001)limnvn=⎜ ⎜ ⎜0001⎟ ⎟ ⎟ the steady state probability vector       M1R1

[2 marks]

g.

Require 2n22n0.9522n0.05n=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