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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exercises<br />

Warmups<br />

8 EXERCISES 413<br />

1 What’s the probability of doubles in the probability distribution Pro,<br />

of (8.3), when one die is fair and the other is loaded? What’s the probability<br />

that S = 7 is rolled?<br />

2 What’s the probability that the top and bottom cards of a randomly shuffled<br />

deck are both aces? (All 52! permutations have probability l/52!.)<br />

3 Stan<strong>for</strong>d’s <strong>Concrete</strong> Math students were asked in 1979 to flip coins until<br />

Why only ten they got heads twice in succession, and to report the number of flips<br />

numbers? required. The answers were<br />

The other students<br />

either weren’t 3, 2, 3, 5, ‘IO, 2, 6, 6, 9, 2.<br />

empiricists or<br />

they were just too Princeton’s Co:ncrete Math students were asked in 1987 to do a similar<br />

Aipped out.<br />

thing, with the following results:<br />

10, 2, 10, 7, 5, 2, 10, 6, 10, 2.<br />

Estimate the mean and variance, based on (a) the Stan<strong>for</strong>d sample;<br />

(b) the Princeton sample.<br />

4 Let H(z) = F(z)/G(z), where F(1) = G(1) = 1. Prove that<br />

Mean(H) = Mean(F) -Mean(G),<br />

Var(H) = Var(F) - Var(G) ,<br />

in analogy with (8.38) and (8.3g), if the indicated derivatives exist at<br />

z= 1.<br />

5 Suppose Alice and Bill play the game (8.78) with a biased coin that comes<br />

up heads with probability p. Is there a value of p <strong>for</strong> which the game<br />

becomes fair?<br />

6 What does the conditional variance law (8.105) reduce to, when X and Y<br />

are independent random variables?<br />

Basics<br />

7 Show that if two dice are loaded with the same probability distribution,<br />

the probability of doubles is always at least i.<br />

8 Let A and B be events such that A U B = f2. Prove that<br />

Pr(wEAClB) = Pr(wEA)Pr(wEB)-Pr(w$A)Pr(w$B).<br />

9 Prove or disprove: If X and Y are independent random variables, then so<br />

are F(X) and G(Y), when F and G are any functions.

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

Saved successfully!

Ooh no, something went wrong!