In mathematical analysis and in probability theory, a **σ-algebra** (also **σ-field**) on a set *X* is a collection Σ of subsets of *X* that
includes *X* itself, is closed under complement, and is closed under countable unions.

The definition implies that it also includes the empty subset and that it is closed under countable intersections.

The pair (*X*, Σ) is called a measurable space or Borel space.

A σ-algebra is a type of algebra of sets. An algebra of sets needs only to be closed under the union or intersection of *finitely* many subsets, which is a weaker condition.^{[1]}

The main use of σ-algebras is in the definition of measures; specifically, the collection of those subsets for which a given measure is defined is necessarily a σ-algebra. This concept is important in mathematical analysis as the foundation for Lebesgue integration, and in probability theory, where it is interpreted as the collection of events which can be assigned probabilities. Also, in probability, σ-algebras are pivotal in the definition of conditional expectation.

In statistics, (sub) σ-algebras are needed for the formal mathematical definition of a sufficient statistic,^{[2]} particularly when the statistic is a function or a random process and the notion of conditional density is not applicable.

If *X* = {*a*, *b*, *c*, *d*}, one possible σ-algebra on *X* is Σ = { ∅, {*a*, *b*}, {*c*, *d*}, {*a*, *b*, *c*, *d*} }, where ∅ is the empty set. In general, a finite algebra is always a σ-algebra.

If {*A*_{1}, *A*_{2}, *A*_{3}, …} is a countable partition of *X* 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 - the σ-algebra produced by this process is known as the Borel algebra on the real line, and can also be conceived as the smallest (i.e. "coarsest") σ-algebra containing all the open sets, or equivalently containing all the closed sets. It is foundational to measure theory, and therefore modern probability theory, and a related construction known as the Borel hierarchy is of relevance to descriptive set theory.

## 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 *X* is a function that assigns a non-negative real number to subsets of *X*; 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 *every* subset of *X*, 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 *X*. 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 limit supremum of a sequence
*A*_{1},*A*_{2},*A*_{3}, ..., each of which is a subset of*X*, is

- The limit infimum of a sequence
*A*_{1},*A*_{2},*A*_{3}, ..., each of which is a subset of*X*, is

- If, in fact,

- then the exists as that common set.

### 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. A simple example suffices to illustrate this idea.

Imagine you and another person are betting on a game that involves flipping a coin repeatedly and observing whether it comes up Heads (*H*) or Tails (*T*). Since you and your opponent are each infinitely wealthy, there is no limit to how long the game can last. This means the sample space Ω must consist of all possible infinite sequences of *H* or *T*:

However, after *n* flips of the coin, you may want to determine or revise your betting strategy in advance of the next flip. The observed information at that point can be described in terms of the 2^{n} possibilities for the first *n* flips. Formally, since you need to use subsets of Ω, this is codified as the σ-algebra

Observe that then

where is the smallest σ-algebra containing all the others.

## Definition and properties

### Definition

Let *X* be some set, and let represent its power set. Then a subset is called a ** σ-algebra** if it satisfies the following three properties:

^{[3]}

*X*is in Σ, and*X*is considered to be the universal set in the following context.- Σ is
*closed under complementation*: If*A*is in Σ, then so is its complement,*X*\*A*. - Σ is
*closed under countable unions*: If*A*_{1},*A*_{2},*A*_{3}, ... are in Σ, then so is*A*=*A*_{1}∪*A*_{2}∪*A*_{3}∪ … .

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 ∅ is in Σ, since by **(1)** *X* is in Σ and **(2)** asserts that its complement, the empty set, is also in Σ. Moreover, since {*X*, ∅} satisfies condition **(3)** as well, it follows that {*X*, ∅} is the smallest possible σ-algebra on *X*. The largest possible σ-algebra on *X* is 2^{X}:=.

Elements of the *σ*-algebra are called measurable sets. An ordered pair (*X*, Σ), where *X* is a set and Σ is a *σ*-algebra over *X*, 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 [0, ∞].

A σ-algebra is both a π-system and a Dynkin system (λ-system). The converse is true as well, by Dynkin's theorem (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.

- A π-system
*P*is a collection of subsets of X that is closed under finitely many intersections, and - a Dynkin system (or λ-system)
*D*is a collection of subsets of X that contains X and is closed under complement and under countable unions of*disjoint*subsets.

Dynkin's π-λ theorem says, if *P* is a π-system and *D* is a Dynkin system that contains *P* then the σ-algebra σ(*P*) generated by *P* is contained in *D*. Since certain π-systems are relatively simple classes, it may not be hard to verify that all sets in *P* enjoy the property under consideration while, on the other hand, showing that the collection *D* of all subsets with the property is a Dynkin system can also be straightforward. Dynkin's π-λ Theorem then implies that all sets in σ(*P*) enjoy the property, avoiding the task of checking it for an arbitrary set in σ(*P*).

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 *X* with the Lebesgue-Stieltjes integral typically associated with computing the probability:

- for all
*A*in the Borel σ-algebra on**R**,

where *F*(*x*) is the cumulative distribution function for *X*, defined on **R**, while is a probability measure, defined on a σ-algebra Σ of subsets of some sample space Ω.

### Combining σ-algebras

Suppose is a collection of σ-algebras on a space *X*.

- The intersection of a collection of σ-algebras is a σ-algebra. To emphasize its character as a σ-algebra, it often is denoted by:

**Sketch of Proof:**Let Σ^{∗}denote the intersection. Since*X*is in every Σ_{α}, Σ^{∗}is not empty. Closure under complement and countable unions for every Σ_{α}implies the same must be true for Σ^{∗}. Therefore, Σ^{∗}is a σ-algebra.

- 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

- A π-system that generates the join is
**Sketch of Proof:**By the case*n*= 1, it is seen that each , so- This implies
- by the definition of a σ-algebra generated by a collection of subsets. On the other hand,
- which, by Dynkin's π-λ theorem, implies

### σ-algebras for subspaces

Suppose *Y* is a subset of *X* and let (*X*, Σ) be a measurable space.

- The collection {
*Y*∩*B*:*B*∈ Σ} is a σ-algebra of subsets of*Y*. - Suppose (
*Y*, Λ) is a measurable space. The collection {*A*⊂*X*:*A*∩*Y*∈ Λ} is a σ-algebra of subsets of*X*.

### Relation to σ-ring

A *σ*-algebra Σ is just a *σ*-ring that contains the universal set *X*.^{[4]} 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 (*X*, Σ) may be denoted as or .

## Particular cases and examples

### Separable σ-algebras

A **separable σ-algebra** (or **separable σ-field**) is a σ-algebra that is a separable space when considered as a metric space with metric for and a given measure (and with being the symmetric difference operator).^{[5]} Note that any σ-algebra generated by a countable collection of sets is separable, but the converse need not hold. For example, the Lebesgue σ-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. Note that the symmetric difference of two distinct sets can have measure zero; hence the pseudometric as defined above need not to 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 *X* be any set.

- The family consisting only of the empty set and the set
*X*, called the minimal or**trivial σ-algebra**over*X*. - The power set of
*X*, called the**discrete σ-algebra**. - The collection {∅,
*A*,*A*^{c},*X*} is a simple σ-algebra generated by the subset*A*. - The collection of subsets of
*X*which are countable or whose complements are countable is a σ-algebra (which is distinct from the power set of*X*if and only if*X*is uncountable). This is the σ-algebra generated by the singletons of*X*. Note: "countable" includes finite or empty. - The collection of all unions of sets in a countable partition of
*X*is a σ-algebra.

### Stopping time σ-algebras

A stopping time can define a -algebra , the
so-called -Algebra of τ-past, which in a filtered probability space describes the information up to the random time 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 is .^{[6]}

## σ-algebras generated by families of sets

### σ-algebra generated by an arbitrary family

Let *F* be an arbitrary family of subsets of *X*. Then there exists a unique smallest σ-algebra which contains every set in *F* (even though *F* may or may not itself be a σ-algebra). It is, in fact, the intersection of all σ-algebras containing *F*. (See intersections of σ-algebras above.) This σ-algebra is denoted σ(*F*) and is called **the σ-algebra generated by F**.

Then σ(*F*) consists of all the subsets of *X* that can be made from elements of *F* by a countable number of complement, union and intersection operations. If *F* is empty, then σ(*F*) = {*X*, ∅}, since an empty union and intersection produce the empty set and universal set, respectively.

For a simple example, consider the set *X* = {1, 2, 3}. Then the σ-algebra generated by the single subset {1} is σ({{1}}) = {∅, {1}, {2, 3}, {1, 2, 3}}. By an abuse of notation, when a collection of subsets contains only one element, *A*, one may write σ(*A*) instead of σ({*A*}) if it is clear that *A* is a subset of *X*; in the prior example σ({1}) instead of σ({{1}}). Indeed, using σ(*A*_{1}, *A*_{2}, ...) to mean σ({*A*_{1}, *A*_{2}, ...}) 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 *f* is a function from a set *X* to a set *Y* and *B* is a σ-algebra of subsets of *Y*, then the **σ-algebra generated by the function** *f*, denoted by σ(*f*), is the collection of all inverse images *f*^{ -1}(*S*) of the sets *S* in *B*. i.e.

A function *f* from a set *X* to a set *Y* is measurable with respect to a σ-algebra Σ of subsets of *X* if and only if σ(*f*) is a subset of Σ.

One common situation, and understood by default if *B* is not specified explicitly, is when *Y* is a metric or topological space and *B* is the collection of Borel sets on *Y*.

If *f* is a function from *X* to **R**^{n} then σ(*f*) is generated by the family of subsets which are inverse images of intervals/rectangles in **R**^{n}:

A useful property is the following. Assume *f* is a measurable map from (*X*, Σ_{X}) to (*S*, Σ_{S}) and *g* is a measurable map from (*X*, Σ_{X}) to (*T*, Σ_{T}). If there exists a measurable map *h* from (*T*, Σ_{T}) to (*S*, Σ_{S}) such that *f*(*x*) = *h*(*g*(*x*)) for all *x*, then σ(*f*) ⊂ σ(*g*). If *S* is finite or countably infinite or, more generally, (*S*, Σ_{S}) is a standard Borel space (e.g., a separable complete metric space with its associated Borel sets), then the converse is also true.^{[7]} Examples of standard Borel spaces include **R**^{n} with its Borel sets and **R**^{∞} 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). Note that 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 **R**^{n}, another σ-algebra is of importance: that of all Lebesgue measurable sets. This σ-algebra contains more sets than the Borel σ-algebra on **R**^{n} and is preferred in integration theory, as it gives a complete measure space.

### Product σ-algebra

Let and be two measurable spaces. The σ-algebra for the corresponding product space is called the **product σ-algebra** and is defined by

Observe that is a π-system.

The Borel σ-algebra for **R**^{n} is generated by half-infinite rectangles and by finite rectangles. For example,

For each of these two examples, the generating family is a π-system.

### σ-algebra generated by cylinder sets

Suppose

is a set of real-valued functions on . Let denote the Borel subsets of **R**. For each and a cylinder subset of X is a finitely restricted set defined as

For each ,

is a π-system that generates a σ-algebra . Then the family of subsets

is an algebra that generates the **cylinder σ-algebra** for X. This σ-algebra is a subalgebra of the Borel σ-algebra determined by the product topology of restricted to X.

An important special case is when is the set of natural numbers and X is a set of real-valued sequences. In this case, it suffices to consider the cylinder sets

for which

is a non-decreasing sequence of σ-algebras.

### σ-algebra generated by random variable or vector

Suppose is a probability space. If is measurable with respect to the Borel σ-algebra on **R**^{n} then Y is called a **random variable** (*n = 1*) or **random vector** (*n* > 1). The σ-algebra generated by Y is

### σ-algebra generated by a stochastic process

Suppose is a probability space and is the set of real-valued functions on . If is measurable with respect to the cylinder σ-algebra (see above) for X, then Y is called a **stochastic process** or **random process**. The σ-algebra generated by Y is

the σ-algebra generated by the inverse images of cylinder sets.

## See also

- Algebra of sets
- δ-ring
- Field of sets
- Join (sigma algebra)
- λ-system (Dynkin system)
- Measurable function
- π-system
- Ring of sets
- Sample space
- σ-ring
- Sigma additivity

## References

**^**"Probability, Mathematical Statistics, Stochastic Processes".*Random*. University of Alabama in Huntsville, Department of Mathematical Sciences. Retrieved 30 March 2016.**^**Billingsley, Patrick (2012).*Probability and Measure*(Anniversary ed.). Wiley. ISBN 978-1-118-12237-2.**^**Rudin, Walter (1987).*Real & Complex Analysis*. McGraw-Hill. ISBN 978-0-07-054234-1.**^**Vestrup, Eric M. (2009).*The Theory of Measures and Integration*. John Wiley & Sons. p. 12. ISBN 978-0-470-31795-2.**^**Džamonja, Mirna; Kunen, Kenneth (1995). "Properties of the class of measure separable compact spaces" (PDF).*Fundamenta Mathematicae*: 262.If is a Borel measure on , the measure algebra of is the Boolean algebra of all Borel sets modulo -null sets. If is finite, then such a measure algebra is also a metric space, with the distance between the two sets being the measure of their symmetric difference. Then, we say that is

*separable*iff this metric space is separable as a topological space.**^**Fischer, Tom (2013). "On simple representations of stopping times and stopping time sigma-algebras".*Statistics and Probability Letters*.**83**(1): 345–349. arXiv:1112.1603. doi:10.1016/j.spl.2012.09.024.**^**Kallenberg, Olav (2001).*Foundations of Modern Probability*(2nd ed.). Springer. p. 7. ISBN 978-0-387-95313-7.

## External links

- "Algebra of sets",
*Encyclopedia of Mathematics*, EMS Press, 2001 [1994] - Sigma Algebra at PlanetMath.