PhyslibSearch

Physlib.StatisticalMechanics.CanonicalEnsemble.TwoState

11 declarations

definition

Two-state canonical ensemble with energy levels E0E_0 and E1E_1

#twoState

For given energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the two-state canonical ensemble is a canonical ensemble defined over a discrete state space of two elements (modeled as {0,1}\{0, 1\}). The energy function EE for this system assigns the value E0E_0 to the first state and E1E_1 to the second state. The ensemble is equipped with the counting measure as its underlying measure.

instance

The two-state canonical ensemble is finite

#instIsFiniteFinOfNatNatTwoState

For any energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the two-state canonical ensemble defined by these energy levels is a finite canonical ensemble.

theorem

Partition Function of a Two-State Ensemble is eβE0+eβE1e^{-\beta E_0} + e^{-\beta E_1}

#twoState_partitionFunction_apply

For a two-state canonical ensemble with energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the partition function Z(T)Z(T) at temperature TT is given by: Z(T)=eβE0+eβE1Z(T) = e^{-\beta E_0} + e^{-\beta E_1} where β=1kBT\beta = \frac{1}{k_B T} is the inverse temperature.

theorem

The Two-State Partition Function equals 2eβE0+E12cosh(βE1E02)2 e^{-\beta \frac{E_0 + E_1}{2}} \cosh\left(\beta \frac{E_1 - E_0}{2}\right)

#twoState_partitionFunction_apply_eq_cosh

For a two-state canonical ensemble with energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the partition function Z(T)Z(T) at temperature TT is given by the formula: Z(T)=2eβE0+E12cosh(βE1E02)Z(T) = 2 e^{-\beta \frac{E_0 + E_1}{2}} \cosh\left(\beta \frac{E_1 - E_0}{2}\right) where β=1kBT\beta = \frac{1}{k_B T} is the inverse temperature.

theorem

The energy of the first state in a two-state canonical ensemble is E0E_0

#twoState_energy_fst

For any energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the energy of the first state (index 00) in a two-state canonical ensemble is E0E_0.

theorem

The energy of the second state in a two-state canonical ensemble is E1E_1

#twoState_energy_snd

For any energy levels E0,E1RE_0, E_1 \in \mathbb{R}, the energy of the second state (index 11) in a two-state canonical ensemble is E1E_1.

theorem

Probability of the first state in a two-state ensemble is 12(1+tanh(β(E1E0)2))\frac{1}{2}(1 + \tanh(\frac{\beta(E_1-E_0)}{2}))

#twoState_probability_fst

For a two-state canonical ensemble with energy levels E0,E1RE_0, E_1 \in \mathbb{R} and temperature TT, the probability P(0)P(0) of the system being in the first state (with energy E0E_0) is given by: P(0)=12(1+tanh(β(E1E0)2))P(0) = \frac{1}{2} \left( 1 + \tanh \left( \frac{\beta (E_1 - E_0)}{2} \right) \right) where β=1kBT\beta = \frac{1}{k_B T} is the inverse temperature and tanh\tanh is the hyperbolic tangent function.

theorem

Probability of the second state in a two-state canonical ensemble

#twoState_probability_snd

For a two-state canonical ensemble with energy levels E0,E1RE_0, E_1 \in \mathbb{R} at temperature TT, let β\beta be the inverse temperature. The probability ρ(1)\rho(1) of the second state (the state with energy E1E_1) is given by: ρ(1)=12(1tanh(β(E1E0)2)) \rho(1) = \frac{1}{2} \left( 1 - \tanh \left( \frac{\beta (E_1 - E_0)}{2} \right) \right)

theorem

Mean energy of a two-state system equals E0+E12E1E02tanhβ(E1E0)2\frac{E_0 + E_1}{2} - \frac{E_1 - E_0}{2} \tanh \frac{\beta(E_1 - E_0)}{2}

#twoState_meanEnergy_eq

For a two-state canonical ensemble with energy levels E0,E1RE_0, E_1 \in \mathbb{R} at temperature TT, the mean energy E\langle E \rangle is given by: E=E0+E12E1E02tanh(β(E1E0)2) \langle E \rangle = \frac{E_0 + E_1}{2} - \frac{E_1 - E_0}{2} \tanh \left( \frac{\beta (E_1 - E_0)}{2} \right) where β=1kBT\beta = \frac{1}{k_B T} is the inverse temperature and tanh\tanh is the hyperbolic tangent function.

definition

Entropy of a two-state system equals ln(2coshβ(E1E0)2)β(E1E0)2tanhβ(E1E0)2\ln \left( 2 \cosh \frac{\beta(E_1 - E_0)}{2} \right) - \frac{\beta(E_1 - E_0)}{2} \tanh \frac{\beta(E_1 - E_0)}{2}

#twoState_entropy_eq

The entropy of a two-state canonical ensemble with energy levels E0E_0 and E1E_1 at temperature TT is equal to \[ \ln \left( 2 \cosh \left( \frac{\beta (E_1 - E_0)}{2} \right) \right) - \frac{\beta (E_1 - E_0)}{2} \tanh \left( \frac{\beta (E_1 - E_0)}{2} \right) \] where β\beta is the inverse temperature corresponding to TT.

definition

Helmholtz free energy of a two-state system equals E0+E121βln(2coshβ(E1E0)2)\frac{E_0 + E_1}{2} - \frac{1}{\beta} \ln \left( 2 \cosh \frac{\beta(E_1 - E_0)}{2} \right)

#twoState_helmholtzFreeEnergy_eq

The Helmholtz free energy of a two-state canonical ensemble with energy levels E0E_0 and E1E_1 at temperature TT is equal to \[ \frac{E_0 + E_1}{2} - \frac{1}{\beta} \ln \left( 2 \cosh \left( \frac{\beta (E_1 - E_0)}{2} \right) \right) \] where β\beta is the inverse temperature corresponding to TT.