Introduction

Consider an extra degree of
freedom called the *demon* that interacts with a system of noninteracting particles whose energies are restricted to the positive integers. That is, each particle may have energy 0, 1, 2, …. The only relevant coordinate is the integer characterizing each particle.

Such a system of (distinguishable) particles is sometimes called an Einstein or harmonic solid. The particles are equivalent to quantum mechanical harmonic oscillators, which have energy
ε_{n} = (n + 1/2) hν. If we measure the energies from the
lowest energy state, hν/2, and choose units
such that
hν = 1, we have ε_{n} = n.

The demon exchanges energy with the particles in the system by choosing a particle at random and making a random change of ±1 in its energy. If the energy change of the particle is positive, the "extra" energy is given to the demon and the trial change is accepted. If the energy change of the particle is negative, the trial change is accepted if the demon has sufficient energy to give to the system. The only constraint is that E_{d}, the energy of the demon, must be greater than or equal to zero.

Algorithm

- Set up an initial microstate with the desired total energy and assign an initial energy to the demon. For simplicity, we will choose the initial demon energy to be zero and assign the total desired energy (which must be an integer) to one of the particles.
- Choose a particle at random and increase or decrease its energy by ±1. If ΔE = -1, we accept the change, and give energy +1 to the demon so that the total energy of the system plus the demon is constant. If Δ E = 1, we accept the change if the demon has enough energy to give to the system, and reduce the demon's energy by 1. If the trial change is not accepted, the existing microstate is counted in the averages.
- Repeat step 2 many times.
- Compute the averages of the quantities of interest once the system and the demon have reached equilibrium.

Problems

- Run the simulation using the default parameters. Does the average energy of the demon approach a well-defined value after a sufficient number of exchanges with the system? (One Monte Carlo step per particle (mcs) is equivalent to N trial changes, where N is the number of particles in the system.)
- What is <E
_{d}>, the mean energy of the demon, and <E>, the mean energy of the system? Compare the values of <E_{d}> and <E>/N, the mean energy per particle of the system. - In what ways does the demon act like an ideal thermometer? Why should we expect the demon to act like a system (of one particle) in equilibrium with a heat bath? In what sense is the Einstein solid a heat bath if N is sufficiently large? Discuss why the energy of the demon characterizes its microstate.
- We know that the probability that a system in equilibrium with a heat bath at temperature T is in microstate s with energy E
_{s}is the Boltzmann distribution:P

Run for a sufficient number of trials so that the form of P(E_{s}(E_{s}) ∝ exp(-E_{s}/kT)._{d}) is well defined. Use the`Enable log scale`button to verify the exponential form of P(E_{d}). Estimate T from the inverse slope of ln P(E_{d}) versus E_{d}. (The units are such that the Boltzmann constant k = 1.) - Are the quantities <E
_{d}> and <E>/N proportional to the temperature T that you found in Problem 2? Increase the total energy E for fixed N and plot <E_{d}> versus T. Discuss the qualitative behavior of the plot. - What are the possible values of the energy of the demon? What are the possible values of the energy of each particle in the system? Show that <E
_{d}> can be expressed as<E

where_{d}> = (1/Z) Σ_{n}n e^{-n/kT },Z = Σ

Evaluate Z and <E_{n}e^{-n/kT}._{d}>. (It is necessary to do the sum only for Z, and then take the appropriate derivative to find the other sum.) Is <E_{d}> ∝ T in this case? Why is the dependence of <E_{d}> on T different than it is for an ideal gas?

Java Classes

- EinsteinApp

Updated 28 December 2009.