Physlib.StatisticalMechanics.CanonicalEnsemble.TwoState
11 declarations
Two-state canonical ensemble with energy levels and
#twoStateFor given energy levels , the two-state canonical ensemble is a canonical ensemble defined over a discrete state space of two elements (modeled as ). The energy function for this system assigns the value to the first state and to the second state. The ensemble is equipped with the counting measure as its underlying measure.
The two-state canonical ensemble is finite
#instIsFiniteFinOfNatNatTwoStateFor any energy levels , the two-state canonical ensemble defined by these energy levels is a finite canonical ensemble.
Partition Function of a Two-State Ensemble is
#twoState_partitionFunction_applyFor a two-state canonical ensemble with energy levels , the partition function at temperature is given by: where is the inverse temperature.
The Two-State Partition Function equals
#twoState_partitionFunction_apply_eq_coshFor a two-state canonical ensemble with energy levels , the partition function at temperature is given by the formula: where is the inverse temperature.
The energy of the first state in a two-state canonical ensemble is
#twoState_energy_fstFor any energy levels , the energy of the first state (index ) in a two-state canonical ensemble is .
The energy of the second state in a two-state canonical ensemble is
#twoState_energy_sndFor any energy levels , the energy of the second state (index ) in a two-state canonical ensemble is .
Probability of the first state in a two-state ensemble is
#twoState_probability_fstFor a two-state canonical ensemble with energy levels and temperature , the probability of the system being in the first state (with energy ) is given by: where is the inverse temperature and is the hyperbolic tangent function.
Probability of the second state in a two-state canonical ensemble
#twoState_probability_sndFor a two-state canonical ensemble with energy levels at temperature , let be the inverse temperature. The probability of the second state (the state with energy ) is given by:
Mean energy of a two-state system equals
#twoState_meanEnergy_eqFor a two-state canonical ensemble with energy levels at temperature , the mean energy is given by: where is the inverse temperature and is the hyperbolic tangent function.
Entropy of a two-state system equals
#twoState_entropy_eqThe entropy of a two-state canonical ensemble with energy levels and at temperature 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 is the inverse temperature corresponding to .
Helmholtz free energy of a two-state system equals
#twoState_helmholtzFreeEnergy_eqThe Helmholtz free energy of a two-state canonical ensemble with energy levels and at temperature 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 is the inverse temperature corresponding to .
