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.

560 ANSWERS TO EXERCISES<br />

probability if xi and xi+1 never meet, but it multiplies the probability by<br />

(1 - p)/p < 1 if they do meet.<br />

8.45 (a) A(z) = l/(3 - 22); B(z) = zA(z)‘; C(t) = z’A(z)~. The pgf <strong>for</strong><br />

sherry when it’s bottled is ZEAL, which is z3 times a negative binomial<br />

distribution with parameters n = 3, p = f. (b) Mean(A) = 2, Var(A) = 6;<br />

Mean(B) = 5, Var(B) = 2Var(A) = 12; Mean(C) = 8, Var(C) = 18. The<br />

sherry is nine years old, on the average. The fraction that’s 25 years old is<br />

(,;) (-21L23 25 = (ii)2223 25 = 23. (324 z .00137. (c) Let the coefficient of<br />

w” be the pgf <strong>for</strong> the beginning of year n. Then<br />

A = (1 + ;w/(l -w))/(l - {zw);<br />

B = (l+ ;zwA)/(l- $zw);<br />

C = (1 + ;zwB)/(l - $zw).<br />

Differentiate with respect to z and set z = 1; this makes<br />

C’ = ~- a l/2 3/2 ~- ~<br />

6<br />

l-w ~ijw!3-(l~~w)2 l-iw’<br />

The average age of bottled sherry n years after the process started is 1 greater<br />

than the coefficient of w”~‘, namely 9-( f)“(3n2+21n+72)/8. (This already<br />

exceeds 8 when n = 11.)<br />

8.46 (a) P(w,z) = 1 + i(wP(w,z) + zP(w,z)) = (1 - i(w + z))~', hence<br />

P mn = 2- “J “(“,‘“). (b) Pk ( w,z) = i(w" +zk)P(w,z); hence<br />

Pk ,m,n = 2k-’ In n ,(,,,,) + (‘“in”-k)).<br />

(C) tkkPk,n.TI = EL=, k2km2n(2”;k) = ,YzYo(n - k)2- n k(“zk); this can be<br />

summed using (5.20):<br />

g2mnmk(12n+ll(nn+k) -(n+l)(nn+:Tk))<br />

= (2n+ l)-(n+1)2-" 2<br />

(<br />

2n+l 2 n -,<br />

=-<br />

22n ( n ><br />

n+l-2-n-l 2n+2<br />

n+l<br />

( 1)<br />

(The methods of Chapter 9 show that this is 2m - 1 + O(nP’/2).)<br />

8.47 After n irradiations there are n + 2 equally likely receptors. Let the<br />

random variable X, denote the number of diphages present; then Xn+l =

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

Saved successfully!

Ooh no, something went wrong!