The Total Law of Probability
Consider a collection of events . These form a partition of if:
- they are pairwise mutually exclusive.
- they are collectively exhaustive.
- they all have nonzero probability, for .
A partition divides into non-overlapping subsets, like the pieces of a jigsaw puzzle. The Law of Total Probability allows us to use partitions to simplify probability calculations.
Suppose that is a partition of . For any event , the Law of Total Probability states that:
We consider separately the probability that occurs in each possible 'scenario' , and then combine the resulting conditional probabilities.
Example: Total Law of Probability
Suppose you have three coins. You know that one of the coins, coin 1, is fair and therefore lands heads with the probability 0.5 . The other two coins, coins 2 and 3 , are biased, landing heads with probabilities of 0.4 and 0.8 respectively. Given that your opponent picks one of the three coins at random (with equal probability) and tosses it, without telling you which one it was, what is the probability that it lands heads?
In the problem statement above we are provided with the conditional probabilities of heads, given we know the coin is 1,2 or 3 (events and respectively):
We do not actually know which of the three coins has been tossed, but we know that all three coins are equally likely:
Since events and are mutually exclusive (i.e. only one coin is tossed), and collectively exhaustive (at least one of these coins is tossed), we can apply the law of total probability to compute the total probability of a coin landing heads: