In mathematical analysis and in probability theory, a σ-algebra ("sigma algebra") is part of the formalism for defining sets that can be measured. In calculus and analysis, for example, σ-algebras are used to define the concept of sets with area or volume. In probability theory, they are used to define events with a well-defined probability. In this way, σ-algebras help to formalize the notion of "size". In formal terms, a σ-algebra (also σ-field, where the σ comes from the German "Summe", meaning "sum") on a set "X" is a nonempty collection Σ of subsets of "X" closed under complement, countable unions, and countable intersections. The ordered pair formula_1 is called a measurable space. The set "X" is understood to be an ambient space (such as the 2D plane or the set of outcomes when rolling a six-sided die {1,2,3,4,5,6}), and the collection Σ is a choice of subsets declared to have a well-defined size. The closure requirements for σ-algebras are designed to capture our intuitive ideas about how sizes combine: if there is a well-defined probability that an event occurs, there should be a well-defined probability that it does not occur (closure under complements); if several sets have a well-defined size, so should their combination (countable unions); if several events have a well-defined probability of occurring, so should the event where they all occur simultaneously (countable intersections). The definition of σ-algebra resembles other mathematical structures such as a topology (which is required to be closed under all unions but only finite intersections, and which doesn't necessarily contain all complements of its sets) or a set algebra (which is closed only under "finite" unions and intersections). Examples of σ-algebras. If formula_2 one possible σ-algebra on formula_3 is formula_4 where formula_5 is the empty set. In general, a finite algebra is always a σ-algebra. If formula_6 is a countable partition of formula_3 then the collection of all unions of sets in the partition (including the empty set) is a σ-algebra. A more useful example is the set of subsets of the real line formed by starting with all open intervals and adding in all countable unions, countable intersections, and relative complements and continuing this process (by transfinite iteration through all countable ordinals) until the relevant closure properties are achieved (a construction known as the Borel hierarchy). Motivation. There are at least three key motivators for σ-algebras: defining measures, manipulating limits of sets, and managing partial information characterized by sets. Measure. A measure on formula_3 is a function that assigns a non-negative real number to subsets of formula_9 this can be thought of as making precise a notion of "size" or "volume" for sets. We want the size of the union of disjoint sets to be the sum of their individual sizes, even for an infinite sequence of disjoint sets. One would like to assign a size to subset of formula_10 but in many natural settings, this is not possible. For example, the axiom of choice implies that when the size under consideration is the ordinary notion of length for subsets of the real line, then there exist sets for which no size exists, for example, the Vitali sets. For this reason, one considers instead a smaller collection of privileged subsets of formula_11 These subsets will be called the measurable sets. They are closed under operations that one would expect for measurable sets, that is, the complement of a measurable set is a measurable set and the countable union of measurable sets is a measurable set. Non-empty collections of sets with these properties are called σ-algebras. Limits of sets. Many uses of measure, such as the probability concept of almost sure convergence, involve limits of sequences of sets. For this, closure under countable unions and intersections is paramount. Set limits are defined as follows on σ-algebras. The inner limit is always a subset of the outer limit: formula_29 If these two sets are equal then their limit formula_30 exists and is equal to this common set: formula_31 Sub σ-algebras. In much of probability, especially when conditional expectation is involved, one is concerned with sets that represent only part of all the possible information that can be observed. This partial information can be characterized with a smaller σ-algebra which is a subset of the principal σ-algebra; it consists of the collection of subsets relevant only to and determined only by the partial information. Formally, if formula_32 are σ-algebras on formula_3, then formula_34 is a sub σ-algebra of formula_35 if formula_36. The Bernoulli process provides a simple example. This consists of a sequence of random coin flips, coming up Heads (formula_37) or Tails (formula_38), of unbounded length. The sample space Ω consists of all possible infinite sequences of formula_37 or formula_40 formula_41 The full sigma algebra can be generated from an ascending sequence of subalgebras, by considering the information that might be obtained after observing some or all of the first formula_42 coin flips. This sequence of subalgebras is given by formula_43 Each of these is finer than the last, and so can be ordered as a filtration formula_44 The first subalgebra formula_45 is the trivial algebra: it has only two elements in it, the empty set and the total space. The second subalgebra formula_46 has four elements: the two in formula_47 plus two more: sequences that start with formula_37 and sequences that start with formula_38. Each subalgebra is finer than the last. The formula_42'th subalgebra contains formula_51 elements: it divides the total space formula_52 into all of the possible sequences that might have been observed after formula_42 flips, including the possible non-observation of some of the flips. The limiting algebra formula_54 is the smallest σ-algebra containing all the others. It is the algebra generated by the product topology or weak topology on the product space formula_55 Definition and properties. Definition. Let formula_3 be some set, and let formula_57 represent its power set, the set of all subsets of formula_3. Then a subset formula_59 is called a σ-algebra if and only if it satisfies the following three properties: From these properties, it follows that the σ-algebra is also closed under countable intersections (by applying De Morgan's laws). It also follows that the empty set formula_5 is in formula_64 since by (1) formula_3 is in formula_61 and (2) asserts that its complement, the empty set, is also in formula_74 Moreover, since formula_75 satisfies all 3 conditions, it follows that formula_75 is the smallest possible σ-algebra on formula_11 The largest possible σ-algebra on formula_3 is formula_79 Elements of the σ-algebra are called measurable sets. An ordered pair formula_80 where formula_3 is a set and formula_61 is a σ-algebra over formula_10 is called a measurable space. A function between two measurable spaces is called a measurable function if the preimage of every measurable set is measurable. The collection of measurable spaces forms a category, with the measurable functions as morphisms. Measures are defined as certain types of functions from a σ-algebra to formula_84 A σ-algebra is both a π-system and a Dynkin system (λ-system). The converse is true as well, by Dynkin's theorem (see below). Dynkin's π-λ theorem. This theorem (or the related monotone class theorem) is an essential tool for proving many results about properties of specific σ-algebras. It capitalizes on the nature of two simpler classes of sets, namely the following. Dynkin's π-λ theorem says, if formula_85 is a π-system and formula_87 is a Dynkin system that contains formula_92 then the σ-algebra formula_93 generated by formula_85 is contained in formula_95 Since certain π-systems are relatively simple classes, it may not be hard to verify that all sets in formula_85 enjoy the property under consideration while, on the other hand, showing that the collection formula_87 of all subsets with the property is a Dynkin system can also be straightforward. Dynkin's π-λ Theorem then implies that all sets in formula_93 enjoy the property, avoiding the task of checking it for an arbitrary set in formula_99 One of the most fundamental uses of the π-λ theorem is to show equivalence of separately defined measures or integrals. For example, it is used to equate a probability for a random variable formula_3 with the Lebesgue-Stieltjes integral typically associated with computing the probability: formula_101 for all formula_63 in the Borel σ-algebra on formula_103 where formula_104 is the cumulative distribution function for formula_10 defined on formula_103 while formula_107 is a probability measure, defined on a σ-algebra formula_61 of subsets of some sample space formula_109 Combining σ-algebras. Suppose formula_110 is a collection of σ-algebras on a space formula_11 Meet The intersection of a collection of σ-algebras is a σ-algebra. To emphasize its character as a σ-algebra, it often is denoted by: formula_112 Sketch of Proof: Let formula_113 denote the intersection. Since formula_3 is in every formula_115 is not empty. Closure under complement and countable unions for every formula_116 implies the same must be true for formula_117 Therefore, formula_113 is a σ-algebra. Join The union of a collection of σ-algebras is not generally a σ-algebra, or even an algebra, but it generates a σ-algebra known as the join which typically is denoted formula_119 A π-system that generates the join is formula_120 Sketch of Proof: By the case formula_121 it is seen that each formula_122 so formula_123 This implies formula_124 by the definition of a σ-algebra generated by a collection of subsets. On the other hand, formula_125 which, by Dynkin's π-λ theorem, implies formula_126 σ-algebras for subspaces. Suppose formula_127 is a subset of formula_3 and let formula_1 be a measurable space. Relation to σ-ring. A "σ"-algebra formula_61 is just a "σ"-ring that contains the universal set formula_11 A "σ"-ring need not be a "σ"-algebra, as for example measurable subsets of zero Lebesgue measure in the real line are a "σ"-ring, but not a "σ"-algebra since the real line has infinite measure and thus cannot be obtained by their countable union. If, instead of zero measure, one takes measurable subsets of finite Lebesgue measure, those are a ring but not a "σ"-ring, since the real line can be obtained by their countable union yet its measure is not finite. Typographic note. "σ"-algebras are sometimes denoted using calligraphic capital letters, or the Fraktur typeface. Thus formula_1 may be denoted as formula_138 or formula_139 Particular cases and examples. Separable σ-algebras. A separable formula_140-algebra (or separable formula_140-field) is a formula_140-algebra formula_143 that is a separable space when considered as a metric space with metric formula_144 for formula_145 and a given finite measure formula_146 (and with formula_147 being the symmetric difference operator). Any formula_140-algebra generated by a countable collection of sets is separable, but the converse need not hold. For example, the Lebesgue formula_140-algebra is separable (since every Lebesgue measurable set is equivalent to some Borel set) but not countably generated (since its cardinality is higher than continuum). A separable measure space has a natural pseudometric that renders it separable as a pseudometric space. The distance between two sets is defined as the measure of the symmetric difference of the two sets. The symmetric difference of two distinct sets can have measure zero; hence the pseudometric as defined above need not be a true metric. However, if sets whose symmetric difference has measure zero are identified into a single equivalence class, the resulting quotient set can be properly metrized by the induced metric. If the measure space is separable, it can be shown that the corresponding metric space is, too. Simple set-based examples. Let formula_3 be any set. Stopping time sigma-algebras. A stopping time formula_161 can define a formula_140-algebra formula_163 the so-called , which in a filtered probability space describes the information up to the random time formula_161 in the sense that, if the filtered probability space is interpreted as a random experiment, the maximum information that can be found out about the experiment from arbitrarily often repeating it until the time formula_161 is formula_166 σ-algebras generated by families of sets. σ-algebra generated by an arbitrary family. Let formula_167 be an arbitrary family of subsets of formula_11 Then there exists a unique smallest σ-algebra which contains every set in formula_167 (even though formula_167 may or may not itself be a σ-algebra). It is, in fact, the intersection of all σ-algebras containing formula_171 (See intersections of σ-algebras above.) This σ-algebra is denoted formula_172 and is called the σ-algebra generated by formula_171 If formula_167 is empty, then formula_175 Otherwise formula_172 consists of all the subsets of formula_3 that can be made from elements of formula_167 by a countable number of complement, union and intersection operations. For a simple example, consider the set formula_179 Then the σ-algebra generated by the single subset formula_180 is formula_181 By an abuse of notation, when a collection of subsets contains only one element, formula_182 formula_183 may be written instead of formula_184 in the prior example formula_185 instead of formula_186 Indeed, using formula_187 to mean formula_188 is also quite common. There are many families of subsets that generate useful σ-algebras. Some of these are presented here. σ-algebra generated by a function. If formula_189 is a function from a set formula_3 to a set formula_127 and formula_192 is a formula_140-algebra of subsets of formula_194 then the formula_140-algebra generated by the function formula_196 denoted by formula_197 is the collection of all inverse images formula_198 of the sets formula_199 in formula_200 That is, formula_201 A function formula_189 from a set formula_3 to a set formula_127 is measurable with respect to a σ-algebra formula_61 of subsets of formula_3 if and only if formula_207 is a subset of formula_208 One common situation, and understood by default if formula_192 is not specified explicitly, is when formula_127 is a metric or topological space and formula_192 is the collection of Borel sets on formula_131 If formula_189 is a function from formula_3 to formula_215 then formula_207 is generated by the family of subsets which are inverse images of intervals/rectangles in formula_217 formula_218 A useful property is the following. Assume formula_189 is a measurable map from formula_220 to formula_221 and formula_222 is a measurable map from formula_220 to formula_224 If there exists a measurable map formula_225 from formula_226 to formula_221 such that formula_228 for all formula_229 then formula_230 If formula_199 is finite or countably infinite or, more generally, formula_221 is a standard Borel space (for example, a separable complete metric space with its associated Borel sets), then the converse is also true. Examples of standard Borel spaces include formula_215 with its Borel sets and formula_234 with the cylinder σ-algebra described below. Borel and Lebesgue σ-algebras. An important example is the Borel algebra over any topological space: the σ-algebra generated by the open sets (or, equivalently, by the closed sets). This σ-algebra is not, in general, the whole power set. For a non-trivial example that is not a Borel set, see the Vitali set or Non-Borel sets. On the Euclidean space formula_235 another σ-algebra is of importance: that of all Lebesgue measurable sets. This σ-algebra contains more sets than the Borel σ-algebra on formula_215 and is preferred in integration theory, as it gives a complete measure space. Product σ-algebra. Let formula_237 and formula_238 be two measurable spaces. The σ-algebra for the corresponding product space formula_239 is called the product σ-algebra and is defined by formula_240 Observe that formula_241 is a π-system. The Borel σ-algebra for formula_215 is generated by half-infinite rectangles and by finite rectangles. For example, formula_243 For each of these two examples, the generating family is a π-system. σ-algebra generated by cylinder sets. Suppose formula_244 is a set of real-valued functions. Let formula_245 denote the Borel subsets of formula_246 A cylinder subset of formula_3 is a finitely restricted set defined as formula_248 Each formula_249 is a π-system that generates a σ-algebra formula_250 Then the family of subsets formula_251 is an algebra that generates the cylinder σ-algebra for formula_11 This σ-algebra is a subalgebra of the Borel σ-algebra determined by the product topology of formula_253 restricted to formula_11 An important special case is when formula_255 is the set of natural numbers and formula_3 is a set of real-valued sequences. In this case, it suffices to consider the cylinder sets formula_257 for which formula_258 is a non-decreasing sequence of σ-algebras. Ball σ-algebra. The ball σ-algebra is the smallest σ-algebra containing all the open (and/or closed) balls. This is never larger than the Borel σ-algebra. Note that the two σ-algebra are equal for separable spaces. For some nonseparable spaces, some maps are ball measurable even though they are not Borel measurable, making use of the ball σ-algebra useful in the analysis of such maps. σ-algebra generated by random variable or vector. Suppose formula_259 is a probability space. If formula_260 is measurable with respect to the Borel σ-algebra on formula_215 then formula_127 is called a random variable (formula_263) or random vector (formula_264). The σ-algebra generated by formula_127 is formula_266 σ-algebra generated by a stochastic process. Suppose formula_267 is a probability space and formula_268 is the set of real-valued functions on formula_269 If formula_270 is measurable with respect to the cylinder σ-algebra formula_271 (see above) for formula_3 then formula_127 is called a stochastic process or random process. The σ-algebra generated by formula_127 is formula_275 the σ-algebra generated by the inverse images of cylinder sets.