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.

552 ANSWERS TO EXERCISES<br />

8.13 (Solution by Boris Pittel.) Let us set Y = (XI + . . . + X,)/n and<br />

Z = (X,+1 + . + X2,)/n. Then<br />

= Pr(JZ-cxJ 6 IY-al) 3 t.<br />

The last inequality is, in fact, ‘>’ in any discrete probability distribution,<br />

because Pr(Y = Z) > 0.<br />

8.14 Mean(H) = pMean(F) + qMean(G); Var(H) = pVar(F) + qVar(G) +<br />

pq(Mean(F)-Mean(G))‘. (A mixture is actually a special case of conditional<br />

probabilities: Let Y be the coin, let XIH be generated by F(z), and let XIT<br />

be generated by G(z). Then VX = EV(XIY) + VE(XlY), where EV(XlY) =<br />

pV(XIH) + qV(XIT) and VE(XlY) is the variance of pzMeanCF) + qzMeanfG).)<br />

8.15 By the chain rule, H’(z) = G’(z)F’(G(z)); H”(z) = G”(z)F’(G(z)) +<br />

G’(z)‘F”(G(z)). Hence<br />

Mean(H) = Mean(F) Mean(G) ;<br />

Var(H) = Var(F) Mean(G)’ + Mean(F) Var(G)<br />

(The random variable corresponding to probability distribution H can be understood<br />

as follows: Determine a nonnegative integer n by distribution F;<br />

then add the values of n independent random variables that have distribution<br />

G. The identity <strong>for</strong> variance in this exercise is a special case of (8.105),<br />

when X has distribution H and Y has distribution F.)<br />

8.16 ewizmm’)/(l -w).<br />

8.17 Pr(Y,,, 6 m) = Pr(Y,,, + n 6 m + n) = probability that we need <<br />

n + n tosses to obtain n heads = probability that m + n tosses yield 3 n<br />

heads = Pr(X m+n,p 3 n). Thus<br />

n+k-1 pnqk = t (m;n)p*qm+n~k<br />

k ><br />

k>n<br />

= x (m;n)pm+n-kqk;<br />

k

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

Saved successfully!

Ooh no, something went wrong!