4 Workshop Exercises 2

  • W2.1

    A tennis game has reached deuce. The server has probability p of winning each subsequent point (otherwise the receiver wins the point). Each point is independent of all others, and to win the game either the server or receiver needs to be two points clear.

    Let T be the number of subsequent points played until the game finishes. Show that the pgf of T is

    GT(z)=(p2+q2)z21-2pqz2. (1)

    In the case of p=1/2, calculate E(T).

  • W2.2

    Consider the pgf from the previous question in the case p=1/2. Let pi be the probability that T=i. By re-writing (1) as

    (1-12z2)(p0+p1z++pizi+)=12z2,

    and by equating coefficients of z, z2 and, for i1, zi+2, calculate p1, p2 and show that

    pi+2-12pi=0, for i=1,2,.

    Solve this difference equation to find the solution for pi.

  • W2.3

    By conditioning on the outcome of the first trial, show that the pgf of the time T at which the first success occurs in a sequence of Bernoulli trials is

    G(z)=pz1-qz.

    From this derive the mean and variance of T.

Extra questions

  • W2.4

    A coin with probability p of showing heads is tossed repeatedly. Find the probability generating function for the number T of tosses before a run of n consecutive heads has appeared for the first time.

  • W2.5

    A fisherman catches N fish where N is Poisson with parameter λ. The weight of the n-th fish is Wn where W1,W2, are independent identically distributed random variables with common probability generating function G(z). By conditioning on the value of N, show that the generating function GW(z) of the total weight of fish caught W=i=1NWi is given by

    GW(z)=exp(-λ+λG(z)).