STEP 2 · 20 marks

STEP 2 2013 · Q13

Probability & statistics

A biased coin has probability pp of showing a head and probability qq of showing a tail, where p≠0p\neq 0, q≠0q\neq 0 and p≠qp\neq q. When the coin is tossed repeatedly, runs occur. A straight run of length nn is a sequence of nn consecutive heads or nn consecutive tails. An alternating run of length nn is a sequence of length nn alternating between heads and tails. An alternating run can start with either a head or a tail.

Let SS be the length of the longest straight run beginning with the first toss and let AA be the length of the longest alternating run beginning with the first toss.

  1. Explain why P(A=1)=p2+q2\mathrm P(A=1)=p^2+q^2 and find P(S=1)\mathrm P(S=1). Show that P(S=1)<P(A=1)\mathrm P(S=1)<\mathrm P(A=1).
  2. Show that P(S=2)=P(A=2)\mathrm P(S=2)=\mathrm P(A=2) and determine the relationship between P(S=3)\mathrm P(S=3) and P(A=3)\mathrm P(A=3).
  3. Show that, for n>1n>1, P(S=2n)>P(A=2n)\mathrm P(S=2n)>\mathrm P(A=2n) and determine the corresponding relationship between P(S=2n+1)\mathrm P(S=2n+1) and P(A=2n+1)\mathrm P(A=2n+1). [You are advised not to use p+q=1p+q=1 in this part.]

Read the questions freely. Sign in to check your answer, see the model answer and save your progress.