Intro Stat Mech
Intro Stat Mech
Contents
1 Introduction to Random Walks and Stochastic Processes 2
6 Physical Problems 10
6.1 Problem 1: The One-Dimensional Lattice Gas . . . . . . . . . . . . . . . 10
6.2 Problem 2: The Schottky Anomaly . . . . . . . . . . . . . . . . . . . . . 11
1
Notes for a Theoretical Physicist Statistical Mechanics
The probability of a specific sequence of nR right steps and nL left steps is pnR q nL . The
total number of such unique sequences that result in the same final position is given by
the binomial coefficient, which leads us to the binomial distribution.
2
Notes for a Theoretical Physicist Statistical Mechanics
We will use a powerful technique involving differentiation. Consider the generating func-
tion for the binomial distribution, which is simply the binomial expansion:
N
X N!
G(p, q) = (p + q) = N
pnR q N −nR . (5)
nR
n !(N − nR )!
=0 R
The expected value of nR can be obtained by differentiating G(p, q) with respect to p and
then multiplying by p.
N
! N
∂G ∂ X N! X N! ∂
= nR N −nR
p q = . (6)
∂p ∂p n =0 nR !(N − nR )! n =0
n R !(N − n R )! ∂p
R R
Using the product rule, the derivative of the term inside the sum is:
∂
= nR pnR −1 (1 − p)N −nR − pnR (N − nR )(1 − p)N −nR −1 . (7)
∂p
Thisapproach can be complicated. A simpler method is to use the property that hnR i =
nR =0 PN (nR ) .
∂
PN
p ∂p
N
!
∂ X N! ∂ N
hnR i = p pnR q N −nR =p . (8)
∂p nR
n
=0 R
!(N − nR )! ∂p
Using the chain rule, the derivative of the function itself is:
∂ N ∂
= N (p + q)N −1 = N (p + q)N −1 · 1. (9)
∂p ∂p
Since p + q = 1, we get:
This confirms that the expected number of right steps is simply the total number of steps
multiplied by the probability of a right step. For a symmetric random walk (p = 1/2),
the mean is N/2.
2.1.2 Variance
The variance, σ 2 , is defined as σ 2 = h(nR − hnR i)2 i = hn2R i − hnR i2 . We already have
hnR i = N p, so we need to find the second moment, hn2R i. We can obtain this using the
2
relationship hnR (nR − 1)i = p2 ∂∂pG2 .
∂ 2G ∂ ∂
N −1
= N (N − 1)(p + q)N −2 = N (N − 1)(p + q)N −2 . (11)
2
= N (p + q)
∂p ∂p ∂p
3
Notes for a Theoretical Physicist Statistical Mechanics
4
Notes for a Theoretical Physicist Statistical Mechanics
5
Notes for a Theoretical Physicist Statistical Mechanics
Now, we substitute these back into the full expression for ln PN (nR ).
δ2
ln PN (nR ) ≈ N ln N − N p ln(N p) + δ ln(N p) + δ −
2N p
2
δ
− N q ln(N q) − δ ln(N q) − δ − + (N p + δ) ln p + (N q − δ) ln q
2N q
= (N ln N − N p ln(N p) − N q ln(N q))
+ δ(− ln(N p) + ln(N q) + ln p − ln q)
δ2 δ2
+ + + O(δ 3 ).
2N p 2N q
Let’s analyze each group of terms. The constant terms (independent of δ) are:
N ln N − N p ln(N p) − N q ln(N q) = N ln N − N p(ln N + ln p) − N q(ln N + ln q)
= (N − N p − N q) ln N − N p ln p − N q ln q
= (N − N (p + q)) ln N − N p ln p − N q ln q.
Since p + q = 1, this simplifies to 0 · ln N − N p ln p − N q ln q, which is a constant.
The terms linear in δ are:
δ(− ln(N p) + ln(N q) + ln p − ln q) = δ(− ln N − ln p + ln N + ln q + ln p − ln q)
= δ[0] = 0.
All the linear terms in δ have cancelled out, which is a key feature of an expansion around
a maximum. We are left with only the quadratic term:
δ2 δ2 q + p
1 1
ln PN (nR ) ≈ const − + = const − . (17)
2 Np Nq 2 N pq
Since p + q = 1, this simplifies to:
δ2
ln PN (nR ) ≈ const − . (18)
2N pq
Exponentiating both sides and including the normalization factor (which can be derived
from the integral of the Gaussian function), we obtain the final expression:
δ2 (nR − hnR i)2
1 1
PN (δ) = √ exp − =√ exp − . (19)
2πN pq 2N pq 2πσ 2 2σ 2
This is the Gaussian distribution with a mean of hnR i = N p and a variance of σ 2 = N pq.
6
Notes for a Theoretical Physicist Statistical Mechanics
Let’s consider the Taylor expansion of the characteristic function of the standardized
individual variable:
* 2 +
√ E
D ik(X j − µ) 1 ik(X j − µ) 1
eik(Xj −µ)/σX N
=1+ √ + √ +O . (23)
σX N 2! σX N N 3/2
The first term is 1. The second term, hXj − µi, is zero by definition. The third term is
(ik)2 2 k2
2σ 2 N
h(Xj − µ)2 i = 2σ−k2 N σX
2
= − 2N . So, for large N :
X X
D √ E k2
ik(Xj −µ)/σX
e N
≈1− . (24)
2N
Then, the characteristic function of YN becomes:
N
k2
φYN (k) = 1 − . (25)
2N
This is the characteristic function of a standard normal distribution, and by the unique-
ness theorem for characteristic functions, this proves that YN approaches a standard
normal distribution.
7
Notes for a Theoretical Physicist Statistical Mechanics
√
is a measure of the fluctuations around the mean. The relative width, σ/N ∼ 1/ N ,
vanishes for large N .
This means that for a macroscopic system, fluctuations away from the equilibrium
state are incredibly rare. The system effectively stays in its most probable configuration,
which corresponds to the state of maximum entropy. This provides the link between the
microscopic probabilistic description of the world and the deterministic laws of classical
thermodynamics.
8
Notes for a Theoretical Physicist Statistical Mechanics
9
Notes for a Theoretical Physicist Statistical Mechanics
6 Physical Problems
The following problems are designed to test your understanding of the concepts presented
in the document.
1. Find the statistical weight (multiplicity) Ω(n, N ) for a given macrostate defined by
the number of occupied sites n.
3. Using Stirling’s approximation, find an expression for the entropy in the thermo-
dynamic limit (N, n → ∞ with n/N = x held constant).
Solution
1. The problem is equivalent to choosing n sites out of N to be occupied. Since the
particles are indistinguishable, the order does not matter. The number of ways to
do this is given by the binomial coefficient:
N N!
Ω(n, N ) = = . (39)
n n!(N − n)!
10
Notes for a Theoretical Physicist Statistical Mechanics
S
≈ N ln N − xN ln(xN ) − (N − xN ) ln(N − xN )
kB
= N ln N − xN (ln x + ln N ) − N (1 − x)(ln N + ln(1 − x))
= N ln N − xN ln x − xN ln N − N ln N + xN ln N − N (1 − x) ln(1 − x)
= −xN ln x − N (1 − x) ln(1 − x).
3. Calculate the average internal energy hEi and the heat capacity CV of the system
as a function of temperature.
Solution
1. The partition function for a single two-level system is the sum over all possible
states, weighted by the Boltzmann factor:
2. Since the systems are independent and distinguishable, the total partition function
is the product of the individual partition functions:
11
Notes for a Theoretical Physicist Statistical Mechanics
∂ 1 ∂
hEi = − [N ln 1 + e−β ] = −N
∂β 1 + e−β ∂β
1 −β e−β N
= −N (−e ) = N = .
1 + e−β 1 + e−β eβ + 1
The heat capacity at constant volume is CV = ∂hEi
∂T
= ∂hEi ∂β
∂β ∂T
. Since β = 1/kB T ,
we have ∂T
∂β
= −1/kB T 2 = −kB β 2 .
∂ hEi ∂ −1
= N = N (−1)(eβ + 1)−2 (eβ )
∂β ∂β
N 2 eβ N 2 e−β
= − β = − .
(e + 1)2 (1 + e−β )2
Therefore, the heat capacity is:
2
N 2 eβ 2 eβ e/kB T
2 2
CV = − β (−kB β ) = N k B β = N k B .
(e + 1)2 (eβ + 1)2 kB T (e/kB T + 1)2
(44)
This is the famous Schottky anomaly, which shows a peak in the heat capacity at
a temperature T ≈ /kB .
12