Counting is the finite foundation of elementary probability. Before assigning probabilities, we need to know how many outcomes an experiment has and how many of them satisfy an event.
Counting principles
If a procedure consists of two stages, with possible outcomes at the first stage and possible outcomes at the second stage for each first-stage outcome, then the procedure has possible outcomes.
The same reasoning gives the generalized product rule. If stage has choices once the previous stages have been fixed, then the total number of outcomes is
For example, independent coin tosses have possible outcome strings.
If a procedure can be carried out in one of mutually exclusive ways or one of mutually exclusive ways, then it has possible outcomes.
The disjointness condition matters. For arbitrary finite sets and , inclusion-exclusion corrects the overlap:
For three sets,
Suppose a set of objects is partitioned into equivalence classes, each containing exactly objects. Then the number of classes is .
This rule formalizes the instruction to count labelled constructions first and then identify constructions that differ only by an irrelevant ordering. It is valid only when every equivalence class has the same size.
If objects are placed into boxes, some box contains at least objects. In particular, placing objects into boxes forces a box to contain at least two objects.
To prove the generalized form, assume every box contains at most objects. Then the total would be at most
which contradicts the fact that there are objects.
Finite probability models
A finite sample space is the set of all outcomes of an experiment. An event is a subset .
A probability measure on a finite sample space is a function satisfying
whenever .
The axioms imply
They also imply monotonicity: if , then .
If all outcomes are equally likely, then
This formula is a model-specific consequence, not the definition of probability. It cannot be used when outcomes do not have equal probability.
For two fair tosses,
The event that exactly one head appears is , so .
Random variables and distributions
A random variable is a function . For a discrete random variable, its probability mass function is
and it satisfies and . The cumulative distribution function is defined for every random variable by
The counting principles above are useful when the sample space is finite, but the axiomatic definition continues to apply when outcomes are not equally likely or when the sample space is infinite.
Comments