Independence of Events

Essential
Last updated: Tags: Probability, Conditional Probability, Independence

Prerequisites

Knowing that it rained yesterday tells you something about whether the ground is wet today. But knowing that a fair coin landed heads on the first toss tells you nothing about the second toss. Independence formalises this “no information” condition.

Definition

Definition. Events AA and BB are independent if

P(AB)=P(A)P(B).(1)P(A \cap B) = P(A) \, P(B). \tag{1}

This definition is symmetric (AA independent of BB iff BB independent of AA) and works even when P(A)=0P(A) = 0 or P(B)=0P(B) = 0, where the conditional-probability route would be undefined.

Equivalence. When P(B)>0P(B) > 0, independence (1)(1) is equivalent to

P(AB)=P(A).(2)P(A \mid B) = P(A). \tag{2}

Proof. P(AB)=P(AB)/P(B)=P(A)P(B)/P(B)=P(A)P(A \mid B) = P(A \cap B) / P(B) = P(A) P(B) / P(B) = P(A).

So independence means that conditioning on BB carries no information about AA: the conditional probability P(AB)P(A \mid B) equals the unconditional P(A)P(A).

Independence and complements

If AA and BB are independent, then so are AA and BcB^c, AcA^c and BB, and AcA^c and BcB^c.

Proof (for AA and BcB^c). Write A=(AB)(ABc)A = (A \cap B) \cup (A \cap B^c) as a disjoint union:

P(A)=P(AB)+P(ABc)=P(A)P(B)+P(ABc),P(A) = P(A \cap B) + P(A \cap B^c) = P(A) P(B) + P(A \cap B^c),

so P(ABc)=P(A)(1P(B))=P(A)P(Bc)P(A \cap B^c) = P(A)(1 - P(B)) = P(A) P(B^c). The cases AcBA^c \perp B and AcBcA^c \perp B^c follow by symmetry.

Collections of events

Independence of two events generalises to larger families in two non-equivalent ways.

Pairwise independence. Events A1,,AnA_1, \ldots, A_n are pairwise independent if every pair satisfies (1)(1):

P(AiAj)=P(Ai)P(Aj)for all ij.P(A_i \cap A_j) = P(A_i) P(A_j) \quad \text{for all } i \neq j.

Mutual independence. Events A1,,AnA_1, \ldots, A_n are mutually independent (or jointly independent) if the product rule holds for every sub-collection:

P ⁣(iSAi)=iSP(Ai)for every S{1,,n}, S2.(3)P\!\left(\bigcap_{i \in S} A_i\right) = \prod_{i \in S} P(A_i) \quad \text{for every } S \subseteq \{1, \ldots, n\},\ |S| \geq 2. \tag{3}

Mutual independence requires 2nn12^n - n - 1 equations, not just (n2)\binom{n}{2} pairwise ones. Pairwise independence does not imply mutual independence.

Counterexample. Flip two fair coins. Let AA = first coin heads, BB = second coin heads, CC = exactly one head. Each event has probability 12\frac{1}{2}, and one checks that every pair is independent (e.g.\ P(AB)=14=1212P(A \cap B) = \frac{1}{4} = \frac{1}{2} \cdot \frac{1}{2}). But

P(ABC)=P(both heads and exactly one head)=018=P(A)P(B)P(C).P(A \cap B \cap C) = P(\text{both heads and exactly one head}) = 0 \neq \tfrac{1}{8} = P(A) P(B) P(C).

The three events are pairwise but not mutually independent.

Independence vs. mutual exclusivity

These two notions are easily confused but are almost opposite.

P(AB)P(A \cap B)Meaning
Mutually exclusive=0= 0They cannot both occur
Independent=P(A)P(B)= P(A) P(B)Knowing one tells you nothing about the other

If P(A)>0P(A) > 0 and P(B)>0P(B) > 0, then P(A)P(B)>0P(A) P(B) > 0, so mutually exclusive events have P(AB)=0<P(A)P(B)P(A \cap B) = 0 < P(A) P(B): they are dependent, not independent. The intuition: if AA and BB cannot both happen, then observing AA tells you with certainty that BB did not — the strongest possible dependence.

Summary

  • Independence of two events: P(AB)=P(A)P(B)P(A \cap B) = P(A) P(B); equivalently P(AB)=P(A)P(A \mid B) = P(A) when P(B)>0P(B) > 0.
  • Closed under complements: if ABA \perp B, then ABcA \perp B^c, AcBA^c \perp B, and AcBcA^c \perp B^c.
  • Pairwise vs.\ mutual independence: pairwise independence (P(AiAj)=P(Ai)P(Aj)P(A_i \cap A_j) = P(A_i) P(A_j) for all iji \neq j) does not imply mutual independence (the product rule for all sub-collections of size 2\geq 2).
  • Independence \neq mutual exclusivity: two events with positive probability cannot be both independent and mutually exclusive; mutually exclusive events with positive probability are necessarily dependent.