


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



6.042/18.062J Mathematics for Computer Science November 08, 2010
Tom Leighton and Marten van Dijk
Problem 1. [15 points] Suppose Pr {} : S → [0, 1] is a probability function on a sample
space, S, and let B be an event such that Pr {B} > 0. Define a function PrB {·} on outcomes
w ∈ S by the rule:
Pr B
{w} =
Pr {w} / Pr {B} if w ∈ B,
0 if w /∈ B.
(a) [7 pts] Prove that Pr B
{·} is also a probability function on S according to Definition
(b) [8 pts] Prove that
PrB {A} =
Pr {A ∩ B}
Pr {B}
for all A ⊆ S.
Problem 2. [20 points]
(a) [10 pts] Here are some handy rules for reasoning about probabilities that all follow
directly from the Disjoint Sum Rule. Use Venn Diagrams, or another method, to prove
them.
Pr {A − B} = Pr {A} − Pr {A ∩ B} (Difference Rule)
Pr A = 1 − Pr {A} (Complement Rule)
Pr {A ∪ B} = Pr {A} + Pr {B} − Pr {A ∩ B} (Inclusion-Exclusion)
Pr {A ∪ B} ≤ Pr {A} + Pr {B}. (2-event Union Bound)
If A ⊆ B, then Pr {A} ≤ Pr {B}. (Monotonicity)
2 Problem Set 10
(b) [10 pts] Prove the following probabilistic identity, referred to as the Union Bound.
You may assume the theorem that the probability of a union of disjoint sets is the sum of
their probabilities.
Theorem. Let A 1
n
be a collection of events on some sample space. Then
n
Pr (A 1
2
n
) ≤ Pr (A i
i=
(Hint: Induction)
Problem 3. [15 points] Recall the strange dice from lecture:
In the book we proved that if we roll each die once, then die A beats B more often, die B
beats die C more often, and die C beats die A more often. Thus, contrary to our intuition,
the “beats” relation > is not transitive. That is, we have A > B > C > A.
We then looked at what happens if we roll each die twice, and add the result. In this problem
we will show that the “beats” relation reverses in this game, that is, A < B < C < A, which
is very counterintuitive!
(a) [5 pts] Show that rolling die C twice is more likely to win than rolling die B twice.
(b) [5 pts] Show that rolling die A twice is more likely to win that rolling die C twice.
(c) [5 pts] Show that rolling die B twice is more likely to win than rolling die A twice.
Problem 4. [14 points] Let’s play a game! We repeatedly flip a fair coin. You have the
sequence HHT , and I have the sequence HT T. If your sequence comes up first, then you
win. If my sequence comes up first, then I win. For example, if the sequence of tosses is:
Image by MIT OpenCourseWare.
MIT OpenCourseWare
http://ocw.mit.edu
6.042J / 18.062J Mathematics for Computer Science
Fall 2010
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.