Canonical ensemble (original) (raw)

From Wikipedia, the free encyclopedia

Ensemble of states at a constant temperature

In statistical mechanics, a canonical ensemble is the statistical ensemble that represents the possible states of a mechanical system in thermal equilibrium with a heat bath at a fixed temperature.[1] The system can exchange energy with the heat bath, so that the states of the system will differ in total energy.

The principal thermodynamic variable of the canonical ensemble, determining the probability distribution of states, is the absolute temperature (symbol: T). The ensemble typically also depends on mechanical variables such as the number of particles in the system (symbol: N) and the system's volume (symbol: V), each of which influence the nature of the system's internal states. An ensemble with these three parameters, which are assumed constant for the ensemble to be considered canonical, is sometimes called the NVT ensemble.

The canonical ensemble assigns a probability P to each distinct microstate given by the following exponential:

P = e ( F − E ) / ( k T ) , {\displaystyle P=e^{(F-E)/(kT)},} {\displaystyle P=e^{(F-E)/(kT)},}

where E is the total energy of the microstate, and k is the Boltzmann constant.

The number F is the free energy (specifically, the Helmholtz free energy) and is assumed to be a constant for a specific ensemble to be considered canonical. However, the probabilities and F will vary if different N, V, T are selected. The free energy F serves two roles: first, it provides a normalization factor for the probability distribution (the probabilities, over the complete set of microstates, must add up to one); second, many important ensemble averages can be directly calculated from the function F(N, V, T).

An alternative but equivalent formulation for the same concept writes the probability as

P = 1 Z e − E / ( k T ) , {\displaystyle \textstyle P={\frac {1}{Z}}e^{-E/(kT)},} {\displaystyle \textstyle P={\frac {1}{Z}}e^{-E/(kT)},}

using the canonical partition function

Z = e − F / ( k T ) {\displaystyle \textstyle Z=e^{-F/(kT)}} {\displaystyle \textstyle Z=e^{-F/(kT)}}

rather than the free energy. The equations below (in terms of free energy) may be restated in terms of the canonical partition function by simple mathematical manipulations.

Historically, the canonical ensemble was first described by Boltzmann (who called it a holode) in 1884 in a relatively unknown paper.[2] It was later reformulated and extensively investigated by Gibbs in 1902.[1]

Applicability of canonical ensemble

[edit]

The canonical ensemble is the ensemble that describes the possible states of a system that is in thermal equilibrium with a heat bath (the derivation of this fact can be found in Gibbs[1]).

The canonical ensemble applies to systems of any size; while it is necessary to assume that the heat bath is very large (i.e., take a macroscopic limit), the system itself may be small or large.

The condition that the system is mechanically isolated is necessary in order to ensure it does not exchange energy with any external object besides the heat bath.[1] In general, it is desirable to apply the canonical ensemble to systems that are in direct contact with the heat bath, since it is that contact that ensures the equilibrium. In practical situations, the use of the canonical ensemble is usually justified either 1) by assuming that the contact is mechanically weak, or 2) by incorporating a suitable part of the heat bath connection into the system under analysis, so that the connection's mechanical influence on the system is modeled within the system.

When the total energy is fixed but the internal state of the system is otherwise unknown, the appropriate description is not the canonical ensemble but the microcanonical ensemble. For systems where the particle number is variable (due to contact with a particle reservoir), the correct description is the grand canonical ensemble. In statistical physics textbooks for interacting particle systems the three ensembles are assumed to be thermodynamically equivalent: the fluctuations of macroscopic quantities around their average value become small and, as the number of particles tends to infinity, they tend to vanish. In the latter limit, called the thermodynamic limit, the average constraints effectively become hard constraints. The assumption of ensemble equivalence dates back to Gibbs and has been verified for some models of physical systems with short-range interactions and subject to a small number of macroscopic constraints. Despite the fact that many textbooks still convey the message that ensemble equivalence holds for all physical systems, over the last decades various examples of physical systems have been found for which breaking of ensemble equivalence occurs.[3][4][5][6][7][8]

Free energy, ensemble averages, and exact differentials

[edit]

"We may imagine a great number of systems of the same nature, but differing in the configurations and velocities which they have at a given instant, and differing in not merely infinitesimally, but it may be so as to embrace every conceivable combination of configuration and velocities..." J. W. Gibbs (1903)[10]

Boltzmann distribution (separable system)

[edit]

If a system described by a canonical ensemble can be separated into independent parts (this happens if the different parts do not interact), and each of those parts has a fixed material composition, then each part can be seen as a system unto itself and is described by a canonical ensemble having the same temperature as the whole. Moreover, if the system is made up of multiple similar parts, then each part has exactly the same distribution as the other parts.

In this way, the canonical ensemble provides exactly the Boltzmann distribution (also known as Maxwell–Boltzmann statistics) for systems of any number of particles. In comparison, the justification of the Boltzmann distribution from the microcanonical ensemble only applies for systems with a large number of parts (that is, in the thermodynamic limit).

The Boltzmann distribution itself is one of the most important tools in applying statistical mechanics to real systems, as it massively simplifies the study of systems that can be separated into independent parts (e.g., particles in a gas, electromagnetic modes in a cavity, molecular bonds in a polymer).

Ising model (strongly interacting system)

[edit]

In a system composed of pieces that interact with each other, it is usually not possible to find a way to separate the system into independent subsystems as done in the Boltzmann distribution. In these systems it is necessary to resort to using the full expression of the canonical ensemble in order to describe the thermodynamics of the system when it is thermostatted to a heat bath. The canonical ensemble is generally the most straightforward framework for studies of statistical mechanics and even allows one to obtain exact solutions in some interacting model systems.[11]

A classic example of this is the Ising model, which is a widely discussed toy model for the phenomena of ferromagnetism and of self-assembled monolayer formation, and is one of the simplest models that shows a phase transition. Lars Onsager famously calculated exactly the free energy of an infinite-sized square-lattice Ising model at zero magnetic field, in the canonical ensemble.[12]

Precise expressions for the ensemble

[edit]

The precise mathematical expression for a statistical ensemble depends on the kind of mechanics under consideration—quantum or classical—since the notion of a "microstate" is considerably different in these two cases. In quantum mechanics, the canonical ensemble affords a simple description since diagonalization provides a discrete set of microstates with specific energies. The classical mechanical case is more complex as it involves instead an integral over canonical phase space, and the size of microstates in phase space can be chosen somewhat arbitrarily.

Plot of all possible states of this system. The available stationary states displayed as horizontal bars of varying darkness according to |ψ i(x)|2.

A canonical ensemble for this system, for the temperature shown. The states are weighted exponentially in energy.

The particle's Hamiltonian is Schrödinger-type, Ĥ = U(x) + p_2/2_m (the potential U(x) is plotted as a red curve). Each panel shows an energy-position plot with the various stationary states, along with a side plot showing the distribution of states in energy.

A statistical ensemble in quantum mechanics is represented by a density matrix, denoted by ρ ^ {\displaystyle {\hat {\rho }}} {\displaystyle {\hat {\rho }}}. In basis-free notation, the canonical ensemble is the density matrix[_citation needed_]

ρ ^ = exp ⁡ ( 1 k T ( F − H ^ ) ) , {\displaystyle {\hat {\rho }}=\exp \left({\tfrac {1}{kT}}(F-{\hat {H}})\right),} {\displaystyle {\hat {\rho }}=\exp \left({\tfrac {1}{kT}}(F-{\hat {H}})\right),}

where Ĥ is the system's total energy operator (Hamiltonian), and exp() is the matrix exponential operator. The free energy F is determined by the probability normalization condition that the density matrix has a trace of one, Tr ⁡ ρ ^ = 1 {\displaystyle \operatorname {Tr} {\hat {\rho }}=1} {\displaystyle \operatorname {Tr} {\hat {\rho }}=1}:

e − F k T = Tr ⁡ exp ⁡ ( − 1 k T H ^ ) . {\displaystyle e^{-{\frac {F}{kT}}}=\operatorname {Tr} \exp \left(-{\tfrac {1}{kT}}{\hat {H}}\right).} {\displaystyle e^{-{\frac {F}{kT}}}=\operatorname {Tr} \exp \left(-{\tfrac {1}{kT}}{\hat {H}}\right).}

The canonical ensemble can alternatively be written in a simple form using bra–ket notation, if the system's energy eigenstates and energy eigenvalues are known. Given a complete basis of energy eigenstates |ψ _i_⟩, indexed by i, the canonical ensemble is:

ρ ^ = ∑ i e F − E i k T | ψ i ⟩ ⟨ ψ i | {\displaystyle {\hat {\rho }}=\sum _{i}e^{\frac {F-E_{i}}{kT}}|\psi _{i}\rangle \langle \psi _{i}|} {\displaystyle {\hat {\rho }}=\sum _{i}e^{\frac {F-E_{i}}{kT}}|\psi _{i}\rangle \langle \psi _{i}|}

e − F k T = ∑ i e − E i k T . {\displaystyle e^{-{\frac {F}{kT}}}=\sum _{i}e^{\frac {-E_{i}}{kT}}.} {\displaystyle e^{-{\frac {F}{kT}}}=\sum _{i}e^{\frac {-E_{i}}{kT}}.}

where the E i are the energy eigenvalues determined by Ĥ|ψ _i_⟩ = E i|ψ _i_⟩. In other words, a set of microstates in quantum mechanics is given by a complete set of stationary states. The density matrix is diagonal in this basis, with the diagonal entries each directly giving a probability.

Classical mechanical

[edit]

Plot of all possible states of this system. The available physical states are evenly distributed in phase space, but with an uneven distribution in energy; the side-plot displays dv/dE.

A canonical ensemble for this system, for the temperature shown. The states are weighted exponentially in energy.

Each panel shows phase space (upper graph) and energy-position space (lower graph). The particle's Hamiltonian is H = U(x) + p_2/2_m, with the potential U(x) shown as a red curve. The side plot shows the distribution of states in energy.

In classical mechanics, a statistical ensemble is instead represented by a joint probability density function in the system's phase space, ρ(_p_1, … p n, _q_1, … q n), where the _p_1, … p n and q_1, … q n are the canonical coordinates (generalized momenta and generalized coordinates) of the system's internal degrees of freedom. In a system of particles, the number of degrees of freedom n depends on the number of particles N in a way that depends on the physical situation. For a three-dimensional monoatomic gas (not molecules), n = 3_N. In diatomic gases there will also be rotational and vibrational degrees of freedom.

The probability density function for the canonical ensemble is:

ρ = 1 h n C e F − E k T , {\displaystyle \rho ={\frac {1}{h^{n}C}}e^{\frac {F-E}{kT}},} {\displaystyle \rho ={\frac {1}{h^{n}C}}e^{\frac {F-E}{kT}},}

where

Again, the value of F is determined by demanding that ρ is a normalized probability density function:

e − F k T = ∫ … ∫ 1 h n C e − E k T d p 1 … d q n {\displaystyle e^{-{\frac {F}{kT}}}=\int \ldots \int {\frac {1}{h^{n}C}}e^{\frac {-E}{kT}}\,dp_{1}\ldots dq_{n}} {\displaystyle e^{-{\frac {F}{kT}}}=\int \ldots \int {\frac {1}{h^{n}C}}e^{\frac {-E}{kT}}\,dp_{1}\ldots dq_{n}}

This integral is taken over the entire phase space.

In other words, a microstate in classical mechanics is a phase space region, and this region has volume hnC. This means that each microstate spans a range of energy, however this range can be made arbitrarily narrow by choosing h to be very small. The phase space integral can be converted into a summation over microstates, once phase space has been finely divided to a sufficient degree.

  1. ^ Thermal contact means that the systems are made able to exchange energy through an interaction. The interaction must be weak as to not significantly disturb the systems' microstates.[_clarification needed_]

  2. ^ Since N is an integer, this "derivative" actually refers to a finite difference expression such as F(N) − F(N − 1), or F(N + 1) − F(N), or [F(N + 1) − F(N − 1)]/2. These finite difference expressions are equivalent only in the thermodynamic limit (very large N).

  3. ^ (Historical note) Gibbs' original ensemble effectively set h = 1 [energy unit]×[time unit], leading to unit-dependence in the values of some thermodynamic quantities like entropy and chemical potential. Since the advent of quantum mechanics, h is often taken to be equal to the Planck constant in order to obtain a semiclassical correspondence with quantum mechanics.

  4. ^ In a system of N identical particles, C = N! (factorial of N). This factor corrects the overcounting in phase space due to identical physical states being found in multiple locations. See the statistical ensemble article for more information on this overcounting.

  5. ^ a b c d e f g h i j k l m n o Gibbs, Josiah Willard (1902). Elementary Principles in Statistical Mechanics. New York: Charles Scribner's Sons.

  6. ^ Cercignani, Carlo (1998). Ludwig Boltzmann: The Man Who Trusted Atoms. Oxford University Press. ISBN 9780198501541.

  7. ^ Roccaverde, Andrea (August 2018). "Is breaking of ensemble equivalence monotone in the number of constraints?". Indagationes Mathematicae. 30: 7–25. arXiv:1807.02791. doi:10.1016/j.indag.2018.08.001. ISSN 0019-3577. S2CID 119173928.

  8. ^ Garlaschelli, Diego; den Hollander, Frank; Roccaverde, Andrea (November 25, 2016). "Ensemble nonequivalence in random graphs with modular structure". Journal of Physics A: Mathematical and Theoretical. 50 (1): 015001. arXiv:1603.08759. doi:10.1088/1751-8113/50/1/015001. ISSN 1751-8113. S2CID 53578783.

  9. ^ Garlaschelli, Diego; den Hollander, Frank; Roccaverde, Andrea (July 13, 2018). "Covariance Structure Behind Breaking of Ensemble Equivalence in Random Graphs". Journal of Statistical Physics. 173 (3–4): 644–662. arXiv:1711.04273. Bibcode:2018JSP...173..644G. doi:10.1007/s10955-018-2114-x. ISSN 0022-4715. S2CID 52569377.

  10. ^ Hollander, F. den; Mandjes, M.; Roccaverde, A.; Starreveld, N. J. (2018). "Ensemble equivalence for dense graphs". Electronic Journal of Probability. 23. arXiv:1703.08058. doi:10.1214/18-EJP135. ISSN 1083-6489. S2CID 53610196.

  11. ^ Ellis, Richard S.; Haven, Kyle; Turkington, Bruce (2002). "Nonequivalent statistical equilibrium ensembles and refined stability theorems for most probable flows". Nonlinearity. 15 (2): 239. arXiv:math-ph/0012022. Bibcode:2002Nonli..15..239E. doi:10.1088/0951-7715/15/2/302. ISSN 0951-7715. S2CID 18616132.

  12. ^ Barré, Julien; Gonçalves, Bruno (December 2007). "Ensemble inequivalence in random graphs". Physica A: Statistical Mechanics and Its Applications. 386 (1): 212–218. arXiv:0705.2385. Bibcode:2007PhyA..386..212B. doi:10.1016/j.physa.2007.08.015. ISSN 0378-4371. S2CID 15399624.

  13. ^ Gao, Xiang (March 2022). "The Mathematics of the Ensemble Theory". Results in Physics. 34: 105230. arXiv:2006.00485. Bibcode:2022ResPh..3405230G. doi:10.1016/j.rinp.2022.105230. S2CID 221978379.

  14. ^ Gibbs, J.W. (1928). The Collected Works, Vol. 2. Green & Co, London, New York: Longmans.

  15. ^ Baxter, Rodney J. (1982). Exactly solved models in statistical mechanics. Academic Press Inc. ISBN 9780120831807.

  16. ^ Onsager, L. (1944). "Crystal Statistics. I. A Two-Dimensional Model with an Order-Disorder Transition". Physical Review. 65 (3–4): 117–149. Bibcode:1944PhRv...65..117O. doi:10.1103/PhysRev.65.117.