# Ergodicity

For other uses, see Ergodic (disambiguation).

In probability theory, an ergodic dynamical system is one that, broadly speaking, has the same behavior averaged over time as averaged over the space of all the system's states in its phase space. In physics the term is used to imply that a system satisfies the ergodic hypothesis of thermodynamics.

A random process is ergodic if its time average is the same as its average over the probability space, known in the field of thermodynamics as its ensemble average. In an ergodic process, the state of the process after a long time is nearly independent of its initial state.[1]

The term "ergodic" was derived from the Greek words έργον (ergon: "work") and οδός (odos: "path" or "way"). It was chosen by Ludwig Boltzmann while he was working on a problem in statistical mechanics.[2]

## Formal definition

Let ${\displaystyle (X,\;\Sigma ,\;\mu \,)}$ be a probability space, and ${\displaystyle T:X\to X}$ be a measure-preserving transformation. We say that T is ergodic with respect to ${\displaystyle \mu }$ (or alternatively that ${\displaystyle \mu }$ is ergodic with respect to T) if one of the following equivalent statements is true:[3]

• for every ${\displaystyle E\in \Sigma }$ with ${\displaystyle T^{-1}(E)=E\,}$ either ${\displaystyle \mu (E)=0\,}$ or ${\displaystyle \mu (E)=1\,}$.
• for every ${\displaystyle E\in \Sigma }$ with ${\displaystyle \mu (T^{-1}(E)\bigtriangleup E)=0}$ we have ${\displaystyle \mu (E)=0}$ or ${\displaystyle \mu (E)=1\,}$ (where ${\displaystyle \bigtriangleup }$ denotes the symmetric difference).
• for every ${\displaystyle E\in \Sigma }$ with positive measure we have ${\displaystyle \mu \left(\bigcup _{n=1}^{\infty }T^{-n}E\right)=1}$.
• for every two sets E and H of positive measure, there exists an n > 0 such that ${\displaystyle \mu ((T^{-n}E)\cap H)>0}$.
• Every measurable function ${\displaystyle f:X\to \mathbb {R} }$ with ${\displaystyle f\circ T=f}$ is almost surely constant.

### Measurable flows

These definitions have natural analogues for the case of measurable flows and, more generally, measure-preserving semigroup actions. Let {Tt} be a measurable flow on (X, Σ, μ). An element A of Σ is invariant mod 0 under {Tt} if

${\displaystyle \mu (T^{t}(A)\bigtriangleup A)=0}$

for each tR. Measurable sets invariant mod 0 under a flow or a semigroup action form the invariant subalgebra of Σ, and the corresponding measure-preserving dynamical system is ergodic if the invariant subalgebra is the trivial σ-algebra consisting of the sets of measure 0 and their complements in X.

### Unique ergodicity

A discrete dynamical system ${\displaystyle (X,T)}$, where ${\displaystyle X}$ is a topological space and ${\displaystyle T}$ a continuous map, is said to be uniquely ergodic if there exists a unique ${\displaystyle f}$-invariant Borel probability measure on ${\displaystyle X}$. The invariant measure is then necessary ergodic for ${\displaystyle T}$ (otherwise it could be decomposed as a barycenter of two invariant probability measures with disjoint support).

## Markov chains

In a Markov chain, a state ${\displaystyle i}$ is said to be ergodic if it is aperiodic and positive recurrent (a state is recurrent if there is a nonzero probability of exiting the state and the probability of an eventual return to it is 1; if the former condition is not true the state is "absorbing"). If all states in a Markov chain are ergodic, then the chain is said to be ergodic.

Markov's theorem: a Markov chain is ergodic if there is a positive probability to pass from any state to any other state in one step.

There is a simple test for ergodicity using eigenvalues of the transition matrix (which are always less or equal to one in absolute value). One is always an eigenvalue. If all other eigenvalues are less than one in absolute value then the chain is ergodic. This follows from the spectral decomposition of a non-symmetrical matrix.

## Examples in electronics

Ergodicity means the ensemble average equals the time average. Each resistor has thermal noise associated with it and it depends on the temperature. Take N resistors (N should be very large) and plot the voltage across those resistors for a long period. For each resistor you will have a waveform. Calculate the average value of that waveform. This gives you the time average. You should also note that you have N waveforms as we have N resistors. These N plots are known as an ensemble. Now take a particular instant of time in all those plots and find the average value of the voltage. That gives you the ensemble average for each plot. If both ensemble average and time average are the same then it is ergodic.

## Ergodic decomposition

Conceptually, ergodicity of a dynamical system is a certain irreducibility property, akin to the notions of irreducibility in the theory of Markov chains, irreducible representation in algebra and prime number in arithmetic. A general measure-preserving transformation or flow on a Lebesgue space admits a canonical decomposition into its ergodic components, each of which is ergodic.