4. Canonical ensemble

Size: px
Start display at page:

Download "4. Canonical ensemble"

Transcription

1 4. Canonical ensemble In this chapter we will formulate statistical physics for subsystems that are held at constant temperature. In the next chapter we will work at constant temperature and constant chemical potential. The calculations are different from those we have done so far, and often far simpler. For systems at fixed temperature there are very useful numerical techniques, Monte Carlo methods, that we will explain. Ensembles: Gibbs gave odd names to methods involving subsystems in contact with reservoirs. In closed system, with fixed energy we estimate time averages by sampling uniformly over the energy shell, as we have done until now. Gibbs called this the microcanonical ensemble. In a system which can exchange energy at fixed temperature we average using the Boltzmann factor of Eq. (3.49). This is called the canonical ensemble. In a system which can exchange both energy and number with reservoirs, we have a different method of averaging that we will derive below. This is called the grand canonical ensemble Averages and the partition function In this section we study systems which are subsystems of a larger system: they are held at constant temperature by contact with a (much larger) heat bath. For a system in contact with a heat bath we have already derived the probability of finding a given energy or a given state, Eq. (3.49). To review, we say: W tot = e S r(e E s )/k B W s (E s ) e βe s W s (E s ), P (E i ) exp( βe i ). (4.1) Here E i labels a particular quantum state, and β =1/k B T. Note that this formula holds in general: classical systems and quantum systems

2 4.2. CANONICAL AVERAGES AND EQUIPARTITION 94 obey this law 1. Any probability satisfies j P (j) = 1, where the sum is over all the alternatives. Thus we can write, for the canonical ensemble: P (E i )= e βe i Z ; Z = i e βe i. (4.2) The normalization, Z, is called the partition function. The notation, Z, comes from the German Zustandsumme = sum over states. In the chemical literature Z is called Q. For a classical system we replace the sum over states by an integral in the same way as for the microcanonical ensemble: P (E) = 1 e βh(r,p) N!h 3N, Z = Z 1 N!h 3N d N r d N p e βh(r,p). (4.3) 4.2. Canonical averages and equipartition There is a very useful special case of the formalism above Distributions of additive degrees of freedom Let us look at the canonical probability more closely. Suppose that we have a classical Hamiltonian in which certain degrees of freedom (coordinates or momenta) appear additively. For example, for an interacting fluid, H = p 2 1/2m + N p 2 i /2m +Φ({r}). 2 We can find the probability distribution for that variable (the distribution for p 1 in this case) by considering it as a marginal distribution. We will use the relation from probability theory that if P (AB) isthe probability of A and B, then: P (A) = B P (AB). The distribution, P (A), is the marginal distribution, the distribution of A ignoring B. We can find P (A) by summing over all the possibilities of B. 1 This may seem to contradict the form of the Fermi and Bose distributions of Eq. (2.41), Eq. (2.43). It does not, as we will see below.

3 95 CHAPTER 4. CANONICAL ENSEMBLE For our case, we integrate the normalized probability over p j,j = 2, 3,...,N and r j,j =1, 2,...,N. P (p 1 ) = e βp2 1 /2m d N 1 p e β N 2 p2 i /2m d N r e βφ dn p e β N 1 p2 i /2m d N re βφ = e βp2 1 /2m dp1 e βp2 1 /2m (4.4) This is the Maxwell-Boltzmann distribution which we have seen above for the ideal gas. Note that the interactions cancel out in numerator and demominator. Any classical system, gas, liquid, or solid (or polymer, glass, etc.) has this distribution for the momentum of any particle Boltzmann equipartition theorem Continuing in the same vein, consider the average of any quantity that appears in the Hamiltonian as an additive term which is quadratic in a degree of freedom: H = H ({q, p})+cq 2. Here, {q, p} denotes all the other variables. Then, in the same way as in Eq. (4.4) we have: CQ 2 = dq CQ 2 e βcq2 dq dp e βh dqe βcq 2 dq dp e βh dq CQ 2 e βcq2 = dqe βcq 2 = β ln[ dqe βcq2 ] = k BT 2. (4.5) This theorem quickly gives many results. For example, the average internal energy of the ideal gas is: N E = p 2 i /2m =3Nk B T/2. 1 The heat capacity follows: C V = E/ T V =3Nk B /2. As another example, air is composed, almost entirely, of the diatomic molecules O 2 and N 2. We can model them as rigid rotors with moment

4 4.2. CANONICAL AVERAGES AND EQUIPARTITION 96 of intertia I. Then the kinetic energy has extra degrees of freedom. For each type of molecule we can write: E = j [p 2 j/2m + L 2 j/2i]. (4.6) The angular momentum vector L should be regarded as having two components in our classical picture we neglect the moment of inertia around the molecular axis. Thus we have two more degrees of freedom, and E =3N(k B T/2) + 2N(k B T/2) = (5/2)Nk B T. The first term is the translational part and the second rotational. Thus C V =(5/2)Nk B, C p =(7/2)Nk B. (The last identity comes from the thermodynamic relation for ideal gases, C p = C V + Nk B. The proof is left as an exercise.) This is simple, and gives answers in agreement with experiment. However, it is quite puzzling in one respect: if we think of diatomic molecules classically, we should consider that they can vibrate. The simplest model for a diatomic molecule with a chemical bond would be two masses connected by a spring. The spring should give another quadratic degree of freedom, and another k B T/2 per molecule in the energy. This is not observed. This fact was extremely troubling to the founders of statistical thermodynamics; see Gibbs (1902). The explanation is that the vibrations must be treated in quantum mechanics, and equipartition does not hold in quantum theory. We can apply these ideas to a solid as well. The simplest model for the vibrations of a monatomic solid is due to A. Einstein. Einstein noted that in a solid in equilibrium each atom sits at the minimum of the potential well due to all of the other atoms. Expanding about the minimum means that each atom is in a quadratic potential, and if an atom moves away from equilibrium, the force is of the form Kr (assuming isotropy). Then the energy is Kr 2 /2m, wherek is a spring constant and m is the atomic mass, so that the frequency of the vibration is ω E = K/m. There are three more quadratic degrees of freedom. We find, as before: C V = 3Nk B 2 (kinetic) + 3Nk B (vibrational) = 3Nk B. (4.7) 2 This is called the law of Dulong and Petit; it was discovered empirically by P. L. Dulong and A. T. Petit in The law is quite a lot more general than this derivation seems to imply. In fact, if we let N denote all the atoms in a molecular solid, it

5 97 CHAPTER 4. CANONICAL ENSEMBLE Figure 4.1.: The Einstein model for C V as a function of T/T E where k B T E = ω E. The upper line is the Dulong-Petit law, and the lower dotted line schematically depicts the deviation of the theory from experiment at very low T. applies as well. The reason is this: in the Einstein model each atom is thought to vibrate independently. In fact, all of them are coupled so that the real excitations are waves of vibration, e.g. sound waves. The Hamiltonian is quadratic in the amplitude and momentum of the waves, and we have as many different waves as we have degrees of freedom. How this works out the normal mode transformation will be treated in Chapter 6. However, well below room temperature, the Dulong-Petit law fails, and lim C V =0, T 0 as required by the third law. A quantum mechanical treatment of the Einstein model gives this result; see Figure 4.1. We will do this derivation below. The real situation in solids is qualitatively like the Einstein model with a deviation at very low T.

6 4.3. THE PARTITION FUNCTION AND THE FREE ENERGY The partition function and the free energy The partition function is of physical significance itself, as shown by the following theorem. Z = e βf ; F = k B T ln Z. (4.8) First proof: average of F We will show this in two ways. First we need to interpret F in the equation. Remember F = E TS(E), and E varies as heat flows in and out of the system from the heat bath. In fact, the quantity of interest is F = E T r S. In order to emphasize that the temperature is fixed by the reservoir, we write T r. Now from Eq. (4.2) and Eq. (3.5) we have: F = E T r S = 1 (E i + k B T r ln P (E i ))e βe i Z i = 1 (E i k B T r [βe i +lnz])e βe i Z i = k B T r ln Z. (4.9) Second proof: energy fluctuations It is interesting to derive Eq. (4.8) another way. Note that for a large system we can expect that the energy levels will be close together (or, in a classical system, the energy is continuous). We can convert the sum in Z into an integral by introducing the many-particle density of states, i.e. the number of states per energy interval: ω(e) = i δ(e E i ). (4.10) Clearly: Z = i e β i = de ω(e)e βe. (4.11) However, W is the number of states for which E< i <E+,i.e. W = i [θ(e + i ) θ(e i )],

7 99 CHAPTER 4. CANONICAL ENSEMBLE where θ is the step function: θ(x) =1,x 0,θ(x) =0,x<0; dθ/dx = δ(x). For E we can expand: W i δ(e i )= ω. (4.12) Thus: S = k B ln( ω) (4.13) Now we use this result to deal with the integral in Eq. (4.11). Z = dee β(e TrS(E)) / = dee βf(e) /. (4.14) Note that F is extensive, so the argument of the exponential is very large. We can use the Laplace method; see Appendix A. We need to find the energy at which F (E) is a minimum, and the second derivative at that point. df de = 0 = 1 T ds r de ; ds de = 1 T r d 2 F d 2 S d(1/t ) de 2 = T r de 2 = T r = 1 T =T r de T =T r C V T r 1 F (E) = F (E)+ (E E) 2... (4.15) 2C V T r The first equation determines an energy, Ē, at which F is a minimum. At that point the system temperature is equal to the reservoir temperature, and we can write F (E) =F (T r ). The second derivative must be positive in order that F be a minimum. This gives a stability condition: C V > 0. If this does not hold, we are dealing with a system that cannot come to equilibrium. Using Eq. (A.9), we have: Z e βf(t r) e (E Ē)2 /2k B C V T 2 r de/ = e βf(t r) 2πk B T 2 C V /. (4.16) The correction to Eq. (4.8) is now explicit F = k B T ln Z k B T ln 2πk B T 2 C V + O(1). The leading correction is of order ln(n). We have actually proved more: the integrand in Eq. (4.16) is the probability distribution for energy fluctuations. It a gaussian centered

8 4.4. THE CANONICAL RECIPE 100 on Ē; thewidthisδe = 2k B T 2 C V. The gaussian is very narrow: δe/ē = O(N 1/2 ) for a macroscopic system. This shows that the canonical ensemble will give the same results as the microcanonical: the energy fluctuations are very small The canonical recipe With these results in hand, we can write down a procedure for deriving a fundamental relation from statistical physics. This is the most popular method in statistical thermodynamics Recipe Here are the steps to do a calculation: 1. For a quantum system calculate: Z(T,X,N)= i e βe i. For a classical system calculate 1 Z(T,X,N)= N!h 3N d 3N q d 3N pe βh(q,p). 2. Calculate F (T,X,N)= k B T ln Z. 3. Calculate S = ( F/ T ) X,N, f =( F/ X) T,N. For example, for a fluid: S = ( F/ T ) V,N, p = ( F/ V ) T,N. These are the equations of state. 4. To average any quantity of interest, R(q, p) in a classical system compute: d 3N q d 3N pe βh(q,p) R(q, p) R =. d 3N q d 3N pe βh(q,p) In a quantum system, for any operator, ˆR we need its diagonal matrix elements, i ˆR i. Then the average is: ˆR = i i ˆR i i e βe i e βe i.

9 101 CHAPTER 4. CANONICAL ENSEMBLE Phase space density and density matrix We can rewrite our results in terms of the phase space density. For the canonical ensemble, our results amount to saying: The density matrix is: ρ c (q, p) = ρ j,k c 1 e βh(r,p) N!h 3N. (4.17) Z = δ j,k e βe j Z. (4.18) The density operator is: ˆρ = e βĥ Tr(e βĥ) (4.19) Averages are, as usual: ˆR =Tr(ˆρR). (4.20) 4.5. Examples With the recipe we can do a large number of very interesting computations. Here are a few examples Ideal paramagnet For the paramagnet E = j σ jh. The first step of the recipe is: Z = {σ i =±1} = σ 1 =±1 e βh j σ j e βhσ 1 σ 2 =±1 e βhσ 2... = e βh + e βh N. (4.21) The last equation is important: the partition function is the N th power of a partition function for each spin: Z =(Z 1 ) N. This always happens for non-interacting systems. Now, the second step: F = Nk B T ln(e βh + e βh ). (4.22)

10 4.5. EXAMPLES 102 The equation of state is: as in Eq. (3.7). M = For small field we have: F h T = N tanh βh, (4.23) M Nβh; Nχ = M h = N k B T. (4.24) This is the Curie law. In more conventional units the Curie law reads (for spin-1/2 particles): M Nµ2 H. (4.25) k B T Here M is the magnetic moment, and µ the magnetic moment per particle Ideal gas For the ideal gas H = p 2 j /2m. Thefirststepis: V N Z = N!h 3N dp 1 dp 2...e β p 2 j /2m V N = N!h 3N dp 1 e βp2 1 /2m dp 2 e βp2 2 /2m... = 1 N V N! h 3 dp e βp2 /2m N Ve = Nλ 3, λ =(h 2 /2πmk B T ) 1/2. (4.26) In the last step Stirling s approximation, N! N N e N was used. Again, note the factorization of the partition function into the N th power of a one particle quantities. The second step is to find the free energy: F = k B T ln Z = Nk B T (ln(nλ 3 ) 1), n = N/V. (4.27) The third step: F S = T F p = V V,N T,N = Nk B ( 5 2 +ln(v/n) ln(λ3 )) = Nk B T/V. (4.28)

11 103 CHAPTER 4. CANONICAL ENSEMBLE The first line is the Sackur-Tetrode equation, Eq. (3.12) expressed as a function of T Ideal gas with internal degrees of freedom: diatomic molecules We now return to the gas of molecules with internal degrees of freedom (such as rotations) which was discussed in 4.2. Consider, again, diatomic molecules. Now the Hamiltonian has several parts: H = H trans + H rot + H vib, corresponding to translation of the molecule as a whole, rotation about two axes with moment of inertia I, and vibrations, i.e. stretching of the chemical bond between the molecules. As usual when we have sums of independent parts of the Hamiltonian, the partition function factors: Z = Z1 N ; Z 1 = Z trans Z rot Z vib. The first factor is the familiar integral arising from the momentum terms: Z trans = Ve/Nλ 3. Correspondingly, the free energy is a sum: F = F trans + F rot + F vib = Nk B T (ln Z trans +lnz rot +lnz vib ). (4.29) And the specific heat, T ( 2 F/ T 2 ) has three parts as well. We now discuss the last two factors. Rotations The rotations arise from the rotational kinetic energy L 2 /2I. It is an elementary result of quantum theory (Messiah (1968), Sakurai & Napolitano (2010)) that for such a rotation the energy levels and degeneracies are: J = 2 J(J + 1)/2I, g(j) =2J +1, J =0, 1,... (4.30) To give a scale for the energies here we define the rotational temperature, T R,byk B T R = 2 /2I. For O 2 T R = 2.1K, N 2, 2.9K, well below the boiling point of these gases and very far below room temperature. The largest T R s are for H 2, 85.4K, and HD (D stands for Deuterium), 64K.

12 4.5. EXAMPLES 104 For a diatomic molecule of different species such as HCl we can write the rotational partition function at once: Z rot = (2J + 1)e β2j(j+1)/2i = (2J + 1)e J(J+1)TR/T. (4.31) 0 At room temperature, we note that T R /T << 1, and the terms in the sum differ very little on increasing J by unity. It is a very good approximation to replace the sum by an integral: Z rot 0 2Je T RJ 2 /T dj =2k B TI/ 2. Now the free energy is F rot = Nk B T ln(2k B TI/ 2 ), and the heat capacity is: C rot v = T ( 2 F rot / T 2 )=Nk B, as above. For T < T R we have a different situation. As a practical matter this only applies to HD. Now the sum in Eq. (4.31) is dominated by the first few terms, Z 1+3e 2T R/T, and the heat capacity vanishes exponentially. For a homo-nuclear molecule all this isn t quite right because of symmetry requirements. There results an interesting behavior for the heat capacity of H 2 for low temperatures, an effect first explained by D. Dennison; see Problem 7. Vibrations: Diatomic molecules are attached by a chemical bond whose length we call r. The equilibrium value, r = L, is set by the atoms sitting at the minimum of the mutual potential energy well; compare Figure 1.1. Near the bottom of the well, we can expand, and replace the well with a quadratic approximation: V (r) V (L)+K(r L) 2 /2...Ifweset u = r L we have a quadratic degree of freedom, H = H + Ku 2 /2 which is the Hamiltonian for a simple harmonic oscillator. We know how quantize a simple harmonic oscillator, (Messiah (1968), Sakurai & Napolitano (2010)). The energy levels are: n = ω(n +1/2), ω = K/m, n =0, 1,... (4.32) To give an idea of the numbers here, we define a vibrational temperature, T v = ω/k B. For O 2, T v = 2230K. Since T v is far above

13 105 CHAPTER 4. CANONICAL ENSEMBLE room temperature, we will always considering small n for which the quadratic approximation of the potential is adequate. Now we can write: Z vib = e βω/2 0 e βnω = Differentiating, we find the heat capacity: C vib = Nk B Tv T 2 e βω/2. (4.33) 1 e βω e T v/t (e T v/t 1) 2. (4.34) This function is very small at room temperature since it is proportional to e T v/t for T v /T >> 1. The missing degree of freedom which troubled Gibbs (see section 4.2) is frozen out by the large spacing of the vibrational energy levels Low temperature solids in the Einstein model We now have the analysis we need to see how the Einstein model works at low T. We take over the result of Eq. (4.34) for N oscillators of frequency ω E = k B T E /. This is the result plotted in Figure 4.1. The deviations from the Einstein model at low temperatures are due to the fact that in a real solid the frequencies are not all the same. This theory (the Debye theory) will be given in Chapter Interacting fluid For the interacting fluid we have H = j p2 j /2m +Φ({r}). The partition function divides into two factors: 1 Z = N!h 3N d 3N pe β p 2 j /2m d 3N re βφ = = V N N!λ 3N 1 V N N!λ 3N Q N V N Ve Nλ 3 d 3N re βφ N Q N (4.35) The first factor is the ideal gas result, and the second is called 2 the configuration integral, 1 Q N = V N d 3N re βφ. (4.36) 2 Our definition differs from the more usual one by the factor V N.

14 4.5. EXAMPLES 106 The configuration integral cannot be evaluated exactly. There are a number of ways to approximate it analytically. For numerical methods, we see that it would be useful to evaluate it alone since the translational degrees of freedom are treated exactly. One goal in evaluating Q N would be to get insight into the non-trivial parts of the phase diagram such as the critical point. Virial expansion In the 1930 s considerable effort was expanded in finding an expansion of Q N around the ideal gas result. When converted to an equation of state this takes the form of an expansion in density: p/k B T = n(1 + B 2 (T )n + B 3 (T )n 2...). (4.37) The B i are called virial coefficients. A clever method of deriving entire series of virial coefficients was devised by H. Ursell and J. E. Mayer. It is summarized in most modern books on statistical physics, and in Mayer s own book, Mayer & Mayer (1940). Unfortunately, the series is quite useless since its sum fails to get the critical point correctly; see Mayer & Mayer (1940). We will limit ourselves here to show how to get the first correction, B 2 which is useful at low density. We follow the method of Landau & Lifshitz (1980). First we recall the form of Φ: The free energy can be written: Φ=φ(r 1,2 )+φ(r 1,3 )+φ(r 2,3 )... (4.38) F = F trans k B T ln 1 V N = F trans k B T ln 1 = F trans k B T ln V N 1+ 1 V N d 3N re βφ d 3N r (e βφ 1) + 1 d 3N r(e βφ 1). (4.39) Now we use the fact that we are considering a density expansion. We suppose that at a given time in the whole sample there is only one pair that is close together, and that there are no higher-order collisions at all. This means that we are looking at a relatively small system. In this case only one of the terms in Eq. (4.38) is large enough to make the integrand much different from zero. However, we must sum over

15 107 CHAPTER 4. CANONICAL ENSEMBLE all the possible pairs that could be close, and take e βφ(rj,k) = 1 for all the rest. Thus: 1 V N d 3N r(e βφ N(N 1) 1) 2V 2 dr 1 dr 2 (e βφ(r1,2) 1) N 2 ds(e βφ(s) 1). (4.40) 2V In the last line we have gone to the center of mass frame of the two atoms. Now we can expand the logarithm, assuming the correction is small: F = F trans k B T N 2 2V ds(e βφ(s) 1) (4.41) To get the pressure we differentiate: F p = = Nk BT + N 2 k B T V V 2V 2 ds(1 e βφ(s) ) (4.42) Comparing to Eq. (4.37) gives: B 2 = 1 2 T ds(1 e βφ(s) ). (4.43) Now we can try to approximate the integral. We can write: B 2 =2π 0 r 2 drf(r); f =1 e βφ. Recall that φ =4[(σ/r) 12 (σ/r) 6 ] for the Lennard-Jones case. Note that the function f is approximately unity for r < σbecause of the repulsive part of the potential. For r>σwe have only the small attractive part. We assume that φ att /k B T<1. So, crudely, we put: σ B 2 2π r 2 dr 4βσ 6 r 2 dr/r 6 0 σ = 2πσ k B T Now B 2 is of the form b a/k B T. Thus, from Eq. (4.37): (4.44) p = nk B T (1 + [b a/k B /T ]n) = nk B T (1 + bn) an 2 nk BT 1 nb an2. (4.45) This is the van der Waals equation, Eq. (2.18) with an approximate microscopic identification of a, b: a =8πσ 3 /3; b =2πσ 3 /3. The temperature dependence of B 2 is qualitatively correct. The temperature at which B 2 = 0 is called the Boyle temperature.

16 4.6. SIMULATIONS IN THE CANONICAL ENSEMBLE Simulations in the canonical ensemble Numerical solutions for systems at fixed temperature are widely used. In fact, the most common method in numerical computation for statistical systems is the one that we will describe here, the Metropolis Monte Carlo technique of Metropolis, Rosenbluth, Rosenbluth, Teller & Teller (1953). It was developed at Los Alamos in the late 1940 s and early 50 s, and arose out of the work of Stanaslaw Ulam and John von Neumann. The term Monte Carlo was coined by Ulam: it refers to the famous gambling casino in Monaco: the method makes copious use of random sampling and random numbers. There are numerous references on this subject, e.g. Newman & Barkema (1999), Gould et al. (2006) and chapters in Chandler (1987), Gould & Tobochnik (2010), and Pathria & Beale (2011), Peliti (2011). For some of the mathematics of Markov chains see Sethna (2006) and Van Kampen (2007) Statistical sampling at fixed T Suppose we want to compute the canonical average of a quantity, R, for example, the magnetic moment for an Ising system. According to Eq. (4.2) we need to sum over the states of the system which we label by j: j R = R(j)e βe j. (4.46) j e βe j In this expression, R(j) is the value of R in state j. For a small system we could simply sum over all the states. For 9 Ising spins we have to sum over 2 9 = 512 states which is perfectly doable. However, for 256 spins, there are states far beyond the capacity of any computer. We must sample, i.e., pick a very much smaller subset of states, {J} and estimate the result. If we pick the J at random we estimate: J R = R(J)e βe J. j e βe J However, this is likely to give very bad estimates. For example, at low T most of the states we pick will have very small Boltzmann factors and will be essentially discarded from the sum. The trick which Metropolis et al. devised is to use a set {µ} which prefers more important states. As a result, the method is called importance sampling. We will see, in a moment, how to generate the µ s.

17 109 CHAPTER 4. CANONICAL ENSEMBLE First we need to see how to use them to estimate averages. Suppose the µ s generate a biased sample so that a state µ has a probability P µ. Then more probable states will occur more often than they should in Eq. (4.46), and we need to correct for this: if in a sample R(µ) occurs twice as often as it should, we need to divide its contribution by 2. In general, to get a good estimate, we should put: µ R = R(µ)P 1 (µ)e βe µ µ P 1 (µ)e βe. (4.47) µ Now the P (µ) s are at our disposal. The best choice is to make every term in the sum equally important: presumably it will take computer resources to generate a term in the sum, so we want to use all of them. A nice choice will be: P (µ) e βe µ. In this case we have, for a sample of size N : R = µ R(µ). (4.48) N Our sample is the simple numerical average over the sequence of µ s. This is not the only choice for P which has proven useful. We may want to emphasize regions of the state space where R has values we are interested in. Methods like this are called umbrella sampling: see Chandler (1987). We will only discuss the simplest method Markov processes We need to pick the set {µ}. This sounds hard since the important states might be a very small fraction of all the possibilities. However, we know that the problem of finding the high probability regions of the state space cannot be too hard, since real dynamics does go to equilibrium in the real world. The strategy is to impose a simplified dynamics on the system. That is, {µ} will be generated as a sequence of states arising from a fictitious dynamics. The equilibrium attained will be real; the way we get there need not be. We will choose the µ as states of a Markov chain. A Markov chain is a sequence that is generated by picking states one after another at discrete time steps according to prescribed time-independent transition probabilities, W. If we are in µ at step t the probability of being in state ν at t +1is W(ν µ). (We will usually abbreviate this to W(ν, µ).) Since we pick new states according to a probability, if we rerun the process we will, in general, get a different sequence. These different sequences are called sample paths.

18 4.6. SIMULATIONS IN THE CANONICAL ENSEMBLE 110 We need to require that the W be interpreted as a probability, and that something happens at each step. This means that we require: W(ν, µ) 0; W(ν, µ) =1. (4.49) It is quite possible for the state to stay the same at a step: that is W(µ, µ) = 0. We do not require that the matrix of the W be symmetric. Note that the transition probabilities at a given step do not depend on how the path got to state µ. Markov processes have no memory. ν Master equation Since the dynamics we are representing is ergodic, we require our process to be ergodic: that is, we must choose the W so that every state in our finite set of states can be reached by a finite number of steps from any other. If we start in some state, at time t later there will be a a probability, P (µ, t) for being in state µ at time t. Atthenexttime step: P (µ, t + 1) = W(µ, ν)p (ν, t). (4.50) ν This is called the master equation. sides, and using Eq. (4.49) gives: Subtracting P (µ, t) from both P (µ, t + 1) P (µ, t) = ν [W(µ, ν)p (ν, t) W(ν, µ)p (µ, t)]. (4.51) Sometimes it is useful to consider a continuous time process. In this case we replace the unit time step in Eq. (4.51) by a time step τ, divide both sides of of the equation by τ, and replace the W s by transition rates W. This gives: dp (µ)/dt = ν [W(µ, ν)p (ν, t) W(ν, µ)p (µ, t)]. We will continue here with the discrete time version. Approach to equilibrium Our first goal must be to find out under what conditions the process we invent actually does go to equilibrium. This discussion is a bit technical.

19 111 CHAPTER 4. CANONICAL ENSEMBLE If we write the P s as a column vector, P, whose components are P (µ), then we can read Eq. (4.50) as a matrix equation: P(t + 1) = WP(t), P(t + 2) = W 2 P(t),...,P(t + n) =W n P(t). (4.52) We are looking for equilibrium: P e (t + 1) = P e (t) =WP e (t). The equilibrium vector, if it exists, is an eigenvector of W with eigenvalue 1: Where I is the unit matrix. [W I]P e = 0; det[w I] =0, (4.53) The existence of P e is easy to prove. The transpose of W has an eigenvector with unit eigenvalue, namely the vector with all ones as components: this is just Eq. (4.49). The eigenvector of the transpose matrix is called a left eigenvector. Left eigenvectors and right eigenvectors do not need to be equal. But, since the determinant of W T same as the determinant of W, a right eigenvector with the same eigenvalue must exist. Further, no other eigenvalue is larger than 1 by the triangle inequality: λp (µ) = λ P (µ) ν W (ν, µ) P (ν) λ µ P (µ) ν,µ W (ν, µ) P (ν) = ν P (ν). In the last line we summed over µ and used Eq. (4.49). Thus λ 1. Thus equilibrium exists, the remaining question is whether it is unique, and whether we approach it properly. Ergodicity guarantees uniqueness. However, in the general case there is the possibility of limit cycles, namely states where we cycle through some set: µ 1 µ 2...µ k µ 1. (4.54) If we get caught in a limit cycle, we will not go to P e. If we have no cycles, then there is a famous theorem of Perron and Frobenius that guarantees approach to equilibrium. We do not need this strong result because we will impose a further condition on the process, that of detailed balance.

20 4.6. SIMULATIONS IN THE CANONICAL ENSEMBLE 112 Detailed balance Let us return to the master equation, Eq. (4.51), and note that for P e we must have: W(µ, ν)p e (ν, t) = W(ν, µ)p e (µ, t) ν ν This is certainly guaranteed if we make another assumption: we postulate that each term in the two sums are equal, and that we have a probability distribution such that: W(µ, ν)p e (ν, t) =W(ν, µ)p e (µ, t). (4.55) This is called detailed balance. Real mechanics has this property, as do quantum transitions Van Kampen (2007). If we impose it on our artificial dynamics, it makes things easier. Of course, this P e has unit eigenvalue. We can see that detailed balance eliminates cycles automatically. In equilibrium we cannot have Eq. (4.54) because we would be equally likely to traverse the sequence backwards. Also, since P e (µ) > 0 we can symmetrize W. Set: V(ν, µ) =[P e (ν)] 1/2 W(ν, µ)[p e (µ)] 1/2. A problem shows that V is symmetric and that its eigenvectors obey: S i (µ) =[P e (µ)] 1/2 P i (µ); VS i = λ i S i ; WP i = λ i P i. (4.56) Since the eigenvectors of a real symmetric matrix span the space, we can expand any vector in eigenvectors of V, and use this result to expand in eigenvectors of W. Result: approach to equilibrium We have shown that if W is ergodic and obeys detailed balance then for any starting point we can write: P(t) =c 1 P e + i c i P i ; WP e = P e ; WP i = λ i P i. (4.57) From Eq. (4.52) P(t + n) =c 1 P e + i c i λ n i P i. (4.58) Since the eigenvalues obey λ i < 1 the sum becomes negligible for large n, and we must have c 1 =1, P(t + n) P e.ifwewriteλ i = e Λ i we identify the Λ s as relaxation rates.

21 113 CHAPTER 4. CANONICAL ENSEMBLE Metropolis algorithm We need to devise a Markov process that is ergodic and obeys detailed balance. Detailed balance allows us to build in the equilibrium we want, namely the Boltzmann distribution. Thus we need, from Eq. (4.55) P e (µ) P e (ν) = e βeµ W (µ ν) e βe = ν W (ν µ). (4.59) There are many algorithms that satisfy this equation. The most popular and most efficient (see Newman & Barkema (1999)) is that of Metropolis et al. (1953). It involves several steps. 1. Start in state n, and try a move to state m. 2. Compute = E m E n. 3. If 0 accept the move, i.e. put the system in state m. 4. If > 0 accept the move with probability e β. That is, choose a random number u [0, 1] and if u<e β move to state m, otherwise do nothing. This does satisfy Eq. (4.59) because if > 0,E m >E n the probability of moving n m is e β(e m E n ) and the probability of moving m n is Monte Carlo simulations Here is a very simple example to illustrate the technique. Consider atwolevelsystem,n =0, 1 with energies E 0 = 0 and E 1 =. An elementary application of the canonical recipe gives n =1/(e β +1). Now we implement Monte Carlo: if you start in n = 0 you go to n = 1 with probability e β. If you start in n =1 you go to n =0 with probability 1. Here is the matrix W: 1 e β 1 e β 0 It is easy to see that this vector is an eigenvector with eigenvalue unity: 1 e β Here is a code fragment to calculate n:

22 4.6. SIMULATIONS IN THE CANONICAL ENSEMBLE 114 Figure 4.2.: Monte Carlo results for a two level system: n as a function of T. The solid line is the exact result. n=1 nsum=0. w=exp(-1./t) for j in arange(maxsteps): if n==1: nn=0 if n==0: u=random() if u <= w: nn=1 else: nn=0 n=nn nsum=nsum+n nave=nsum/maxsteps Results for various T are plotted in Figure 4.2. There is now an enormous industry in doing Monte Carlo simulations of the type we have described. The first application (Metropolis et al. (1953)) was to the hard-sphere gas in 2d and the second (Rosenbluth & Rosenbluth (1954)) was to 3d hard spheres, and to the Lennard-Jones gas. A modern version of the second computation goes as follows: From above we see that we need only compute the configuration integral, Q N. To do this, start with some configuration of atoms, and try a

23 115 CHAPTER 4. CANONICAL ENSEMBLE move, in this case, simply pick another place for one of the atoms, e.g. at random. Then compute and proceed as above. It is wise to monitor the energy to guess if the system has approached equilibrium, and then start to average. To get the pressure use the virial equation, Eq. (2.11). A program that does this is in Appendix B. We will use this method in Chapter 8. For the Ising model the procedure is still simpler. Start with an arbitrary arrangement of spins. Pick a spin at random, and flip it according to the Metropolis scheme. After relaxation has occurred monitor the energy and magnetic moment. From problem 2, below, compute the heat capacity and magnetic susceptibility. This is the subject of problem 5. Suggested reading The canonical ensemble is treated in all the general references, e.g.: Huang (1987) The rotational and vibrational heat capacities and the low temperature behavior of H 2 see: Pathria & Beale (2011) Landau & Lifshitz (1980) For the Mayer expansion the original source is Mayer & Mayer (1940) The modern treatment in Pathria & Beale (2011) is particularly detailed. For a quick treatment of B 2 alone, see Landau & Lifshitz (1980) Monte Carlo methods are in: Newman & Barkema (1999) Gould et al. (2006) Chandler (1987) Gould & Tobochnik (2010) For Markov chains see: Sethna (2006) Van Kampen (2007)

24 PROBLEMS 116 Problems 1. Consider a tall cylinder with a classical ideal gas of N particles inside. Because of gravity, the gas is denser at the bottom. Figure out the partition function, the free energy, and the heat capacity. 2. Derive the formula for the vibrational heat capacity, Eq. (4.34). Plot it as a function of T/T v. It should resemble Figure a). Prove that Var(E) =k B T 2 C,whereC is the heat capacity. b.) Prove for the Ising system that the magnetic susceptibility, (1/N ) M/ h T is given by: Nχ = 1 k B T Var(M). c.) Show that for the zero-field susceptibility for the Ising model in the disordered phase you can write: χ = 1 k B T σ j σ 0 0. The average uses the Hamiltonian with h = 0. Use Eq. (1.27). d.) For the Ising case express χ in terms of the spin-spin correlation function, Eq. (1.33). This is a simple example of a fluctuation-dissipation relation. 4. Consider the Joule-Thomson process, pushing a gas through a porous plug; see Figure 4.3. a.) It is a standard result that the enthalpy is conserved in the process. Prove this by figuring out the work done on both sides of the plug to move a parcel of gas from left to right. b.) Prove that the temperature change can be written: (N/C p )(TdB 2 /dt B 2 ), where B 2 is the second viral coefficient, and we neglect higher order terms. Hints: You should compute T/ p H.Itwillhelptoprove H = C p, T p j H p T = V + T S. p T

25 117 CHAPTER 4. CANONICAL ENSEMBLE p 1 p 2 Figure 4.3.: The Joule-Thomson effect. Gas is forced through a porous plug (center); p 1 >p 2. The flow is slow enough that both sides of the system can be considered to be in equilibrium. Also prove that, for small density, from the virial expansion V NkBT/p + NB 2. c.) Show that for B 2 = b a/k B T, Eq. (4.44), the gas cools at low T and heats for high T. 5. a.) Write Metropolis Monte Carlo code for the 1d Ising model, and verify the result in Eq. (4.23). b.) Write a 2d code and use the result of Problem (4.3)a to find the heat capacity as a function of T. Be sure you go through the phase transition. 6. Use detailed balance to prove that V is symmetric and that Eq. (4.56) is correct. 7. An interesting application of quantum statistics is to the rotational states of H 2 gas (see Landau & Lifshitz (1980)). a.) The two nuclei protons in this case are identical and have spin 1/2. Quantum mechanics says that if the total nuclear spin is 1 (othohydrogen) then only odd J are allowed in the rotations, and for spin 0 (parahydrogen) then only even J are allowed. Explain this from quantum theory. b.) Show that the equilibrium ratio of othro (o) to para (p) is: x = N o /N p =3Z odd /Z even Z even,odd = (2J + 1)e β(2 /2I)J(J+1) and the sum is over even and odd J s and I is the moment of inertia.

26 PROBLEMS 118 c.) What is the low and high temperature limit of x? d.) David Dennison, late of the University of Michigan physics department, pointed out that the heat capacity of H 2 gas at T s low compared to 2 /2Ik B could be understood by assuming that x takes a long time to equilibrate so that when you cool the gas it retains the high-t value. Show that this means that C rot for H 2 is much smaller than it would be in equilibrium. Find the leading temperature dependence for C rot at low T for the two cases. (This calculation was the first solid evidence that the proton has spin.) 8. a.) Consider a system of N 1d classical anharmonic oscillators for which the potential is V (x) =cx 2 + fx 4. Suppose that the extra term is small. Show that the approximate heat capacity is C Nk B (1 [3fk B T/2c 2 ]). b.) Suppose two molecules are bound by the Lennard-Jones potential. Find the equilibrium distance between the molecules, r. Expand the potential around r to third order, and figure out the shift of the equilibrium with temperature. Assume the shift is small. (Use the same technique as in part a.) This is the origin of thermal expansion of most solids. 9. Classical theory of paramagnetism: suppose a molecule has magnetic moment m and is in a magnetic field B which is in the z-direction. Use the Hamiltonian, H = m B = mb cos(θ) where θ is the polar angle. Figure out the average magnetic moment along the z direction as a function of T,i.e.,m cos(θ). Expand the result for high temperature, and find the magnetic susceptibility, lim B 0 m/b. 10. Classical theory of diamagnetism (Bohr - van Leeuven theorem): consider a classical gas of charged particles in a constant, uniform external field in the z-direction, B z. We might expect that the field would induce eddy currents by Lenz s law, and give rise to a diamagnet. Show that this is false: the magnetic moment of the gas is zero for any field. Hint: Show that the external field can be taken to arise from a vector potential, A =(0,xB z, 0). Write the Hamiltonian from Eq. (1.2). Then, by a change of variables, show that Z is independent of B z.

9.1 System in contact with a heat reservoir

9.1 System in contact with a heat reservoir Chapter 9 Canonical ensemble 9. System in contact with a heat reservoir We consider a small system A characterized by E, V and N in thermal interaction with a heat reservoir A 2 characterized by E 2, V

More information

PHYSICS 219 Homework 2 Due in class, Wednesday May 3. Makeup lectures on Friday May 12 and 19, usual time. Location will be ISB 231 or 235.

PHYSICS 219 Homework 2 Due in class, Wednesday May 3. Makeup lectures on Friday May 12 and 19, usual time. Location will be ISB 231 or 235. PHYSICS 219 Homework 2 Due in class, Wednesday May 3 Note: Makeup lectures on Friday May 12 and 19, usual time. Location will be ISB 231 or 235. No lecture: May 8 (I m away at a meeting) and May 29 (holiday).

More information

PHYS 352 Homework 2 Solutions

PHYS 352 Homework 2 Solutions PHYS 352 Homework 2 Solutions Aaron Mowitz (, 2, and 3) and Nachi Stern (4 and 5) Problem The purpose of doing a Legendre transform is to change a function of one or more variables into a function of variables

More information

2m + U( q i), (IV.26) i=1

2m + U( q i), (IV.26) i=1 I.D The Ideal Gas As discussed in chapter II, micro-states of a gas of N particles correspond to points { p i, q i }, in the 6N-dimensional phase space. Ignoring the potential energy of interactions, the

More information

PHYS3113, 3d year Statistical Mechanics Tutorial problems. Tutorial 1, Microcanonical, Canonical and Grand Canonical Distributions

PHYS3113, 3d year Statistical Mechanics Tutorial problems. Tutorial 1, Microcanonical, Canonical and Grand Canonical Distributions 1 PHYS3113, 3d year Statistical Mechanics Tutorial problems Tutorial 1, Microcanonical, Canonical and Grand Canonical Distributions Problem 1 The macrostate probability in an ensemble of N spins 1/2 is

More information

Statistical Mechanics

Statistical Mechanics Franz Schwabl Statistical Mechanics Translated by William Brewer Second Edition With 202 Figures, 26 Tables, and 195 Problems 4u Springer Table of Contents 1. Basic Principles 1 1.1 Introduction 1 1.2

More information

Part II: Statistical Physics

Part II: Statistical Physics Chapter 6: Boltzmann Statistics SDSMT, Physics Fall Semester: Oct. - Dec., 2014 1 Introduction: Very brief 2 Boltzmann Factor Isolated System and System of Interest Boltzmann Factor The Partition Function

More information

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES Content-Thermodynamics & Statistical Mechanics 1. Kinetic theory of gases..(1-13) 1.1 Basic assumption of kinetic theory 1.1.1 Pressure exerted by a gas 1.2 Gas Law for Ideal gases: 1.2.1 Boyle s Law 1.2.2

More information

Thermodynamics & Statistical Mechanics

Thermodynamics & Statistical Mechanics hysics GRE: hermodynamics & Statistical Mechanics G. J. Loges University of Rochester Dept. of hysics & Astronomy xkcd.com/66/ c Gregory Loges, 206 Contents Ensembles 2 Laws of hermodynamics 3 hermodynamic

More information

Part II: Statistical Physics

Part II: Statistical Physics Chapter 6: Boltzmann Statistics SDSMT, Physics Fall Semester: Oct. - Dec., 2013 1 Introduction: Very brief 2 Boltzmann Factor Isolated System and System of Interest Boltzmann Factor The Partition Function

More information

5. Systems in contact with a thermal bath

5. Systems in contact with a thermal bath 5. Systems in contact with a thermal bath So far, isolated systems (micro-canonical methods) 5.1 Constant number of particles:kittel&kroemer Chap. 3 Boltzmann factor Partition function (canonical methods)

More information

Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany

Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany Statistical Thermodynamics and Monte-Carlo Evgenii B. Rudnyi and Jan G. Korvink IMTEK Albert Ludwig University Freiburg, Germany Preliminaries Learning Goals From Micro to Macro Statistical Mechanics (Statistical

More information

CHEM-UA 652: Thermodynamics and Kinetics

CHEM-UA 652: Thermodynamics and Kinetics 1 CHEM-UA 652: Thermodynamics and Kinetics Notes for Lecture 4 I. THE ISOTHERMAL-ISOBARIC ENSEMBLE The isothermal-isobaric ensemble is the closest mimic to the conditions under which most experiments are

More information

Introduction Statistical Thermodynamics. Monday, January 6, 14

Introduction Statistical Thermodynamics. Monday, January 6, 14 Introduction Statistical Thermodynamics 1 Molecular Simulations Molecular dynamics: solve equations of motion Monte Carlo: importance sampling r 1 r 2 r n MD MC r 1 r 2 2 r n 2 3 3 4 4 Questions How can

More information

Statistical Mechanics in a Nutshell

Statistical Mechanics in a Nutshell Chapter 2 Statistical Mechanics in a Nutshell Adapted from: Understanding Molecular Simulation Daan Frenkel and Berend Smit Academic Press (2001) pp. 9-22 11 2.1 Introduction In this course, we will treat

More information

Grand Canonical Formalism

Grand Canonical Formalism Grand Canonical Formalism Grand Canonical Ensebmle For the gases of ideal Bosons and Fermions each single-particle mode behaves almost like an independent subsystem, with the only reservation that the

More information

Handout 10. Applications to Solids

Handout 10. Applications to Solids ME346A Introduction to Statistical Mechanics Wei Cai Stanford University Win 2011 Handout 10. Applications to Solids February 23, 2011 Contents 1 Average kinetic and potential energy 2 2 Virial theorem

More information

summary of statistical physics

summary of statistical physics summary of statistical physics Matthias Pospiech University of Hannover, Germany Contents 1 Probability moments definitions 3 2 bases of thermodynamics 4 2.1 I. law of thermodynamics..........................

More information

2. Thermodynamics. Introduction. Understanding Molecular Simulation

2. Thermodynamics. Introduction. Understanding Molecular Simulation 2. Thermodynamics Introduction Molecular Simulations Molecular dynamics: solve equations of motion r 1 r 2 r n Monte Carlo: importance sampling r 1 r 2 r n How do we know our simulation is correct? Molecular

More information

ChE 503 A. Z. Panagiotopoulos 1

ChE 503 A. Z. Panagiotopoulos 1 ChE 503 A. Z. Panagiotopoulos 1 STATISTICAL MECHANICAL ENSEMLES 1 MICROSCOPIC AND MACROSCOPIC ARIALES The central question in Statistical Mechanics can be phrased as follows: If particles (atoms, molecules,

More information

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature.

Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature. Chapter 4: Going from microcanonical to canonical ensemble, from energy to temperature. All calculations in statistical mechanics can be done in the microcanonical ensemble, where all copies of the system

More information

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B

[S R (U 0 ɛ 1 ) S R (U 0 ɛ 2 ]. (0.1) k B Canonical ensemble (Two derivations) Determine the probability that a system S in contact with a reservoir 1 R to be in one particular microstate s with energy ɛ s. (If there is degeneracy we are picking

More information

Introduction. Statistical physics: microscopic foundation of thermodynamics degrees of freedom 2 3 state variables!

Introduction. Statistical physics: microscopic foundation of thermodynamics degrees of freedom 2 3 state variables! Introduction Thermodynamics: phenomenological description of equilibrium bulk properties of matter in terms of only a few state variables and thermodynamical laws. Statistical physics: microscopic foundation

More information

3.320 Lecture 18 (4/12/05)

3.320 Lecture 18 (4/12/05) 3.320 Lecture 18 (4/12/05) Monte Carlo Simulation II and free energies Figure by MIT OCW. General Statistical Mechanics References D. Chandler, Introduction to Modern Statistical Mechanics D.A. McQuarrie,

More information

Thermal and Statistical Physics Department Exam Last updated November 4, L π

Thermal and Statistical Physics Department Exam Last updated November 4, L π Thermal and Statistical Physics Department Exam Last updated November 4, 013 1. a. Define the chemical potential µ. Show that two systems are in diffusive equilibrium if µ 1 =µ. You may start with F =

More information

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission.

Copyright 2001 University of Cambridge. Not to be quoted or copied without permission. Course MP3 Lecture 4 13/11/2006 Monte Carlo method I An introduction to the use of the Monte Carlo method in materials modelling Dr James Elliott 4.1 Why Monte Carlo? The name derives from the association

More information

Physics 4230 Final Examination 10 May 2007

Physics 4230 Final Examination 10 May 2007 Physics 43 Final Examination May 7 In each problem, be sure to give the reasoning for your answer and define any variables you create. If you use a general formula, state that formula clearly before manipulating

More information

5. Systems in contact with a thermal bath

5. Systems in contact with a thermal bath 5. Systems in contact with a thermal bath So far, isolated systems (micro-canonical methods) 5.1 Constant number of particles:kittel&kroemer Chap. 3 Boltzmann factor Partition function (canonical methods)

More information

Basics of Statistical Mechanics

Basics of Statistical Mechanics Basics of Statistical Mechanics Review of ensembles Microcanonical, canonical, Maxwell-Boltzmann Constant pressure, temperature, volume, Thermodynamic limit Ergodicity (see online notes also) Reading assignment:

More information

Part II Statistical Physics

Part II Statistical Physics Part II Statistical Physics Theorems Based on lectures by H. S. Reall Notes taken by Dexter Chua Lent 2017 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

Physics 115/242 Monte Carlo simulations in Statistical Physics

Physics 115/242 Monte Carlo simulations in Statistical Physics Physics 115/242 Monte Carlo simulations in Statistical Physics Peter Young (Dated: May 12, 2007) For additional information on the statistical Physics part of this handout, the first two sections, I strongly

More information

Table of Contents [ttc]

Table of Contents [ttc] Table of Contents [ttc] 1. Equilibrium Thermodynamics I: Introduction Thermodynamics overview. [tln2] Preliminary list of state variables. [tln1] Physical constants. [tsl47] Equations of state. [tln78]

More information

The Ideal Gas. One particle in a box:

The Ideal Gas. One particle in a box: IDEAL GAS The Ideal Gas It is an important physical example that can be solved exactly. All real gases behave like ideal if the density is small enough. In order to derive the law, we have to do following:

More information

Kinetic theory of the ideal gas

Kinetic theory of the ideal gas Appendix H Kinetic theory of the ideal gas This Appendix contains sketchy notes, summarizing the main results of elementary kinetic theory. The students who are not familiar with these topics should refer

More information

to satisfy the large number approximations, W W sys can be small.

to satisfy the large number approximations, W W sys can be small. Chapter 12. The canonical ensemble To discuss systems at constant T, we need to embed them with a diathermal wall in a heat bath. Note that only the system and bath need to be large for W tot and W bath

More information

4. Systems in contact with a thermal bath

4. Systems in contact with a thermal bath 4. Systems in contact with a thermal bath So far, isolated systems microcanonical methods 4.1 Constant number of particles:kittelkroemer Chap. 3 Boltzmann factor Partition function canonical methods Ideal

More information

510 Subject Index. Hamiltonian 33, 86, 88, 89 Hamilton operator 34, 164, 166

510 Subject Index. Hamiltonian 33, 86, 88, 89 Hamilton operator 34, 164, 166 Subject Index Ab-initio calculation 24, 122, 161. 165 Acentric factor 279, 338 Activity absolute 258, 295 coefficient 7 definition 7 Atom 23 Atomic units 93 Avogadro number 5, 92 Axilrod-Teller-forces

More information

(i) T, p, N Gibbs free energy G (ii) T, p, µ no thermodynamic potential, since T, p, µ are not independent of each other (iii) S, p, N Enthalpy H

(i) T, p, N Gibbs free energy G (ii) T, p, µ no thermodynamic potential, since T, p, µ are not independent of each other (iii) S, p, N Enthalpy H Solutions exam 2 roblem 1 a Which of those quantities defines a thermodynamic potential Why? 2 points i T, p, N Gibbs free energy G ii T, p, µ no thermodynamic potential, since T, p, µ are not independent

More information

8.333: Statistical Mechanics I Problem Set # 5 Due: 11/22/13 Interacting particles & Quantum ensembles

8.333: Statistical Mechanics I Problem Set # 5 Due: 11/22/13 Interacting particles & Quantum ensembles 8.333: Statistical Mechanics I Problem Set # 5 Due: 11/22/13 Interacting particles & Quantum ensembles 1. Surfactant condensation: N surfactant molecules are added to the surface of water over an area

More information

Ideal Gas Behavior. NC State University

Ideal Gas Behavior. NC State University Chemistry 331 Lecture 6 Ideal Gas Behavior NC State University Macroscopic variables P, T Pressure is a force per unit area (P= F/A) The force arises from the change in momentum as particles hit an object

More information

Physics Nov Cooling by Expansion

Physics Nov Cooling by Expansion Physics 301 19-Nov-2004 25-1 Cooling by Expansion Now we re going to change the subject and consider the techniques used to get really cold temperatures. Of course, the best way to learn about these techniques

More information

1. Thermodynamics 1.1. A macroscopic view of matter

1. Thermodynamics 1.1. A macroscopic view of matter 1. Thermodynamics 1.1. A macroscopic view of matter Intensive: independent of the amount of substance, e.g. temperature,pressure. Extensive: depends on the amount of substance, e.g. internal energy, enthalpy.

More information

Internal Degrees of Freedom

Internal Degrees of Freedom Physics 301 16-Oct-2002 15-1 Internal Degrees of Freedom There are several corrections we might make to our treatment of the ideal gas If we go to high occupancies our treatment using the Maxwell-Boltzmann

More information

Rate of Heating and Cooling

Rate of Heating and Cooling Rate of Heating and Cooling 35 T [ o C] Example: Heating and cooling of Water E 30 Cooling S 25 Heating exponential decay 20 0 100 200 300 400 t [sec] Newton s Law of Cooling T S > T E : System S cools

More information

Principles of Equilibrium Statistical Mechanics

Principles of Equilibrium Statistical Mechanics Debashish Chowdhury, Dietrich Stauffer Principles of Equilibrium Statistical Mechanics WILEY-VCH Weinheim New York Chichester Brisbane Singapore Toronto Table of Contents Part I: THERMOSTATICS 1 1 BASIC

More information

P3317 HW from Lecture and Recitation 10

P3317 HW from Lecture and Recitation 10 P3317 HW from Lecture 18+19 and Recitation 10 Due Nov 6, 2018 Problem 1. Equipartition Note: This is a problem from classical statistical mechanics. We will need the answer for the next few problems, and

More information

424 Index. Eigenvalue in quantum mechanics, 174 eigenvector in quantum mechanics, 174 Einstein equation, 334, 342, 393

424 Index. Eigenvalue in quantum mechanics, 174 eigenvector in quantum mechanics, 174 Einstein equation, 334, 342, 393 Index After-effect function, 368, 369 anthropic principle, 232 assumptions nature of, 242 autocorrelation function, 292 average, 18 definition of, 17 ensemble, see ensemble average ideal,23 operational,

More information

Phys Midterm. March 17

Phys Midterm. March 17 Phys 7230 Midterm March 17 Consider a spin 1/2 particle fixed in space in the presence of magnetic field H he energy E of such a system can take one of the two values given by E s = µhs, where µ is the

More information

Fundamentals. Statistical. and. thermal physics. McGRAW-HILL BOOK COMPANY. F. REIF Professor of Physics Universüy of California, Berkeley

Fundamentals. Statistical. and. thermal physics. McGRAW-HILL BOOK COMPANY. F. REIF Professor of Physics Universüy of California, Berkeley Fundamentals of and Statistical thermal physics F. REIF Professor of Physics Universüy of California, Berkeley McGRAW-HILL BOOK COMPANY Auckland Bogota Guatemala Hamburg Lisbon London Madrid Mexico New

More information

1+e θvib/t +e 2θvib/T +

1+e θvib/t +e 2θvib/T + 7Mar218 Chemistry 21b Spectroscopy & Statistical Thermodynamics Lecture # 26 Vibrational Partition Functions of Diatomic Polyatomic Molecules Our starting point is again the approximation that we can treat

More information

Solution to the exam in TFY4230 STATISTICAL PHYSICS Wednesday december 21, 2011

Solution to the exam in TFY4230 STATISTICAL PHYSICS Wednesday december 21, 2011 NTNU Page 1 of 8 Institutt for fysikk Fakultet for fysikk, informatikk og matematikk This solution consists of 8 pages. Solution to the exam in TFY4230 STATISTICAL PHYSICS Wednesday december 21, 2011 Problem

More information

Some General Remarks Concerning Heat Capacity

Some General Remarks Concerning Heat Capacity CHEM 331 Physical Chemistry Fall 2017 Some General Remarks Concerning Heat Capacity The Heat Capacity The Heat Capacity is one of those quantities whose role in thermodynamics cannot be underestimated.

More information

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry

Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles. Srikanth Sastry JNCASR August 20, 21 2009 Understanding Molecular Simulation 2009 Monte Carlo and Molecular Dynamics in different ensembles Srikanth Sastry Jawaharlal Nehru Centre for Advanced Scientific Research, Bangalore

More information

Answer TWO of the three questions. Please indicate on the first page which questions you have answered.

Answer TWO of the three questions. Please indicate on the first page which questions you have answered. STATISTICAL MECHANICS June 17, 2010 Answer TWO of the three questions. Please indicate on the first page which questions you have answered. Some information: Boltzmann s constant, kb = 1.38 X 10-23 J/K

More information

Chem 3502/4502 Physical Chemistry II (Quantum Mechanics) 3 Credits Spring Semester 2006 Christopher J. Cramer. Lecture 9, February 8, 2006

Chem 3502/4502 Physical Chemistry II (Quantum Mechanics) 3 Credits Spring Semester 2006 Christopher J. Cramer. Lecture 9, February 8, 2006 Chem 3502/4502 Physical Chemistry II (Quantum Mechanics) 3 Credits Spring Semester 2006 Christopher J. Cramer Lecture 9, February 8, 2006 The Harmonic Oscillator Consider a diatomic molecule. Such a molecule

More information

Physics 622. T.R. Lemberger. Jan. 2003

Physics 622. T.R. Lemberger. Jan. 2003 Physics 622. T.R. Lemberger. Jan. 2003 Connections between thermodynamic quantities: enthalpy, entropy, energy, and microscopic quantities: kinetic and bonding energies. Useful formulas for one mole of

More information

Physics 212: Statistical mechanics II Lecture XI

Physics 212: Statistical mechanics II Lecture XI Physics 212: Statistical mechanics II Lecture XI The main result of the last lecture was a calculation of the averaged magnetization in mean-field theory in Fourier space when the spin at the origin is

More information

Statistical. mechanics

Statistical. mechanics CHAPTER 15 Statistical Thermodynamics 1: The Concepts I. Introduction. A. Statistical mechanics is the bridge between microscopic and macroscopic world descriptions of nature. Statistical mechanics macroscopic

More information

Statistical Mechanics Victor Naden Robinson vlnr500 3 rd Year MPhys 17/2/12 Lectured by Rex Godby

Statistical Mechanics Victor Naden Robinson vlnr500 3 rd Year MPhys 17/2/12 Lectured by Rex Godby Statistical Mechanics Victor Naden Robinson vlnr500 3 rd Year MPhys 17/2/12 Lectured by Rex Godby Lecture 1: Probabilities Lecture 2: Microstates for system of N harmonic oscillators Lecture 3: More Thermodynamics,

More information

Javier Junquera. Statistical mechanics

Javier Junquera. Statistical mechanics Javier Junquera Statistical mechanics From the microscopic to the macroscopic level: the realm of statistical mechanics Computer simulations Thermodynamic state Generates information at the microscopic

More information

MP203 Statistical and Thermal Physics. Jon-Ivar Skullerud and James Smith

MP203 Statistical and Thermal Physics. Jon-Ivar Skullerud and James Smith MP203 Statistical and Thermal Physics Jon-Ivar Skullerud and James Smith October 3, 2017 1 Contents 1 Introduction 3 1.1 Temperature and thermal equilibrium.................... 4 1.1.1 The zeroth law of

More information

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky

MD Thermodynamics. Lecture 12 3/26/18. Harvard SEAS AP 275 Atomistic Modeling of Materials Boris Kozinsky MD Thermodynamics Lecture 1 3/6/18 1 Molecular dynamics The force depends on positions only (not velocities) Total energy is conserved (micro canonical evolution) Newton s equations of motion (second order

More information

Phase Transitions. µ a (P c (T ), T ) µ b (P c (T ), T ), (3) µ a (P, T c (P )) µ b (P, T c (P )). (4)

Phase Transitions. µ a (P c (T ), T ) µ b (P c (T ), T ), (3) µ a (P, T c (P )) µ b (P, T c (P )). (4) Phase Transitions A homogeneous equilibrium state of matter is the most natural one, given the fact that the interparticle interactions are translationally invariant. Nevertheless there is no contradiction

More information

Nuclear vibrations and rotations

Nuclear vibrations and rotations Nuclear vibrations and rotations Introduction to Nuclear Science Simon Fraser University Spring 2011 NUCS 342 February 2, 2011 NUCS 342 (Lecture 9) February 2, 2011 1 / 29 Outline 1 Significance of collective

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF PHYSICS. DOCTORAL GENERAL EXAMINATION PART 1 August 27, 2012 SOLUTIONS

MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF PHYSICS. DOCTORAL GENERAL EXAMINATION PART 1 August 27, 2012 SOLUTIONS MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF PHYSICS EDUCATION OFFICE PHONE (617)-253-4842 ROOM 4-352 FAX (617)-258-8319 DOCTORAL GENERAL EXAMINATION PART 1 August 27, 2012 SOLUTIONS 1 GROUP I Solutions

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Statistical Physics I Spring Term 2013 Notes on the Microcanonical Ensemble

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Statistical Physics I Spring Term 2013 Notes on the Microcanonical Ensemble MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department 8.044 Statistical Physics I Spring Term 2013 Notes on the Microcanonical Ensemble The object of this endeavor is to impose a simple probability

More information

Elements of Statistical Mechanics

Elements of Statistical Mechanics Elements of Statistical Mechanics Thermodynamics describes the properties of macroscopic bodies. Statistical mechanics allows us to obtain the laws of thermodynamics from the laws of mechanics, classical

More information

Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics

Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics Time-Dependent Statistical Mechanics 5. The classical atomic fluid, classical mechanics, and classical equilibrium statistical mechanics c Hans C. Andersen October 1, 2009 While we know that in principle

More information

Concepts for Specific Heat

Concepts for Specific Heat Concepts for Specific Heat Andreas Wacker 1 Mathematical Physics, Lund University August 17, 018 1 Introduction These notes shall briefly explain general results for the internal energy and the specific

More information

Lecture 25 Goals: Chapter 18 Understand the molecular basis for pressure and the idealgas

Lecture 25 Goals: Chapter 18 Understand the molecular basis for pressure and the idealgas Lecture 5 Goals: Chapter 18 Understand the molecular basis for pressure and the idealgas law. redict the molar specific heats of gases and solids. Understand how heat is transferred via molecular collisions

More information

Identical Particles. Bosons and Fermions

Identical Particles. Bosons and Fermions Identical Particles Bosons and Fermions In Quantum Mechanics there is no difference between particles and fields. The objects which we refer to as fields in classical physics (electromagnetic field, field

More information

First Problem Set for Physics 847 (Statistical Physics II)

First Problem Set for Physics 847 (Statistical Physics II) First Problem Set for Physics 847 (Statistical Physics II) Important dates: Feb 0 0:30am-:8pm midterm exam, Mar 6 9:30am-:8am final exam Due date: Tuesday, Jan 3. Review 0 points Let us start by reviewing

More information

1. Electricity and Magnetism (Fall 1995, Part 1) A metal sphere has a radius R and a charge Q.

1. Electricity and Magnetism (Fall 1995, Part 1) A metal sphere has a radius R and a charge Q. 1. Electricity and Magnetism (Fall 1995, Part 1) A metal sphere has a radius R and a charge Q. (a) Compute the electric part of the Maxwell stress tensor T ij (r) = 1 {E i E j 12 } 4π E2 δ ij both inside

More information

Suggestions for Further Reading

Suggestions for Further Reading Contents Preface viii 1 From Microscopic to Macroscopic Behavior 1 1.1 Introduction........................................ 1 1.2 Some Qualitative Observations............................. 2 1.3 Doing

More information

Principles of Molecular Spectroscopy

Principles of Molecular Spectroscopy Principles of Molecular Spectroscopy What variables do we need to characterize a molecule? Nuclear and electronic configurations: What is the structure of the molecule? What are the bond lengths? How strong

More information

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble

(# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble Recall from before: Internal energy (or Entropy): &, *, - (# = %(& )(* +,(- Closed system, well-defined energy (or e.g. E± E/2): Microcanonical ensemble & = /01Ω maximized Ω: fundamental statistical quantity

More information

Computational Physics (6810): Session 13

Computational Physics (6810): Session 13 Computational Physics (6810): Session 13 Dick Furnstahl Nuclear Theory Group OSU Physics Department April 14, 2017 6810 Endgame Various recaps and followups Random stuff (like RNGs :) Session 13 stuff

More information

Solution to the exam in TFY4230 STATISTICAL PHYSICS Friday december 19, 2014

Solution to the exam in TFY4230 STATISTICAL PHYSICS Friday december 19, 2014 NTNU Page 1 of 10 Institutt for fysikk Fakultet for fysikk, informatikk og matematikk This solution consists of 10 pages. Problem 1. Cold Fermi gases Solution to the exam in TFY4230 STATISTICAL PHYSICS

More information

PHYSICS 715 COURSE NOTES WEEK 1

PHYSICS 715 COURSE NOTES WEEK 1 PHYSICS 715 COURSE NOTES WEEK 1 1 Thermodynamics 1.1 Introduction When we start to study physics, we learn about particle motion. First one particle, then two. It is dismaying to learn that the motion

More information

Classical Theory of Harmonic Crystals

Classical Theory of Harmonic Crystals Classical Theory of Harmonic Crystals HARMONIC APPROXIMATION The Hamiltonian of the crystal is expressed in terms of the kinetic energies of atoms and the potential energy. In calculating the potential

More information

CH 240 Chemical Engineering Thermodynamics Spring 2007

CH 240 Chemical Engineering Thermodynamics Spring 2007 CH 240 Chemical Engineering Thermodynamics Spring 2007 Instructor: Nitash P. Balsara, nbalsara@berkeley.edu Graduate Assistant: Paul Albertus, albertus@berkeley.edu Course Description Covers classical

More information

The Dulong-Petit (1819) rule for molar heat capacities of crystalline matter c v, predicts the constant value

The Dulong-Petit (1819) rule for molar heat capacities of crystalline matter c v, predicts the constant value I believe that nobody who has a reasonably reliable sense for the experimental test of a theory will be able to contemplate these results without becoming convinced of the mighty logical power of the quantum

More information

From quantum to classical statistical mechanics. Polyatomic ideal gas.

From quantum to classical statistical mechanics. Polyatomic ideal gas. From quantum to classical statistical mechanics. Polyatomic ideal gas. Peter Košovan peter.kosovan@natur.cuni.cz Dept. of Physical and Macromolecular Chemistry Lecture 5, Statistical Thermodynamics, MC260P105,

More information

1 The fundamental equation of equilibrium statistical mechanics. 3 General overview on the method of ensembles 10

1 The fundamental equation of equilibrium statistical mechanics. 3 General overview on the method of ensembles 10 Contents EQUILIBRIUM STATISTICAL MECHANICS 1 The fundamental equation of equilibrium statistical mechanics 2 2 Conjugate representations 6 3 General overview on the method of ensembles 10 4 The relation

More information

Physics 607 Exam 2. ( ) = 1, Γ( z +1) = zγ( z) x n e x2 dx = 1. e x2

Physics 607 Exam 2. ( ) = 1, Γ( z +1) = zγ( z) x n e x2 dx = 1. e x2 Physics 607 Exam Please be well-organized, and show all significant steps clearly in all problems. You are graded on your work, so please do not just write down answers with no explanation! Do all your

More information

U(T), H(T), and Heat Capacities (C )

U(T), H(T), and Heat Capacities (C ) Chapter 3 U(T), H(T), and Heat Capacities (C ) Thermodynamics is a collection of useful relations between quantities, every one of which is independently measurable. What do such relations tell one about

More information

Physics 408 Final Exam

Physics 408 Final Exam Physics 408 Final Exam Name You are graded on your work (with partial credit where it is deserved) so please do not just write down answers with no explanation (or skip important steps)! Please give clear,

More information

Metropolis Monte Carlo simulation of the Ising Model

Metropolis Monte Carlo simulation of the Ising Model Metropolis Monte Carlo simulation of the Ising Model Krishna Shrinivas (CH10B026) Swaroop Ramaswamy (CH10B068) May 10, 2013 Modelling and Simulation of Particulate Processes (CH5012) Introduction The Ising

More information

A Brief Introduction to Statistical Mechanics

A Brief Introduction to Statistical Mechanics A Brief Introduction to Statistical Mechanics E. J. Maginn, J. K. Shah Department of Chemical and Biomolecular Engineering University of Notre Dame Notre Dame, IN 46556 USA Monte Carlo Workshop Universidade

More information

A =, where d n w = dw

A =, where d n w = dw Chapter 9 Monte Carlo Simulations So far we have either dealt with exactly soluble systems like the (time-dependent) oscillator or with various expansions like the semiclassical, perturbative and high-temperature

More information

221B Lecture Notes Many-Body Problems I (Quantum Statistics)

221B Lecture Notes Many-Body Problems I (Quantum Statistics) 221B Lecture Notes Many-Body Problems I (Quantum Statistics) 1 Quantum Statistics of Identical Particles If two particles are identical, their exchange must not change physical quantities. Therefore, a

More information

Potts And XY, Together At Last

Potts And XY, Together At Last Potts And XY, Together At Last Daniel Kolodrubetz Massachusetts Institute of Technology, Center for Theoretical Physics (Dated: May 16, 212) We investigate the behavior of an XY model coupled multiplicatively

More information

Statistical and Thermal Physics. Problem Set 5

Statistical and Thermal Physics. Problem Set 5 Statistical and Thermal Physics xford hysics Second year physics course Dr A. A. Schekochihin and Prof. A. T. Boothroyd (with thanks to Prof. S. J. Blundell Problem Set 5 Some useful constants Boltzmann

More information

M01M.1 Massive Spring

M01M.1 Massive Spring Part I Mechanics M01M.1 Massive Spring M01M.1 Massive Spring A spring has spring constant K, unstretched length L, and mass per unit length ρ. The spring is suspended vertically from one end in a constant

More information

Nanoscale simulation lectures Statistical Mechanics

Nanoscale simulation lectures Statistical Mechanics Nanoscale simulation lectures 2008 Lectures: Thursdays 4 to 6 PM Course contents: - Thermodynamics and statistical mechanics - Structure and scattering - Mean-field approaches - Inhomogeneous systems -

More information

Chemistry 593: The Semi-Classical Limit David Ronis McGill University

Chemistry 593: The Semi-Classical Limit David Ronis McGill University Chemistry 593: The Semi-Classical Limit David Ronis McGill University. The Semi-Classical Limit: Quantum Corrections Here we will work out what the leading order contribution to the canonical partition

More information

The Failure of Classical Mechanics

The Failure of Classical Mechanics Chapter 1 The Failure of Classical Mechanics Classical mechanics, erected by Galileo and Newton, with enormous contributions from many others, is remarkably successful. It enables us to calculate celestial

More information

Thermal & Statistical Physics Study Questions for the Spring 2018 Department Exam December 6, 2017

Thermal & Statistical Physics Study Questions for the Spring 2018 Department Exam December 6, 2017 Thermal & Statistical Physics Study Questions for the Spring 018 Department Exam December 6, 017 1. a. Define the chemical potential. Show that two systems are in diffusive equilibrium if 1. You may start

More information

Advanced Topics in Equilibrium Statistical Mechanics

Advanced Topics in Equilibrium Statistical Mechanics Advanced Topics in Equilibrium Statistical Mechanics Glenn Fredrickson 2. Classical Fluids A. Coarse-graining and the classical limit For concreteness, let s now focus on a fluid phase of a simple monatomic

More information

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below

ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below ICCP Project 2 - Advanced Monte Carlo Methods Choose one of the three options below Introduction In statistical physics Monte Carlo methods are considered to have started in the Manhattan project (1940

More information