σ-algebras and Borel sets
The lesson "Measuring the size of sets" defined a measure as a rule that gives a size to every set of a suitable collection of sets, and left open which collection that is. This lesson answers. The answer is not simply "all sets", for two reasons. The first is about knowledge: an observer who has only partial information about an outcome can decide membership in some sets and not in others, and a size makes sense only for sets whose membership can be decided. The second is about mathematics: on the interval there is a set to which no length can be given without breaking the rules of a measure. The collections that avoid both problems are called σ-algebras. The lesson defines them, shows that on a finite set they are the same thing as splitting the set into blocks, builds the Borel sets, the σ-algebra on which length will live, and ends with Vitali's set, the reason length cannot be given to every set.
Events as answerable questions
A die is rolled behind a screen, so the set of possible outcomes is and nobody sees which face came up. Two observers are told something about the result. Observer P is told only whether the face is even or odd. Observer S is told only whether the face is at most 2.
Afterwards, P can answer the question "was the face even?", which asks whether the outcome lies in , and the question "was it odd?", which asks about . P cannot answer "was it a 4?", because the parity does not settle it. So the sets that P can decide are exactly four: the empty set (the question "is the face one of no faces?", always answered no), , , and itself (always answered yes). For S the four sets are , , and . In this lesson an event is a set of outcomes whose membership an observer can decide.
These collections have a shape. If you can answer "is the outcome in ?", you can answer "is it outside ?" by flipping the answer. If you can answer the questions about and about , you can answer "is it in or in ?". So the collection cannot be everything that an observer decides: flipping the answer about gives , and combining the two answers gives , and neither is in the collection. A believable list of events has to be closed under these operations, and the next section turns this closure into a definition.
σ-algebras
Let be the set of all outcomes and let be a collection of subsets of . It is a σ-algebra on if it has three properties:
- . The question "is the outcome somewhere in ?" can be answered; the answer is always yes.
- If , then the complement is in . If you can answer a question, you can answer its opposite.
- If , then . If you can answer every question of a countable list, you can answer "is the answer yes to at least one of them?".
The sets of are called measurable sets or events, and the letter σ in the name refers to the countable unions in the third property. P's four sets form a σ-algebra: the complement of is , the complement of is , and every union of two or more of the four sets is again one of the four. The same holds for S. The collection of the previous section is not a σ-algebra, since it contains but not its complement .
Each property rules out an inconsistency. Without the first, no event would say that something happened. Without the second, an observer could know that the face is in yet be unable to say that it is not. Without the third, answering infinitely many questions would produce no answer.
Consequences of the three properties
A few more closure properties follow at once, and each needs only a line.
- The empty set is an event, because is the complement of the first event.
- A union of finitely many events is an event: to form , use the third property on the list .
- A countable intersection of events is an event. This is De Morgan's rule, which turns an intersection into a complement of a union of complements:
The right side is built from complements and one countable union, so it lies in . Two sets give that is an event, and then the difference is one too. In words: every logical combination of countably many answerable questions is answerable.
Countable unions and algebras
Why countable unions and not just finite ones? A collection with only the first two properties and closure under finite unions is called an algebra of sets. Algebras are too small for the questions that matter, as two examples show.
The first example is a die rolled again and again without end. Let be the event "roll number shows a six". Each is a question about a single roll. The question "does a six ever appear?" is the union of infinitely many of them, and no finite union can express it: after any finite number of rolls the answer may still be undecided. Whoever wants to attach a size to "a six eventually appears" needs the countable union.
The second example lives on . Let be the collection of all finite unions of intervals of , where the intervals may be open, closed or half-open, and a single point counts as a degenerate interval. The complement of a finite union of intervals is again one, so is an algebra. It contains every single point . But it does not contain the set of rational numbers, although this set is the countable union of events of . If a finite union of intervals equalled the rationals, no interval in it could have positive length, because every such interval contains irrational numbers. The union would consist of finitely many single points, yet there are infinitely many rationals.
There is also a reason from the definition of a measure: countable additivity, for disjoint sets, has a meaning only if the countable union is itself in the domain of .
Measurable spaces and measure spaces
A set together with a σ-algebra on it is a measurable space, written . It fixes which sets may receive a size without yet giving any size. Adding a measure , a function defined on the sets of with the rules of "Measuring the size of sets", gives a measure space . The sets of are the measurable sets; a set outside is not measured at all, which is different from having size zero.
Every set has two extreme σ-algebras. The smallest is the trivial σ-algebra : an observer who is told nothing can decide only the two questions that every outcome answers in the same way. The largest is the power set of all subsets: an observer who sees the outcome exactly can decide every question. For the die, the power set has sets. Everything else lies between the two.
Take counting measure on the die, the number of faces in . On the power set, . On P's σ-algebra, is not an event, so has no value, while keeps its value. Restricting a measure to a smaller σ-algebra keeps its values and drops the sets that cannot be decided.
A measure space has three parts: the outcomes , the σ-algebra of sets that may be measured, and the measure on . Changing the σ-algebra changes the question "what has a size", not the sizes of the sets that remain.
Finite σ-algebras and partitions
When is finite, a σ-algebra can be described by a list of blocks. Look at P again: it cannot tell 1 from 3 or from 5, and cannot tell 2 from 4 or from 6. It sees the die as two blocks, and , and every event it can decide is a union of blocks: none of them, the first, the second, or both. A split of into disjoint non-empty blocks that together cover is a partition.
The blocks that a finite σ-algebra cannot cut into smaller events are its atoms. Formally, an atom is a non-empty event that has no non-empty event as a proper subset. Three facts hold for every σ-algebra on a finite set, and the first one is proved in a few lines.
- The atoms form a partition of . For an outcome , let be the intersection of all events that contain . There are finitely many events, so is an event, the smallest one containing . Suppose . Then , because is an event containing . Also : otherwise would be an event that contains but not , smaller than . So , and the two sets are equal. Any two of the sets are therefore equal or disjoint, and they cover . Each is an atom, since a smaller event inside would contain some , and then would lie inside it; and every atom is one of them.
- Every event is a union of atoms: an event equals the union of the sets over its outcomes .
- Conversely, every partition gives a σ-algebra, namely all unions of its blocks (the empty union included). If there are atoms, each of them is either in a given event or not, so there are events.
So on a finite set, σ-algebras and partitions are the same thing seen two ways. P has atoms and events; S has the atoms and and also 4 events. The trivial σ-algebra has one atom, , and events; the power set of the die has six atoms, the single faces, and events. The number of different σ-algebras on the die equals the number of ways to partition six faces, which is 203.
Suppose a third observer hears both reports. Faces 1 and 2 differ from each other (odd versus even) and from the rest (small versus large), faces 3 and 5 are both odd and large, and faces 4 and 6 are both even and large. The atoms are , , and , giving events, among them every event of P and of S. More information means a finer partition and a larger σ-algebra.
Generated σ-algebras
In practice one rarely lists a whole σ-algebra. One names a few sets that must be events and asks for the smallest σ-algebra that contains them. Given a collection of subsets of , the σ-algebra generated by , written , is the smallest σ-algebra on that contains every set of . In the language of observers, is everything that can be decided by someone who can decide exactly the questions in , and is therefore forced to decide everything built from them.
"Smallest" needs a definition that works also when is infinite, where one cannot just keep adding complements and unions until nothing new appears. The definition is an intersection:
The family being intersected is not empty, since the power set contains . An intersection of σ-algebras is a σ-algebra: every member contains ; if is in every member, so is ; and if each is in every member, so is their countable union. The result contains and lies inside every other σ-algebra that contains , which is what smallest means.
On a finite the atoms of can be found directly. Give every outcome a signature, its list of yes/no answers to the generating sets: "is it in the first set? is it in the second?". Outcomes with the same signature cannot be told apart by anything built from the generators, and outcomes with different signatures can. So the atoms of are the groups of outcomes with equal signatures, and the number of events is for groups.
The figure does this for the die. The faces on top are coloured and numbered by atom. Below are up to three rows, G1, G2 and G3, of cells: press a cell to put a face into that generating event, and a row with no pressed cell is ignored. The default, G1 and G2 , gives the atoms , , and : and 16 events. "Both observers" shows the atoms , , and of the previous section. "Every face" shows that three well-chosen questions already separate all six faces: 6 atoms and 64 events.
- A1 {1}
- A2 {2}
- A3 {3, 4}
- A4 {5, 6}
- Atoms k
- 4
- Events 2ᵏ
- 16
Press cells to put faces into a generating event; a row with no cell pressed is ignored. Faces with the same yes/no answers to every generating event share an atom, and every event of the σ-algebra is a union of atoms.
Borel sets
On the real line there are no atoms to list, so the σ-algebra is defined by its generators. The Borel σ-algebra is the σ-algebra generated by the open intervals with , and its members are the Borel sets. This is the smallest σ-algebra that contains all intervals, so any measure of length must be defined on at least these sets.
The choice of generators is flexible. The same σ-algebra is generated by the half-open intervals , by the half-lines , or by all open sets. Three derivations show why, each using only the three properties of a σ-algebra.
- From half-lines to half-open intervals: , a difference of two half-lines.
- From half-open intervals to open intervals: , a countable union in which the terms with are empty.
- From open intervals to every open set: let be open. Each point of has an interval around it that lies inside , and the endpoints can be moved to rational numbers without leaving or losing . There are only countably many intervals with rational endpoints, so is a countable union of them.
Hence every open set is Borel, and so is every closed set, as the complement of an open set. A single point is Borel as well, because is a countable intersection of half-open intervals. Taking countable unions of points, every countable set is Borel, in particular the rational numbers , and the irrational numbers are Borel as the complement of . The Cantor set of the next lesson, "Lebesgue measure and null sets", is the intersection of countably many sets , each a finite union of closed intervals, so it is Borel too.
Every set you can write down by a formula or a limiting construction is Borel. Starting from intervals and applying countable unions and complements, in any order and any number of times, stays inside the Borel sets.
Not every subset of the real line is Borel. A counting argument shows this without naming a set: there are as many Borel sets as real numbers, but far more subsets of the line. The next section gives a set that cannot get a length at all, and the next lesson shows that Borel sets can.
Sets without a length
Suppose length, , were defined for every subset of , with the three properties that any sensible length has: the interval has length 1; length is countably additive; and shifting a set around the circle does not change its length. Here the circle means with 1 glued to 0: for let be if that is below 1 and otherwise. For a set write . Cut at the point : the part below it moves to the right, the part above it moves to the left, and a plain shift changes no length, so . Vitali's argument shows that these assumptions contradict each other.
- Call two numbers equivalent when is a rational number. This splits into classes; the class of consists of all numbers reachable from by adding a rational number and wrapping around. Each class is countable and lies densely in , and there are uncountably many classes.
- Choose exactly one number from each class and collect the chosen numbers in a set . This step uses the axiom of choice, because there is no formula that says which number to pick in each class.
- For every rational form the shifted copy . There are countably many such .
- The copies are pairwise disjoint. If for , then is rational, so and are equivalent. Only one number was chosen from a class, so , and then .
- The copies cover . Take any . It is equivalent to the chosen number of its class, so for some rational , which puts in .
- Countable additivity now gives , with every term equal to the same number . If , the sum is 0. If , the sum is infinite. Neither equals 1.
The contradiction lies in the assumptions, not in : no length can be assigned to every subset of . Vitali's set has no explicit description and cannot be built without the axiom of choice, so no calculation will meet it. But it exists in the framework that all of measure theory uses, so something has to be given up.
What to give up
The argument used four ingredients: length is defined on every set, it is countably additive, it is unchanged by shifts, and has length 1. The last one cannot usefully be dropped: if had length 0 or , the contradiction would disappear, but so would any use of length. That leaves three possible repairs, one for each of the other ingredients.
- Give up countable additivity and keep only finite additivity. A finitely additive, shift-invariant length defined on all bounded subsets of the line does exist, by a theorem of Banach, but it behaves badly under limits: the unions of the first shifted copies of Vitali's set increase to , yet each union has length 0, because disjoint copies of equal length fit into for every . Almost every later theorem of this track depends on such limits.
- Give up shift invariance. A set could then have a different size at a different place, which is not what the word length means, and every set of positive size could be moved to change it.
- Give up measuring every set. Keep a countably additive, shift-invariant length, and define it only on a σ-algebra that is large enough to contain everything of interest but too small to contain Vitali's set.
Measure theory takes the third option. The cost is small: every set described by a formula or a limiting process is Borel, and the next lesson builds a length with all the desired properties on the Borel sets. The gain is what the rest of the track uses: limits of sets behave well, and the rules of "Measuring the size of sets", continuity included, hold on the whole domain.
Choosing the σ-algebra
Which σ-algebra to use depends on the space and the purpose. For a finite set such as the die, the usual choice is the power set: all subsets are events. For the real line, or an interval of it, the choice is the Borel σ-algebra; on these are the Borel sets that lie inside . The next lesson adds all subsets of sets of length zero, which changes no size.
On one set, different σ-algebras describe different observers. The die has 203 of them, from the trivial one that knows nothing to the power set that knows everything, with the partial reports of P and S and their combinations in between. Choosing is choosing what the model can talk about: too small a σ-algebra cannot express what an observer knows, and too large a one may demand sizes for sets that have none.
Summary
- An event is a set whose membership can be decided; a σ-algebra is a collection of events containing and closed under complements and countable unions, hence also under countable intersections and differences.
- A measurable space says which sets may get a size; a measure space adds the sizes. The extremes are and the power set.
- On a finite set a σ-algebra is a partition into atoms; atoms give events, and a finer partition means more information. The σ-algebra generated by is the smallest one containing , the intersection of all σ-algebras that do.
- The Borel σ-algebra is generated by the intervals, the half-lines or the open sets. It contains points, countable sets, open and closed sets and the Cantor set, though not every subset of the line.
- Vitali's set, one representative per class of numbers differing by rationals, cannot get a length without breaking countable additivity or shift invariance, so measure theory measures only the sets of a σ-algebra.