Partition function (statistical mechanics)
Encyclopedia : P : PA : PAR : Partition function (statistical mechanics)
In statistical mechanics, the partition function Z is an important quantity that encodes the statistical properties of a system in thermodynamic equilibrium. It is a function of temperature and other parameters, such as the volume enclosing a gas. Most of the thermodynamic variables of the system, such as the total energy, free energy, entropy, and pressure, can be expressed in terms of the partition function or its derivatives.
There are actually several different types of partition functions, each corresponding to different types of statistical ensemble (or, equivalently, different types of free energy.) The canonical partition function applies to a canonical ensemble, in which the system is allowed to exchange heat with the environment at fixed temperature, volume, and number of particles. The grand canonical partition function applies to a grand canonical ensemble, in which the system can exchange both heat and particles with the environment, at fixed temperature, volume, and chemical potential. Other types of partition functions can be defined for different circumstances.
Canonical partition function
Definition
Suppose we have a thermodynamically large system that is in constant thermal contact with the environment, which has temperature T, with both the volume of the system and the number of constituent particles fixed. This kind of system is called a canonical ensemble. Let us label the exact states (microstates) that the system can occupy by j (j = 1, 2, 3, ...), and denote the total energy of the system when it is in microstate j as Ej. Generally, these microstates can be regarded as discrete quantum states of the system.
The canonical partition function is
- [ Z = \sum_ g_j.e^]
- [\beta \equiv \frac]
In classical statistical mechanics, it is not really correct to express the partition function as a sum of discrete terms, as we have done. In classical mechanics, the position and momentum variables of a particle can vary continuously, so the set of microstates is actually uncountable. In this case, some form of coarse graining procedure must be carried out, which essentially amounts to treating two mechanical states as the same microstate if the differences in their position and momentum variables are "not too large". The partition function then takes the form of an integral. For instance, the partition function of a gas of N classical particles is
- [Z=\frac} \int \, \exp[-beta H(p_1 cdots p_N, x_1cdots x_N)] \; d^3p_1 \cdots d^3p_N \, d^3x_1 \cdots d^3x_N ]
In quantum mechanics, the partition function can be more formally written as a trace over the state space (which is independent of the choice of basis):
- [Z=\operatorname ( e^ )]
Meaning and significance
It may not be obvious why the partition function, as we have defined it above, is an important quantity. Firstly, let us consider what goes into it. The partition function is a function of the temperature T and the microstate energies E1, E2, E3, etc. The microstate energies are determined by other thermodynamic variables, such as the number of particles and the volume, as well as microscopic quantities like the mass of the constituent particles. This dependence on microscopic variables is the central point of statistical mechanics. With a model of the microscopic constituents of a system, one can calculate the microstate energies, and thus the partition function, which will then allow us to calculate all the other thermodynamic properties of the system.
The partition function can be related to thermodynamic properties because it has a very important statistical meaning. The probability Pj that the system occupies microstate j is
- [P_j = \frac e^. ]
- [\sum_j P_j = \frac \sum_j e^ = \frac Z= 1. ]
Calculating the thermodynamic total energy
In order to demonstrate the usefulness of the partition function, let us calculate the thermodynamic value of the total energy. This is simply the expected value, or ensemble average for the energy, which is the sum of the microstate energies weighted by their probabilities:
- [\langle E \rangle = \sum_j E_j P_j = \frac \sum_j E_j
or, equivalently,
- [\langle E\rangle = k_B T^2 \frac.]
- [E_j = E_j^ + \lambda A_j \qquad \mbox\; j ]
- [\langle A\rangle = \sum_j A_j P_j = -\frac\frac \ln Z(\beta,\lambda).]
Relation to thermodynamic variables
In this section, we will state the relationships between the partition function and the various thermodynamic parameters of the system. These results can be derived using the method of the previous section and the various thermodynamic relations.
As we have already seen, the thermodynamic energy is
- [\langle E \rangle = - \frac.]
- [\langle \delta E^2 \rangle \equiv \langle (E - \langleE\rangle)^2 \rangle = \frac.]
- [C_v = \frac = \frac \langle \delta E^2 \rangle.]
- [S\equiv-k_B\sum_j P_j\ln P_j= k_B (\ln Z + \beta \langle E\rangle)=\frac(k_B T \ln Z) =-\frac]
- [F = \langle E\rangle -TS=- k_B T \ln Z.]
Partition functions of subsystems
Suppose a system is subdivided into N sub-systems with negligible interaction energy. If the partition functions of the sub-systems are ζ1, ζ2, ..., ζN, then the partition function of the entire system is the product of the individual partition functions:
- [Z =\prod_^ \zeta_j.]
- [Z = \zeta^N.]
- [Z = \frac.]
Examples
A specific example of the partition function, expressed in terms of the mathematical formalism of measure theory, is presented in the article on the Potts model.Grand canonical partition function
Definition
In a manner similar to the definition of the canonical partition function for the canonical ensemble, we can define a grand canonical partition function for a grand canonical ensemble, a system that can exchange both heat and particles with the environment, which has a constant temperature T, volume V, and chemical potential μ. The grand canonical partition function, although conceptually more involved, simplifies the calculation of the physics of quantum systems. The grand canonical partition function [\mathcal] for an ideal quantum gas is written:
- [\mathcal = \sum_^\infty\,\sum_}\,\prod_i e^]
For example, consider the N = 3 term in the above sum. One possible set of occupation numbers would be = 0,1,0,2,0... and the contribution of this set of occupation numbers to the N = 3 term would be
- [ \prod_i e^=e^\,e^.]
Specific expressions
The above expression for the grand partition function can be shown to be mathematically equivalent to:
- [\mathcal = \prod_i \mathcal_i.]
For a system composed of bosons:
- [\mathcal_i= \sum_^\infty e^= \frac}]
- [\mathcal_i= \sum_^1 e^= \left(1+e^\right).]
- [\mathcal_i= \sum_^\infty \frac}= \exp \left( e^\right).]
Relation to thermodynamic variables
Just as with the canonical partition function, the grand canonical partition function can be used to calculate thermodynamic and statistical variables of the system. As with the canonical ensemble, the thermodynamic quantities are not fixed, but have a statistical distribution about a mean or expected value.
- Defining α=-βμ, the most probable occupation numbers are:
- [\langle n_i\rangle= -\left(\frac_i)} \right)_= \frac\left(\frac_i)} \right)_.]
- [\langle n_i\rangle= e^.]
- [\langle n_i\rangle= \frac-1}. ]
- [\langle n_i\rangle= \frac+1}. ]
- Total number of particles
- [\langle N\rangle= -\left(\frac)} \right)_= \frac\left(\frac)} \right)_.]
- Variance in total number of particles
- [\textrm(N) = \left(\frac)} \right)_.]
- Internal energy
- [\langle E\rangle = -\left(\frac)} \right)_ + \mu \langle N\rangle. ]
- Variance in internal energy
- [\textrm(E) = \left(\frac)} \right)_.]
- Pressure
- [\langle P\rangle=\frac\left(\frac)} \right)_.]
- Mechanical equation of state
- [\langle PV\rangle=\frac)}.]
Discussion
Before specific results can be obtained from the grand canonical partition function, the energy levels of the system under consideration need to be specified. For example, the particle in a box model or particle in a harmonic oscillator well provide a particular set of energy levels and are a convenient way to discuss the properties of a quantum fluid. (See the gas in a box and gas in a harmonic trap articles for a description of quantum fluids.)
These results may be used to construct the grand partition function to describe an ideal Bose gas or Fermi gas, and can be used as well to describe a classical ideal gas.
References
- Huang, Kerson, "Statistical Mechanics", John Wiley & Sons, New York, 1967.
- A. Isihara, "Statistical Physics", Academic Press, New York, 1971.
- Kelly, James J, [(Lecture notes)]
- L. D. Landau and E. M. Lifshitz, "Statistical Physics, 3rd Edition Part 1", Butterworth-Heinemann, Oxford, 1996.
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
