Three rules survived the previous lesson: probabilities lie between zero and one, the alternatives sum to one, and disjoint alternatives add. Rules need something to be rules about, and this lesson builds it. The construction is set theory of the plainest kind, and by the end of it a handful of genuinely useful formulas will have been proved rather than asserted.
The list of everything that can happen
Start with the experiment, meaning any procedure with an uncertain result. Its sample space is the set of all its possible outcomes, chosen so that exactly one of them occurs on each run: no two can happen together, and none can be left out.
For one roll of a die, . For two dice distinguished by colour, is the set of ordered pairs , so it has elements. That choice is not forced, and the alternative is instructive: you could take to be the possible totals, from to , and the definition would still be satisfied, since exactly one total occurs. What you lose is symmetry. The pairs are interchangeable and the totals are not, so only the first choice lets you count. Choosing a sample space fine enough to be symmetric is the single most useful habit in the subject.
Sample spaces need not be finite. Toss a coin until the first head appears and record how many tosses it took: , countably infinite, with no upper bound on how long you might wait. Measure the lifetime of a light bulb in hours and is the set of non-negative real numbers, uncountable. All three kinds appear in this course.
An event is a subset of : any collection of outcomes you might want to speak about as a unit. "The die shows an even number" is the subset . "The two dice total seven" is a subset of six pairs. An event occurs when the outcome that happened is one of its members. Individual outcomes give the one-element events, itself is the certain event, and the empty set is the impossible one.
Or, and, not
Putting events in a set makes ordinary logical words into set operations, and this is the whole reason for the construction.
" or ", meaning at least one of them, is the union . " and ", meaning both, is the intersection . "Not " is the complement . Two events with cannot both occur and are called disjoint or mutually exclusive. A family of events that are pairwise disjoint and whose union is all of is a partition: exactly one of them happens.
Set algebra now supplies identities for free, including the two of De Morgan:
Read in words, the first says that "neither happened" is the same statement as "not the first and not the second", and the second says that "they did not both happen" is the same as "at least one failed to". These are not probability facts, they are facts about sets, and they will convert several awkward calculations into easy ones. The trick that solved de Méré's dice problem in the previous lesson was exactly the first identity: "at least one six" is the complement of "no sixes", and the second is far easier to count.
Three axioms
Kolmogorov's 1933 axioms assign to each event a number subject to three demands.
The third is countable additivity, and the word countable is doing real work: it holds for infinite sequences of disjoint events, not merely for finitely many. That extension is what allows the coin-until-heads space to be handled, where the probabilities must sum to over infinitely many outcomes, which they do by the geometric series.
One honest caveat. On an uncountable sample space, such as a dart landing anywhere on a metre rule, it is not possible to assign a sensible probability to every subset: there are subsets so pathological that any assignment contradicts the axioms. The repair is to declare in advance a family of subsets that count as events, closed under complement and countable union, and demand nothing about the rest. That family is called a -algebra, and for everything in this course it can be ignored, because every set anyone would write down is in it. It is mentioned here only so that the word is not a surprise elsewhere.
What follows at once
Everything below is proved from the three axioms and nothing else.
The complement rule comes first. and are disjoint and their union is , so , giving
Take and this gives : the impossible event has probability zero. The converse fails, and it will matter later. An event of probability zero need not be impossible, as the lesson on continuous variables shows.
Next, if , split into the disjoint pieces and . Then , and since the last term cannot be negative,
so probability is monotone. Combined with this bounds every probability above by one, which the axioms never stated directly. The rearrangement is the difference rule, valid when sits inside and not otherwise.
Example. In a group, percent own a bicycle and percent own a bicycle and a car. What can be said about the percentage owning a bicycle but no car?
"Bicycle and car" is a subset of "bicycle", so the difference rule applies exactly: . Note that nothing was assumed about how the two ownerships relate. The subset relation did all the work.
Now you. In the same group, percent own a car. What percentage own a car but no bicycle?
Answer
, again by the difference rule, since car-and-bicycle is a subset of car.
Adding events that overlap
The third axiom adds probabilities only for disjoint events, and most interesting pairs overlap. Fix it by splitting.
Write as the two disjoint pieces and . Additivity gives , and since the difference rule turns the second term into . Hence
This is inclusion and exclusion. The subtraction is bookkeeping: adding the two probabilities counts the overlap twice, so it comes off once. For three events the same argument, applied twice, gives
The pattern continues, alternating in sign, with all singles added, all pairs subtracted, all triples added, and so on.
Dropping the subtractions leaves an inequality that holds always, since the terms removed are non-negative:
This is the union bound, or Boole's inequality. It is crude, it needs no information at all about how the events relate, and it is used constantly, because "at least one of these bad things happens" is bounded by the sum of the individual risks whether or not they are connected. When the sum exceeds one it says nothing, which is the honest signal that the events overlap too much for it to help.
Example. A whole number is drawn at random from to , each equally likely. What is the probability it is divisible by , by or by ?
Count each set: multiples of , of , of . Subtract the pairs, counted by the least common multiples: multiples of , of , of . Add back the multiples of . The union has
members, so the probability is . The union bound would have offered only , which is no information at all.
Now you. Two fair dice are rolled. Let be "at least one die shows a five", which contains of the pairs, and be "the total is eight", which contains . Their intersection contains . Find .
Answer
.
When the outcomes are equally likely
Suppose is finite with outcomes and all of them carry the same probability . Additivity over the one-element events gives , so , and for any event containing outcomes,
The classical rule of the previous lesson is recovered, no longer as a definition but as a theorem about one particular assignment among many. The axioms are silent about whether the outcomes deserve equal probability; that is a modelling decision made outside the mathematics, justified by symmetry when there is symmetry and by measurement when there is not.
Nothing forces uniformity. A loaded die might carry with the other five faces sharing the remaining equally, at each, and every rule above still applies unchanged. The infinite space is the sharper case: for the coin tossed until the first head, , which sums to but assigns different probabilities to different outcomes, and no uniform assignment on is even possible, since equal positive values summing to one over infinitely many outcomes cannot exist.
Example. A die is loaded so that and the other five faces are equally likely. What is the probability of an even number?
The other five faces share , so each has . The even faces are , and , disjoint one-element events, so . On a fair die it would be , and the loading has shifted it.
Now you. For the same loaded die, find the probability that the result is at least .
Answer
The outcomes , and have probabilities , and , so the answer is as well. The two events differ but happen to share a probability.
What the axioms do not give you
Three axioms and some set algebra have produced the complement rule, monotonicity, the difference rule, inclusion and exclusion in any number of events, and the union bound. That is a working toolkit, and it is worth being clear about what it is not.
The axioms never say what number to attach to any particular event. They constrain assignments to be consistent with one another; they cannot manufacture one out of nothing. Every calculation in this lesson began from probabilities that were either handed over or justified by a symmetry argument outside the theory, and this is not a defect to be repaired later. It is the permanent division of labour: modelling supplies the inputs, the axioms police the consequences.
The other gap is practical. Once symmetry does apply, reduces every question to two counts, and the sets that arise are rarely small enough to list. How many five-card hands contain two pairs? How many ways can twenty-three birthdays fall so that no two coincide? Answering questions like these is a discipline of its own, and it is the subject of the next lesson.