Multiple events
When we have more than two events, there can be many different degrees of independence. Let be events. We say that they are pairwise independent if every pair and are independent for all . Pairwise independence is a relatively weak form of independence. These events are said to be (fully) independent if, for every subset , we have
Toss two unbiased coins. Let be the event that the first coin is head; the event that the second coin is head; and that the number of heads is exactly one. Therefore we have that . These events are not fully independent, i.e., , so they are not fully independent. However, they are pairwise independent. It is easy to see that and are independent. As for and , notice that , so .
Prove: If are independent, then are independent.
Define and . Prove: If are independent, then so are for all choices of .
Consider the probability space of (unbiased) coin tossing. Let be the event that the -th coin toss is head. Prove that the events are fully independent.
Assume that in our sample space, there are (different) nontrivial and independent events. Show that .
In computer science, when we design randomized algorithms, we are often interested in saving space consumption. Roughly, if the sample space is , then the space needed is at least . The above exercise implies that if our algorithm relies on a lot of independent events, the algorithm necessarily consumes a lot of space!
Construct a sample space where there are pairwise balanced (probability is ) events and .
Let so that (do you see why such always exists?). Consider the uniform probability space on (so these are tossings of a fair coin). We claim that there are pairwise independent events in this space. For each non-empty subset , we define an event (the notation is for XOR). We claim that these events are pairwise independent (see Exercise below).
We will argue that (balanced). This can be proved by the following induction hypothesis:
When , it is clear that . Otherwise, assume that is true and consider the set of size . Let and . We write . Therefore,
Since the event is independent of event , we have that and (by induction hypothesis). Substituting this back into the equation gives . Notice that we have events, and the size of sample space is (which is at most ). This completes the proof.
Prove that the events are pairwise independent. In particular, show that for , we have .
Between full independence and pairwise independence lies the whole hierarchy of increasingly high degree of independence, that we call -wise independence. In particular, events are -wise independent if, for every -subset , the events are independent.