A tennis game has reached deuce. The server has probability 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 be the number of subsequent points played until the game finishes. Show that the pgf of is
(1) |
In the case of , calculate .
Consider the pgf from the previous question in the case . Let be the probability that . By re-writing (1) as
and by equating coefficients of , and, for , , calculate , and show that
Solve this difference equation to find the solution for .
By conditioning on the outcome of the first trial, show that the pgf of the time at which the first success occurs in a sequence of Bernoulli trials is
From this derive the mean and variance of .
Extra questions
A coin with probability of showing heads is tossed repeatedly. Find the probability generating function for the number of tosses before a run of consecutive heads has appeared for the first time.
A fisherman catches fish where is Poisson with parameter . The weight of the -th fish is where are independent identically distributed random variables with common probability generating function . By conditioning on the value of , show that the generating function of the total weight of fish caught is given by