Professional Documents
Culture Documents
Unit 1 Introduction To The Statistical Physics. The Microcanonical Ensemble
Unit 1 Introduction To The Statistical Physics. The Microcanonical Ensemble
Unit 1 Introduction To The Statistical Physics. The Microcanonical Ensemble
1.1 Introduction
The aim of Statistical Physics is to derive and understand the behavior of macro-
scopic systems from their microscopic description. There are well-established disci-
plines which provide the governing laws at both scales. For the macroscopic scale
(i.e. for objects much larger than an atom but smaller than the Moon) Thermody-
namics provides a set of basic principles which must be obeyed by any macroscopic
system. These are the Thermodynamics laws, which can be formulated as follows:
• 0th law: this is an statement on equilibrium states, which are macroscopic
stationary states which do not present net flows of energy or matter within
the system or with its surroundings. So, if two systems at different macro-
scopic conditions are placed into thermal contact, they evolve to a common
equilibrium state. A system is obviously in equilibrium with itself (reflexivity
property) and if A is in equilibrium with B, then B is also in equilibrium with
A (symmetric property). The zeroth law states that the equilibrium condition
satisfies also the transitivity property. So, if A is in equilibrium with B, and
B is in equilibrium with C, then A is in equilibrium with C. Thus, the equi-
librium condition is an equivalence relationship, so all the equilibrium states
can be classified into equivalence classes. We can associate to each equivalence
class a labeling number, which is the (empirical) temperature.
1
Introduction to the Statistical Physics. The microcanonical ensemble. 2
• 2nd law: the second law has been expressed in many ways (heat cannot flow
from cold to hot objects without any other change, a machine cannot generate
work by draining heat from a single thermal bath,...). However, we will use
Planck’s formulation. First, entropy (a state function as the internal energy)
is defined from the relationship
d¯Qrev
dS = , (1.3)
T
where d¯Qrev is the infinitesimal heat transfer between the system and its sur-
roundings along a reversible path (i.e. quasi-static, so it is so slow that each
step in the path can be considered to be almost in equilibrium, and that it
can be reversed in such a way that both the system and its surroundings are
returned to their original states), and T is the absolute temperature. So in any
process on an isolated system (i.e. a system which does not exchange energy
of any kind or matter with its surroundings) entropy must increase ∆S ≥ 0,
being ∆S = 0 for reversible processes.
• 3rd law: The entropy of a perfect crystal at absolute zero is exactly equal to
zero.
and the potential energy U ≡ U (r1 , . . . , rN ), which can be split into different con-
tributions
XN X
U= U1 (ri ) + U2 (ri , rj ) + . . . , (1.5)
i=1 i<j
where the 1-body term corresponds to the interactions with the surroundings (in-
cluding the container walls), the U2 corresponds to two-body interactions between
particles of the system, and so on. A popular potential used as U2 is the Lennard-
Jones, which it is accurate to describe noble gases.
The connection between both levels of description is far from obvious. First,
macroscopic laws are valid for many systems and virtually independent of the initial
conditions, but the mechanical dynamics is specific to each model and depends
strongly on the initial conditions. Second, the macroscopic state is defined by a
relatively small number of physical quantities (in equilibrium hydrostatic systems, by
the internal energy E, the volume V and the number of particles N , or equivalently
by the temperature T , V and N ; in non-equilibrium states by the hydrodynamic
fields), which must be compared to the values of the positions and velocities of all
the microscopic components of the system (of order of NA ). Finally, note that there
are additional issues we will not consider, as how the time-irreversible nature of the
macroscopic laws can be derived from the time-reversible laws of the (Classical or
Quantum) Mechanics.
d2 ri
mi = F i (r1 , . . . , rN ), (1.6)
dt2
where mi and ri are the mass and position vector of the atom i, and F i is the net force
which acts on the particle i. If we provide the positions and velocities v i = dri /dt
at an initial time t = t0 , then we can formally solve the system dynamics for t > t0 .
Introduction to the Statistical Physics. The microcanonical ensemble. 4
Thus
df ∂f
= + {f, H}. (1.15)
dt ∂t
If f = H, then dH/dt = ∂H/∂t, so if the Hamiltonian does not depend explicitly
on time, it is a constant of movement in the system dynamics.
but the microscopic dynamics is specific to each model and depends strongly on
the initial conditions. In order to reconcile both description, the Statistical Physics
postulates a probabilistic approach. It is obvious that the macroscopic state (or
macrostate) cannot specify the microscopic state (or microstate) in which the sys-
tem is at certain instant. In another words, there are many possible microstates
compatible with a macrostate, so at a given time, the system may be in any of these
microstates. Now, if we follow the evolution of many identical, independent systems
in the same macrostate (maybe prepared from different initial conditions), a certain
microstate will appear with a frequency which is given by an a priori probability
density in the phase space
ρ(q1 , . . . , qf , p1 , . . . , pf , t) ≡ ρ(q, p, t). (1.16)
The set of microstates compatible with a given macrostate, together with the cor-
responding probability density ρ(q, p, t), defines an ensemble. If the macrostate cor-
responds to an equilibrium thermodynamic state, we will denote them as a Gibbs
ensemble.
Once we have introduced the concept of ensemble of microstates associated to a
macrostate, we must establish the connection between the macroscopic and micro-
scopic properties. Let’s suposse that a macroscopic property Amacro has a micro-
scopic analogue A(q, p) (such as the internal energy U and the Hamiltonian H(q, p)).
The connection between both properties is postulated in the Statistical Physics to be
probabilistic. So, the first postulate of the Statistical Physics establishes that
the macroscopic property Amacro is an ensemble-average or mean of the microscopic
property A(q, p)
Z
Amacro (t) = A(t) = dqdpA(q, p)ρ(q, p, t), (1.17)
where dqdp ≡ dq1 . . . dqf dp1 . . . dpf . Note that this postulate is only valid for macro-
scopic properties which have a microscopic analogue. It is not valid for properties
without a microscopic analogue, such as the entropy or free energies. For these
quantities, we will see how they will be defined within the Statistical Physics.
As we saw in the previous Unit, the mean is only one of the quantities which
define a probability distribution. In general, the values of A(t) depart from its mean
value (see Fig. 1.1). These deviations are called fluctuations of the quantity A. In
order to estimate de typical size of the fluctuations of A, we can use its standard
deviation σA . In general, a instantaneous value of A in a typical microstate is in the
range [A(t) − rσA (t), A(t) + rσA (t)], where r is a number of order of 1. If σA /A 1,
the difference between A(t) and A(t) is macroscopically negligible. In this situation,
A represents a well-behaved macroscopic law, otherwise it does not correspond to
any physical law, since there will be no certainty on the value that A may have.
Introduction to the Statistical Physics. The microcanonical ensemble. 7
A(t)
A(t)-σΑ(t)
A(t)+σΑ(t)
A(t)
Figure 1.1: Macroscopic description A(t) and a realization A(t), with the confidence
ranges A(t) ± σA (t).
where v = (q̇1 , . . . , q̇f , ṗ1 , . . . , ṗf ), and n is the outward normal to the elementary
hypersurface ds on ∂Γ. Thus
Z Z
d
dqdpρ(q, p, t) + ρv · nds = 0. (1.21)
dt Γ ∂Γ
Expanding the derivatives on the second term in the right-hand side, we obtain
f f
∂ρ X ∂ q̇i ∂ ṗi X ∂ρ ∂ρ
+ρ + + q̇i + ṗi = 0. (1.24)
∂t i=1
∂qi ∂pi i=1
∂qi ∂pi
∂ ṗi ∂ 2H ∂ q̇i ∂ 2H
=− , = . (1.25)
∂pi ∂pi ∂qi ∂qi ∂qi ∂pi
As the crossed derivatives of H are equal, the second term in the left-hand side
vanishes, and the third one reduces to the Poisson’s bracket {ρ, H}. Thus, we get
that
dρ ∂ρ
= + {ρ, H} = 0, (1.26)
dt ∂t
which is the Liouville’s equation. Now let’s suppose that we have the infinitesimal
volume dq(t)dp(t), which corresponds to the set of phase space points (q(t), p(t))
which at t = 0 were at dq(0)dp(0). As the probability is carried out by the phase
space points, the probability stored at dq(0)dp(0) is conserved along the time evo-
lution
ρ(q(0), p(0), 0)dq(0)dp(0) = ρ(q(t), p(t), t)dq(t)dp(t). (1.27)
Since dρ/dt = 0, ρ(q(0), p(0), 0) = ρ(q(t), p(t), t), so the previous expression leads to
the conservation of the phase space volume
This expression is consistent with the fact that the time evolution is a canonical
transformation, which is known to conserve the phase space volume.
For equilibrium states, which are stationary, i.e. independent of time, ∂ρ/∂t = 0.
Consequently, Liouville’s equation states that ρ is a constant of movement. One
option is that ρ is a function of other constants of movement, such as the energy:
ρ(q, p) = ρ[H(q, p), ξ1 (q, p), ξ2 (q, p), . . .], (1.29)
where ξi are other constants of movement, i.e. {ξi , H} = 0. However, not all the
constant of movements are equally important. For example, in a free system (i.e. a
system which does not have any interaction or constraint with the surroundings),
there are seven fundamental constants of movement, which are energy, total momen-
tum and total angular momentum, associated to the symmetries of time translation,
spacial translation and rotations, respectively, associated to time invariance and the
homogeneity and isotropy of the space. These properties are extensive. However,
the presence of confining walls breaks the symmetry of the system with respect to
spacial translations and rotations, but keeping the conservation of energy. This im-
plies that energy will play an important role to determine ρ. As we will see, all the
probability densities associated to equilibrium Gibbs functions will be functions of
the Hamiltonian of the system.
Note that this equality is restricted to the microstates which have energy E (or
with energies in [E, ∆E], with ∆E E), being the probability zero otherwise.
The idea behind this postulate is that the system, in its time evolution, visits the
neighbourhood of any phase space point (except for a null-measure set of initial
conditions), in such a way that the time average of a property along its evolution
is equal to its average on the H(q, p) = E hypersurface. Mechanical systems which
satisfy this condition are called ergodic, and then ρ(q, p) can be identified as the
fraction of time the system visits the neighbourhood of (q, p). However, in most
cases it is impossible to show this property (or it can be shown not to be ergodic,
such as in ideal gases or systems of independent harmonic or weakly anharmonic
oscillators).
Let’s obtain the explicit expression of ρ. We will first consider that the energy
spectrum of the system is discrete (this is typical of its quantum mechanical de-
scription, but it can also be described at a classical level). Let’s call {Ej } the set
of energy levels, each of them with a degeneracy gj . We may assume that ∆E = 0,
so the possible energies of the macroscopic system would be any of the values of
Ej . Thus, the probability of a microstate of energy E = Ej would be pj = 1/gj .
However, this definition is not very convenient, since the dependence of pj on E
will be very “noisy”: it jumps from a finite to a null value as E deviates slightly
from any value of Ej , and in addition the values of gj can differ significantly even
for close energy levels. In order to avoid this, we define ρ in coarse-grained way, by
allowing for microstates with energies between the macroscopic energy Emacro and
Emacro + ∆E for the equilibrium macrostate of the isolated system, provided that
∆E Emacro , but being much larger than the typical gaps in the energy spectrum.
Then,
1
pj = E ∈ [Emacro , Emacro + ∆E] (1.30)
Ω
= 0 otherwise. (1.31)
P
The normalization condition j pj leads to the following expression for Ω
X
Ω= gj , (1.32)
j:Emacro ≤Ej ≤Emacro +∆E
which is the number of microstates with energies between Emacro and Emacro + ∆E.
Note that it is an adimensional number.
Introduction to the Statistical Physics. The microcanonical ensemble. 11
Now we turn to the continuum classical case. In this case, an state would be that
the microstate is in the infinitesimal hypercube of the phase space dqdp ≡ [q1 , q1 +
dq1 ]×. . .×[qf , qf +dqf ]×[p1 , p1 +dp1 ]×. . .×[pf , pf +dpf ]. The probability of being in
this microstate will be ρ(q, p)dqdp, where we denote (q, p) as (q1 , . . . , qf , p1 , . . . , pf ).
By the second postulate, we assume that all the microstates of energy between
Emacro and Emacro + ∆E is the same. So, we can define:
ρ = Cθ(Emacro + ∆E − H(q, p))θ(H(q, p) − Emacro ), (1.33)
where θ(x) is the Heaviside’s step function, which is R1 if the argument is positive,
and 0 otherwise. From the normalization condition dqdpρ = 1 we get that the
constant C is
1
C=R . (1.34)
Emacro ≤H(q,p)≤Emacro +∆E
dqdp
We define the phase volume Γ(E) as:
Z
Γ(E) = dqdp, (1.35)
E0 ≤H(q,p)≤E
where E0 is the minimum value of H(q, p), i.e. the energy of its ground state. Thus
1
C= . (1.36)
Γ(Emacro + ∆E) − Γ(Emacro )
Usually, Γ(E) is a well-behaved function, so if ∆E Emacro
∂Γ(E)
Γ(Emacro + ∆E) − Γ(Emacro ) ≈ ∆E ≡ Ω(Emacro )∆E, (1.37)
∂E
E=Emacro
By comparison with the discrete energy spectrum case, Ω(E) is also known as the
number of microstates, although it is its energy density (the true analogue would be
Ω(E)∆E).
Two remarks are pertinent at this point. First, note that, unlike the discrete
energy spectrum case, Ω∆E is dimensional. This could be corrected if we multiply
the integrals over the phase space by a factor h−f , where h is a constant with units
of angular momentum. This is equivalent to identify the microstates as cells of size
hf which mesh the phase space. At the classical level, h is an arbitrary constant,
but we will see in next Units that h must be the Planck’s constant in order to match
with the underlying quantum formulation. Thus, we redefine Γ, Ω and ρ as
Z Z
1 ∂Γ 1
Γ(E) = f dqdp , Ω(E) = = f dqdpδ(E − H(q, p))
h E0 ≤H(q,p)≤E ∂E h
1
ρ(q, p) = f δ(E − H(q, p)). (1.41)
h Ω(E)
Secondly, in our derivation we assume that all the particles are distinct or, if they
are identical, we assume that they are distinguishable. This means that, if the
particles are labeled for a certain time, this labelling can be followed through the
time evolution. We will see that this is not appropriate for some cases, so we will
have to further correct the expressions of Γ and Ω for systems of indistinguishable
particles.
Now we are going to consider two simple examples where to evaluate these ex-
amples.
• The monodimensional harmonic oscillator. In this case f = 1, so strictly
speaking it is not a macroscopic system. However, we will solve this case
because this result will be useful to get the thermodynamic properties of a
macroscopic large number of harmonic oscillators. The Hamiltonian of the
system is
p2 K
H(q, p) = + q2, (1.42)
2m 2
so the value of E0 = 0. Thus
Z
Γ(E) = dqdp. (1.43)
0≤H(q,p)≤E
This is a conservative system, so the energy is conserved along the time evo-
lution. This means that the trajectory in phase space of the system is in the
following curve
p2 K p2 K
E ≡ 0 + q02 = + q2, (1.44)
2m 2 2m 2
Introduction to the Statistical Physics. The microcanonical ensemble. 13
1/2
(2mE)
1/2
(2E/k)
hΓ(Ε)
or equivalently
p2 q2
1= + , (1.45)
2mE 2E/K
which is the equation of an ellipse. So, the phase volume will be proportional
to the area of the ellipse associated to the largest energy E (see Fig. 1.2)
The area of the ellipse is πab, where a and b are the major an minor ellipse
semiaxes, respectively. So
1 √
r r
2E E m E
Γ(E) = π 2mE = 2π = , (1.46)
h K h K hν
So, we will consider that its only effect will be to restrict the available positions
of the particles of the gas. Then
Z
1
Γ(E) = 3N p2
dr1 . . . drN dp1 . . . dpN . (1.48)
h 0≤ N
P i
i=1 2m ≤E
The same integral, in hyperspherical coordinates, and taking into account that
x21 + . . . x2n = r2 , is Z ∞
2
Sn rn−1 e−r dr. (1.52)
0
So R n
∞ −x2
2 0 e dx
Sn = R ∞ n−1 −x2 . (1.53)
0
x e dx
The integrals in the previous expression can be represented by the gamma
function Γ(x) (not to be confused with the phase volume), which is defined as
Z ∞
Γ(x) = duux−1 e−u . (1.54)
0
So, let’s consider the integral in the denominator of Eq. (1.53). Note that the
integral in the numerator is just a particular case of this integral, with n = 1. By
making the change of variable u = x2 , then
Z ∞
1 ∞ n −1 −u
Z
n−1 −x2 1 n
x e dx = u 2 e du ≡ Γ . (1.56)
0 2 0 2 2
Thus n n
Γ 12
π2
Sn = 1 n = 1 n . (1.57)
2
Γ 2 2
Γ 2
So, the volume of the n-dimensional hypersphere of radius R will be
n n
π 2 Rn π 2 Rn
v= n n = n
. (1.58)
2
Γ 2
Γ 2
+ 1
where again we remark that the Γ function on the right-hand side must not be
confused with the phase volume. The number of microstates Ω(E) is
3N 3N
∂Γ V N (2πmE) 2 2
Γ(E)
Ω(E) = = 3N = . (1.60)
∂E h EΓ 3N
2
E
This expression is true even if we assume that ∆E ∼ E, since then ln(N ∆E/E) ∼
ln N N . This is a quite general result, since for most systems Γ(E) ∼ E νf , where
ν is a number of order of 1 and f is the number of degrees of freedom of the system.
Introduction to the Statistical Physics. The microcanonical ensemble. 16
We will define the heat Q as the energy absorbed by system A, so Q = ∆E. Note
that if Q < 0, then the system loses energy, so we denote by −Q the heat given by
A. With this notation, Eq. (1.64) reads
Q + Q0 = 0 → Q = −Q0 , (1.65)
so heat is transferred from one system to the other when these are in pure thermal
contact.
Now, let’s suposse that any equilibrium state of A is compatible with any equilib-
rium state of A0 when placed in contact, provided their external extensive parameters
are kept constant. These systems are said to be thermally isolated. An example of
this situation is when A and A0 are separated by an adiabatic wall. Under these
circumstances, the only possible exchange of energy between A and A0 comes from
work, which involves changes in the external extensive parameters of A and A0 .
Then, A and A0 are said to be in mechanical interaction. Again, as A ∪ A0 is iso-
0
lated, ∆E + ∆E = 0 in the equilibration process. Now, we will define the work
W done by the system as W = −∆E. Alternatively, we can define −W = ∆E as
the work that the environment does on the system. With this notation, Eq. (1.64)
reads
−W − W 0 = 0 → W = −W 0 , (1.66)
so the work done by A on A0 is the work that the environment of A0 (i.e. A) does
on A0 .
Introduction to the Statistical Physics. The microcanonical ensemble. 17
∆E = Q − W. (1.68)
This is the first law statement, in which the internal energy is identified as the
averaged energy of the system. In differential form
Up to now, the equilibration process for the system A (and its environment
0
A ) is arbitrary. However, it is convenient to consider quasi-static processes which,
as we mentioned in the Introduction, are slow enough that each step in the path
can be considered to be almost in equilibrium. By slow enough we mean that the
perturbations which drive the process are so small that the typical relaxation times
are smaller than the time scale associated to the perturbation. Note that the larger
the perturbation is, the longer the relaxation time will be. Quasi-static processes
are idealizations of this situation, but they are convenient tools for our theoretical
arguments.
Let’s call X = {X1 , . . . , Xn } to the set of external extensive properties of the
system, such as volume, etc. The Hamiltonian of the system depends on these
quantities, so strictly speaking, H = H(q, p, X). Now, let’s vary a parameter Xα
quasi-statically for a thermally isolated sytem. So, the energy of any microstate of
the system will change as
∂H
dH = dXα . (1.70)
∂Xα
Note that if the system is initially isolated, so all the microstates correspond to the
same energy, this may not be true along the quasi-static process, since the variation
of H on X depends on the microstate. From Classical Mechanics, we define the
generalized force Yα conjugated to Xα as
∂H
Yα = − . (1.71)
∂Xα
Now we turn to the macroscopic system. The infinitesimal variation of the internal
energy, dE, is identified as the ensemble-average of dH, dH, which is
∂H
dE = dH = dXα = −Y α dXα . (1.72)
∂Xα
Introduction to the Statistical Physics. The microcanonical ensemble. 18
where Y α is the macroscopic generalized force. This result is not restricted to the
microcanonical ensemble as we only made use of the equilibrium condition (not the
specific macroscopy system constraints), so it is valid for any equilibrium Gibbs
ensemble. An example is the pressure p, which is the generalized force associated
to the system volume. Note that, as the process is quasi-stationary, the value of Y α
coincides with the external value.
If different external fields are changed simultaneously along the quasi-stationary
process, then Eq. (1.73) generalizes to
X
d¯W = Y α dXα . (1.74)
α
Suppose that, after equilibration, the wall is replaced. The replacement of the
constraint reduces again the number of microstates, since now the number of par-
ticles and energies on each region are the same as in the microstate in which the
Introduction to the Statistical Physics. The microcanonical ensemble. 19
system was just before the introduction of the wall. However, as the initial system
was equilibrated, the macroscopic energy and number of particles on each region are
E/2 and N/2, with fluctuations much smaller than these values. Thus, we will see
that ln Ωf ≈ ln Ωi , where the corrections are much smaller than ln Ωi . In practice,
this is equivalent to require that Ωf = Ωi . In order to obtain a macrostate such as
the original one, where the gas occupies only one region, we need to do a work to
compress the system, which is against the system isolation condition.
From these arguments, we can classify the processes for isolated systems in two
classes:
• Irreversible process: Ωf > Ωi , and the system cannot return to its initial
condition unless energy is supplied to the system. The gas expansion outlined
above is an example of irreversible process. Although typically the system
is out-of-equilibrium along the process, under some circumstances it can be
slow enough to be considered quasi-static. For example, we can consider the
irreversible expansion of the gas performed by a sequencial removal of a set
of adiabatic walls close each other (so the removal can be regarded as a small
perturbation) in the empty region, so slow that, after the removal of a wall,
the gas is let to equilibrate.
These results show that there must be a connection between the number of
microstates and the entropy, which can also only increase in irreversible processes
or stay constant for reversible processes in an isolated system. We will see below
how this connection is done.
We note that these arguments are only valid in isolated systems. On the other
hand, the time arrow which irreversibility introduces is a macroscopic concept. How
to reconcile this fact with the reversibility of the underlying microscopic mechanical
description, which is reversible in time, is an issue which is beyond the scope of this
course.
adiabatic process (i.e. the system interacts with its surroundings via pure mechan-
ical interactions). If we consider an infinitesimal portion of the process, dΓ can be
written as
∂Γ X ∂Γ
dΓ = dE + dXα . (1.77)
∂E α
∂X α
We know that Ω(E) = ∂Γ/∂E. On the other hand, the derivative of Γ with respect
to Xα is given by
Z
∂Γ 1 ∂
= f dqdp θ(E − H(q, p, X))θ(H(q, p, X) − E0 (X)), (1.78)
∂Xα h ∂Xα
where E0 is in general a function of X. The derivative of the Heaviside’s step
function with respect to its argument is the Dirac’s delta dθ(x)/dx = δ(x). So
and of the macroscopic generalized force, the first term is Y α Ω(E, X). Now, the
total variation of the phase volume along the quasi-static adiabatic process is
" #
X
dΓ(E, X) = Ω(E, X) dE + Y α dXα , (1.82)
α
which vanishes from the definition of the work in quasi-static adiabatic processes.
As a consequence, Γ(E, X) is invariant along these processes, as it happens with the
entropy.
Now, let’s consider a general quasi-static process. The variation of the phase
volume along an infinitesimal portion of the process is still given by Eq. (1.82), but
this expression does not vanishes in general. If we divide Eq. (1.82) by Γ, we obtain
" #
dΓ Ω(E, X) X
d ln Γ(E, X) = = dE + Y α dXα
Γ Γ(E, X)
" # α " #
1 ∂Γ X ∂ ln Γ X
= dE + Y α dXα = dE + Y α dXα ,(1.83)
Γ ∂E X α
∂E X α
S = kB ln Γ, (1.85)
From the normalization condition of ω(E) we obtain the composition rule for the
number of microstates
Z E−(E0 )2
Ω(E) = dE1 Ω1 (E1 )Ω2 (E − E1 ). (1.98)
(E0 )1
In general, Ω1 and Ω2 are both rapidly increasing functions of energy (for example,
Ω ∼ E νf ), so their product will have a very sharp maximum which gives the most
probable value of E1 , Ẽ1 (see Fig. 1.3). Thus, the integral in Eq. (1.98) can be
approximated as
Ω(E) ≈ Ω1 (Ẽ1 )Ω2 (E − Ẽ1 )nσE1 , (1.99)
q
2
where n is of order of unity and σE1 = E12 − E1 . Normally σE1 Ẽ1 , so taking
logarithms
∂ ln Ω1 (E1 )
∂ ln Ω2 (E2 )
= − = 0. (1.101)
∂E1 ∂E2
E1 =Ẽ1 E2 =E−Ẽ1
From the definition of the absolute temperature and the fact that ln Γ ≈ ln Ω, this
expression is equivalent to
T1 = T2 . (1.102)
Now, we can set the additivity of entropy. Recall that S = kB ln Ω, so we can define
the entropy of the combined isolated system as
Ω1(Ε1)
Ω2(Ε−Ε1)
Ω1(Ε1)Ω2(Ε−Ε1)
Ω
σΕ
1
*
E1 E1
Finally, we mention that these results are valid for combined systems in which
particles in A1 are distinguishable from those in A2 and that the interaction between
A1 and A2 is weak (which is equivalent to the condition H12 H1 ). In particular,
the composition rule Eq. (1.98) is verified under these circumstances.
Now let’s suppose that A1 and A2 can also interact mechanically. To illustrate
this, we will consider that the volume V is the only external parameter for each
system. As the combined system is isolated, and V is an extensive property, V =
V1 + V2 . We still assume that both A1 and A2 are closed. Now, the probability
density of the combined system is
1
ρ(q, Q, p, P ) = f δ(E − H1 (q, p, V1 ) − H2 (Q, P, V − V1 )). (1.104)
h Ω(E, V )
Integrating out the phase space coordinates of A2 , we get that
1
ρ1 (q, p) = f1 Ω2 (E − H1 (q, p, V1 ), V − V1 ) (1.105)
h Ω(E, V )
and the energy and volume probability density ω reads
Ω1 (E1 , V1 )Ω2 (E2 , V2 )
ω(E1 , V1 ) = . (1.106)
Ω(E, V )
The composition rule in this case is
Z V Z E−(E0 )2
Ω(E, V ) = dV1 Ω1 (E1 , V1 )Ω2 (E − E1 , V − V1 ). (1.107)
0 (E0 )1
Introduction to the Statistical Physics. The microcanonical ensemble. 26
where σ is defined as
3 2πm
σ̃ = ln . (1.115)
2 h2
So,
∂ ln Γ 3N
β= = , (1.116)
∂E 2E
or equivalently
kB T
E = 3N , (1.117)
2
which is a particular case of the equipartition theorem (which we will see in next
Unit), since each degree of freedom carries an energy kB T /2. On the other hand,
the pressure p is obtained as
1 ∂ ln Γ N kB T
p= = . (1.118)
β ∂V V
If we define the mole number n = N/NA , where NA is Avogadro’s number, then the
equation of state Eq. (1.118) can be expressed as the well-known ideal gas equation
of state
nRT
p= , (1.119)
V
where R = NA kB is the constant of the ideal gases. So, in the International System
of Units, kB = R/NA = 1.38 × 10−23 J/K.
The entropy of the system is obtained from Eq. (1.114) as
3 3N
S = N kB ln V + ln E + σ̃ − kB ln Γ +1 . (1.120)
2 2
The last term can be simplified by Stirling’s formula. From properties of the gamma
function, Γ(1 + x) = xΓ(x). We can repeat the application this property, so Γ(1 +
x) = x(x − 1)(x − 2) . . . x0 Γ(x0 ), where 0 < x0 ≤ 1. If we take logarithms
Now, we remove the walls which separate the systems. The macroscopic situation
has not changed, but if we evaluate the entropy of the gas of αN particles enclosed
in a volume αV at the temperature T , we obtain that
3
Sf = αN kB ln T + ln V + ln α + σ = Si + α ln αN kB (1.126)
2
instead the expected value Sf = Si from additivity. This is the Gibbs’s paradox.
Note that the situation is different if each compartment is filled initially by a different
gas (still with the same temperature and number density): after the removal of the
walls, the combined system will evolve towards an equilibrium state where each
component is evenly distributed over the whole system. This is an irreversible
process, where the entropy change is given by the mixing entropy α ln αN kB . So
there is something fundamentally different when we mix the same gas. A way to
solve the Gibbs’s paradox is modifying the definition of the entropy of the ideal gas
to include an additional factor −N kB ln N + N kB C, where C is a constant, so now
the corrected entropy
3 V 0
Scorrected = S − N kB ln N + N kB C = N kB ln T + ln + σ , (1.127)
2 N
and
Z
1
Ω2 (E − E1 , N − N1 ) = f1 dqN1 +1 . . . dqN dpN1 +1 . . . dpN δ(E − E1 − HN −N1 ).
h
(1.133)
However, in this expression it is clear that we know which particles are in volume V1
(in our case, the first N1 particles). The probability density of having N1 particles
(regardless their identity) with energy E1 is obtained by summing the contributions
of the form (1.131) where the set of N1 particles is replaced by any of the selections
P of N1 different particles from the total number N
X
ω(E1 , N1 ) = ω P (E1 , N1 ), (1.134)
P
where Ω1 and Ω2 are obtained in a similar way as in Eqs. (1.132) and (1.133)
substituting accordingly the labels in the integrals. For example, if P = {2, . . . , N1 +
1}, then
Z
1
Ω1 (E1 , N1 ) = f1 dq2 . . . dqN1 +1 dp2 . . . dpN1 +1 δ(E1 − HN0 1 ), (1.135)
h
with HN0 1 being the new Hamiltonian associated to the particles in P, and
Z
1
Ω2 (E − E1 , N − N1 ) = f1 dq1 dqN1 +2 . . . dqN dp1 dpN1 +2 . . . dpN δ(E − E1 − HN0 −N1 ).
h
(1.136)
However, as the particles are identical, these expressions are exactly the same for all
P. On the other hand, the total number of P is equal to the number of N1 groups
we can form from N numbers, which is given by
N!
#P = . (1.137)
N1 !(N − N1 )!
So
N! Ω1 (E1 , N1 )Ω2 (E − E1 , N − N1 )
ω(E1 , N1 ) =
N1 !(N − N1 )! Ω(E, N )
N ! Ω1 (E1 , N1 ) Ω2 (E − E1 , N − N1 )
= . (1.138)
Ω(E, N ) N1 ! (N − N1 )!
The normalization condition for ω is
X N Z E−(E0 )2
ω(E1 , N1 )dE1 = 1, (1.139)
N1 =0 (E0 )1
Introduction to the Statistical Physics. The microcanonical ensemble. 31
Again the integrand has a sharp maximum for values of E1 = E1∗ and N1 = N1∗
which are determined by the conditions
∂ Ω1 (E1 , N1 ) ∂ Ω(E2 , N2 )
ln − ln =0
∂E1 N1 ! ∂E2 N2 !
E1 =Ẽ1 ,N1 =Ñ1 E2 =E−Ẽ1 ,N2 =N −Ñ1
(1.141)
and
∂ Ω1 (E1 , N1 ) ∂ Ω(E2 , N2 )
ln − ln = 0,
∂N1 N1 ! ∂N2 N2 !
E1 =Ẽ1 ,N1 =Ñ1 E2 =E−Ẽ1 ,N2 =N −Ñ1
(1.142)
where we treat N as a continuous variable. These results suggest that the correct
definition of the entropy is
Ω(E, N ) Γ(E, N )
S = kB ln ≈ kB ln . (1.143)
N! N!
or alternatively
T1 = T2 , µ1 = µ2 , (1.145)
where the chemical potential µ is defined as
1 ∂ Ω ∂S
µ=− ln = −T . (1.146)
β ∂N N ! E,X ∂N E,X
Again, the additivity of entropy can be shown in a similar way as in the cases we
considered previously. Thus, hereafter we will use the corrected expressions of Ω0 , Γ0
and ρ0 in Eq. (1.129) as Ω, Γ and ρ for systems of identical indistinguishible particles
(dropping the prime). On the other hand, if the system is composed by g sets of
particles which can be distinguished (for example, different chemical species, or even
Introduction to the Statistical Physics. The microcanonical ensemble. 32
different sets of identical particles which are forced to be in disjoint volumes), these
expressions can be easily generalized as
Z Z
1 1
Ω = f Qg dqdpδ(E − H(q, p)) , Γ = f Qg dqdp
h i=1 Ni ! h i=1 Ni ! E0 ≤H(q,p)≤E
(1.147)
1
ρ(q, p) = f Qg δ(E − H(q, p)), (1.148)
h i=1 Ni !Ω
where Ni is the number of particles in the set i. It is easy to show the results
obtained for two closed systems, each of them with fixed number of particles, in
thermal (and mechanical) contact, are still valid with these definitions, regardless if
the particles in each system are indistinguishable or not.
1.7 Bibliography
1. J. Javier Brey Abalo, J. de la Rubia Pacheco y J. de la Rubia Sánchez,
Mecánica Estadı́stica (UNED, 2011).