Lecture 1: Axioms of Probability
EECS 126 (UC Berkeley) · Spring 2026 · January 20, 2026
A probability space provides the mathematical framework for modeling random experiments. In this lecture we define the axioms of probability, introduce sample spaces and events, work through several foundational examples, and derive the birthday paradox bound.
Probability Spaces
A probability space is a triple where:
- is the sample space: the set of all possible outcomes of the experiment.
- is a -algebra of subsets of , called events.
- is a probability measure satisfying the Kolmogorov axioms.
The elements are called base outcomes (or samples). A -algebra is a family of subsets of that is closed under countable unions, countable intersections, and complements, and that contains itself. In many discrete settings we simply take (the power set), so that every subset of is an event.
Toss two fair coins. The sample space is
Each base outcome is equally likely, so we assign for each . The event space is the power set , which has elements.
Toss a coin repeatedly until the first heads. Then
is a countably infinite sample space.
Wait at a bus stop for the next bus, which arrives at some time in . Now
is an uncountably infinite (continuous) sample space. In this setting the choice of becomes nontrivial; one typically takes to be the Borel -algebra on .
Kolmogorov Axioms
A function is a probability measure on if it satisfies:
- Nonnegativity. for all .
- Normalization. .
- Countable additivity. If are pairwise disjoint ( for ), then
Why countable additivity? In a continuous sample space such as , every individual point has probability zero: . If we only had finite additivity, we could not recover from the probabilities of individual points. Countable additivity bridges this gap and is essential for the theory of continuous distributions.
Flip a biased coin: heads with probability , tails with probability . Set
Define
Then is a valid probability space.
Fundamental Probability Facts
The following basic identities are direct consequences of the Kolmogorov axioms.
For any event ,
Since and are disjoint with , countable additivity gives .
For any two events ,
More generally, for events ,
For any events ,
Define and for . The are disjoint with , and , so .
Discrete Probability and Counting
In a discrete sample space, the probability of an event is just the sum of the probabilities of its base outcomes:
When all outcomes are equally likely, we say is a uniform sample space, and for any event ,
The Birthday Paradox
Let people be in a room. What is the probability that at least two share a birthday? Let and assume birthdays are uniform. Let = “at least two people share a birthday.” Compute via the complement:
Using :
. For and , this gives .
Balls-and-bins interpretation. The birthday problem is equivalent to throwing balls uniformly into bins and asking for the probability of a collision. This connection arises frequently in hashing, load balancing, and networking.