Professional Documents
Culture Documents
Solutions
(b) If the wall moves by a small distance da, the work done by the gas is f da. At constant
temperature, this is equal to the decrease in the free energy, i.e., dF = −f da (more
generally dF = SdT − f da). We then have
∂F
f =− = −N b .
∂a T,N
−βV (x)
(c) The probability of finding a particle
R ∞ at x is proportional to e = e−βbx . The
density n(x) should be normalized, a n(x) = N , which gives
N b −βb(x−a)
n(x) = e .
kB T
f = −n(x = a)kB T .
This relation is the same as the ideal gas law in 1D, and it holds for any confining potential
V (x). One can see that this is the case by considering the gas in a small interval [x, x+∆x],
1
where ∆x is sufficiently large compared to the mean distance between gas particles near
the wall, but much smaller than the length scale on which the potential varies. For such
a small interval the variation of the potential can be ignored and the gas should follow
the ideal gas law. Therefore f = −nkB T holds locally.
We can also derive this relation directly. For a general confining potential V (x), the
partition function is
N/2 Z ∞ N
1 m −βV (x)
Z= dx e ,
N! 2πh̄2 β a
e−βV (a)
∂F
f =− = −N kB T R ∞ .
∂a T,N a
dx e−βV (x)
N e−βV (x)
n(x) = R ∞ .
a
dx e−βV (x)
2
Problem 2: Statistical Mechanics II
(b) (i) The total energy at T = 0 is the sum of all single-particle energies up to F . Thus
∞ N −1
h̄ω N 2
E 1 X h̄ω X 1 h̄ωN
= j hnj i = j+ = = .
N N j=0 N j=0 2 N 2 2
(ii) For the 1D harmonic oscillator, the states are equally spaced by h̄ω, and thus the
number of states of energy smaller than is Ns () = /(h̄ω). It follows that the average
density of states is constant, g() = dNs /d = 1/h̄ω. In the continuum limit, the average
energy per particle is then
1 F 1 2F
Z
E N h̄ω
= g()d = ≈ .
N N 0 N 2h̄ω 2
Q∞
(c) The grand-canonical partition function is ZGC = n=0 ln(1 + e−β(h̄ω(n+1/2)−µ) ) (where
1/β = kB T ), so the grand potential is
∞
X
Ω(µ, T ) = −kB T ln[1 + e−β(h̄ω(n+1/2)−µ) ] .
n=0