Probability Theory
Addition and multiplication theorems
Addition theorem: P(A ∪ B) = P(A) + P(B) − P(A ∩ B); for mutually exclusive events the last term is zero. For three events, P(A ∪ B ∪ C) = ΣP(A) − ΣP(A ∩ B) + P(A ∩ B ∩ C). Conditional probability of A given B is P(A | B) = P(A ∩ B) ÷ P(B), P(B) > 0. Rearranged, it is the multiplication theorem for compound events: P(A ∩ B) = P(B)·P(A | B) = P(A)·P(B | A).
Worked: drawing two cards one after the other without replacement, P(both aces) = (4/52)(3/51) = 1/221. With replacement it would be (4/52)² = 1/169, because the second draw no longer depends on the first.
Independent against mutually exclusive
Mutually exclusive events cannot happen together: P(A ∩ B) = 0. Independent events do not affect each other: P(A ∩ B) = P(A)·P(B), equivalently P(A | B) = P(A). These are different ideas, and in fact two events with positive probabilities that are mutually exclusive are never independent — knowing that A happened tells you B did not.
- If A and B are independent, so are A and B′, A′ and B, and A′ and B′.
- P(at least one of independent A, B) = 1 − P(A′)P(B′).
- Two throws of a die: P(at least one six) = 1 − (5/6)² = 11/36.
Total probability and Bayes' theorem
If B₁, B₂, …, Bₙ are mutually exclusive and together make up the whole sample space, then for any event A, P(A) = Σ P(Bᵢ)P(A | Bᵢ) (total probability). Bayes' theorem turns the conditioning around: P(Bᵢ | A) = P(Bᵢ)P(A | Bᵢ) ÷ Σ P(Bⱼ)P(A | Bⱼ). The P(Bᵢ) are prior probabilities, the P(Bᵢ | A) posterior ones.
| Machine | Share of output | Defect rate | Product | Posterior |
|---|---|---|---|---|
| A | 0.60 | 0.02 | 0.012 | 0.5 |
| B | 0.40 | 0.03 | 0.012 | 0.5 |
| Total | 1 | — | 0.024 | 1 |
A defective item is equally likely to have come from either machine, although A makes more of the output — B's higher defect rate exactly balances A's larger share.
Exam traps and a quick revision
- 0 ≤ P(A) ≤ 1 and P(A′) = 1 − P(A).
- P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
- P(A | B) = P(A ∩ B)/P(B); independent means P(A ∩ B) = P(A)P(B).
- Mutually exclusive events with positive probabilities are dependent.
- Bayes: posterior ∝ prior × likelihood, normalised by the total probability.
Key takeaways
- Classical probability needs equally likely outcomes; relative frequency needs repeatable trials; the axiomatic approach states the rules.
- Addition: P(A ∪ B) = P(A) + P(B) − P(A ∩ B); multiplication: P(A ∩ B) = P(A)P(B | A).
- Independence and mutual exclusivity are different; with positive probabilities they cannot hold together.
- Total probability: P(A) = ΣP(Bᵢ)P(A | Bᵢ) over a partition B₁ … Bₙ.
- Bayes: P(Bᵢ | A) = P(Bᵢ)P(A | Bᵢ)/ΣP(Bⱼ)P(A | Bⱼ).
Practice questions (10)
Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.
The classical definition of probability requires that the outcomes of the experiment be:
Show answer
Answer: D — finite in number and equally likely
P(A) = favourable ÷ total only makes sense when the cases can be counted and each is equally likely. Past records give the relative-frequency definition; beliefs give subjective probability.The axiomatic definition of probability was given by:
Show answer
Answer: A — A. N. Kolmogorov
Kolmogorov set out the axioms in 1933: non-negativity, P(S) = 1 and additivity over disjoint events. Bayes is known for the theorem on inverse probability.If P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.2, then P(A ∪ B) is:
Show answer
Answer: B — 0.7
P(A ∪ B) = 0.5 + 0.4 − 0.2 = 0.7. Adding without subtracting the overlap gives 0.9, which counts A ∩ B twice.With P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.2, the conditional probability P(A | B) is:
Show answer
Answer: D — 0.5
P(A | B) = P(A ∩ B)/P(B) = 0.2/0.4 = 0.5. Here P(A | B) = P(A), so A and B are in fact independent.A and B are independent with P(A) = 0.3 and P(B) = 0.4. P(A ∪ B) is:
Show answer
Answer: B — 0.58
P(A ∩ B) = 0.3 × 0.4 = 0.12, so P(A ∪ B) = 0.3 + 0.4 − 0.12 = 0.58. Equivalently 1 − (0.7)(0.6) = 0.58.Two events A and B have P(A) > 0 and P(B) > 0 and are mutually exclusive. Then A and B:
Show answer
Answer: D — cannot be independent
Mutual exclusivity gives P(A ∩ B) = 0, while independence would need P(A ∩ B) = P(A)P(B) > 0. Both cannot hold, so the events are dependent.Two cards are drawn one after the other without replacement from a pack of 52. The probability that both are aces is:
Show answer
Answer: A — 1/221
P = (4/52) × (3/51) = 12/2652 = 1/221. 1/169 = (4/52)² is the answer with replacement.A fair die is thrown twice. The probability of getting at least one six is:
Show answer
Answer: C — 11/36
P(no six) = (5/6)² = 25/36, so P(at least one) = 11/36. 1/3 = 2/6 double-counts the double six.Machine A makes 60% of a factory's output with 2% defective; machine B makes 40% with 3% defective. An item chosen at random is defective. The probability that it came from A is:
Show answer
Answer: D — 1/2
By Bayes: P(A | D) = (0.6 × 0.02)/(0.6 × 0.02 + 0.4 × 0.03) = 0.012/0.024 = 1/2. 0.024 is the total probability of a defective, and 3/5 is only the prior share of A.For two events, P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. The probability that exactly one of them occurs is:
Show answer
Answer: C — 0.5
P(A ∩ B) = 0.6 + 0.5 − 0.8 = 0.3, and exactly one = P(A ∪ B) − P(A ∩ B) = 0.8 − 0.3 = 0.5.