1.4.2 Law of Total Probability
Let us start this section by asking a very simple question: In a certain country there are three provinces, call them , , and (i.e., the country is partitioned into three disjoint sets , , and ). We are interested in the total forest area in the country. Suppose that we know that the forest area in , , and are , , and , respectively. What is the total forest area in the country? If your answer is
Law of Total Probability: If is a partition of the sample space , then for any event we have
Using a Venn diagram, we can pictorially see the idea behind the law of total probability. In Figure 1.24, we have

Fig.1.24 - Law of total probability.
Here is a proof of the law of total probability using probability axioms:
Proof
Since is a partition of the sample space , we can write
| by the distributive law (Theorem 1.2). |
Now note that the sets are disjoint (since the 's are disjoint). Thus, by the third probability axiom,
Here is a typical scenario in which we use the law of total probability. We are interested in finding the probability of an event , but we don't know how to find directly. Instead, we know the conditional probability of given some events , where the 's form a partition of the sample space. Thus, we will be able to find using the law of total probability, .
Example
I have three bags that each contain $100$ marbles:
- Bag 1 has $75$ red and $25$ blue marbles;
- Bag 2 has $60$ red and $40$ blue marbles;
- Bag 3 has $45$ red and $55$ blue marbles.
I choose one of the bags at random and then pick a marble from the chosen bag, also at random. What is the probability that the chosen marble is red?
- Solution
Let be the event that the chosen marble is red. Let be the event that I choose Bag . We already know that
We choose our partition as . Note that this is a valid partition because, firstly, the 's are disjoint (only one of them can happen), and secondly, because their union is the entire sample space as one of the bags will be chosen for sure, i.e., . Using the law of total probability, we can write$ = P(R
