Total probability theorem
A defective item could have come from any of three machines. A drawn ball could have come from either of two bags. In each case the outcome we care about — "defective," "red" — can arrive by several different routes, and we know how likely each route is and how likely the outcome is given that route. The total probability theorem stitches these route-by-route probabilities into one overall probability, using nothing more than a partition of the sample space and the multiplication theorem already met earlier in the chapter. It is the single most useful computational tool in this part of CBSE Class 12 probability, and it is also the direct setup for Bayes' theorem, which asks the reverse question — given the outcome happened, which route was it likely to have come from?
When an event can occur through several mutually exclusive, exhaustive routes , its overall probability is the weighted sum , weighting each route's conditional chance of by how likely that route is.
The core idea
Partitions first. Everything here rests on being a genuine partition of the sample space : pairwise disjoint, together covering all of , and each with . Every outcome in belongs to exactly one — no overlap, no gaps.
The theorem. For any event of and a partition :
where: is the probability of route (a prior), is the conditional probability that happens given route was taken, and the sum runs over every piece of the partition — no route is left out, and none is counted twice.
Why the partition condition matters. Because partition , the event splits cleanly as , and these pieces are pairwise disjoint since the are. That disjointness is what lets us just add the pieces without correcting for overlap — if the were not a genuine partition, some outcomes would be double-counted or missed, and the formula would simply be wrong.
The core idea, continued
The formula is really "break the outcome into routes, weight each route by how likely it is, weight the outcome by how likely it is on that route, add." This is why the theorem is sometimes called the law of total probability — it accounts for the outcome's total probability across every possible cause.
A tree diagram makes the bookkeeping automatic. Draw a first level of branches for , each labelled with ; from every branch draw a second-level branch to , labelled with . Multiplying along a path gives , and summing every path that ends at gives exactly the total probability formula. This is the same picture students already use for conditional probability problems — the total probability theorem is simply "read the tree, multiply along each branch to , then add the branches."
Relation to what comes next. The total probability theorem answers "given the routes, what is the overall chance of ?" Bayes' theorem, covered immediately afterward in the same chapter, answers the reverse question — "given that has already happened, which route was it likely to have come from?" Both use the same partition and the same conditional probabilities ; Bayes' theorem simply divides one term of the total-probability sum by the whole sum:
Every quantity on the right is something the total probability theorem already computes, which is why examiners often ask both questions back to back on the same word problem — get the total probability calculation right and Bayes' theorem is almost free.
The goal is to prove, for any partition of a sample space (pairwise disjoint, exhaustive, each with ) and any event of , that , using only the addition rule for disjoint events and the multiplication theorem of conditional probability already established earlier in the chapter.
Step 1. Split using the partition. Since cover all of with no overlap, every outcome of lies in exactly one . So .
Step 2. Note the pieces are pairwise disjoint. Since for , it follows that too — the pieces share no outcomes.
Step 3. Apply the addition rule for disjoint events. Because the pieces from Step 2 are pairwise disjoint, .
Step 4. Rewrite each term with the multiplication theorem. For each , the multiplication theorem gives . Substituting into Step 3 gives , which is the total probability theorem.
Worked example
Bag I contains 4 red and 4 black balls, and Bag II contains 2 red and 6 black balls. One bag is selected at random (each bag equally likely), and one ball is drawn from it. Find the probability that the ball drawn is red.
Step 1. Set up the partition. Let = "Bag I is selected," = "Bag II is selected." Since one bag is chosen at random, , and is a valid partition of "which bag is chosen."
Step 2. Find the conditional probabilities. Let = "the ball drawn is red." From Bag I (4 red out of 8): . From Bag II (2 red out of 8): .
Step 3. Apply the theorem. .
The probability the ball drawn is red is .
Competitive stretch
Extend to three routes with the factory example: machines I, II, III supply 25%, 35%, 40% of output with defect rates 5%, 4%, 2%. Then , i.e. — same three-step structure, just one more term in the sum.
Common traps
- Forgetting to check that genuinely form a partition before applying the theorem — overlapping or non-exhaustive events break the formula.
- Mixing up with — total probability needs the "route to outcome" direction, not the reverse (that reverse direction is Bayes' theorem).
- Dropping terms when there are three or more routes — every in the partition must contribute, however small its probability looks.
- Mixing percentage and decimal forms mid-calculation — convert every and to the same format (usually decimals) before multiplying.
Ask the tutor: Stuck on identifying the right partition or conditional probabilities in a multi-bag or multi-machine word problem? Ask the AI tutor to walk through setting up the events before applying the formula.
How is the total probability theorem different from the multiplication theorem I just learned?
The multiplication theorem gives you a single term, — the probability of one specific route and outcome happening together. The total probability theorem adds up all such terms across every route in a partition to get the overall probability of regardless of which route it came through. You need the multiplication theorem as a building block inside the total probability theorem; they are not competing tools, one feeds the other.
Do I always need exactly two events in the partition, like two bags?
No, a partition can have any number of pieces , as long as they are pairwise disjoint and exhaustive. The factory example with three machines works exactly the same way, just with three terms in the sum instead of two. Word problems with more sources, causes, or stages simply mean more terms to add, not a different method.
Why does the theorem fail if the events overlap or do not cover the whole sample space?
The derivation relies on splitting into disjoint pieces so that their probabilities can simply be added without double-counting. If the overlap, some outcomes of get counted in more than one term, inflating the sum. If they do not cover all of , some outcomes of are missed entirely, and the sum falls short. Always check pairwise-disjoint-and-exhaustive before trusting the formula.