PROBABILITY & STATISTICS / 2. PROBABILITY AXIOMS & EVENTS
Probability Axioms, Sample Space & Events
The formal rules of probability — everything else derives from these
EXPLANATION
Probability is a function P that assigns a number between 0 and 1 to events. Kolmogorov's Three Axioms (everything in probability follows from these): 1. P(A) ≥ 0 for any event A 2. P(S) = 1 where S is the sample space (something must happen) 3. P(A ∪ B) = P(A) + P(B) if A and B are mutually exclusive Key definitions: • Sample space S → set of all possible outcomes • Event → a subset of S • Complement → P(Aᶜ) = 1 - P(A) • Union → P(A ∪ B) = P(A) + P(B) - P(A ∩ B) [inclusion-exclusion] • Intersection → P(A ∩ B) = P(A) × P(B) if A and B are INDEPENDENT Independent events: knowing A happened tells you nothing about B. P(A ∩ B) = P(A) × P(B) Mutually exclusive: A and B cannot both happen. P(A ∩ B) = 0, so P(A ∪ B) = P(A) + P(B) Important: Independent ≠ Mutually Exclusive. They're almost opposite concepts.
DIAGRAM
Sample space S = {1, 2, 3, 4, 5, 6} (die roll)
Event A = {2, 4, 6} (even)
Event B = {1, 2, 3} (≤ 3)
P(A) = 3/6 = 0.5
P(B) = 3/6 = 0.5
P(A ∩ B) = P({2}) = 1/6 ← both even AND ≤ 3
P(A ∪ B) = P(A)+P(B)-P(A∩B) ← inclusion-exclusion
= 0.5+0.5-1/6 = 5/6
Venn diagram:
┌─────────────────────────┐
│ S │
│ ┌──────┐ ┌──────┐ │
│ │ A │∩ │ B │ │
│ │ 4,6 │2 │ 1,3 │ │
│ └──────┘ └──────┘ │
│ 5 │
└─────────────────────────┘CODE