]>
The Ehrenfest chains, named for Paul Ehrenfest, are simple, discrete models for the exchange of gas molecules between two containers. However, they can be formulated as simple ball and urn models; the balls correspond to the molecules and the urns to the two containers. Thus, suppose that we have two urns, labeled 0 and 1, that contain a total of balls. The state of the system at time is the number of balls in urn 1, which we will denote by . Our stochastic process is with state space . Of course, the number of balls in urn 0 at time is .
In the basic Ehrenfest model, at each discrete time unit, independently of the past, a ball is selected at random and moved to the other urn.
Show that is a Markov chain on with transition probability function given below. The steps show how to construct the chain from more basic processes.
Consider the basic Ehrenfest chain with balls, and suppose that has the uniform distribution on .
In the Ehrenfest experiment, select the basic model. For selected values of and selected values of the initial state, run the chain for 1000 time steps and note the limiting behavior of the proportion of time spent in each state.
Suppose now that we modify the basic Ehrenfest model as follows: at each discrete time, independently of the past, we select a ball at random and a urn at random. We then put the chosen ball in the chosen urn.
Show that is a Markov chain on with the transition probability matrix given below. Sketch the state graph. The steps show how to construct the chain basic processes.
Consider the modified Ehrenfest chain with balls, and suppose that the chain starts in state 2 (with probability 1).
In the Ehrenfest experiment, select the modified model. For selected values of and selected values of the initial state, run the chain for 1000 time steps and note the limiting behavior of the proportion of time spent in each state.
Show that the basic and modified Ehrenfest chains are irreducible and positive recurrent.
Show that basic Ehrenfest chain is periodic with period 2. Compute and identify the cyclic classes.
Show that the modified Ehrenfest chain is aperiodic.
Show that for the basic and modified Ehrenfest chains, the invariant distribution is the binomial distribution with trial parameter and success parameter .
Thus, the invariant distribution corresponds to placing each ball randomly and independently either in urn 1 or in urn 2.
In the Ehrenfest experiment, the limiting binomial distribution is shown graphically and numerically. For each model and for selected values of and selected values of the initial state, run the chain for 1000 time steps and note the limiting behavior of the proportion of time spent in each state. How do the choices of , the initial state, and the model seem to affect the rate of convergence to the limiting distribution?
Show that the basic and modified Ehrenfest chains are reversible and use the reversibility condition to show again that the invariant distribution is the binomial distribution with trial parameter and success parameter .
Run the simulation of the Ehrenfest experiment 10,000 time steps for each model, for selected values of
, and with initial state 0. Note that at first, you can see the arrow of time
. After a long period, however, the direction of time is no longer evident.