1 Workshop Exercises 1

  • W1.1

    Let T be the time at which three successes in a row have occurred for the first time in a Bernoulli process with probability p of success. Using conditional expectations show that

    E(T)=(1+p+p2)/p3.
  • W1.2

    (2003 B1) Consider the random walk, Xt, specified by

    Xt+1={Xt+2with probability p2,Xtwith probability p(1-p),Xt-1with probability 1-p.

    Show that P(Ruin|X0=1) is the same for this random walk as it was for the simple random walk in lectures. (You may like to calculate the probabilities of two successive upward moves, an upward move followed by a downward move, and a downward move for the random walk studied in lectures; can you relate the two random walks?)

  • W1.3

    Consider a simple random walk starting at X0=0, with

    Xt+1={Xt+1with probability p,Xt-1otherwise.

    Define T to be the next time that Xt=0.

    By conditioning on the X1, show that E(T) is infinite regardless of the value of p. [You may use without proof the results about expected time to ruin in the lecture notes.]

    Calculate P(T=2m), for m=1,2,.

Extra questions

  • W1.4

    Assume that you have just thrown two consecutive successes. What is the expected further time until you next have two consecutive successes in your Bernoulli process? (Note that if the next outcome is a success, then your further time is 1).

    Repeat the question, but this time for the time until a success follows a failure i.e. what is the further time to obtaining FS given you have just observed FS? (You may want to use the result of Exercise 2.1.4 from lectures.)

    How do these expected times relate to the probability of 2 consecutive successes (p2) and a success followed by a failure (pq) respectively?

  • W1.5

    Consider a random walk, Xt, satisfying X0=1, and

    Xt+1={Xt+1with probability p/2,Xtwith probability 1/2,Xt-1with probability q/2.

    Calculate the probability of ruin (Xs=0 for some s>0). How does this relate to the probability of ruin of the simple random walk considered in lectures, and why?

  • W1.6

    Consider the following game. You start with one token. You repeatedly toss a fair coin: if it is a head you gain a token, otherwise you lose a token. The game finishes if you ever have no tokens (you lose the game) or if you ever have three tokens (you win the game).

    Let Xt be the number of tokens you have after the tth coin toss. If, before the tth coin toss you have either won or lost the game, then Xt=3 or Xt=0 respectively.

    • (i)

      Show E(Xt|Xt-1=i)=i. (It is a fair game.)

    • (ii)

      By using E(Xt)=E(E(Xt|Xt-1)), or otherwise, show that E(Xt)=E(Xt-1). Hence show that E(Xt)=1 for all t.

    • (iii)

      What are the two potential, eventual outcomes of the game, and their values for Xt?

    • (iv)

      Let p be the probability that you eventually win the game. Use (ii) and (iii) to show that p=1/3.

    • (v)

      Now assume that you start with i tokens, and to win the game you need to accrue n tokens. Show that the probability of winning the game is i/n.