Docsity

Chapter 9 Canonical ensemble, Lecture notes of Chemistry

Toggle sidebar
bg1
Chapter 9
Canonical ensemble
9.1 System in contact with a heat reservoir
We consider a small system A1characterized by
E1,V1and N1in thermal interaction with a heat
reservoir A2characterized by E2,V2and N1in
thermal interaction such that A1�A2,A1has
hence fewer degrees of freedom than A2.
E2�E1N1= const.
N2�N1N2= const.
with
E1+E2=E= const.
Both systems are in thermal equilibrium at tem-
perature T. The wall between them allows interchange of heat but not of particles. The
system A1may be any relatively small macroscopic system such as, for instance, a bottle
of water in a lake, while the lake acts as the heat reservoir A2.
Distribution of energy
states
The question we want to answer is the following:
“Under equilibrium conditions, what is the
probability of finding the small system A1
in any particular microstate αof energy
Eα? In other words, what is the distri-
bution function ρ=ρ(Eα)of the system
A1?”
We note that the energy E1is not fixed, only the total energy E=E1+E2of the combined
system.
Hamilton function. The Hamilton function of the combined system Ais
H(q, p) = H1(q(1), p(1)) + H2(q(2), p(2)) ,
103
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Chapter 9 Canonical ensemble and more Lecture notes Chemistry in PDF only on Docsity!

Chapter 9

Canonical ensemble

9.1 System in contact with a heat reservoir

We consider a small system A 1 characterized by E 1 , V 1 and N 1 in thermal interaction with a heat reservoir A 2 characterized by E 2 , V 2 and N 1 in thermal interaction such that A 1 � A 2 , A 1 has hence fewer degrees of freedom than A 2.

E 2 � E 1 N 1 = const. N 2 � N 1 N 2 = const.

with E 1 + E 2 = E = const.

Both systems are in thermal equilibrium at tem- perature T. The wall between them allows interchange of heat but not of particles. The system A 1 may be any relatively small macroscopic system such as, for instance, a bottle of water in a lake, while the lake acts as the heat reservoir A 2.

Distribution of energy states

The question we want to answer is the following:

“Under equilibrium conditions, what is the probability of finding the small system A 1 in any particular microstate α of energy E (^) α? In other words, what is the distri- bution function ρ = ρ(E (^) α ) of the system A 1 ?”

We note that the energy E 1 is not fixed, only the total energy E = E 1 +E 2 of the combined system.

Hamilton function. The Hamilton function of the combined system A is

H(q, p) = H 1 (q(1), p(1)) + H 2 (q(2), p(2)) ,

104 CHAPTER 9. CANONICAL ENSEMBLE

were we have used the notation

q = (q(1), q(2)), p = (p(1), p(2)).

Microcanonical ensemble of the combined system. Since the combined system A is isolated, the distribution function in the combined phase space is given by the micro- canonical distribution function ρ(q, p),

ρ(q, p) = � δ^ (E^ −^ H(q, p))) dq dp δ (E − H(q, p))

dq dp δ(E − H) = Ω(E) , (9.1)

where Ω(E) is the density of phase space (8.4).

Tracing out A 2. It is not the distribution function ρ(q, p) = ρ(q(1), p(1), q(2), p(2)) of the total system A that we are interested in, but in the distribution function ρ 1 (q(1), p(1)) of the small system A 1. One hence needs to trace out A 2 : ∗

ρ 1 (q(1), p(1)) ≡

dq(2) dp(2) ρ(q(1), p(1), q(2), p(2))

dq(2) dp(2) δ(E − H 1 − H 2 ) Ω(E)

≡

Ω 2 (E − H 1 )

Ω(E)

where Ω 2 (E 2 ) = Ω(E − H 1 ) is the phase space density of A 2.

Small E 1 expansion. Now, we make use of the fact that A 1 is a much smaller system than A 2 and therefore the energy E 1 given by H 1 is much smaller than the energy of the combined system: E 1 � E.

In this case, we can approximate (9.2) by expanding the slowly varying logarithm of Ω 2 (E 2 ) = Ω 2 (E − H 1 ) around the E 2 = E as

ln Ω 2 (E 2 ) = ln Ω 2 (E − H 1 ) � ln Ω 2 (E) −

∂ ln Ω 2 ∂E (^2)

E 2 =E

H 1 +... (9.3)

and neglect the higher-order terms since H 1 = E 1 � E.

Derivatives of the entropy. Using (8.14), namely that

S = k (^) B ln

Γ(E, V, N )

= k (^) B ln

Ω(E)Δ

where Δ is the width of the energy shell, we find that derivatives of the entropy like

1 T

∂S

∂E

= k (^) B

∂ ln Ω(E) ∂E

∗ (^) A marginal distribution function p(x) = �^ p(x, y)dy in generically obtained by tracing out other variables from a joint distribution function p(x, y).

106 CHAPTER 9. CANONICAL ENSEMBLE

Example. Suppose a certain num- ber of states accessible to A 1 and A 2 for various values of their respective energies, as given in the figure, and that the total energy of the combined system is 1007.

  • Let A 1 be in a state α with en- ergy 6. E 2 is then in one of the 3 · 10 5 states with energy 1001.
  • If A 1 is in a state γ with energy 7, the reservoir must be in one of the 1 · 10 5 states with energy

The number of realizations of states with E 1 = 6 the ensemble contains is hence much higher than the number of realization of state with E 1 = 7.

Canonical ensemble. An ensemble in contact with a heat reservoir at temperature T is called a canonical ensemble, with the Boltzmann factor exp(−βEα ) describing the canonical distribution (9.8).

Energy distribution function. The Boltz- mann distribution (9.8) provides the probability P (^) α to find an individual microstates α. There are in general many microstates in a given en- ergy, for which

P (E) =

E<E (^) α <E+Δ

P (^) α ∝ Ω(E) e −βE^ , (9.9)

is the corresponding energy distribution func- tion. Ω(E) = Ω 1 (E) is, as usual, the density of phase space.

  • P (E) is rapidly decreasing for increasing energies due to the Boltzmann factor exp(−βE (^) α ).
  • P (E) is rapidly decreasing for decreasing energies due to the decreasing phase space density Ω(E).

The energy density is therefore sharply peaked. We will discuss the the width of the peak, viz the energy fluctuations, more in detail in Sect. 9.6.

9.2. CANONICAL PARTITION FUNCTION 107

9.2 Canonical partition function

We rewrite the distribution function (9.7) of the canonical ensemble as

ρ(q, p) =

e −βH(q,p) � d 3 N^ q d 3 N^ p e −βH(q,p)^

where we dropped all the indices ”1” for simplicity, though in fact we are still describing the properties of a “small” system (which is nevertheless macroscopically big) in thermal equilibrium with a heat reservoir.

Partition function. The canonical partition function (“kanonische Zustandssumme”) Z (^) N is defined as

Z (^) N =

d 3 N^ q d 3 N^ p h 3 N^ N!

e −βH(q,p)^. (9.10)

It is proportional to the canonical distribution function ρ(q, p), but with a different nor- malization, and analogous to the microcanonical space volume Γ(E) in units of Γ 0 :

Γ(E) Γ (^0)

h 3 N^ N!

E<H(q,p)<E+Δ

d 3 N^ q d 3 N^ p

d 3 N^ q d 3 N^ p h 3 N^ N!

Θ(E + Δ − H) − Θ(E − H)

where Θ is the step function.

Free energy. We will show that it is possible to obtain all thermodynamic observables by differentiating the partition function ZN. We will prove in particular that

F (T, V, N ) = −k (^) B T ln Z (^) N (T ) , Z (^) N = e −βF^ (T,V,N^ )^ , (9.11)

where F (T, V, N ) is the Helmholtz free energy.

Proof. In order to proof (9.11) we perform the differentiation

∂ ∂β

ln ZN =

Z N

∂Z N

∂β

=

∂β

dqdp h 3 N^ N!

e −βH

dqdp h 3 N^ N!

e −βH

dqdp (−H) e −βH � dqdp e −βH = −�H� = −U.

where we have used the shortcut dqdp = d^3 N^ qd 3 N^ p and that �H� = E = U is the internal energy.

9.4. ADDITIVITY OF F (T, V, N ) 109

in order to obtain

� (^) ∞

0

dE e −βE h 3 N^ N!

Ω N (E) =

d 3 N^ q d 3 N^ p

0

dE e −βE h 3 N^ N!

δ(E − H)

d 3 N^ q d 3 N^ p h 3 N^ N!

e −βH(q,p)^ = Z (^) N (T ). (9.13)

We have thus shown that ZN (T ) is the Laplace transform †^ of Ω (^) N (E).

Additive Hamilton functions. In both the microcanonical and in the canonical en- semble we have to perform an integration which is usually difficult. When the Hamilton function is additive, H =

i H^ i^ , the integration in the canonical ensemble can be factor- ized, which is not the case for the microcanonical ensemble. Therefore, it is usually easier to calculate in the canonical ensemble than in the microcanonical ensemble.

9.4 Additivity of F (T, V, N )

An important property of the free energy is that it has to be additive.

Non-interacting systems. Let us consider two systems in thermal equilibrium. Neglect- ing the interaction among the systems, the total Hamilton function can be written as a sum of the Hamiltonians of the individual systems,

H = H 1 + H 2 , N = N 1 + N 2.

Multiplication of partition functions. The partition function of the total system is

Z N (T, V ) =

h 3 N^ N 1 !N 2!

d 3 N^ q d 3 N^ p e −β(H^1 +H^2 )^ ,

where have made use of the fact that there is not exchange of particles between the two systems. The factor in the denominator is therefore proportional to N 1 !N 2! and NOT to N !. It then follows that the partition function factorizes,

Z N (T, V ) =

h 3 N^1 N 1!

d 3 N^1 q d 3 N^1 p e −βH^1 (q^1 ,p^1 )

×

h 3 N^2 N 2!

d 3 N^2 q d 3 N^2 p e −βH^2 (q^2 ,p^2 )

= Z (^) N 1 (T, V 1 ) Z (^) N 2 (T, V 2 ) ,

and that the free energy F = −k (^) B T ln Z (^) N is additive:

F (T, V, N ) = F 1 (T, V 1 , N 1 ) + F 2 (T, V 2 , N 2 ). † (^) The Laplace transform F (s) of a function f (t) is defined as F (s) = �^ ∞ 0 f^ (t) exp(−st)dt.

110 CHAPTER 9. CANONICAL ENSEMBLE

Convolution of densities of states. That the overall partition function factorizes follows also from the fact that the density of states Ω(E) of the combined system,

Ω(E) =

d 3 N^ q d 3 N^ p δ(E − H 1 − H 2 )

d 3 N^1 q d 3 N^1 p d 3 N^2 q d 3 N^2 p

dE 2 δ(E − H 1 − E 2 ) δ(E 2 − H 2 )

dE 2 Ω 1 (E − E 2 ) Ω 2 (E 2 ) ,

is given by the ( convolution) of the density of states Ωi (E (^) i ) of the individual systems. Using the representation (9.13) for the partition function we obtain ‡

Z N =

dE e −βE h 3 N^ N 1 !N (^2)

Ω(E)

dE e −β(E^1 +E^2 ) h 3 N^ N 1 !N 2!

dE 2 Ω 1 (E − E 2 ) � �� � Ω 1 (E 1 )

Ω 2 (E 2 ).

A change of the integration variable from dE to dE 1 then leads again to

Z (^) N (T, V ) = ZN 1 (T, V 1 ) Z (^) N 2 (T, V 2 ). (9.14)

Note that this relation is only valid if H = H 1 + H 2 and H 12 = 0.

9.5 Ideal gas in the canonical ensemble

We consider now the ideal gas in the canonical ensemble, for which the Hamilton function,

H =

�^ N

i=

�pi 2 2 m

, Z N (T, V ) =

d 3 N^ q d 3 N^ p h 3 N^ N!

e −β^

� (^) N i=1 �p^2 i /(2m)^ , (9.15)

contains just the kinetic energy.

Factorization. The integral leading to ZN factorizes in (9.15):

Z N (T, V ) =

V N

N!

−∞

dp h

e −β^

p^2 2 m

� 3 N

V N

N!

−∞

2 k (^) B T m h

e −x^ 2 dx

� 3 N

where we have used the variable substitution

x 2 =

p 2 2 k (^) B T m

, dx =

dp √ 2 k (^) B T m

−∞

dx e −x^ 2 =

π. (9.17)

‡ (^) Note that a variable transfomation (E, E 2 ) → (E 1 , E 2 ) with a Jacobian determinant, �^ dE dE 2 = � dE 1 dE 2 |J|, where J is the respective Jacobian.

112 CHAPTER 9. CANONICAL ENSEMBLE

which results in the Sackur-Tetrode equation

S = N k (^) B

ln

V

N λ (^3) T

Comparing (9.20) with (8.25), namely with the microcanonical Sackur-Tetrode equation

S = k (^) B N

ln

4 πmE 3 h 2 N

V

N

one finds that they coincide when E/N = 3kB T /2.

Chemical potential. The chemical potential μ is

μ =

∂F

∂N

T,V

= −k (^) B T

ln

V

N λ (^3) T

  • N k (^) B T

V

N λ (^3) T

λ (^3) T V

= −k^ B T^ ln

V

N λ (^3) T

The previous expressions were much simpler obtained than when calculated in the micro- canonical ensemble.

Equivalence of ensembles. In the thermodynamic limit the average value of an ob- servable is in general independent of the ensemble (microcanonical or canonical).

N → ∞, V → ∞,

N

V

= const.

is taken. One therefore usually chooses the ensemble that is easier to work with.

Fluctuations of observables. Fluctuations of observables, �A^2 � − �A� 2 , may however be ensemble dependent! An example for an observable for which this is the case is the energy, which is constant, by definition, in the microcanonical ensemble, but distributed according to (9.9) in the canonical ensemble.

9.6 Energy fluctuations

We evaluated the representation (9.12) for the specific heat in a first step:

C (^) V T

∂T 2

k (^) B T ln Z (^) n

∂T

k (^) B ln Zn +

k (^) B T Z (^) N

∂Z (^) n ∂β

∂β ∂T

∂β ∂T

k (^) B T 2

=

∂T

k (^) B ln Zn −

T Z N

∂Z (^) n ∂β

9.6. ENERGY FLUCTUATIONS 113

Second derivatives. The remaining derivative with respect to the temperature T are

∂ ∂T

k (^) B ln Zn =

T 2 Z N

∂Z (^) n ∂β ∂ ∂T

T Z N

∂Z (^) n ∂β

T 2 Z N

∂Z (^) n ∂β

T Z N^2

∂Z (^) n ∂β

T Z N

∂ 2 Z (^) n ∂β 2

k (^) B T 2

With the first two terms canceling each other We find

C V =

k (^) b T 2

Z N

∂ 2 Z (^) n ∂β 2

Z N

∂Z (^) n ∂β

for the specific heat Cv as a functions of derivatives of the partition function ZN.

Derivatives of the partition function. The definition (9.10) for the partition function corresponds to

1 Z (^) N

∂Z (^) n ∂β

� (^) d 3 N (^) q d 3 N (^) p h 3 N^ N! H e^

−βH(q,p) � (^) d 3 N (^) q d 3 N (^) p h 3 N^ N! e^ −βH(q,p)

, Z N =

d 3 N^ q d 3 N^ p h 3 N^ N!

e −βH(q,p)^ ,

viz to 1 Z (^) N

∂Z (^) n ∂β

E

Z N

∂ 2 Z (^) n ∂β 2

E 2

Specific heat. Our results (9.21) and (9.22) lead to the fundamental relation

C V =

k (^) b T 2

E 2

E

between the specific heat CV and the fluctuations �E 2

E

of the energy.

  • Both the specific heat C (^) V ∼ N and the right-hand side of (9.23) are extensive. The later as a result of the central limit theorem discussed in Sect. 8.6, which states that the variance of independent processes are additive.
  • The specific heat describes the energy exchange between the system and an heat reservoir. It hence makes that sense that CV is proportional to the size of the energy fluctuations.

Relative energy fluctuations. The relative energy fluctuations, �� E 2

E

E

N

vanish in the thermodynamic limit N → ∞.

  • The scaling relation (9.24) if a direct consequence of (9.23) and of the fact that both C (^) V and the internal energy U = �E� are extensive.
  • Eq. (9.24) is consistent with the demand that the canonical the microcanonical ensembles are equivalent in the thermodynamic limit N → ∞. Energy fluctuations are absent in the microcanonical ensemble.

9.7. PARAMAGNETISM 115

Curie Law. For the magnetic susceptibility χ, defined as �M � = χH, we then have

χ =

N μ 2 k (^) B T

At temperatures high compared to the magnetic energies, χ ∝ T −^1 which is known as the Curie law.

Low-temperature expansion. Low tempera- tures correspond to y � 1,

e y^ � e −y^ , tanh y ≈ 1 ,

and hence

�μ (^) H � = μ, �M � = N μ.

The magnetization saturates at the maximal value at low temperatures independent of H.

116 CHAPTER 9. CANONICAL ENSEMBLE