Quantifying Uncertainty
Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain). It is the mathematics of uncertainty, underlying statistics, physics, finance, and machine learning.
The setup:
- The sample space is the set of all possible outcomes of an experiment (for a die, ).
- An event is a subset of the sample space (e.g. "even," ).
- The probability is a number in assigned to each event.
For equally likely outcomes, probability is a ratio of counts: So for a fair die. This connects probability directly to the counting techniques of combinatorics.
Probability obeys three axioms (Kolmogorov's):
- for every event.
- — some outcome certainly occurs.
- For mutually exclusive events (disjoint, cannot both happen), probabilities add: .
From these follow all the rules, including the complement rule: — often the easiest route ("at least one" problems are usually solved via "none"). For events that can overlap, the general addition rule subtracts the double-counted intersection: — the same inclusion-exclusion seen with sets.
Common pitfall: adding probabilities as when the events can overlap. Simple addition is valid only for mutually exclusive events. If and can both occur, you must subtract the overlap: , or you double-count the shared outcomes and can even exceed 1.