Add up every route
P(A) = P(E₁) P(A|E₁) + … + P(Eₙ) P(A|Eₙ) for a partition E₁, …, Eₙ.
Strike or no strike
Example 15: a strike happens with probability 0.65. The job is finished on time with probability 0.32 if there is a strike, and 0.80 if there is not.
To find P(on time), you should …
What this lesson covers
The idea
If E₁, …, Eₙ partition S and A is any event, then P(A) = P(E₁)P(A|E₁) + P(E₂)P(A|E₂) + … + P(Eₙ)P(A|Eₙ).
Strike or no strike
Example 15: a strike happens with probability 0.65. The job is finished on time with probability 0.32 if there is a strike, and 0.80 if there is not.
To find P(on time), you should …
- add the two routes, each weighted by its chance
- average 0.32 and 0.80
- use 0.80, the no-strike value
Add the shaded pieces
Each shaded piece is P(Bᵢ) × P(A|Bᵢ) = P(A ∩ Bᵢ). Tap them to add them up.
Theorem of total probability
If {E₁, E₂, …, Eₙ} is a partition of S (each P(Eⱼ) > 0) and A is any event, then P(A) = P(E₁) P(A|E₁) + P(E₂) P(A|E₂) + … + P(Eₙ) P(A|Eₙ).
Why: A = (A ∩ E₁) ∪ … ∪ (A ∩ Eₙ), these pieces are disjoint, and P(A ∩ Eⱼ) = P(Eⱼ) P(A|Eⱼ).
Example 15: B (strike) and B′ form a partition, so P(A) = 0.65 × 0.32 + 0.35 × 0.8 = 0.488.
Notes
Partition E₁, …, Eₙ: P(A) = Σ P(Eⱼ) P(A|Eⱼ), one term for each route to A.
Check yourself
Exercise 13.3, Q1: an urn has 5 red and 5 black balls. A ball is drawn and returned with 2 more of its colour. Find P(the second ball is red).
Answer: 1/2
1/2 × 7/12 + 1/2 × 5/12 = 12/24 = 1/2.
Exercise 13.3, Q9: groups 1 and 2 win with probabilities 0.6 and 0.4; a new product is introduced with probability 0.7 or 0.3. Find P(a new product).
Answer: 0.54
0.42 + 0.12 = 0.54.
In the theorem of total probability, the events E₁, …, Eₙ must …
- form a partition of S — correct. Yes! Disjoint, together S, each with P > 0.
- be independent of A. No: P(A|Eⱼ) may differ from P(A).
- have equal probabilities. They can have any probabilities, as in Example 15.