# Canonical ensemble

The **canonical ensemble** (also **canonical ensemble** or **NVT ensemble** ) is defined in statistical physics as the set of all similar systems with the same number of particles in an equally large volume that can exchange energy with a reservoir and, together with this, an overall system in the thermal state Form equilibrium with a temperature . The system under consideration can consist of one or more particles or it can be a thermodynamic many-particle system. The energy of the system can change within the scope of statistical fluctuations due to interactions with the heat bath. The reservoir is a heat bath ; H. it has a predetermined temperature and is so much larger than the system under consideration that it is not significantly influenced by the interactions with it.

Each of the similar systems combined in the ensemble occupies one of the many micro-states in which the particles in the volume together with the heat bath realize an overall system in a state of equilibrium at the given temperature. Taken together, these microstates form the *canonical state* , to which they contribute depending on the frequency with which they occur in thermal equilibrium. This frequency is given by the Boltzmann factor . Classically, the canonical state is described by the distribution of the micro-states in the phase space of the system, i.e. by a density function that depends on all independent variables of all parts or particles of the system under consideration. The quantum mechanical description is carried out with the density operator .

If the system consists of many particles, then because of the thermal contact with the heat bath it is a thermodynamic system in thermal equilibrium at the same temperature. Among the copies of the system assembled in the ensemble, all micro-states are then represented in which the particles realize the same through a fixed macrostate . His internal energy is not a fixed size, but by the expected value given the energy of the system: . All macroscopic thermodynamic quantities can also be calculated as expected values over the ensemble, but also the size of their statistical fluctuations. As a state of equilibrium, the canonical state has the highest entropy that is compatible with the given parameters .

## Canonical state

### Quantum mechanics

The density matrix of the canonical state of a given system is

- .

It is the Hamiltonian of the system, an energy own state with the energy , while the index undergoes a complete basis of eigenstates. The normalization factor is the canonical partition function

The parameter turns out to be the inverse temperature by comparison with classical thermodynamics :

The factor represents the Boltzmann factor .

The trace of an operator is defined as follows:, where the state vectors form any complete orthonormal system of the states of the system. The track is independent of the choice of this basic system. The trace of the canonical state is 1, because in the energy eigenbase the associated density matrix is diagonal with the eigenvalues

- .

In the case of degenerate energy eigenvalues (degrees of degeneracy ), summands of the canonical sum of states can be summarized in such a way that all the different energies are summed up:

While the sum over the index counts all states, the sum with the index only runs over the energy level.

### Classic

The classical canonical state results analogously (phase space density)

with the classic Hamilton function

and the canonical partition function

With

for the volume element of the phase space.

For identical particles, the factor prevents the multiple counting of indistinguishable particles . For different types of particles with particle numbers and is the factor .

The Planck's constant enters this classic expression as size of the phase space cell each degree of freedom of the particles. In classical statistical physics, this is initially arbitrary and is only introduced for dimensional reasons. But it turned out to be the same as Planck's quantum of action, when the likewise classic Sackur-Tetrode equation for the entropy of the ideal gas could be adapted to experimental data.

The canonical partition function can be expressed with the phase space volume for fixed energy ( *microcanonical* density of *states* ):

Thus the canonical partition function is the Laplace transform of the microcanonical density of states . Since the Laplace transform is reversibly unique, both functions contain identical information.

### A derivation of the Boltzmann factor

The heat bath (index 2) and the system of interest (index 1) have weak energetic contact. Together they form an overall system that is completely closed off from the outside and therefore has to be described microcanonically .

The Hamilton operator of the overall system is , where is the Hamilton operator of the subsystems and the interaction operator . The latter of the subsystems is indeed required for equilibration, assuming the weak contact but over and be neglected , d. H. the interaction energy is much smaller than the energy of the individual systems. Thus, we consider two practically independent systems. Then the energy is additive and the density matrix is multiplicative . Entropy is due to additive also: . Furthermore: and .

The total energy always remains constant:

The energy of the heating bath is -fold degenerate, the energy of the coupled system is -fold degenerate. The degree of degeneration of the overall system to energy is

- .

In the micro-canonical ensemble, every possible base state has the same probability . The probability that the system 1 has the energy is equal to the probability that the thermal bath has the energy ; this is the quotient of the total degree of degeneration to the energy of system 1, namely , and the total degree of degeneration :

So far, questions have been asked about the probability that system 1 has a certain energy . The probability of finding system 1 in *a certain base state* with energy is:

is therefore simply proportional to the number of states of system 2 with the appropriate energy:

The constant of proportionality is obtained later simply from normalizing all to 1.

The number of states in system 2 in question is approximated by a Taylor expansion of the logarithm:

. It was used that the derivation of the entropy according to the energy is the inverse temperature (see micro-canonical ensemble ).

Inserting it into the equation for gives:

As a correction to the above development, i.e. in order , the following factor occurs:

Here is the heat capacity of the heating bath. The correction terms can be neglected, because as the size of the heat bath increases, they tend towards zero. It is therefore justified to restrict oneself to the first order of development.

The standardization

simply provides the inverse partition function for the normalization factor

- ,

with which the end result is:

- .

The size is called the Boltzmann factor.

### General derivation

The equilibrium state with a fixed expected value (s) can be understood as a variation problem and can be derived using the Lagrange multiplier method. We are looking for the density operator whose statistical entropy is maximum, taking into account constraints:

The expression should be maximized with the secondary conditions (normalization condition) and (defined expected value of any operator ). The following functional of the density operator has to be maximized :

A stationary solution is obtained when the first variation of vanishes.

The relation was used in the last step . Calculating the track results in:

wherein the and each form a complete orthonormal basis ; the sum over describes the trace formation , the sum over is the insertion of a unit operator (making use of the completeness).

In order for this equation to be true for any variation , every term in the double sum must be zero, and that requires . This means:

This gives the density operator .

Since the track is normalized to 1, it follows

With the Hamilton operator and the denominator becomes the partition function

from this the Boltzmann-Gibbs state follows

- .

From this derivation by means of the calculus of variations only the stationary behavior of the entropy follows; the presence of the maximum can be shown with the Gibbs inequality (see below).

This procedure can be extended to several constraints. If there is a further secondary condition, the state of equilibrium of the grand canonical ensemble is obtained .

## Expected values

In the following, expected values of various macroscopic sizes are formed. The Hamilton operator is dependent on the volume and the number of particles , the partition function of temperature, volume and number of particles, respectively . The formulas for the classical canonical ensemble are obtained from those given for the quantum physical ensemble, by executing the integral over the phase space instead of the sum over the natural energy states.

### energy

The *expected energy* value can be calculated using the sum of conditions

### entropy

The *statistical entropy* can now be expressed by the partition function

### pressure

The *printer maintenance* value is the same:

### Chemical potential

The *chemical potential* can also be calculated for large systems (the number of particles is a discrete quantity; only in the thermodynamic limit can quasi-continuous treatment and derivations are possible):

## Free energy

### Free energy for states of equilibrium

Obviously, the logarithm of the partition function plays an important role in the calculation of expected values. That is why one defines the free energy :

Or. using the temperature instead of the parameter :

### Free energy as thermodynamic potential

The free energy is the thermodynamic potential of the canonical state. The above expected values can now be written compactly as a gradient of the potential:

The total differential of the free energy is thus:

### General definition of free energy

The free energy can also be defined for non-equilibrium states, namely as a functional of the density operator via

or reshaped

In equilibrium with or one obtains the above equilibrium definition of the free energy:

## State with extreme properties

### Maximum of entropy

Let it be the density operator of the state of equilibrium and another density operator that does not necessarily represent a state of equilibrium, but provides the same expected energy value :

- .

It can be shown that there can be no greater entropy than . According to the Gibbs inequality for any two operators with track 1:

The left side is

- .

The right side can be calculated:

With the Gibbs inequality it follows:

The canonical ensemble consequently has the maximum entropy of all ensembles with the same average energy and fixed volume and particle number.

### Minimum of free energy

The general definition of free energy is used here.

For a state that does not correspond to the equilibrium state but delivers the same expected energy value , the following applies:

d. H. the free energy is minimal in equilibrium.

## Fluctuations

### Fluctuation in energy

Since in the canonical ensemble it is not the energy but only the expected energy value that is fixed, certain fluctuations are possible. In the following, the square of the fluctuation range of the energy around its expected value is calculated:

The first derivation from to can be identified with the expected energy value:

In the last step, the heat capacity was introduced. It is a susceptibility that indicates how an extensive variable (energy) changes with an increase in an intensive variable (temperature). The response of the energy to a temperature increase is correlated with the spontaneous fluctuations of the energy (see fluctuation-dissipation theorem ).

The heat capacity is always positive because the standard deviation is non-negative: .

In addition, the energy fluctuation can be related to the second derivative of the free energy according to temperature:

### Equivalence of the ensembles in the thermodynamic Limes

The heat capacity and thus the square of fluctuation is an extensive quantity, i.e. of the order . The expected energy value is also in order . The quotient of the fluctuation range and the mean value is of the order :

For thermodynamic systems with particles, the quotient is very small (of the order ) and thus the energy distribution is very sharply concentrated around the mean value (see law of large numbers ). In the limiting case of large numbers of particles, the mean energy value and the energy value with the highest probability are identical.

The probability density of the energy (not of a certain state for a given energy) is given by , where is the microcanonical sum of states. While the Boltzmann factor decreases monotonically with the energy, the microcanonical density of states increases monotonically with the energy (e.g. for the classical ideal gas), so that the product has a maximum. The energy value with the greatest probability is given by

It follows:

In the last step, the microcanonical definition of the inverse temperature was identified as the partial derivation of the microcanonical entropy according to the internal energy . Thus applies

so the most likely value of the energy corresponds to the energy value of the micro-canonical ensemble.

If one develops the logarithmized probability density of the energy in a power series , one obtains:

This is a Gaussian distribution with width . The relative latitude is of the order and approaches zero, i.e. H. the distribution becomes a delta function. In the limit of large numbers of particles, the microcanonical and canonical ensemble become identical, whereby the following applies, i.e. the micronanonical internal energy is equal to the canonical energy expectation value (e.g. and for the classical ideal gas). Both ensembles then cover practically the same areas in phase space (or states in Hilbert space).

The approximate probability density is now used to calculate the canonical partition function:

From this the free energy can be determined:

The last term can be neglected in the thermodynamic limes, since this is while the others are. Thus, the free energy belonging to the canonical ensemble was reduced to the sizes of the microcanonical ensemble and .

### Fluctuation of entropy, pressure and chemical potential

The fluctuation range of the entropy can be traced back to the fluctuation range of the energy and thus related to the heat capacity:

For the squared fluctuation range of the pressure results:

and for the chemical potential:

From the positivity of the variance and the isothermal compressibility it follows: and

## literature

- Klaus Stierstadt:
*Thermodynamics - From Microphysics to Macrophysics*, Springer Verlag, 2010, ISBN 978-3-642-05097-8 , e- ISBN 978-3-642-05098-5 , DOI 10.1007 / 978-3-642-05098 -5 - Balian:
*From Microphysics to Macrophysics 1*. Springer-Verlag, Berlin, 2nd edition 2006, ISBN 3-540-45469-1 -
Schwabl :
*Statistical Mechanics*. Springer-Verlag, Berlin, 3rd edition 2006, ISBN 978-3-540-31095-2 - Pathria, Beale:
*Statistical Mechanics*. Academic Press, 3rd edition 2011, ISBN 978-0-12-382188-1