09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

418 DISCRETE PROBABILITY<br />

38 What is the probability generating function <strong>for</strong> the number of times you<br />

need to roll a fair die until all six faces have turned up? Generalize to<br />

m-sided fair dice: Give closed <strong>for</strong>ms <strong>for</strong> the mean and variance of the<br />

number of rolls needed to see 1 of the m faces. What is the probability<br />

that this number will be exactly n?<br />

39 A Dirichlet probability generating function has the <strong>for</strong>m<br />

P(z) = t $.<br />

lI>l<br />

Thus P(0) = 1. If X is a random variable with Pr(X=n) = pn, express<br />

E(X), V(X), and E(lnX) in terms of P(z) and its derivatives.<br />

40 The mth cumulant K, of the binomial distribution (8.57) has the <strong>for</strong>m<br />

nfm(p), where f, is a polynomial of degree m. (For example, fl (p) = p<br />

and fz(p) = p - p2, because the mean and variance are np and npq.)<br />

a Find a closed <strong>for</strong>m <strong>for</strong> the coefficient of pk in f,,,(p).<br />

b Prove that f,(i) =: (2” - l)B,/m+ [m=ll, where B, is the mth<br />

Bernoulli number.<br />

41 Let the random variable X, be the number of flips of a fair coin until heads<br />

have turned up a total of n times. Show that E(X;:,) = (-l)n(ln2+<br />

Hjnlz, - H,). Use the rnethods of Chapter 9 to estimate this value with<br />

an absolute error of 0 ( ?tp3 ).<br />

42 A certain man has a problem finding work. If he is unemployed on<br />

any given morning, there’s constant probability ph (independent of past<br />

history) that he will be hired be<strong>for</strong>e that evening; but if he’s got a job<br />

when the day begins, there’s constant probability pf that he’ll be laid Does 7)$ choose<br />

off by nightfall. Find the average number of evenings on which he will optima’line breaks?<br />

have a job lined up, assuming that he is initially employed and that this<br />

process goes on <strong>for</strong> n days. (For example, if n = 1 the answer is 1 -pi.)<br />

43<br />

44<br />

Find a closed <strong>for</strong>m <strong>for</strong> the pgf G,(z) = tk3c pk,nzk, where pk,n is the<br />

probability that a random permutation of n objects has exactly k cycles.<br />

What are the mean and standard deviation of the number of cycles?<br />

The athletic department runs an intramural “knockout tournament” <strong>for</strong><br />

2” tennis players as follows. In the first round, the players are paired off<br />

randomly, with each pairing equally likely, and 2nm ’ matches are played.<br />

The winners advance to the second round, where the same process produces<br />

2” ’ winners. And so on; the kth round has 2npk randomly chosen<br />

matches between the 2”-mkf’ players who are still undefeated. The nth<br />

round produces the champion. Unbeknownst to the tournament organizers,<br />

there is actually an (ordering among the players, so that x1 is best, x2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!