PhyslibSearch

QuantumInfo.StatMech.ThermoQuantities

12 declarations

definition

Partition function Z(β)Z(\beta) of a MicroHamiltonian

#PartitionZ

Given a microcanonical Hamiltonian HH with parameters dDd \in D, the partition function Z(β)Z(\beta) for an inverse temperature βR\beta \in \mathbb{R} is defined as the integral over the configuration space: Z(β)=cH.dim(d)eβE(c)dcZ(\beta) = \int_{c \in H.\text{dim}(d)} e^{-\beta E(c)} \, dc where E(c)E(c) is the energy of the configuration cc. If the energy E(c)E(c) of a configuration is infinite (\top), the integrand is treated as 00; otherwise, it is given by the exponential of β-\beta times the finite value of the energy E(c)E(c).

definition

Partition function Z(T)Z(T) as a function of temperature TT

#PartitionZT

Given a microcanonical Hamiltonian HH and a degeneracy dd, the partition function Z(T)Z(T) is defined as a function of the absolute temperature TT. It is calculated by evaluating the β\beta-dependent partition function Z(β)Z(\beta) at the inverse temperature β=1T\beta = \frac{1}{T}.

definition

Internal energy U(β)=lnZβU(\beta) = -\frac{\partial \ln Z}{\partial \beta}

#InternalU

For a given Hamiltonian HH and measure dd, the internal energy UU is a function of the thermodynamic beta β\beta (where β=1kBT\beta = \frac{1}{k_B T}). It is defined as the negative derivative of the natural logarithm of the partition function Z(β)Z(\beta) with respect to β\beta: \[ U(\beta) = -\frac{d}{d\beta} \ln(Z(\beta)) \] where Z(β)Z(\beta) is the partition function of the micro-Hamiltonian system.

definition

Helmholtz Free Energy A(T)=TlnZA(T) = -T \ln Z

#HelmholtzA

For a given Hamiltonian HH with density of states dd, the Helmholtz free energy AA (also denoted FF) is defined as a function of the absolute temperature TRT \in \mathbb{R} by the expression A(T)=TlnZ(T)A(T) = -T \ln Z(T) where Z(T)Z(T) is the partition function `PartitionZT` of the system at temperature TT.

definition

Entropy S=ATS = -\frac{\partial A}{\partial T}

#EntropyS

Given a microscopic Hamiltonian HH and a dimension dd, the entropy S(T)S(T) is defined as the negative derivative of the Helmholtz free energy A(T)A(T) with respect to the absolute temperature TT. That is, S(T)=dAdTS(T) = -\frac{dA}{dT} where both AA and SS are functions of the temperature TRT \in \mathbb{R}.

definition

Entropy SS as a function of β\beta

#EntropySβ

For a given Hamiltonian HH and measure dd, the entropy SS as a function of the inverse temperature β\beta is defined as S(β)=ln(Z(β))+βU(β)S(\beta) = \ln(Z(\beta)) + \beta U(\beta) where Z(β)Z(\beta) is the partition function (`PartitionZ`) and U(β)U(\beta) is the internal energy (`InternalU`).

definition

ZZ-integrability of a Hamiltonian HH at β\beta

#ZIntegrable

Let HH be a microcanonical Hamiltonian and dd be a parameter. The Hamiltonian is said to be ZZ-integrable at a given inverse temperature βR\beta \in \mathbb{R} if the following two conditions hold: 1. The function mapping a configuration xH.dim(d)Rx \in H.\text{dim}(d) \to \mathbb{R} to the Boltzmann factor eβE(x)e^{-\beta E(x)} is Lebesgue integrable. Here, the energy E(x)E(x) is defined by the Hamiltonian HH. If the energy is infinite (E=E = \top), the value is taken to be 00; otherwise, it is eβval(E)e^{-\beta \cdot \text{val}(E)}. 2. The partition function Z(β)Z(\beta), defined as the integral of this Boltzmann factor, is non-zero.

definition

Integrability of the partition function for all β>0\beta > 0

#PositiveβIntegrable

Let HH be a micro-Hamiltonian and dd be a measure. The property `PositiveβIntegrable` holds if for all positive inverse temperatures β>0\beta > 0, the partition function ZZ is integrable (denoted as `ZIntegrable`).

theorem

ZZ is smooth at β\beta if HH is ZZ-integrable at β\beta

#DifferentiableAt_Z_if_ZIntegrable

Let HH be a micro-Hamiltonian and dd be a given density or dimension parameter. For any inverse temperature βR\beta \in \mathbb{R}, if the partition function integral converges (i.e., HH is ZZ-integrable at β\beta), then the partition function Z(β)Z(\beta) is smooth (of class CC^\infty) at β\beta.

theorem

S(T)=Sβ(β)S(T) = S_\beta(\beta) for Tβ=1T\beta = 1

#entropy_A_eq_entropy_Z

Let HH be a microcanonical Hamiltonian and dd be a system parameter. For any temperature TRT \in \mathbb{R} and inverse temperature βR\beta \in \mathbb{R} such that Tβ=1T \cdot \beta = 1, if the partition function ZZ is integrable at β\beta (denoted by `ZIntegrable`), then the entropy defined in terms of TT (S(T)S(T)) is equal to the entropy defined in terms of β\beta (Sβ(β)S_\beta(\beta)).

theorem

MicroHamiltonian.β_eq_deriv_S_U

#β_eq_deriv_S_U

{β : ℝ} (hi : H.ZIntegrable d β) : β = (deriv (H.EntropySβ d) β) / deriv (H.InternalU d) β

definition

Pressure as P=AVP = -\frac{\partial A}{\partial V}

#Pressure

For a standard microcanonical system with state d=(N,V)d = (N, V), where NNN \in \mathbb{N} is the number of particles and VRV \in \mathbb{R} is the volume, the pressure P(T)P(T) at temperature TT is defined as the negative partial derivative of the Helmholtz free energy AA with respect to the volume: P(T)=A(N,V,T)VV=VP(T) = -\left. \frac{\partial A(N, V', T)}{\partial V'} \right|_{V'=V} where AA is the Helmholtz free energy associated with the Hamiltonian HH.