Microstate (statistical mechanics)

{{ safesubst:#invoke:Unsubst||$N=Refimprove |date=__DATE__ |$B= {{#invoke:Message box|ambox}} }} In statistical mechanics, a microstate is a specific microscopic configuration of a thermodynamic system that the system may occupy with a certain probability in the course of its thermal fluctuations. In contrast, the macrostate of a system refers to its macroscopic properties, such as its temperature and pressure.[1] Treatments on statistical mechanics, [2] [3] often give an equivalent definition of a macrostate by specifying it for an isolated thermodynamic system. A particular set of values of energy, number of particles and volume of an isolated thermodynamic system is said to specify a particular macrostate of it. In this description, microstates appear as different possible ways the system can achieve a particular macrostate.

A macrostate is characterized by a probability distribution of possible states across a certain statistical ensemble of all microstates. This distribution describes the probability of finding the system in a certain microstate. In the thermodynamic limit, the microstates visited by a macroscopic system during its fluctuations all have the same macroscopic properties.

Microscopic definitions of thermodynamic concepts

Statistical mechanics links the empirical thermodynamic properties of a system to the statistical distribution of an ensemble of microstates. All macroscopic thermodynamic properties of a system may be calculated from the partition function that sums the energy of all its microstates.

At any moment a system is distributed across an ensemble of ${\displaystyle N}$ microstates, each denoted by ${\displaystyle i}$, and having a probability of occupation ${\displaystyle p_{i}}$, and an energy ${\displaystyle E_{i}}$. These microstates form a discrete set as defined by quantum statistical mechanics, and ${\displaystyle E_{i}}$ is an energy level of the system.

Internal energy

The internal energy of the macrostate is the mean over all microstates of the system's energy

${\displaystyle U=\langle E\rangle =\sum _{i=1}^{N}p_{i}\,E_{i}\ .}$

This is a microscopic statement of the notion of energy associated with the first law of thermodynamics.

Entropy

The absolute entropy exclusively depends on the probabilities of the microstates and is defined as

${\displaystyle S=-k_{B}\,\sum _{i}p_{i}\ln \,p_{i},}$

where ${\displaystyle k_{B}}$ is Boltzmann's constant, for the canonical ensemble. For the microcanonical ensemble, consisting of only those microstates with energy equal to the energy of the macrostate, this simplifies to

${\displaystyle S=k_{B}\,\ln W}$,

where ${\displaystyle W}$ is the number of microstates. This form for entropy appears on Ludwig Boltzmann's gravestone in Vienna.

The second law of thermodynamics describes how the entropy of an isolated system changes in time. The third law of thermodynamics is consistent with this definition, since zero entropy means that the macrostate of the system reduces to a single microstate.

Heat and work

For a closed system (no transfer of matter), heat in statistical mechanics is the energy transfer associated with a disordered, microscopic action on the system, associated with jumps in occupation numbers of the energy levels of the system, without change in the values of the energy levels themselves.[2]

Work is the energy transfer associated with an ordered, macroscopic action on the system. If this action acts very slowly then the Adiabatic theorem implies that this will not cause a jump in the energy levels of the system. In this case, the internal energy of the system only changes due to a change of the system's energy levels.[2]

The microscopic definitions of heat and work are the following:

${\displaystyle \delta W=\sum _{i=1}^{N}p_{i}\,dE_{i}}$
${\displaystyle \delta Q=\sum _{i=1}^{N}E_{i}\,dp_{i}}$

so that

${\displaystyle ~dU=\delta W+\delta Q.}$

The two above definitions of heat and work are among the few expressions of statistical mechanics where the sum corresponding to the quantum case cannot be converted into an integral in the classical limit of a microstate continuum. The reason is that classical microstates are usually not defined in relation to a precise associated quantum microstate, which means that when work changes the energy associated to the energy levels of the system, the energy of classical microstates does not follow this change.