| Statistical mechanics |
|---|
Instatistical mechanics, themicrocanonical ensemble is astatistical ensemble that represents the possible states of a mechanical system whose total energy is exactly specified.[1] The system is assumed to be isolated in the sense that it cannot exchange energy or particles with its environment, so that (byconservation of energy) the energy of the system does not change with time.
The primary macroscopic variables of the microcanonical ensemble are the total number of particles in the system (symbol:N), the system's volume (symbol:V), as well as the total energy in the system (symbol:E). Each of these is assumed to be constant in the ensemble. For this reason, the microcanonical ensemble is sometimes called theNVE ensemble.
In simple terms, the microcanonical ensemble is defined by assigning an equal probability to everymicrostate whose energy falls within a range centered atE. All other microstates are given a probability of zero. Since the probabilities must add up to 1, the probabilityP is the reciprocal of the number of microstatesW within the range of energy,The range of energy is then reduced in width until it isinfinitesimally narrow, still centered atE. In thelimit of this process, the microcanonical ensemble is obtained.[1]
Because of its connection with the elementary assumptions of equilibrium statistical mechanics (particularly thepostulate of a priori equal probabilities), the microcanonical ensemble is an important conceptual building block in the theory.[2] It is sometimes considered to be the fundamental distribution of equilibrium statistical mechanics. It is also useful in some numerical applications, such asmolecular dynamics.[3][4] On the other hand, most nontrivial systems are mathematically cumbersome to describe in the microcanonical ensemble, and there are also ambiguities regarding the definitions of entropy and temperature. For these reasons, other ensembles are often preferred for theoretical calculations.[2][5][6]
The applicability of the microcanonical ensemble to real-world systems depends on the importance of energy fluctuations, which may result from interactions between the system and its environment as well as uncontrolled factors in preparing the system. Generally, fluctuations are negligible if a system is macroscopically large, or if it is manufactured with precisely known energy and thereafter maintained in near isolation from its environment.[7] In such cases the microcanonical ensemble is applicable. Otherwise, different ensembles are more appropriate – such as thecanonical ensemble (fluctuating energy) or thegrand canonical ensemble (fluctuating energy and particle number).
The fundamentalthermodynamic potential of the microcanonical ensemble isentropy. There are at least three possible definitions, each given in terms of the phase volume functionv(E). In classical mechanicsv(E) this is the volume of the region of phase space where the energy is less thanE. In quantum mechanicsv(E) is roughly the number of energy eigenstates with energy less thanE; however this must be smoothed so that we can take its derivative (see thePrecise expressions section for details on how this is done). The definitions of microcanonical entropy are:
The Boltzmann entropy depends on a choice of so-called 'energy width'ω, which is an arbitrary quantity with units of energy, typically taken to be small, introduced so that we are taking the logarithm of a dimensionless quantity, as has units of 1/energy.
In the microcanonical ensemble, the temperature is a derived quantity rather than an external control parameter. It is defined as the derivative of the chosen entropy with respect to energy.[8] For example, one can define the "temperatures"Tv andTs as follows:Like entropy, there are multiple ways to understand temperature in the microcanonical ensemble. More generally, the correspondence between these ensemble-based definitions and their thermodynamic counterparts is not perfect, particularly for finite systems.
The microcanonical pressure and chemical potential are given by:[9]
Under their strict definition,phase transitions correspond tononanalytic behavior in the thermodynamic potential or its derivatives.[10] Using this definition, phase transitions in the microcanonical ensemble can occur in systems of any size. This contrasts with the canonical and grand canonical ensembles, for which phase transitions can occur only in thethermodynamic limit – i.e., in systems with infinitely many degrees of freedom.[10][11] Roughly speaking, the reservoirs defining the canonical or grand canonical ensembles introduce fluctuations that "smooth out" any nonanalytic behavior in the free energy of finite systems. This smoothing effect is usually negligible in macroscopic systems, which are sufficiently large that the free energy can approximate nonanalytic behavior exceedingly well. However, the technical difference in ensembles may be important in the theoretical analysis of small systems.[11]
For a given mechanical system (fixedN,V) and a given range of energy, the uniform distribution of probabilityP over microstates (as in the microcanonical ensemble) maximizes the ensemble average−⟨logP⟩.[1]
Early work in statistical mechanics byLudwig Boltzmann led to hiseponymous entropy equation for a system of a given total energy,S =kB logW, whereW is the number of distinct states accessible by the system at that energy. Boltzmann did not elaborate too deeply on what exactly constitutes the set of distinct states of a system, besides the special case of an ideal gas. This topic was investigated to completion byJosiah Willard Gibbs who developed the generalized statistical mechanics for arbitrary mechanical systems, and defined the microcanonical ensemble described in this article.[1] Gibbs investigated carefully the analogies between the microcanonical ensemble and thermodynamics, especially how they break down in the case of systems of few degrees of freedom. He introduced two further definitions of microcanonical entropy that do not depend onω – the volume and surface entropy described above. (Note that the surface entropy differs from the Boltzmann entropy only by anω-dependent offset.)
The volume entropy and associated temperature are closely analogous to thermodynamic entropy and temperature. It is possible to show exactly that(⟨P⟩ is the ensemble average pressure) as expected for thefirst law of thermodynamics. A similar equation can be found for the surface entropy (or Boltzmann entropy) and its associated temperatureTs, however the "pressure" in this equation is a complicated quantity unrelated to the average pressure.[1]
The microcanonical temperatures and are not entirely satisfactory in their analogy to temperature as defined using a canonical ensemble. Outside of thethermodynamic limit, a number of artefacts occur.
The preferred solution to these problems is avoid use of the microcanonical ensemble. In many realistic cases a system is thermostatted to a heat bath so that the energy is not precisely known. Then, a more accurate description is thecanonical ensemble orgrand canonical ensemble, both of which have complete correspondence to thermodynamics.[14]
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,diagonalization provides a discrete set ofmicrostates with specific energies. The classical mechanical case involves instead an integral over canonicalphase space, and the size of microstates in phase space can be chosen somewhat arbitrarily.
To construct the microcanonical ensemble, it is necessary in both types of mechanics to first specify a range of energy. In the expressions below the function (a function ofH, peaking atE with widthω) will be used to represent the range of energy in which to include states. An example of this function would be[1]or, more smoothly,
A statistical ensemble in quantum mechanics is represented by adensity matrix, denoted by. The microcanonical ensemble can be written usingbra–ket notation, in terms of the system'senergy eigenstates and energy eigenvalues. Given a complete basis of energy eigenstates|ψi⟩, indexed byi, the microcanonical ensemble is[citation needed]where theHi are the energy eigenvalues determined by (hereĤ is the system's total energy operator, i. e.,Hamiltonian operator). The value ofW is determined by demanding that is a normalized density matrix, and soThe state volume function (used to calculate entropy) is given by
The microcanonical ensemble is defined by taking the limit of the density matrix as the energy width goes to zero, however a problematic situation occurs once the energy width becomes smaller than the spacing between energy levels. For very small energy width, the ensemble does not exist at all for most values ofE, since no states fall within the range. When the ensemble does exist, it typically only contains one (or two) states, since in a complex system the energy levels are only ever equal by accident (seerandom matrix theory for more discussion on this point). Moreover, the state-volume function also increases only in discrete increments, and so its derivative is only ever infinite or zero, making it difficult to define the density of states. This problem can be solved by not taking the energy range completely to zero and smoothing the state-volume function, however this makes the definition of the ensemble more complicated, since it becomes then necessary to specify the energy range in addition to other variables (together, anNVEω ensemble).
In classical mechanics, an ensemble is represented by ajoint probability density functionρ(p1, ...pn,q1, ...qn) defined over the system'sphase space.[1] The phase space hasngeneralized coordinates calledq1, ...qn, andn associatedcanonical momenta calledp1, ...pn.
The probability density function for the microcanonical ensemble is:where
Again, the value ofW is determined by demanding thatρ is a normalized probability density function:This integral is taken over the entirephase space. The state volume function (used to calculate entropy) is defined by
As the energy widthω is taken to zero, the value ofW decreases in proportion toω asW =ω (dv/dE).
Based on the above definition, the microcanonical ensemble can be visualized as an infinitesimally thin shell in phase space, centered on a constant-energy surface. Although the microcanonical ensemble is confined to this surface, it is not necessarily uniformly distributed over that surface: if the gradient of energy in phase space varies, then the microcanonical ensemble is "thicker" (more concentrated) in some parts of the surface than others. This feature is an unavoidable consequence of requiring that the microcanonical ensemble is a steady-state ensemble.
The fundamental quantity in the microcanonical ensemble is, which is equal to the phase space volume compatible with given. From, all thermodynamic quantities can be calculated. For anideal gas, the energy is independent of the particle positions, which therefore contribute a factor of to. The momenta, by contrast, are constrained to a-dimensional(hyper-)spherical shell of radius; their contribution is equal to the surface volume of this shell. The resulting expression for is:[15]where is thegamma function, and the factor has been included to account for theindistinguishability of particles (seeGibbs paradox). In the large limit, the Boltzmann entropy isThis is also known as theSackur–Tetrode equation.
The temperature is given bywhich agrees with analogous result from thekinetic theory of gases. Calculating the pressure gives theideal gas law:Finally, thechemical potential is
The microcanonical phase volume can also be calculated explicitly for an ideal gas in a uniformgravitational field.[16]
The results are stated below for a 3-dimensional ideal gas of particles, each with mass, confined in a thermally isolated container that is infinitely long in thez-direction and has constant cross-sectional area. The gravitational field is assumed to act in the minusz direction with strength. The phase volume iswhere is the total energy, kinetic plus gravitational.
The gas density as a function of height can be obtained by integrating over the phase volume coordinates. The result is:Similarly, the distribution of the velocity magnitude (averaged over all heights) isThe analogues of these equations in the canonical ensemble are thebarometric formula and theMaxwell–Boltzmann distribution, respectively. In the limit, the microcanonical and canonical expressions coincide; however, they differ for finite. In particular, in the microcanonical ensemble, the positions and velocities are not statistically independent. As a result, the kinetic temperature, defined as the average kinetic energy in a given volume, is nonuniform throughout the container:By contrast, the temperature is uniform in the canonical ensemble, for any.[17]