Model
Consider a one-dimensional classical harmonic oscillator with coordinate q∈R and momentum p∈R,
with Hamiltonian
H(p,q)=2mp2+21mω2q2.We place the system in the canonical ensemble
at inverse temperature β=1/(kBT).
Canonical partition function
Using the classical phase-space definition of the canonical partition function
,
with the usual 1/h normalization,
Z1(β)=h1∫R∫Re−βH(p,q)dpdq.The Gaussian integrals factor:
∫Re−βp2/(2m)dp=β2πm,∫Re−βmω2q2/2dq=βmω22π.Hence
Z1(β)=h1βω2π=βℏω1,using h=2πℏ. (Changing the phase-space normalization shifts F and S by constants, but does not change U or CV.)
Thermodynamic functions
The Helmholtz free energy
is
F(β)=−β−1lnZ1(β)=kBTln(βℏω).The internal energy
is
U(β)=−∂β∂lnZ1(β)=β1=kBT.The thermodynamic entropy
(canonical identity S=kB(lnZ+βU)) is
S(β)=kB(lnZ1(β)+βU(β))=kB(1−ln(βℏω)).The heat capacity at constant volume (see heat capacity at constant volume
) is
CV=(∂T∂U)=kB.Equipartition and basic averages
As ensemble averages
under the canonical Gibbs density, equipartition yields
⟨2mp2⟩=21kBT,⟨21mω2q2⟩=21kBT,so
⟨p2⟩=mkBT,⟨q2⟩=mω2kBT.Many independent oscillators
For N independent (distinguishable) classical oscillators of the same frequency,
ZN(β)=(Z1(β))N,UN=NkBT,CV=NkB.