Foundations of Probability
Transcript
Here's a probability question with three right answers. Draw a chord at random in a circle. What's the chance it comes out longer than a side of the triangle inside? One third. One half. One quarter. And all three are correct. In eighteen eighty-nine, the French mathematician Joseph Bertrand worked out all three, and gave up. "None of the three is false," he wrote. "None is correct. The question is badly posed."
That should worry you. If one innocent question has three answers, what exactly is a probability? In nineteen hundred, David Hilbert put that on his famous list of problems for the new century. Nineteen years later, Richard von Mises was blunter. Probability theory, he wrote, "is not a mathematical discipline". Think about what that means. Insurance. Statistics. The physics of gases. All of it ran on a theory whose central word had no agreed definition. And it stayed that way for forty-four years.
Then, in the winter of nineteen thirty-two, a twenty-nine-year-old named Andrey Kolmogorov rented a cottage on a river outside Moscow, and wrote the sixty-two pages that the whole subject now stands on. Here's what he built, the way a modern textbook states it. I know. Sigma-algebras. Countable unions. An integral with a strange letter on the end. It looks like it was written to keep you out.
This language is called measure theory, and my take is that it has the worst marketing in mathematics. It's taught as a wall of definitions. But every line on this page is really a scar. It's there because, without it, probability gives two different answers to the same question, or no answer at all. So here's the plan. Six questions, each one a way that probability breaks. Each one unlocks a line of this page. By the end, you'll read all six like plain English, and you'll know exactly which disaster each line prevents. And I don't trust a maths fact until I've read the original and rerun the numbers, so everything you'll see comes from the sources.
Question one. What does "random" even mean? At school, probability is counting. Roll a die. Three of its six faces are even, so the chance of an even number is three out of six. Count what you want, and divide by everything. Now try that on Bertrand's circle. How many chords are there? Infinitely many. How many of them are long? Infinitely many. Counting gives infinity divided by infinity, which is no answer at all. So you have to say how a chord gets picked. Let's give that job to three friends.
The first friend picks two random points on the rim and joins them. Turn the triangle so that one corner sits on the first point. The chord beats the triangle's side exactly when the second point lands on the far arc, between the other two corners. That arc is one third of the rim. So the chance is one third. The second friend picks a random radius, then a random point along it, and draws the chord through that point at right angles. The chord is long exactly when the point is closer to the centre than the triangle's side is, and that side crosses the radius exactly halfway. So the chance is one half.
The third friend throws a dart at the disc, and draws the one chord that has the dart as its midpoint. That chord is long exactly when the dart lands within half a radius of the centre. Half the radius means a quarter of the area. So the chance is one quarter. Don't take my word for it. Here are two thousand chords from each friend. They don't even look alike. And the share of long chords settles at a third, a half, and a quarter. So which friend is right? Pause, and pick one.
Here's the picture that settles it. Every chord has a midpoint, and the midpoint pins the chord down. So forget the lines. A chord is a point of the disc. All the possible chords are the whole disc. And the long chords are the inner disc, the one with half the radius. Now watch where each friend's two thousand midpoints land. The third friend spreads them evenly. The second friend piles them up near the centre. The first friend piles them at the centre and along the rim. Same disc. Same target. Three different ways of spreading the probability, so three different amounts land inside the target.
A rule like that, which gives sets of outcomes a size, with everything together adding up to one, is called a measure. And that's the first line of the page. A set of outcomes, called omega. And a measure on it. The words "at random", on their own, name no measure at all. That's why Bertrand got three answers. So which measure is the right one? That isn't a maths question. It's a physics question. In nineteen seventy-three, the physicist Edwin Jaynes argued that straws tossed onto a circle from far away must give one half. After all, the answer can't depend on where the circle is or how big it is. In twenty eighteen, two researchers at Durham University actually tossed three thousand six hundred straws. The answer depended on how long the straws were, and it only reached one half for very long ones.
So that's line one. A probability is a measure, and you have to say which one. But the moment you spread probability over infinitely many outcomes, something strange happens to every single one of them. Question two. Here's a spinner whose rim is exactly one unit long. Spin it. The chance that the pointer stops inside any stretch of the rim is the length of that stretch. So what's the chance that it stops at exactly one half?
Not near it. Exactly. Lock in a guess. Close in on it. Within point one on either side: that stretch has length point two. Within point zero zero one: point zero zero two. Name any positive number you like, and the chance is smaller. Only one number is smaller than every positive number, and it's zero. But the pointer always stops somewhere. And wherever it stops, that exact point had probability zero too. So something of probability zero happens on every single spin.
And it gets worse. Every point has probability zero, yet all the points together have probability one. Zero, plus zero, plus zero, forever, equals one? Most of us were taught that probability zero means impossible. The spinner says otherwise. To see what zero really means, we have to ask how many zeros we're adding up. A set is countable if you can line its members up in a list, first, second, third, and so on, so that everybody gets a place. The whole numbers are countable. So are the fractions between zero and one. List them by their bottom number. One half. One third, two thirds. One quarter, three quarters. Every fraction shows up eventually.
But the points of the spinner can't be listed at all. The mathematician Cantor proved that, with one of the most beautiful arguments in mathematics. Suppose you had a complete list of the numbers between zero and one, written out as decimals. Walk down the diagonal, and change every digit you meet. The number you've just built differs from the first number in its first digit, from the second number in its second digit, and so on. It isn't anywhere on the list. So no list is ever complete.
So there are two sizes of infinity here: a list, and more than a list. In eighteen ninety-eight, Emile Borel added the rule that makes sense of the spinner. If you have a list of pieces that don't overlap, the size of all of them together is the sum of their sizes. That's called countable additivity, and it's the second line of the page. Notice what the rule does not say. It promises nothing about more than a list. The points of the spinner can't be listed, so nobody ever has to add up all those zeros. The paradox isn't solved. It's refused.
And the rule has teeth. Try to pick a whole number at random, with every number equally likely. If each one gets probability zero, the total is zero. If each one gets anything more than zero, the total is infinite. So here's a sentence to remember. Countably many equal sizes can never add up to one. It comes back. Now turn the rule on the fractions. They can be listed, so cover them one at a time with tape. Put a piece of tape over the first fraction. Half as much over the second. Half again over the third, and keep halving. Every fraction gets covered. And if the first piece is one percent of the rim, all the tape together comes to two percent.
Your turn. Make that first piece a thousand times shorter. What happens to the total? It's a thousand times shorter too. You can make the total as small as you like, and the tape still covers every fraction. So the fractions, all of them together, have size zero. Think about how strange that is. Between any two points on the rim, however close together, there's a fraction. They're everywhere. And yet the chance that the spinner stops on a fraction is zero. Probability zero doesn't mean impossible. It means size zero.
That's line two. Sizes add up over a list, and never over more than a list. But that raises a question nobody had thought to ask. Does every set of points even have a size? Question three. By nineteen oh one, Henri Lebesgue had a recipe that gave a size to an enormous family of sets: intervals, the fractions, and far stranger things. But one doubt nagged at him. Writing to Emile Borel in May of that year, he admitted that it seemed hard to prove that his sets were "the only sets that can be measured, or even that the others exist".
Four years later, somebody found one. Not a famous professor. A secondary-school teacher in Genoa named Giuseppe Vitali, in a note five pages long. The next two minutes are the hardest in this video, and my favourite. Go slowly with me. Go back to the rim of the spinner. Call two points family if you can get from one to the other by a fraction of a full turn. Half a turn, a third of a turn, or three sevenths of a turn. Start anywhere, and that point's family is a copy of the fractions: a countable sprinkle of points, all the way round the rim.
Start from a point outside that family, and you get a second family, which never touches the first. Keep going, and every point of the rim belongs to exactly one family. Each family is only a list. So to fill the whole rim, there must be uncountably many families. Now ask every family to send one representative. Just one. Collect them into a single set. Mathematicians call it Vitali's set. Choosing from uncountably many families at once takes a special axiom, the axiom of choice, so nobody can hand you this set point by point. But in standard mathematics, it exists.
Here's the trap. Turn Vitali's set by a fraction of a turn, and each representative moves to another member of its own family. Do that for every fraction on the list, and you get a list of copies of the set. No two copies overlap. And together, they cover every point of the rim exactly once. So what size is Vitali's set? Turning a set doesn't change its size, so every copy has the same size. There's a list of copies. And together they make the whole rim, which has size one.
Countably many equal sizes, adding up to one. You already know that can't happen. If its size is zero, the whole rim has size zero. If it's anything more, the rim is infinite. So Vitali's set has no size. Not zero. None. Ask for the chance that the spinner stops in it, and there is no answer. In three dimensions it gets wilder still. In nineteen twenty-four, Banach and Tarski cut a solid ball into finitely many pieces, and reassembled them into two balls, each the same size as the first.
So mathematics made a deal. We stop asking for the size of every set. Instead we keep a family of sets that we agree to measure. Intervals are in the family. If a set is in, so is its complement, everything outside it. And if a whole list of sets is in, so is their union. A family with those rules is called a sigma-algebra, and its sets are called events. That's the third line of the page.
Think of it as the set of yes-or-no questions you're allowed to ask about the outcome. Everything you'll ever compute is in there, and Vitali's set never gets in. Hold on to that idea, because it comes back at the very end. A sigma-algebra turns out to be the mathematics of information. And now we can finish the story from the start. In that cottage on the Klyazma River, Kolmogorov took exactly these three lines and declared them the definition. A set of outcomes. A sigma-algebra of events. And a measure with total size one. He signed the preface at Easter, nineteen thirty-three.
And he was disarmingly honest about the middle line. Countable additivity, he wrote, is something we assume "arbitrarily", because it "has been found expedient". The foundation of probability is a design choice. A very good one. Look what it does to our first two disasters. Bertrand's three answers are three different measures on the same outcomes, so there's no contradiction. And on the spinner, every point has size zero while the whole rim has size one, which is fine, because sizes only add up over lists. And so Hilbert's problem finally had its answer.
Three lines down. If this is the first time measure theory has made sense to you, subscribing really does help a small channel like this one. Because the last three lines are where this page starts to earn its keep. Question four. Here's a random number you already know: tomorrow's rainfall in Singapore, measured at Changi. What's the chance that it's exactly zero? About one half. It's dry on roughly half of all days. And the chance that it's exactly twelve point four millimetres? Zero, like any single point on the spinner.
So is rainfall a discrete random number, like a die? Or a continuous one, like the spinner? It's neither. School gives you one formula for the average of each kind, and no formula at all for this. So let's find out what an average really is. Lebesgue explained his idea with money. Say you owe a debt, and you pay it from a pocket full of coins and notes. You could add them up in the order they come out of your pocket. Or you could sort them into piles first, and count each pile: so many ones, so many twos, so many fives. Same total. Completely different method.
On a graph, the first method is the integral you learned at school. Cut the horizontal axis into thin columns, and add up their areas. Lebesgue cuts the vertical axis instead. For each height, he asks how big the set of points is where the function reaches that height. Then he adds up height times size. When a function is tame, both ways give the same area. But here's a function that isn't tame. It's one on every fraction, and zero everywhere else. Columns are hopeless: every column, however thin, holds both kinds of point, so its height never settles. Layers don't care. Height one, times the size of the fractions, which we know is zero. Plus height zero, times the rest. The integral is zero.
And notice what layers need. Only the sizes of sets. No axis, no columns, just a measure. So you can average over anything that has a measure: the points of a spinner, a disc of chords, an infinite run of coin flips. So here's the fourth line. A random variable is a rule that turns each outcome into a number, in such a way that questions like "is it at most five?" stay among the questions we're allowed to ask. And its average, the expected value, is Lebesgue's integral: each value, times the size of the set of outcomes that give it, all added up.
For a die, that's one plus two, up to six, each times one over six: three and a half. For the spinner, it's the area under a straight line: one half. Sums and school integrals are the same operation in different clothes. And the rain? Sort the days by how much it rained, and stack them up. About half of them pile up at exactly zero. The rest spread out smoothly. Neither school formula fits, and one integral handles both. Dry days contribute nothing. Rain days average twelve point four four millimetres, and they make up forty-six and a half percent of all days. Your turn. About five point eight millimetres a day, which matches the official figure.
There's a third kind of random number, and it's a monster. Flip a coin forever. Heads, jump to the right third of the interval. Tails, jump to the left third instead. Then do the same again inside that third, and again, forever. Every flip throws away the middle third of whatever is left. How much gets thrown away? One over three, then two over nine, then four over twenty-seven. It adds up to one. Everything. What survives is called the Cantor set. It has size zero, and yet it holds as many points as the whole line: one for every infinite run of coin flips.
So where does this random number live? On a set of size zero, so it can't have a density. But no single point has positive probability, so it has no jumps either. Plot the chance that it's at most a given value, and you get a staircase that climbs from zero all the way to one, while being flat almost everywhere. It's called the devil's staircase. And the integral doesn't even blink. Predict its average. One half, by symmetry, because every flip is as likely to send you left as right. In fact, every distribution on the number line is a mix of exactly these three kinds: jumps, a density, and a devil's staircase. Nothing else exists. One line of the page covers all of them.
That's line four. So far, everything has been a single draw. Now we repeat forever, and "probability one" turns out to be a trap. Question five. Flip a fair coin forever, and the share of heads settles down to exactly one half. Borel announced that in nineteen oh nine. And notice what kind of statement it is. It's about an infinite run of flips, so you can't count your way to it. It only makes sense because of line two.
But it doesn't say that every run settles at one half. Heads forever is a perfectly possible run. It just belongs to a set of size zero. So mathematicians say the share of heads tends to one half almost surely, meaning with probability one. Not certainly. Almost surely. Does that gap matter? Ask Giacomo Casanova. Venice, carnival, seventeen fifty-four. He's playing a system called the martingale against the bank, and in his own words: "doubling my stakes continuously, I won every day during the remainder of the carnival."
The system is simple. Bet one coin on an even chance. If you lose, bet two coins. If you lose again, bet four. Keep doubling until you win once, and that single win pays back everything you lost, plus one coin. With unlimited money, you win eventually with probability one. Almost surely. So where's the catch? Give yourself seven coins, enough for bets of one, two and four. Seven times out of eight, you win your one coin. One time in eight, you lose all seven. The average gain is exactly zero.
Your turn. A thousand and twenty-three coins, enough for ten bets in a row. Still exactly zero. I simulated a million players. Ninety-nine point nine percent of them walked away one coin richer. The rest lost a thousand and twenty-three. And the average gain was zero. Here's the picture. After any number of rounds, there's a wide bar of players who are up one coin, and a thin bar of players who are deep in the hole. Each round, the thin bar gets half as wide and twice as deep. So its area never shrinks. It's always worth about one coin of loss, cancelling the one coin of gain.
Now let the rounds run forever. The thin bar shrinks to nothing, so the gain tends to plus one, almost surely. But its area never left. So the average of the limit is one, while the limit of the averages is zero. Swap "limit" and "average", and you get a different answer. Lebesgue's dominated convergence theorem says exactly when that swap is safe. It's safe when one fixed amount, with a finite average, bounds every gain along the way. Nothing bounds a doubling debt. So the swap fails, and a win that's almost sure is worth, on average, nothing.
Casanova found the bound the hard way. Real tables have a maximum bet: at one big European casino, it stops the doubling after eleven bets. And real pockets have a bottom. Later in his memoirs, he admits it: "I still played on the martingale, but with such bad luck that I was soon left without a sequin." That's line five. Almost surely and on average are different things, and dominated convergence tells you when they agree.
One line left. It's the one Kolmogorov himself singled out as new. And it brings back our very first disaster. Question six. Conditioning means updating a probability when you learn something. Roll a die, and I tell you it came up even. Now the chance of a six is one in three: the size of "six and even", divided by the size of "even". That division is the whole rule.
Now the hard case. A dart lands at a completely random point on a globe, so every patch of the surface is hit in proportion to its area. And I tell you that it landed exactly on this circle, the one that runs over the top and the bottom of the globe. That circle has no area, so its probability is zero. The rule says zero divided by zero. The natural fix is to thicken the circle into a thin strip, which does have area, condition on that, and then shrink the strip back down. So here's the question. Given that the dart is on the circle, how likely is it to be near the top or the bottom of the globe, within thirty degrees of either end?
Pause and guess. Thicken the circle into a belt of constant width, and the dart is equally likely to be anywhere along it. The stretches near the top and the bottom make up a hundred and twenty degrees out of three hundred and sixty. So the answer is one third. But thicken it the way you'd cut an orange, into a thin slice between two lines of longitude, and the slice pinches down to nothing at the top and the bottom. There's hardly any slice up there for the dart to land in. Now the answer is thirteen point four percent.
The same circle, and the same dart. Two answers. I checked both with twenty million simulated darts. And if this feels familiar, it should. We started with one question and three answers. Bertrand's ghost is back. Emile Borel asked exactly this. And Kolmogorov's reply, in nineteen thirty-three, was blunt. Conditioning on a single event of probability zero, he wrote, is "inadmissible".
Here's his way out, and it's the idea from chapter three. You never learn one bare fact. You learn the reading of some instrument, and an instrument answers a whole family of questions. One instrument reports how far the dart is from this circle: its questions are all the belts. Another reports the dart's longitude: its questions are all the orange slices. The same circle sits in both families. But the instruments differ, so the updates differ.
So the last line of the page defines a conditional probability given a whole sigma-algebra, never given one lone event. And it pins it down with a single demand. Average your updated probability over any event in the family, and you must get back the probability you started with. Kolmogorov proved that such a thing always exists, using a theorem that Otto Nikodym had published just three years earlier.
That's the sixth line. And notice that it's the same lesson as the first. A question about chance has no answer until you say exactly what's being measured, and exactly what's known. So let's read the page. A probability is a measure: it gives every event a size, and the sizes total one. Sizes add up over a list, and never over more. Events come from a sigma-algebra, because some sets have no size. An average is an integral: value times size. Limits and averages swap only under a bound. And you condition on a sigma-algebra, never on a lone event of size zero.
In eighteen fourteen, Laplace called probability "common sense reduced to calculation". But common sense gave three answers to one question. It took a theory of length to turn probability into mathematics. If that page reads differently to you now than it did half an hour ago, subscribe. Because next, I want to show you the other half of the story: why this same page is the reason statistics works, and how a handful of data can reveal a whole distribution. See you there.

Ask anything
We've read this whole study set, so questions about it get the best answers.