It has been suggested that this article be merged with Mixing (physics). (Discuss) Proposed since July 2024.

In mathematics, mixing is an abstract concept originating from physics: the attempt to describe the irreversible thermodynamic process of mixing in the everyday world: e.g. mixing paint, mixing drinks, industrial mixing.

The concept appears in ergodic theory—the study of stochastic processes and measure-preserving dynamical systems. Several different definitions for mixing exist, including strong mixing, weak mixing and topological mixing, with the last not requiring a measure to be defined. Some of the different definitions of mixing can be arranged in a hierarchical order; thus, strong mixing implies weak mixing. Furthermore, weak mixing (and thus also strong mixing) implies ergodicity: that is, every system that is weakly mixing is also ergodic (and so one says that mixing is a "stronger" condition than ergodicity).

## Informal explanation

The mathematical definition of mixing aims to capture the ordinary every-day process of mixing, such as mixing paints, drinks, cooking ingredients, industrial process mixing, smoke in a smoke-filled room, and so on. To provide the mathematical rigor, such descriptions begin with the definition of a measure-preserving dynamical system, written as ${\displaystyle (X,{\mathcal {A)),\mu ,T)}$.

The set ${\displaystyle X}$ is understood to be the total space to be filled: the mixing bowl, the smoke-filled room, etc. The measure ${\displaystyle \mu }$ is understood to define the natural volume of the space ${\displaystyle X}$ and of its subspaces. The collection of subspaces is denoted by ${\displaystyle {\mathcal {A))}$, and the size of any given subset ${\displaystyle A\subset X}$ is ${\displaystyle \mu (A)}$; the size is its volume. Naively, one could imagine ${\displaystyle {\mathcal {A))}$ to be the power set of ${\displaystyle X}$; this doesn't quite work, as not all subsets of a space have a volume (famously, the Banach-Tarski paradox). Thus, conventionally, ${\displaystyle {\mathcal {A))}$ consists of the measurable subsets—the subsets that do have a volume. It is always taken to be a Borel set—the collection of subsets that can be constructed by taking intersections, unions and set complements; these can always be taken to be measurable.

The time evolution of the system is described by a map ${\displaystyle T:X\to X}$. Given some subset ${\displaystyle A\subset X}$, its map ${\displaystyle T(A)}$ will in general be a deformed version of ${\displaystyle A}$ – it is squashed or stretched, folded or cut into pieces. Mathematical examples include the baker's map and the horseshoe map, both inspired by bread-making. The set ${\displaystyle T(A)}$ must have the same volume as ${\displaystyle A}$; the squashing/stretching does not alter the volume of the space, only its distribution. Such a system is "measure-preserving" (area-preserving, volume-preserving).

A formal difficulty arises when one tries to reconcile the volume of sets with the need to preserve their size under a map. The problem arises because, in general, several different points in the domain of a function can map to the same point in its range; that is, there may be ${\displaystyle x\neq y}$ with ${\displaystyle T(x)=T(y)}$. Worse, a single point ${\displaystyle x\in X}$ has no size. These difficulties can be avoided by working with the inverse map ${\displaystyle T^{-1}:{\mathcal {A))\to {\mathcal {A))}$; it will map any given subset ${\displaystyle A\subset X}$ to the parts that were assembled to make it: these parts are ${\displaystyle T^{-1}(A)\in {\mathcal {A))}$. It has the important property of not "losing track" of where things came from. More strongly, it has the important property that any (measure-preserving) map ${\displaystyle {\mathcal {A))\to {\mathcal {A))}$ is the inverse of some map ${\displaystyle X\to X}$. The proper definition of a volume-preserving map is one for which ${\displaystyle \mu (A)=\mu (T^{-1}(A))}$ because ${\displaystyle T^{-1}(A)}$ describes all the pieces-parts that ${\displaystyle A}$ came from.

One is now interested in studying the time evolution of the system. If a set ${\displaystyle A\in {\mathcal {A))}$ eventually visits all of ${\displaystyle X}$ over a long period of time (that is, if ${\displaystyle \cup _{k=1}^{n}T^{k}(A)}$ approaches all of ${\displaystyle X}$ for large ${\displaystyle n}$), the system is said to be ergodic. If every set ${\displaystyle A}$ behaves in this way, the system is a conservative system, placed in contrast to a dissipative system, where some subsets ${\displaystyle A}$ wander away, never to be returned to. An example would be water running downhill—once it's run down, it will never come back up again. The lake that forms at the bottom of this river can, however, become well-mixed. The ergodic decomposition theorem states that every ergodic system can be split into two parts: the conservative part, and the dissipative part.

Mixing is a stronger statement than ergodicity. Mixing asks for this ergodic property to hold between any two sets ${\displaystyle A,B}$, and not just between some set ${\displaystyle A}$ and ${\displaystyle X}$. That is, given any two sets ${\displaystyle A,B\in {\mathcal {A))}$, a system is said to be (topologically) mixing if there is an integer ${\displaystyle N}$ such that, for all ${\displaystyle A,B}$ and ${\displaystyle n>N}$, one has that ${\displaystyle T^{n}(A)\cap B\neq \varnothing }$. Here, ${\displaystyle \cap }$ denotes set intersection and ${\displaystyle \varnothing }$ is the empty set.

The above definition of topological mixing should be enough to provide an informal idea of mixing (it is equivalent to the formal definition, given below). However, it made no mention of the volume of ${\displaystyle A}$ and ${\displaystyle B}$, and, indeed, there is another definition that explicitly works with the volume. Several, actually; one has both strong mixing and weak mixing; they are inequivalent, although a strong mixing system is always weakly mixing. The measure-based definitions are not compatible with the definition of topological mixing: there are systems which are one, but not the other. The general situation remains cloudy: for example, given three sets ${\displaystyle A,B,C\in {\mathcal {A))}$, one can define 3-mixing. As of 2020, it is not known if 2-mixing implies 3-mixing. (If one thinks of ergodicity as "1-mixing", then it is clear that 1-mixing does not imply 2-mixing; there are systems that are ergodic but not mixing.)

The concept of strong mixing is made in reference to the volume of a pair of sets. Consider, for example, a set ${\displaystyle A}$ of colored dye that is being mixed into a cup of some sort of sticky liquid, say, corn syrup, or shampoo, or the like. Practical experience shows that mixing sticky fluids can be quite hard: there is usually some corner of the container where it is hard to get the dye mixed into. Pick as set ${\displaystyle B}$ that hard-to-reach corner. The question of mixing is then, can ${\displaystyle A}$, after a long enough period of time, not only penetrate into ${\displaystyle B}$ but also fill ${\displaystyle B}$ with the same proportion as it does elsewhere?

One phrases the definition of strong mixing as the requirement that

${\displaystyle \lim _{n\to \infty }\mu \left(T^{-n}A\cap B\right)=\mu (A)\mu (B).}$

The time parameter ${\displaystyle n}$ serves to separate ${\displaystyle A}$ and ${\displaystyle B}$ in time, so that one is mixing ${\displaystyle A}$ while holding the test volume ${\displaystyle B}$ fixed. The product ${\displaystyle \mu (A)\mu (B)}$ is a bit more subtle. Imagine that the volume ${\displaystyle B}$ is 10% of the total volume, and that the volume of dye ${\displaystyle A}$ will also be 10% of the grand total. If ${\displaystyle A}$ is uniformly distributed, then it is occupying 10% of ${\displaystyle B}$, which itself is 10% of the total, and so, in the end, after mixing, the part of ${\displaystyle A}$ that is in ${\displaystyle B}$ is 1% of the total volume. That is, ${\displaystyle \mu \left({\mbox{after-mixing))(A)\cap B\right)=\mu (A)\mu (B).}$ This product-of-volumes has more than passing resemblance to Bayes theorem in probabilities; this is not an accident, but rather a consequence that measure theory and probability theory are the same theory: they share the same axioms (the Kolmogorov axioms), even as they use different notation.

The reason for using ${\displaystyle T^{-n}A}$ instead of ${\displaystyle T^{n}A}$ in the definition is a bit subtle, but it follows from the same reasons why ${\displaystyle T^{-1}A}$ was used to define the concept of a measure-preserving map. When looking at how much dye got mixed into the corner ${\displaystyle B}$, one wants to look at where that dye "came from" (presumably, it was poured in at the top, at some time in the past). One must be sure that every place it might have "come from" eventually gets mixed into ${\displaystyle B}$.

## Mixing in dynamical systems

Let ${\displaystyle (X,{\mathcal {A)),\mu ,T)}$ be a measure-preserving dynamical system, with T being the time-evolution or shift operator. The system is said to be strong mixing if, for any ${\displaystyle A,B\in {\mathcal {A))}$, one has

${\displaystyle \lim _{n\to \infty }\mu \left(A\cap T^{-n}B\right)=\mu (A)\mu (B).}$

For shifts parametrized by a continuous variable instead of a discrete integer n, the same definition applies, with ${\displaystyle T^{-n))$ replaced by ${\displaystyle T_{g))$ with g being the continuous-time parameter.

A dynamical system is said to be weak mixing if one has

${\displaystyle \lim _{n\to \infty }{\frac {1}{n))\sum _{k=0}^{n-1}\left|\mu (A\cap T^{-k}B)-\mu (A)\mu (B)\right|=0.}$

In other words, ${\displaystyle T}$ is strong mixing if ${\displaystyle \mu (A\cap T^{-n}B)-\mu (A)\mu (B)\to 0}$ in the usual sense, weak mixing if

${\displaystyle \left|\mu (A\cap T^{-n}B)-\mu (A)\mu (B)\right|\to 0,}$

in the Cesàro sense, and ergodic if ${\displaystyle \mu \left(A\cap T^{-n}B\right)\to \mu (A)\mu (B)}$ in the Cesàro sense. Hence, strong mixing implies weak mixing, which implies ergodicity. However, the converse is not true: there exist ergodic dynamical systems which are not weakly mixing, and weakly mixing dynamical systems which are not strongly mixing. The Chacon system was historically the first example given of a system that is weak-mixing but not strong-mixing.[1]

Theorem. Weak mixing implies ergodicity.

Proof. If the action of the map decomposes into two components ${\displaystyle A,B}$, then we have ${\displaystyle \mu (T^{-n}(A)\cap B)=\mu (A\cap B)=\mu (\emptyset )=0}$, so weak mixing implies ${\displaystyle \vert \mu (A\cap B)-\mu (A)\mu (B)\vert =0}$, so one of ${\displaystyle A,B}$ has zero measure, and the other one has full measure.

### Covering families

Given a topological space, such as the unit interval (whether it has its end points or not), we can construct a measure on it by taking the open sets, then take their unions, complements, unions, complements, and so on to infinity, to obtain all the Borel sets. Next, we define a measure ${\displaystyle \mu }$ on the Borel sets, then add in all the subsets of measure-zero ("negligible sets"). This is how we obtain the Lebesgue measure and the Lebesgue measurable sets.

In most applications of ergodic theory, the underlying space is almost-everywhere isomorphic to an open subset of some ${\displaystyle \mathbb {R} ^{n))$, and so it is a Lebesgue measure space. Verifying strong-mixing can be simplified if we only need to check a smaller set of measurable sets.

A covering family ${\displaystyle {\mathcal {C))}$ is a set of measurable sets, such that any open set is a disjoint union of sets in it. Compare this with base in topology, which is less restrictive as it allows non-disjoint unions.

Theorem. For Lebesgue measure spaces, if ${\displaystyle T}$ is measure-preserving, and ${\displaystyle \lim _{n}\mu (T^{-n}(A)\cap B)=\mu (A)\mu (B)}$ for all ${\displaystyle A,B}$ in a covering family, then ${\displaystyle T}$ is strong mixing.

Proof. Extend the mixing equation from all ${\displaystyle A,B}$ in the covering family, to all open sets by disjoint union, to all closed sets by taking the complement, to all measurable sets by using the regularity of Lebesgue measure to approximate any set with open and closed sets. Thus, ${\displaystyle \lim _{n}\mu (T^{-n}(A)\cap B)=\mu (A)\mu (B)}$ for all measurable ${\displaystyle A,B}$.

### L2 formulation

The properties of ergodicity, weak mixing and strong mixing of a measure-preserving dynamical system can also be characterized by the average of observables. By von Neumann's ergodic theorem, ergodicity of a dynamical system ${\displaystyle (X,{\mathcal {A)),\mu ,T)}$ is equivalent to the property that, for any function ${\displaystyle f\in L^{2}(X,\mu )}$, the sequence ${\displaystyle (f\circ T^{n})_{n\geq 0))$ converges strongly and in the sense of Cesàro to ${\displaystyle \int _{X}f\,d\mu }$, i.e.,

${\displaystyle \lim _{N\to \infty }\left\|{1 \over N}\sum _{n=0}^{N-1}f\circ T^{n}-\int _{X}f\,d\mu \right\|_{L^{2}(X,\mu )}=0.}$

A dynamical system ${\displaystyle (X,{\mathcal {A)),\mu ,T)}$ is weakly mixing if, for any functions ${\displaystyle f}$ and ${\displaystyle g\in L^{2}(X,\mu ),}$

${\displaystyle \lim _{N\to \infty }{1 \over N}\sum _{n=0}^{N-1}\left|\int _{X}f\circ T^{n}\cdot g\,d\mu -\int _{X}f\,d\mu \cdot \int _{X}g\,d\mu \right|=0.}$

A dynamical system ${\displaystyle (X,{\mathcal {A)),\mu ,T)}$ is strongly mixing if, for any function ${\displaystyle f\in L^{2}(X,\mu )}$, the sequence ${\displaystyle (f\circ T^{n})_{n\geq 0))$ converges weakly to ${\displaystyle \int _{X}f\,d\mu }$, i.e., for any function ${\displaystyle g\in L^{2}(X,\mu ),}$

${\displaystyle \lim _{n\to \infty }\int _{X}f\circ T^{n}\cdot g\,d\mu =\int _{X}f\,d\mu \cdot \int _{X}g\,d\mu .}$

Since the system is assumed to be measure preserving, this last line is equivalent to saying that the covariance ${\displaystyle \lim _{n\to \infty }\operatorname {Cov} (f\circ T^{n},g)=0}$, so that the random variables ${\displaystyle f\circ T^{n))$ and ${\displaystyle g}$ become orthogonal as ${\displaystyle n}$ grows. Actually, since this works for any function ${\displaystyle g}$, one can informally see mixing as the property that the random variables ${\displaystyle f\circ T^{n))$ and ${\displaystyle g}$ become independent as ${\displaystyle n}$ grows.

### Products of dynamical systems

Given two measured dynamical systems ${\displaystyle (X,\mu ,T)}$ and ${\displaystyle (Y,\nu ,S),}$ one can construct a dynamical system ${\displaystyle (X\times Y,\mu \otimes \nu ,T\times S)}$ on the Cartesian product by defining ${\displaystyle (T\times S)(x,y)=(T(x),S(y)).}$ We then have the following characterizations of weak mixing:

Proposition. A dynamical system ${\displaystyle (X,\mu ,T)}$ is weakly mixing if and only if, for any ergodic dynamical system ${\displaystyle (Y,\nu ,S)}$, the system ${\displaystyle (X\times Y,\mu \otimes \nu ,T\times S)}$ is also ergodic.
Proposition. A dynamical system ${\displaystyle (X,\mu ,T)}$ is weakly mixing if and only if ${\displaystyle (X^{2},\mu \otimes \mu ,T\times T)}$ is also ergodic. If this is the case, then ${\displaystyle (X^{2},\mu \otimes \mu ,T\times T)}$ is also weakly mixing.

### Generalizations

The definition given above is sometimes called strong 2-mixing, to distinguish it from higher orders of mixing. A strong 3-mixing system may be defined as a system for which

${\displaystyle \lim _{m,n\to \infty }\mu (A\cap T^{-m}B\cap T^{-m-n}C)=\mu (A)\mu (B)\mu (C)}$

holds for all measurable sets A, B, C. We can define strong k-mixing similarly. A system which is strong k-mixing for all k = 2,3,4,... is called mixing of all orders.

It is unknown whether strong 2-mixing implies strong 3-mixing. It is known that strong m-mixing implies ergodicity.

### Examples

Irrational rotations of the circle, and more generally irreducible translations on a torus, are ergodic but neither strongly nor weakly mixing with respect to the Lebesgue measure.

Many maps considered as chaotic are strongly mixing for some well-chosen invariant measure, including: the dyadic map, Arnold's cat map, horseshoe maps, Kolmogorov automorphisms, and the Anosov flow (the geodesic flow on the unit tangent bundle of compact manifolds of negative curvature.)

The dyadic map is "shift to left in binary". In general, for any ${\displaystyle n\in \{2,3,\dots \))$, the "shift to left in base ${\displaystyle n}$" map ${\displaystyle T(x)=nx{\bmod {1))}$ is strongly mixing on the covering family ${\displaystyle \left\{\left({\tfrac {k}{n^{s))},{\tfrac {k+1}{n^{s))}\right)\smallsetminus \mathbb {Q} :s\geq 0,\leq k, therefore it is strongly mixing on ${\displaystyle (0,1)\smallsetminus \mathbb {Q} }$, and therefore it is strongly mixing on ${\displaystyle [0,1]}$.

Similarly, for any finite or countable alphabet ${\displaystyle \Sigma }$, we can impose a discrete probability distribution on it, then consider the probability distribution on the "coin flip" space, where each "coin flip" can take results from ${\displaystyle \Sigma }$. We can either construct the singly-infinite space ${\displaystyle \Sigma ^{\mathbb {N} ))$ or the doubly-infinite space ${\displaystyle \Sigma ^{\mathbb {Z} ))$. In both cases, the shift map (one letter to the left) is strongly mixing, since it is strongly mixing on the covering family of cylinder sets. The Baker's map is isomorphic to a shift map, so it is strongly mixing.

## Topological mixing

A form of mixing may be defined without appeal to a measure, using only the topology of the system. A continuous map ${\displaystyle f:X\to X}$ is said to be topologically transitive if, for every pair of non-empty open sets ${\displaystyle A,B\subset X}$, there exists an integer n such that

${\displaystyle f^{n}(A)\cap B\neq \varnothing }$

where ${\displaystyle f^{n))$ is the nth iterate of f. In the operator theory, a topologically transitive bounded linear operator (a continuous linear map on a topological vector space) is usually called hypercyclic operator. A related idea is expressed by the wandering set.

Lemma: If X is a complete metric space with no isolated point, then f is topologically transitive if and only if there exists a hypercyclic point ${\displaystyle x\in X}$, that is, a point x such that its orbit ${\displaystyle \{f^{n}(x):n\in \mathbb {N} \))$ is dense in X.

A system is said to be topologically mixing if, given open sets ${\displaystyle A}$ and ${\displaystyle B}$, there exists an integer N, such that, for all ${\displaystyle n>N}$, one has

${\displaystyle f^{n}(A)\cap B\neq \varnothing .}$

For a continuous-time system, ${\displaystyle f^{n))$ is replaced by the flow ${\displaystyle \varphi _{g))$, with g being the continuous parameter, with the requirement that a non-empty intersection hold for all ${\displaystyle \Vert g\Vert >N}$.

A weak topological mixing is one that has no non-constant continuous (with respect to the topology) eigenfunctions of the shift operator.

Topological mixing neither implies, nor is implied by either weak or strong mixing: there are examples of systems that are weak mixing but not topologically mixing, and examples that are topologically mixing but not strong mixing.

## Mixing in stochastic processes

Let ${\displaystyle (X_{t})_{-\infty be a stochastic process on a probability space ${\displaystyle (\Omega ,{\mathcal {F)),\mathbb {P} )}$. The sequence space into which the process maps can be endowed with a topology, the product topology. The open sets of this topology are called cylinder sets. These cylinder sets generate a σ-algebra, the Borel σ-algebra; this is the smallest σ-algebra that contains the topology.

Define a function ${\displaystyle \alpha }$, called the strong mixing coefficient, as

${\displaystyle \alpha (s)=\sup \left\{|\mathbb {P} (A\cap B)-\mathbb {P} (A)\mathbb {P} (B)|:-\infty

for all ${\displaystyle -\infty . The symbol ${\displaystyle X_{a}^{b))$, with ${\displaystyle -\infty \leq a\leq b\leq \infty }$ denotes a sub-σ-algebra of the σ-algebra; it is the set of cylinder sets that are specified between times a and b, i.e. the σ-algebra generated by ${\displaystyle \{X_{a},X_{a+1},\ldots ,X_{b}\))$.

The process ${\displaystyle (X_{t})_{-\infty is said to be strongly mixing if ${\displaystyle \alpha (s)\to 0}$ as ${\displaystyle s\to \infty }$. That is to say, a strongly mixing process is such that, in a way that is uniform over all times ${\displaystyle t}$ and all events, the events before time ${\displaystyle t}$ and the events after time ${\displaystyle t+s}$ tend towards being independent as ${\displaystyle s\to \infty }$; more colloquially, the process, in a strong sense, forgets its history.

### Mixing in Markov processes

Suppose ${\displaystyle (X_{t})}$ were a stationary Markov process with stationary distribution ${\displaystyle \mathbb {Q} }$ and let ${\displaystyle L^{2}(\mathbb {Q} )}$ denote the space of Borel-measurable functions that are square-integrable with respect to the measure ${\displaystyle \mathbb {Q} }$. Also let

${\displaystyle {\mathcal {E))_{t}\varphi (x)=\mathbb {E} [\varphi (X_{t})\mid X_{0}=x]}$

denote the conditional expectation operator on ${\displaystyle L^{2}(\mathbb {Q} ).}$ Finally, let

${\displaystyle Z=\left\{\varphi \in L^{2}(\mathbb {Q} ):\int \varphi \,d\mathbb {Q} =0\right\))$

denote the space of square-integrable functions with mean zero.

The ρ-mixing coefficients of the process {xt} are

${\displaystyle \rho _{t}=\sup _{\varphi \in Z:\,\|\varphi \|_{2}=1}\|{\mathcal {E))_{t}\varphi \|_{2}.}$

The process is called ρ-mixing if these coefficients converge to zero as t → ∞, and “ρ-mixing with exponential decay rate” if ρt < eδt for some δ > 0. For a stationary Markov process, the coefficients ρt may either decay at an exponential rate, or be always equal to one.[2]

The α-mixing coefficients of the process {xt} are

${\displaystyle \alpha _{t}=\sup _{\varphi \in Z:\|\varphi \|_{\infty }=1}\|{\mathcal {E))_{t}\varphi \|_{1}.}$

The process is called α-mixing if these coefficients converge to zero as t → ∞, it is "α-mixing with exponential decay rate" if αt < γeδt for some δ > 0, and it is α-mixing with a sub-exponential decay rate if αt < ξ(t) for some non-increasing function ${\displaystyle \xi }$ satisfying

${\displaystyle {\frac {\ln \xi (t)}{t))\to 0}$

as ${\displaystyle t\to \infty }$.[2]

The α-mixing coefficients are always smaller than the ρ-mixing ones: αtρt, therefore if the process is ρ-mixing, it will necessarily be α-mixing too. However, when ρt = 1, the process may still be α-mixing, with sub-exponential decay rate.

The β-mixing coefficients are given by

${\displaystyle \beta _{t}=\int \sup _{0\leq \varphi \leq 1}\left|{\mathcal {E))_{t}\varphi (x)-\int \varphi \,d\mathbb {Q} \right|\,d\mathbb {Q} .}$

The process is called β-mixing if these coefficients converge to zero as t → ∞, it is β-mixing with an exponential decay rate if βt < γeδt for some δ > 0, and it is β-mixing with a sub-exponential decay rate if βtξ(t) → 0 as t → ∞ for some non-increasing function ${\displaystyle \xi }$ satisfying

${\displaystyle {\frac {\ln \xi (t)}{t))\to 0}$

as ${\displaystyle t\to \infty }$.[2]

A strictly stationary Markov process is β-mixing if and only if it is an aperiodic recurrent Harris chain. The β-mixing coefficients are always bigger than the α-mixing ones, so if a process is β-mixing it will also be α-mixing. There is no direct relationship between β-mixing and ρ-mixing: neither of them implies the other.

## References

• V. I. Arnold and A. Avez, Ergodic Problems of Classical Mechanics, (1968) W. A. Benjamin, Inc.
• Achim Klenke, Probability Theory, (2006) Springer ISBN 978-1-84800-047-6
• Chen, Xiaohong; Hansen, Lars Peter; Carrasco, Marine (2010). "Nonlinearity and temporal dependence". Journal of Econometrics. 155 (2): 155–169. CiteSeerX 10.1.1.597.8777. doi:10.1016/j.jeconom.2009.10.001. S2CID 10567129.
1. ^ Matthew Nicol and Karl Petersen, (2009) "Ergodic Theory: Basic Examples and Constructions", Encyclopedia of Complexity and Systems Science, Springer https://doi.org/10.1007/978-0-387-30440-3_177
2. ^ a b c Chen, Hansen & Carrasco (2010)