Paul Ehrenfest
Paul Ehrenfest is one of premier statistical mechanics of all time. Following in the footsteps of his advisor, and the father of statistical mechanics, Ludwig Boltzmann, Ehrenfest was renowned for his focus and clarity on fundamental problems.
The Ehrenfest Model
The Ehrenfest model, sometimes called the urn model or the dog-flea model, is a simple, discrete model for the exchange of gas molecules between two containers.
Consider two urns, A and B. Urn A contains marbles and urn B contains none. The marbles are labelled
. In each step of the algorithm, a number between 1 and
is chosen randomly, with all values having equal probability. The marble corresponding to that value is moved to the opposite urn. Hence the first step of the algorithm will always involve moving a marble from A to B.
![](https://www.diegogomez.studio/wp-content/uploads/2020/12/Screen-Shot-2020-12-31-at-3.47.18-PM-300x165.png)
![Rendered by QuickLaTeX.com k=20](https://www.diegogomez.studio/wp-content/ql-cache/quicklatex.com-059085b5522bc8f4b8d89286ed8f2168_l3.png)
To begin, the Markov chain will need to be defined. Define the random variable as the number of balls in urn A and the state space
and the probability of
balls in urn A at step
.
The transition matrix looks:
An important question for the Ehrenfest model is “what is the long term probability that there are balls in Urn A”.
Stationary distribution using induction
Let, , be the stationary distribution and
is the long term probability of
balls in urn A. The three fundamental equations for finding a stationary distribution are,
(1)
(2)
and,
(3)
For this problem there’s an easy way to solve it using the fact that and that
is a vector of the same state space
, but not necessarily a probability vector, and that
, where
is a constant and
. Plainly, instead of solving for
we can solve a simpler (hopefully) vector and multiply by a constant later.
Let, , then
(4)
and . Because
depends only on
and
, and using the probabilities from the transition matrix equation (4) becomes,
(5)
for, , starting with
and since
,
. Solving equation (5) using the result of
starting with
,
,
The pattern is clearly
(6)
is known,
can be solved for,
(7)
using the fact that ,
(8)
Final thoughts
The max is when
. The Ehrenfest model relates to diffusion of matter and heat, intuitively, objects reach some sort of equilibrium but the importance of Ehrenfest model is that there are still fluctuations between all
.
For example, in the case you would expect for the long term probability to be peaked at
With no surprise, the long term probability of the two urns have 10 marbles in each.
![](https://www.diegogomez.studio/wp-content/uploads/2020/12/Screen-Shot-2020-12-31-at-3.42.30-PM-300x165.png)
![Rendered by QuickLaTeX.com k=20](https://www.diegogomez.studio/wp-content/ql-cache/quicklatex.com-059085b5522bc8f4b8d89286ed8f2168_l3.png)
![Rendered by QuickLaTeX.com \frac{k}{2}](https://www.diegogomez.studio/wp-content/ql-cache/quicklatex.com-6caa072926da427aab476ae3e5f87509_l3.png)
As with ergodic systems, there are fluctuations, between the states of , as
increases, the probability of have less of a variance. When
,
becomes very sharply peaked
![](https://www.diegogomez.studio/wp-content/uploads/2021/01/test2-300x300.png)
![Rendered by QuickLaTeX.com k=1000](https://www.diegogomez.studio/wp-content/ql-cache/quicklatex.com-58a670c4bb93ec03e3daa31c46a9a452_l3.png)
![Rendered by QuickLaTeX.com \pi_j](https://www.diegogomez.studio/wp-content/ql-cache/quicklatex.com-2ef5018070cb08a747f3581d1a78a741_l3.png)
This example should always be appreciated as a basic and straight forward way for the distribution of microstates in physical systems. Large systems ( particles, or marbles) become difficult for physical intuition. Paul Ehrenfest, being steeped in the fundamentals of statistical mechanics, knew that systems in equilibrium have a low probability. For instance, the probability of
is
. To put into perspective, there are
possible decks of cards. The reader has better odds of guessing the order of 5 fully shuffled deck of cards than the long run probability of the Ehrenfest model being in state
, i.e. all the marbles being in urn A.
Mark Kac called it “one of the most instructive models in the whole of physics” and to me there is no better example of the sharp distributions of physical systems in equilibrium, and sharp distributions being essential mathematical representation of statistical mechanics.