Once the tree is drawn, the marginal probability of the event at the second level (for example ) is obtained in a geometrically transparent way: you add up the probabilities of the paths that end in . No extra formula: it is all already on the drawing.
Theorem — Total probability, classical formulation
Let be a partition of the sample space (pairwise mutually exclusive events whose union covers everything). Then for every event :
Proof — Visual, via the paths of the tree
We build the tree with first level and with at the second level under each . The leaves "" are pairwise disjoint (different outcomes of the first experiment). By additivity over mutually exclusive events: where in the last step the product formula is applied to each path. ∎
Example — Diagnostic test, via the paths
We take up again the tree of the rare disease. The paths that end in are two, highlighted in red:
The two red paths both end in : the total probability of testing positive is their sum.
Adding the two red paths:
Links
Topics: Probability
Concepts: Tree diagram · Partition · Conditional probability · Total probability
Methods: Total probability theorem
Skills: Calculating probability · Proving