Statistical Mechanics Notes: Leonard Susskind's Lectures
Statistical Mechanics Notes: Leonard Susskind's Lectures
Lecture 1
Entropy
S = log M (1)
where M is the number of occupied states. Entropy is conserved, but since it’s hard to keep track
of the system, entropy increases due to our ignorance. Entropy depends on characteristics of the
system and our knowledge about the system.
S = log N (2)
Liouville’s Theorem: volume in phase space is conserved over evolution (i.e. number of states
is conserved); uniform probability distribution over states is conserved.
Entropy in a continuous system is equal to the log of the volume in phase space for occupied volume
with nonzero probability distribution. The probability density integrates to 1:
Z
P (p, q) = 1 (5)
Entropy and energy are usually monotonically increasing functions of each other.
This is a one-parameter family and higher average energies have broader distributions.
Lecture 3
Ground state: the probability is zero for all states except the state of lowest energy. Entropy is
zero.
Entropy is a measure of the number of states that are important to a distribution so a wider
distribution has a higher entropy.
Thermal Equilibrium: event has already happened, system is stable, heat doesn’t flow.
Second Law of Thermodynamics says that as a system comes to equilibrium, the probability
distribution broadens and entropy increases.
2
Occupation Numbers
System in contact with a heat bath or, alternatively, N identical connected systems.
Occupation number: the number of systems in a particular state. ni denotes the number of
systems in state i.
Stirling’s Approximation:
N ! ≈ e−N N N (16)
3
Lecture 4
The most likely set of occupation numbers ni maximizes entropy subject to constraints
X
Pi = 1 (17)
i
X
Pi Ei = hEi := E (18)
i
Take the derivative of F 0 (p) with respect to an individual pi and set it equal to 0:
∂F 0
= log pi + 1 + α + βEi = 0 (21)
∂pi
Solve for pi to obtain the Boltzmann distribution which maximizes entropy under the con-
straints:
pi = Z1 e−βEi (22)
Use constraint 17 to obtain an expression for Z in terms of β.
X
Pi = 1 (23)
i
1 X −βEi
e =1 (24)
Z
i
−βEi
P
Z(β) = ie (25)
Use constraint 18 to obtain an expression for E in terms of β.
X
E= Pi Ei (26)
i
X 1
= e−βEi (27)
Z
i
1 ∂Z
=− (28)
Z ∂β
∂
E(β) = − ∂β log Z (29)
4
Entropy
X
S=− pi log pi (30)
i
X 1
= e−βEi [βEi + log Z] (31)
Z
i
S = βE + log Z (32)
β as Inverse Temperature
Ideal Gas
States are defined by the position and momentum for each particle.
5
where the N ! term is to account for overcounting interchangeable states.
for
β 2
q2 = − p (42)
2m
So Z r Z r
−q 2 2m −q 2 2mπ
dpe = dqe = (43)
β β
So the partition function for an ideal gas is
V N 2mπ 3N
2
Z= (44)
N! β
We can use Stirling’s approximation to get
N 3N
e 2mπ 2
Z= ρ β (45)
N
since ρ = V . Find the energy:
∂
E=− log Z (46)
∂β
3N
E= 2 T (47)
i.e. the particles move around with kinetic energy proportional to temperature.
Lecture 5
Conjugate pairs consist of a control parameter and a conjugate thermodynamical variable. For
example, you can change volume and the response is a change in pressure.
6
• Independent variables: T, V
• Dependent variables: E, S
Theorem:
∂E ∂E ∂E ∂S
= − (51)
∂V S ∂V T ∂S V ∂V T
To prove this, consider a contour of fixed entropy on the plot of entropy and volume and the fact
that
∂E ∂E
∂E = + (52)
∂V T ∂T V
Pressure
Adiabatic Theorem: If you change the system (i.e. volume) slowly, energy level (but not nec-
essarily the energy value) stays the same: it doesn’t jump to another energy level. The Pi ’s are
conserved so entropy stays the same.
Adiabatic = isentropic
Figure 2: A box with base area A. The piston moves with pressure in the box.
7
Based on figure 2,
dE = −P Adx = −P dV (53)
or
∂E
= −P (54)
∂V S
Since it’s easier to calculate how things vary with temperature, use the theorem (equation 51) and
the fact that ∂E
∂S V = T to show that
P =TN
V = ρT (55)
Fluctuations/Variance
Variance
(X − hXi)2 = hX 2 i − hXi2
(56)
Fluctuations in Energy
1 ∂2Z 1 ∂Z 2
h∆Ei2 = − (57)
Z ∂β 2 Z 2 ∂β
∂
= hEiT 2 (58)
∂T
∂
where ∂T hEi is the specific heat or heat capacity CV for constant volume.
h∆Ei2 = CV T 2 kB (59)
Lecture 6
The energy of a weakly interacting gas consists of the kinetic energies of the individual particles
and the potential energy of the pairwise interactions:
X p2 X
E= + U (|xn − xm |) (60)
n
2M n>m
For use later, find the integral of potential energy between two particles over all possible positions:
Z
dx31 dx32 U (|x1 − x2 |) (61)
8
Hold particle 1 fixed and integrate over all possible positions of particle 2:
Z
dx3 U (|x|) = U0 (62)
Integrating over the position of particle 1 gives a factor of V . Thus the integral equals V U0 ; it is a
factor of potential energy and volume. Assume that U goes to zero at large distances.
Return to the energy of a weakly interacting gas and write the partition function:
Z
1 p2
Z = dpdx e−β 2M e−βU (x) (63)
N!
V N −β p2 e−βU (x)
Z Z
= dp e 2M dx (64)
N! VN
After separating the partition function into two integrals, the first integral is just the partition
function for the ideal gas, denoted as Z0 .
9
Properties of weakly interacting gas
Use this approximation of the log partition function to find various quantities.
Energy
−∂ log Z
E= (76)
∂β
3 N2
= NT + U0 (77)
2 2V
3 ρ
= N T + N U0 (78)
2 2
Pressure Pressure is
−∂A
P = (80)
∂V
T
where
A = −T log Z (81)
−∂A
P = (82)
∂V
T
∂ log Z
=T (83)
∂V
N2
= ρT + U0 (84)
2V
1
= ρT + ρ2 U0 (85)
2
where ρT is the pressure of an ideal gas. For small ρ, the second term 12 ρ2 U0 vanishes. This is a
good approximation when potential energy per particle is much smaller than the kinetic energy:
ρU0 << T (86)
U0 is the potential energy between pairs of particles. Repulsion (U0 > 0) increases pressure.
Attraction (U0 < 0) decreases pressure.
10
Mathematical Interlude: Exact and Nonexact Differentials
∂F ∂F
dF = dx + dy (87)
∂x ∂y
= Fx dx + Fy dy (88)
∂Fx ∂Fy
− =0 (89)
∂y ∂x
i.e. the curl is zero. This is because the order of partial derivatives doesn’t matter.
Move along F : Z
∆F = Fx dx + Fy dy (90)
If a line integral around a loop is zero, that is equivalent to the curl being zero.
For example, Fx = y and Fy = −x are not the partial derivatives of any actual function, so the
curl is not 0. However, these could still be valid rules for how x and y change.
Any two quantities, such as entropy and volume, determine the state of a gas.
dE = −P dV (91)
11
Change in energy holding volume fixed and changing temperature:
dE = T dS (92)
dE = −P dV + T dS (93)
dE = dW + dQ (94)
where dW is work and dQ is heat.
dW and dQ are not exact: if you follow a closed loop, dE = 0 but dW and dQ are not equal to
zero. Therefore the amount of heat put in is not a good description of the system.
Lecture 7
Speed of Sound
Consider the speed of sound in a gas: how fast do molecules in an overdense region spread?
Pressure is
P = ρkB T (98)
∂P kB T
= = L2 (99)
m∂ρ m
√
This approximation is only off by a factor of 3.
This equation for speed of sound tells us that in the range of an ideal gas, the speed doesn’t depend
on pressure or density.
12
Harmonic Oscillation
When you perturb almost anything from its ground state, it will oscillate.
Ignore numerical constants because they disappear when you take the derivative of log Z.
∞
r Z Z
2m 2 kx2
Z= dqe−q dxe−β 2 (104)
β −∞
so
r
2
x= (107)
βk
13
which gives us another Gaussian integral
r Z r
2 −y 2 2π
dye = (108)
βk βk
−∂ log Z 1
E= = =T (113)
∂β β
n~ω (114)
which is n units of Planck’s constant ~ times the frequency ω. Since this is a quantum mechanical
system, there are discrete energy values which are evenly spaced.
14
where we get (117) because of the geometric sum:
X 1
xn = (118)
n
1−x
At high temperature, quantum systems become classical. They have lots of energy and the quan-
tization becomes unimportant:
~ωe−β~ω 1
E= −β~ω
≈ =T (122)
1−e β
using the approximation
ex ≈ 1 + x (123)
At low temperature:
E = ~ωe−β~ω (124)
Quantum mechanics suppresses the energy of an oscillator when temperature is low enough.
The crossover/transition from quantum to classical behavior occurs when β~ω = 1 or when ~ω = T :
• ~ω > T : quantum
• ~ω < T : classical
• There is an apparent conflict between the reversibility of classical mechanics and the second
law saying that entropy is increasing.
• Coarse-graining: replacing points in phase space by blobs causes the volume to increase
and thus entropy increases due to limits of resolution. Ideally you could follow particles to
infinite resolution, but this isn’t possible.
15
• As systems evolve in phase space, they grow in a chaotic, fractal-like manner.
• Over time, the trajectory of a single starting point will come close to every point in phase
space. You will never return to the same starting point with infinite precision, but you can
come -close in finite time.
Lecture 8
Poincare Recurrence: If you wait long enough, all of the air molecules will be in one half of the
room. For N particles, the probability of this happening is 21N .
The volume of phase space for N particles in a box with volume V is proportional to V N . Entropy
is the logarithm of the volume of phase space so V N is proportional to the exponent of entropy.
The probability of all particles being in a smaller volume v is
vN
∝ e−S (126)
VN
Magnets
The simplest magnet is a single particle that has spin up or down. Energy is lower if adjacent spins
are parallel so magnetized groups of parallel spins appear.
Ferromagnetic transition occurs when energy lowers until the entire magnet is basically aligned.
N non-interacting magnets with spin up or down and magnetic moment µ and magnetic field H:
• σ = +1: spin up
• n = up spins
• m = down spins
N!
The number of states with a particular n and m is n!m! .
16
Partition function for this system:
X N!
Z= e−βµH(n−m) (128)
n
n!m!
= (e−βµH + eβµH )N (129)
= 2N coshN (βµH) (130)
where to get 129 set
x = e−βµH (131)
y = eβµH (132)
and then use the binomial theorem
X N!
xn y n = (x + y)N (133)
n
n!m!
The magnetization per particle is the probability of a given spin being up or down:
n−m
M= (134)
N
Ising Model
For the Ising model with no external field, energy is based on pairs of neighboring spins. Aligned
spins have lower energy than antialigned spins.
At zero temperature, the Boltzmann distribution infinitely favors the lowest energy state. Spon-
taneous symmetry breaking occurs when even a small external magnetic field on one particle
will influence the lowest energy state of the model.
Symmetry: perform an operation on all coordinates that doesn’t change the energy. Embodied
here through lack of a bias between up and down. Two adjacent up spins have the same energy as
two adjacent down spins.
17
Lecture 9
E = −Jσ (139)
Think of a subsystem as a small system plus a heat bath. Take as the subsystem one spin and
assume that it is in thermal equilibrium with the rest of the environment.
Partition function: X
Z= eβσ = eβJ + e−βJ = 2 cosh βJ (140)
σ=±1
Energy:
E = −J tanh βJ (141)
Average spin:
hσi = tanh βJ (142)
Energy: X
E = −J σi (143)
i
Partition Function: X P
Z= e−Jβ i σi σi+1
(144)
σi
Correlation function: Given that we know a certain spin is up, what is the conditional probability
that a spin at distance n is up; what is the average of the product of spins at two different locations?
Consider the values of bonds µ which indicates parallel or antiparallel neighbors rather than the
values of the spins themselves.
Energy: X
E = −J µi (145)
i
Partition function: X P
Z=2 e− i Jβµi
= 2(2 cosh βJ)N −1 (146)
µ
Average bond:
hµi = hσi σi+1 i = tanh βJ (147)
18
Find the correlation:
hσi σi+n i = hσi σi+1 σi+1 σi+2 σi+2 ...σi+n i = hµ1 µ2 ...µn−1 i (148)
The equivalence between two different systems is called a duality. Here we have a duality between
uncoupled spins and spins that are coupled with their neighbors.
The one-dimensional Ising model doesn’t display a phase transition but all higher dimension models
do.
Mean field approximation: for d-dimensional Ising model where each spin has 2d neighbors
X
E = −Jσ σ (150)
N (i)
Replace the sum over neighbors with 2dσ̄ where σ̄ is the average spin. For large numbers of
neighbors there will only be small fluctuations from the average. Thus energy is
E = −2dJσσ̄ (151)
where σ is the energy of the one particular spin. Now look at the average of one particular spin:
Spin average:
σ̄ = tanh[(2βdJ)σ̄ + βB] (154)
Lecture 10
Identify the phase transition of the Ising model by finding the solutions to
yT
= tanh(y − βh) (155)
2dJ
19
where
y = 2βdJ σ̄ (156)
and b is the external magnetic field. This is a change of variable from
Chemical potential: amount of energy it takes to move a particle from a low energy region to a
high energy one. Changing chemical potential can change the density.
The configuration of the system includes the number of particles at a given chemical potential.
Over time, the number of particles with chemical potential µ can change.
Partition function: X
Z= e−βE+N µβ (159)
p,x,N
Keep temperature constant and vary chemical potential until density has changed sufficiently (be-
tween gas and liquid)
• The transition between liquid and vapor is a sudden discontinuity below Tcrit and a smooth
transition above.
20
Changes in energy:
• If all sites start at -1 and one particle is added, energy increases by 8J.
• If two close particles that share a bond are added, energy increases by 12J. This models the
short range attractive energy.
(T − Tcrit )γ (163)
These vary for different types of phase transitions and describe classes of systems.
21