HOME

TheInfoList



OR:

In
physics Physics is the natural science that studies matter, its fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge which r ...
, a partition function describes the
statistical Statistics (from German: ''Statistik'', "description of a state, a country") is the discipline that concerns the collection, organization, analysis, interpretation, and presentation of data. In applying statistics to a scientific, industria ...
properties of a system in
thermodynamic equilibrium Thermodynamic equilibrium is an axiomatic concept of thermodynamics. It is an internal state of a single thermodynamic system, or a relation between several thermodynamic systems connected by more or less permeable or impermeable walls. In thermod ...
. Partition functions are functions of the thermodynamic
state variables A state variable is one of the set of variables that are used to describe the mathematical "state" of a dynamical system. Intuitively, the state of a system describes enough about the system to determine its future behaviour in the absence of a ...
, such as the
temperature Temperature is a physical quantity that expresses quantitatively the perceptions of hotness and coldness. Temperature is measured with a thermometer. Thermometers are calibrated in various temperature scales that historically have relied o ...
and
volume Volume is a measure of occupied three-dimensional space. It is often quantified numerically using SI derived units (such as the cubic metre and litre) or by various imperial or US customary units (such as the gallon, quart, cubic inch). The de ...
. Most of the aggregate
thermodynamic Thermodynamics is a branch of physics that deals with heat, work, and temperature, and their relation to energy, entropy, and the physical properties of matter and radiation. The behavior of these quantities is governed by the four laws of ther ...
variables of the system, such as the
total energy In physics, energy (from Ancient Greek: ἐνέργεια, ''enérgeia'', “activity”) is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of heat an ...
, free energy,
entropy Entropy is a scientific concept, as well as a measurable physical property, that is most commonly associated with a state of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynam ...
, and
pressure Pressure (symbol: ''p'' or ''P'') is the force applied perpendicular to the surface of an object per unit area over which that force is distributed. Gauge pressure (also spelled ''gage'' pressure)The preferred spelling varies by country and e ...
, can be expressed in terms of the partition function or its
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. F ...
s. The partition function is dimensionless. Each partition function is constructed to represent a particular
statistical ensemble In physics, specifically statistical mechanics, an ensemble (also statistical ensemble) is an idealization consisting of a large number of virtual copies (sometimes infinitely many) of a system, considered all at once, each of which represents a ...
(which, in turn, corresponds to a particular free energy). The most common statistical ensembles have named partition functions. The canonical partition function applies to a
canonical ensemble 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. The system can exchange energy with the heat b ...
, in which the system is allowed to exchange
heat In thermodynamics, heat is defined as the form of energy crossing the boundary of a thermodynamic system by virtue of a temperature difference across the boundary. A thermodynamic system does not ''contain'' heat. Nevertheless, the term is al ...
with the
environment Environment most often refers to: __NOTOC__ * Natural environment, all living and non-living things occurring naturally * Biophysical environment, the physical and biological factors along with their chemical interactions that affect an organism or ...
at fixed temperature, volume, and
number of particles The particle number (or number of particles) of a thermodynamic system, conventionally indicated with the letter ''N'', is the number of constituent particles in that system. The particle number is a fundamental parameter in thermodynamics which is ...
. The grand canonical partition function applies to a
grand canonical ensemble In statistical mechanics, the grand canonical ensemble (also known as the macrocanonical ensemble) is the statistical ensemble that is used to represent the possible states of a mechanical system of particles that are in thermodynamic equilibrium ...
, in which the system can exchange both heat and particles with the environment, at fixed temperature, volume, and
chemical potential In thermodynamics, the chemical potential of a species is the energy that can be absorbed or released due to a change of the particle number of the given species, e.g. in a chemical reaction or phase transition. The chemical potential of a species ...
. Other types of partition functions can be defined for different circumstances; see
partition function (mathematics) The partition function or configuration integral, as used in probability theory, information theory and dynamical systems, is a generalization of the definition of a partition function in statistical mechanics. It is a special case of a normalizing ...
for generalizations. The partition function has many physical meanings, as discussed in
Meaning and significance Meaning most commonly refers to: * Meaning (linguistics), meaning which is communicated through the use of language * Meaning (philosophy), definition, elements, and types of meaning discussed in philosophy * Meaning (non-linguistic), a general te ...
.


Canonical partition function


Definition

Initially, let us assume that a thermodynamically large system is in
thermal contact In heat transfer and thermodynamics, a thermodynamic system is said to be in thermal contact with another system if it can exchange energy through the process of heat. Perfect thermal isolation is an idealization as real systems are always in therm ...
with the environment, with a temperature ''T'', and both the volume of the system and the number of constituent particles are fixed. A collection of this kind of system comprises an ensemble called a
canonical ensemble 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. The system can exchange energy with the heat b ...
. The appropriate
mathematical expression In mathematics, an expression or mathematical expression is a finite combination of Glossary of mathematical symbols, symbols that is well-formed formula, well-formed according to rules that depend on the context. Mathematical symbols can desi ...
for the canonical partition function depends on the
degrees of freedom Degrees of freedom (often abbreviated df or DOF) refers to the number of independent variables or parameters of a thermodynamic system. In various scientific fields, the word "freedom" is used to describe the limits to which physical movement or ...
of the system, whether the context is
classical mechanics Classical mechanics is a physical theory describing the motion of macroscopic objects, from projectiles to parts of machinery, and astronomical objects, such as spacecraft, planets, stars, and galaxies. For objects governed by classical ...
or
quantum mechanics Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, ...
, and whether the spectrum of states is
discrete Discrete may refer to: *Discrete particle or quantum in physics, for example in quantum theory * Discrete device, an electronic component with just one circuit element, either passive or active, other than an integrated circuit *Discrete group, a ...
or
continuous Continuity or continuous may refer to: Mathematics * Continuity (mathematics), the opposing concept to discreteness; common examples include ** Continuous probability distribution or random variable in probability and statistics ** Continuous ...
.


Classical discrete system

For a canonical ensemble that is classical and discrete, the canonical partition function is defined as Z = \sum_i e^, where * i is the index for the
microstates A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
of the system; * e is
Euler's number The number , also known as Euler's number, is a mathematical constant approximately equal to 2.71828 that can be characterized in many ways. It is the base of a logarithm, base of the natural logarithms. It is the Limit of a sequence, limit ...
; * \beta is the
thermodynamic beta In statistical thermodynamics, thermodynamic beta, also known as coldness, is the reciprocal of the thermodynamic temperature of a system:\beta = \frac (where is the temperature and is Boltzmann constant).J. Meixner (1975) "Coldness and Tempe ...
, defined as \tfrac where k_\text is
Boltzmann's constant The Boltzmann constant ( or ) is the proportionality factor that relates the average relative kinetic energy of particles in a gas with the thermodynamic temperature of the gas. It occurs in the definitions of the kelvin and the gas constant, ...
; * E_i is the total energy of the system in the respective
microstate A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
. The
exponential Exponential may refer to any of several mathematical topics related to exponentiation, including: *Exponential function, also: **Matrix exponential, the matrix analogue to the above * Exponential decay, decrease at a rate proportional to value *Exp ...
factor e^ is otherwise known as the
Boltzmann factor Factor, a Latin word meaning "who/which acts", may refer to: Commerce * Factor (agent), a person who acts for, notably a mercantile and colonial agent * Factor (Scotland), a person or firm managing a Scottish estate * Factors of production, su ...
.


Classical continuous system

In
classical mechanics Classical mechanics is a physical theory describing the motion of macroscopic objects, from projectiles to parts of machinery, and astronomical objects, such as spacecraft, planets, stars, and galaxies. For objects governed by classical ...
, the
position Position often refers to: * Position (geometry), the spatial location (rather than orientation) of an entity * Position, a job or occupation Position may also refer to: Games and recreation * Position (poker), location relative to the dealer * ...
and
momentum In Newtonian mechanics, momentum (more specifically linear momentum or translational momentum) is the product of the mass and velocity of an object. It is a vector quantity, possessing a magnitude and a direction. If is an object's mass an ...
variables of a particle can vary continuously, so the set of microstates is actually
uncountable In mathematics, an uncountable set (or uncountably infinite set) is an infinite set that contains too many elements to be countable. The uncountability of a set is closely related to its cardinal number: a set is uncountable if its cardinal numb ...
. In ''classical'' statistical mechanics, it is rather inaccurate to express the partition function as a sum of discrete terms. In this case we must describe the partition function using an
integral In mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented i ...
rather than a sum. For a canonical ensemble that is classical and continuous, the canonical partition function is defined as Z = \frac \int e^ \, \mathrm^3 q \, \mathrm^3 p, where * h is the
Planck constant The Planck constant, or Planck's constant, is a fundamental physical constant of foundational importance in quantum mechanics. The constant gives the relationship between the energy of a photon and its frequency, and by the mass-energy equivale ...
; * \beta is the
thermodynamic beta In statistical thermodynamics, thermodynamic beta, also known as coldness, is the reciprocal of the thermodynamic temperature of a system:\beta = \frac (where is the temperature and is Boltzmann constant).J. Meixner (1975) "Coldness and Tempe ...
, defined as \tfrac ; * H(q, p) is the
Hamiltonian Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
of the system; * q is the canonical position; * p is the
canonical momentum In mathematics and classical mechanics, canonical coordinates are sets of coordinates on phase space which can be used to describe a physical system at any given point in time. Canonical coordinates are used in the Hamiltonian formulation of cla ...
. To make it into a dimensionless quantity, we must divide it by ''h'', which is some quantity with units of
action Action may refer to: * Action (narrative), a literary mode * Action fiction, a type of genre fiction * Action game, a genre of video game Film * Action film, a genre of film * ''Action'' (1921 film), a film by John Ford * ''Action'' (1980 fil ...
(usually taken to be Planck's constant).


Classical continuous system (multiple identical particles)

For a gas of N identical classical particles in three dimensions, the partition function is Z=\frac \int \, \exp \left(-\beta \sum_^N H(\textbf q_i, \textbf p_i) \right) \; \mathrm^3 q_1 \cdots \mathrm^3 q_N \, \mathrm^3 p_1 \cdots \mathrm^3 p_N where * h is the
Planck constant The Planck constant, or Planck's constant, is a fundamental physical constant of foundational importance in quantum mechanics. The constant gives the relationship between the energy of a photon and its frequency, and by the mass-energy equivale ...
; * \beta is the
thermodynamic beta In statistical thermodynamics, thermodynamic beta, also known as coldness, is the reciprocal of the thermodynamic temperature of a system:\beta = \frac (where is the temperature and is Boltzmann constant).J. Meixner (1975) "Coldness and Tempe ...
, defined as \tfrac ; * i is the index for the particles of the system; * H is the
Hamiltonian Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
of a respective particle; * q_i is the canonical position of the respective particle; * p_i is the
canonical momentum In mathematics and classical mechanics, canonical coordinates are sets of coordinates on phase space which can be used to describe a physical system at any given point in time. Canonical coordinates are used in the Hamiltonian formulation of cla ...
of the respective particle; * \mathrm^3 is shorthand notation to indicate that q_i and p_i are vectors in three-dimensional space. The reason for the
factorial In mathematics, the factorial of a non-negative denoted is the product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times (n-1) \times (n-2) \t ...
factor ''N''! is discussed
below Below may refer to: *Earth *Ground (disambiguation) *Soil *Floor *Bottom (disambiguation) Bottom may refer to: Anatomy and sex * Bottom (BDSM), the partner in a BDSM who takes the passive, receiving, or obedient role, to that of the top or ...
. The extra constant factor introduced in the denominator was introduced because, unlike the discrete form, the continuous form shown above is not
dimensionless A dimensionless quantity (also known as a bare quantity, pure quantity, or scalar quantity as well as quantity of dimension one) is a quantity to which no physical dimension is assigned, with a corresponding SI unit of measurement of one (or 1) ...
. As stated in the previous section, to make it into a dimensionless quantity, we must divide it by ''h''3''N'' (where ''h'' is usually taken to be Planck's constant).


Quantum mechanical discrete system

For a canonical ensemble that is quantum mechanical and discrete, the canonical partition function is defined as the
trace Trace may refer to: Arts and entertainment Music * Trace (Son Volt album), ''Trace'' (Son Volt album), 1995 * Trace (Died Pretty album), ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * The Trace (album), ''The ...
of the Boltzmann factor: Z = \operatorname ( e^ ), where: * \operatorname ( \circ ) is the
trace Trace may refer to: Arts and entertainment Music * Trace (Son Volt album), ''Trace'' (Son Volt album), 1995 * Trace (Died Pretty album), ''Trace'' (Died Pretty album), 1993 * Trace (band), a Dutch progressive rock band * The Trace (album), ''The ...
of a matrix; * \beta is the
thermodynamic beta In statistical thermodynamics, thermodynamic beta, also known as coldness, is the reciprocal of the thermodynamic temperature of a system:\beta = \frac (where is the temperature and is Boltzmann constant).J. Meixner (1975) "Coldness and Tempe ...
, defined as \tfrac ; * \hat is the
Hamiltonian operator Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
. The
dimension In physics and mathematics, the dimension of a Space (mathematics), mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any Point (geometry), point within it. Thus, a Line (geometry), lin ...
of e^ is the number of
energy eigenstates In physics, energy (from Ancient Greek: ἐνέργεια, ''enérgeia'', “activity”) is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of heat an ...
of the system.


Quantum mechanical continuous system

For a canonical ensemble that is quantum mechanical and continuous, the canonical partition function is defined as Z = \frac \int \langle q, p , e^ , q, p \rangle \, \mathrm q \, \mathrm p, where: * h is the
Planck constant The Planck constant, or Planck's constant, is a fundamental physical constant of foundational importance in quantum mechanics. The constant gives the relationship between the energy of a photon and its frequency, and by the mass-energy equivale ...
; * \beta is the
thermodynamic beta In statistical thermodynamics, thermodynamic beta, also known as coldness, is the reciprocal of the thermodynamic temperature of a system:\beta = \frac (where is the temperature and is Boltzmann constant).J. Meixner (1975) "Coldness and Tempe ...
, defined as \tfrac ; * \hat is the
Hamiltonian operator Hamiltonian may refer to: * Hamiltonian mechanics, a function that represents the total energy of a system * Hamiltonian (quantum mechanics), an operator corresponding to the total energy of that system ** Dyall Hamiltonian, a modified Hamiltonian ...
; * q is the canonical position; * p is the
canonical momentum In mathematics and classical mechanics, canonical coordinates are sets of coordinates on phase space which can be used to describe a physical system at any given point in time. Canonical coordinates are used in the Hamiltonian formulation of cla ...
. In systems with multiple
quantum states In quantum physics, a quantum state is a mathematical entity that provides a probability distribution for the outcomes of each possible measurement in quantum mechanics, measurement on a system. Knowledge of the quantum state together with the rul ...
''s'' sharing the same energy ''Es'', it is said that the
energy levels A quantum mechanical system or particle that is bound—that is, confined spatially—can only take on certain discrete values of energy, called energy levels. This contrasts with classical particles, which can have any amount of energy. The te ...
of the system are
degenerate Degeneracy, degenerate, or degeneration may refer to: Arts and entertainment * Degenerate (album), ''Degenerate'' (album), a 2010 album by the British band Trigger the Bloodshed * Degenerate art, a term adopted in the 1920s by the Nazi Party i ...
. In the case of degenerate energy levels, we can write the partition function in terms of the contribution from energy levels (indexed by ''j'') as follows: Z = \sum_j g_j \cdot e^, where ''gj'' is the degeneracy factor, or number of quantum states ''s'' that have the same energy level defined by ''Ej'' = ''Es''. The above treatment applies to ''quantum''
statistical mechanics In physics, statistical mechanics is a mathematical framework that applies statistical methods and probability theory to large assemblies of microscopic entities. It does not assume or postulate any natural laws, but explains the macroscopic be ...
, where a physical system inside a finite-sized box will typically have a discrete set of energy eigenstates, which we can use as the states ''s'' above. In quantum mechanics, the partition function can be more formally written as a trace over the
state space A state space is the set of all possible configurations of a system. It is a useful abstraction for reasoning about the behavior of a given system and is widely used in the fields of artificial intelligence and game theory. For instance, the toy ...
(which is independent of the choice of
basis Basis may refer to: Finance and accounting *Adjusted basis, the net cost of an asset after adjusting for various tax-related items *Basis point, 0.01%, often used in the context of interest rates *Basis trading, a trading strategy consisting of ...
): Z = \operatorname ( e^ ), where is the quantum Hamiltonian operator. The exponential of an operator can be defined using the exponential power series. The classical form of ''Z'' is recovered when the trace is expressed in terms of
coherent state In physics, specifically in quantum mechanics, a coherent state is the specific quantum state of the quantum harmonic oscillator, often described as a state which has dynamics most closely resembling the oscillatory behavior of a classical harmo ...
s and when quantum-mechanical uncertainties in the position and momentum of a particle are regarded as negligible. Formally, using
bra–ket notation In quantum mechanics, bra–ket notation, or Dirac notation, is used ubiquitously to denote quantum states. The notation uses angle brackets, and , and a vertical bar , to construct "bras" and "kets". A ket is of the form , v \rangle. Mathema ...
, one inserts under the trace for each degree of freedom the identity: \boldsymbol = \int , x, p\rangle \langle x,p, \frac, where is a normalised Gaussian wavepacket centered at position ''x'' and momentum ''p''. Thus Z = \int \operatorname \left( e^ , x, p\rangle \langle x, p, \right) \frac = \int \langle x,p, e^ , x, p\rangle \frac. A coherent state is an approximate eigenstate of both operators \hat and \hat , hence also of the Hamiltonian , with errors of the size of the uncertainties. If and can be regarded as zero, the action of reduces to multiplication by the classical Hamiltonian, and reduces to the classical configuration integral.


Connection to probability theory

For simplicity, we will use the discrete form of the partition function in this section. Our results will apply equally well to the continuous form. Consider a system ''S'' embedded into a
heat bath In thermodynamics, heat is defined as the form of energy crossing the boundary of a thermodynamic system by virtue of a temperature difference across the boundary. A thermodynamic system does not ''contain'' heat. Nevertheless, the term is al ...
''B''. Let the total
energy In physics, energy (from Ancient Greek: ἐνέργεια, ''enérgeia'', “activity”) is the quantitative property that is transferred to a body or to a physical system, recognizable in the performance of work and in the form of heat a ...
of both systems be ''E''. Let ''pi'' denote the
probability Probability is the branch of mathematics concerning numerical descriptions of how likely an Event (probability theory), event is to occur, or how likely it is that a proposition is true. The probability of an event is a number between 0 and ...
that the system ''S'' is in a particular
microstate A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
, ''i'', with energy ''Ei''. According to the
fundamental postulate of statistical mechanics In physics, statistical mechanics is a mathematical framework that applies Statistics, statistical methods and probability theory to large assemblies of microscopic entities. It does not assume or postulate any natural laws, but explains the ma ...
(which states that all attainable microstates of a system are equally probable), the probability ''pi'' will be inversely proportional to the number of microstates of the total
closed system A closed system is a natural physical system that does not allow transfer of matter in or out of the system, although — in contexts such as physics, chemistry or engineering — the transfer of energy (''e.g.'' as work or heat) is allowed. In ...
(''S'', ''B'') in which ''S'' is in microstate ''i'' with energy ''Ei''. Equivalently, ''pi'' will be proportional to the number of microstates of the heat bath ''B'' with energy ''E'' − ''Ei'': p_i = \frac. Assuming that the heat bath's internal energy is much larger than the energy of ''S'' (''E'' ≫ ''Ei''), we can Taylor-expand \Omega_B to first order in ''Ei'' and use the thermodynamic relation \partial S_B/\partial E = 1/T, where here S_B, T are the entropy and temperature of the bath respectively: \begin k \ln p_i &= k \ln \Omega_B(E - E_i) - k \ln \Omega_(E) \\ pt &\approx -\frac E_i + k \ln\Omega_B(E) - k \ln \Omega_(E) \\ pt &\approx -\frac E_i + k \ln \frac \\ pt &\approx -\frac + k \ln \frac \end Thus p_i \propto e^ = e^. Since the total probability to find the system in ''some'' microstate (the sum of all ''pi'') must be equal to 1, we know that the constant of proportionality must be the
normalization constant The concept of a normalizing constant arises in probability theory and a variety of other areas of mathematics. The normalizing constant is used to reduce any probability function to a probability density function with total probability of one. ...
, and so, we can define the partition function to be this constant: Z = \sum_i e^ = \frac.


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 In probability theory, the expected value (also called expectation, expectancy, mathematical expectation, mean, average, or first moment) is a generalization of the weighted average. Informally, the expected value is the arithmetic mean of a l ...
, or
ensemble average In physics, specifically statistical mechanics, an ensemble (also statistical ensemble) is an idealization consisting of a large number of virtual copies (sometimes infinitely many) of a system, considered all at once, each of which represents a ...
for the energy, which is the sum of the microstate energies weighted by their probabilities: \langle E \rangle = \sum_s E_s P_s = \frac \sum_s E_s e^ = - \frac \frac Z(\beta, E_1, E_2, \cdots) = - \frac or, equivalently, \langle E\rangle = k_\text T^2 \frac. Incidentally, one should note that if the microstate energies depend on a parameter λ in the manner E_s = E_s^ + \lambda A_s \qquad \text\; s then the expected value of ''A'' is \langle A\rangle = \sum_s A_s P_s = -\frac \frac \ln Z(\beta,\lambda). This provides us with a method for calculating the expected values of many microscopic quantities. We add the quantity artificially to the microstate energies (or, in the language of quantum mechanics, to the Hamiltonian), calculate the new partition function and expected value, and then set ''λ'' to zero in the final expression. This is analogous to the
source field In theoretical physics, a source field is a field J whose multiple : S_ = J\Phi appears in the action, multiplied by the original field \Phi. Consequently, the source field appears on the right-hand side of the equations of motion (usually second- ...
method used in the
path integral formulation The path integral formulation is a description in quantum mechanics that generalizes the action principle of classical mechanics. It replaces the classical notion of a single, unique classical trajectory for a system with a sum, or functional in ...
of
quantum field theory In theoretical physics, quantum field theory (QFT) is a theoretical framework that combines classical field theory, special relativity, and quantum mechanics. QFT is used in particle physics to construct physical models of subatomic particles and ...
.


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. The
variance In probability theory and statistics, variance is the expectation of the squared deviation of a random variable from its population mean or sample mean. Variance is a measure of dispersion, meaning it is a measure of how far a set of numbers ...
in the energy (or "energy fluctuation") is \langle (\Delta E)^2 \rangle \equiv \langle (E - \langle E\rangle)^2 \rangle = \frac. The
heat capacity Heat capacity or thermal capacity is a physical property of matter, defined as the amount of heat to be supplied to an object to produce a unit change in its temperature. The SI unit of heat capacity is joule per kelvin (J/K). Heat capacity i ...
is C_v = \frac = \frac \langle (\Delta E)^2 \rangle. In general, consider the
extensive variable Physical properties of materials and systems can often be categorized as being either intensive or extensive, according to how the property changes when the size (or extent) of the system changes. According to IUPAC, an intensive quantity is on ...
X and
intensive variable Physical properties of materials and systems can often be categorized as being either intensive or extensive, according to how the property changes when the size (or extent) of the system changes. According to IUPAC, an intensive quantity is one ...
Y where X and Y form a pair of
conjugate variables Conjugate variables are pairs of variables mathematically defined in such a way that they become Fourier transform duals, or more generally are related through Pontryagin duality. The duality relations lead naturally to an uncertainty relation— ...
. In ensembles where Y is fixed (and X is allowed to fluctuate), then the average value of X will be: \langle X \rangle = \pm \frac. The sign will depend on the specific definitions of the variables X and Y. An example would be X = volume and Y = pressure. Additionally, the variance in X will be \langle (\Delta X)^2 \rangle \equiv \langle (X - \langle X\rangle)^2 \rangle = \frac = \frac. In the special case of
entropy Entropy is a scientific concept, as well as a measurable physical property, that is most commonly associated with a state of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynam ...
, entropy is given by S \equiv -k_\text\sum_s P_s \ln P_s = k_\text (\ln Z + \beta \langle E\rangle) = \frac (k_\text T \ln Z) = -\frac where ''A'' is the
Helmholtz free energy In thermodynamics, the Helmholtz free energy (or Helmholtz energy) is a thermodynamic potential that measures the useful work obtainable from a closed thermodynamic system at a constant temperature (isothermal In thermodynamics, an isotherma ...
defined as , where is the total energy and ''S'' is the
entropy Entropy is a scientific concept, as well as a measurable physical property, that is most commonly associated with a state of disorder, randomness, or uncertainty. The term and the concept are used in diverse fields, from classical thermodynam ...
, so that A = \langle E\rangle -TS= - k_\text T \ln Z. Furthermore, the heat capacity can be expressed as C_v = T \frac = -T \frac.


Partition functions of subsystems

Suppose a system is subdivided into ''N'' sub-systems with negligible interaction energy, that is, we can assume the particles are essentially non-interacting. 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. If the sub-systems have the same physical properties, then their partition functions are equal, ζ1 = ζ2 = ... = ζ, in which case Z = \zeta^N. However, there is a well-known exception to this rule. If the sub-systems are actually
identical particles In quantum mechanics, identical particles (also called indistinguishable or indiscernible particles) are particles that cannot be distinguished from one another, even in principle. Species of identical particles include, but are not limited to, ...
, in the
quantum mechanical Quantum mechanics is a fundamental theory in physics that provides a description of the physical properties of nature at the scale of atoms and subatomic particles. It is the foundation of all quantum physics including quantum chemistry, qua ...
sense that they are impossible to distinguish even in principle, the total partition function must be divided by a ''N''! (''N''
factorial In mathematics, the factorial of a non-negative denoted is the product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times (n-1) \times (n-2) \t ...
): Z = \frac. This is to ensure that we do not "over-count" the number of microstates. While this may seem like a strange requirement, it is actually necessary to preserve the existence of a thermodynamic limit for such systems. This is known as the
Gibbs paradox In statistical mechanics, a semi-classical derivation of entropy that does not take into account the indistinguishability of particles yields an expression for entropy which is not extensive (is not proportional to the amount of substance in qu ...
.


Meaning and significance

It may not be obvious why the partition function, as we have defined it above, is an important quantity. First, consider what goes into it. The partition function is a function of the temperature ''T'' and the microstate energies ''E''1, ''E''2, ''E''3, 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 ''Ps'' that the system occupies microstate ''s'' is P_s = \frac e^. Thus, as shown above, the partition function plays the role of a normalizing constant (note that it does ''not'' depend on ''s''), ensuring that the probabilities sum up to one: \sum_s P_s = \frac \sum_s e^ = \frac Z = 1. This is the reason for calling ''Z'' the "partition function": it encodes how the probabilities are partitioned among the different microstates, based on their individual energies. The letter ''Z'' stands for the
German German(s) may refer to: * Germany (of or related to) **Germania (historical use) * Germans, citizens of Germany, people of German ancestry, or native speakers of the German language ** For citizens of Germany, see also German nationality law **Ger ...
word ''Zustandssumme'', "sum over states". The usefulness of the partition function stems from the fact that it can be used to relate macroscopic thermodynamic quantities to the microscopic details of a system through the derivatives of its partition function. Finding the partition function is also equivalent to performing a
Laplace transform In mathematics, the Laplace transform, named after its discoverer Pierre-Simon Laplace (), is an integral transform In mathematics, an integral transform maps a function from its original function space into another function space via integra ...
of the density of states function from the energy domain to the β domain, and the
inverse Laplace transform In mathematics, the inverse Laplace transform of a function ''F''(''s'') is the piecewise-continuous and exponentially-restricted real function ''f''(''t'') which has the property: :\mathcal\(s) = \mathcal\(s) = F(s), where \mathcal denotes the La ...
of the partition function reclaims the state density function of energies.


Grand canonical partition function

We can define a grand canonical partition function for a
grand canonical ensemble In statistical mechanics, the grand canonical ensemble (also known as the macrocanonical ensemble) is the statistical ensemble that is used to represent the possible states of a mechanical system of particles that are in thermodynamic equilibrium ...
, which describes the statistics of a constant-volume system that can exchange both heat and particles with a reservoir. The reservoir has a constant temperature ''T'', and a
chemical potential In thermodynamics, the chemical potential of a species is the energy that can be absorbed or released due to a change of the particle number of the given species, e.g. in a chemical reaction or phase transition. The chemical potential of a species ...
''μ''. The grand canonical partition function, denoted by \mathcal, is the following sum over
microstates A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
: \mathcal(\mu, V, T) = \sum_ \exp\left(\frac \right). Here, each microstate is labelled by i, and has total particle number N_i and total energy E_i. This partition function is closely related to the
grand potential The grand potential is a quantity used in statistical mechanics, especially for irreversible processes in open systems. The grand potential is the characteristic state function for the grand canonical ensemble. Definition Grand potential is defi ...
, \Phi_, by the relation : -k_B T \ln \mathcal = \Phi_ = \langle E \rangle - TS - \mu \langle N\rangle. This can be contrasted to the canonical partition function above, which is related instead to the
Helmholtz free energy In thermodynamics, the Helmholtz free energy (or Helmholtz energy) is a thermodynamic potential that measures the useful work obtainable from a closed thermodynamic system at a constant temperature (isothermal In thermodynamics, an isotherma ...
. It is important to note that the number of microstates in the grand canonical ensemble may be much larger than in the canonical ensemble, since here we consider not only variations in energy but also in particle number. Again, the utility of the grand canonical partition function is that it is related to the probability that the system is in state i: : p_i = \frac \exp\left(\frac\right). An important application of the grand canonical ensemble is in deriving exactly the statistics of a non-interacting many-body quantum gas (
Fermi–Dirac statistics Fermi–Dirac statistics (F–D statistics) is a type of quantum statistics that applies to the physics of a system consisting of many non-interacting, identical particles that obey the Pauli exclusion principle. A result is the Fermi–Dirac di ...
for fermions,
Bose–Einstein statistics In quantum statistics, Bose–Einstein statistics (B–E statistics) describes one of two possible ways in which a collection of non-interacting, indistinguishable particles may occupy a set of available discrete energy states at thermodynamic e ...
for bosons), however it is much more generally applicable than that. The grand canonical ensemble may also be used to describe classical systems, or even interacting quantum gases. The grand partition function is sometimes written (equivalently) in terms of alternate variables as : \mathcal(z, V, T) = \sum_ z^ Z(N_i, V, T), where z \equiv \exp(\mu/k_B T) is known as the absolute activity (or
fugacity In chemical thermodynamics, the fugacity of a real gas is an effective partial pressure which replaces the mechanical partial pressure in an accurate computation of the chemical equilibrium constant. It is equal to the pressure of an ideal gas whic ...
) and Z(N_i, V, T) is the canonical partition function.


See also

*
Partition function (mathematics) The partition function or configuration integral, as used in probability theory, information theory and dynamical systems, is a generalization of the definition of a partition function in statistical mechanics. It is a special case of a normalizing ...
*
Partition function (quantum field theory) In quantum field theory, partition functions are generating functionals for correlation functions, making them key objects of study in the path integral formalism. They are the imaginary time versions of statistical mechanics partition functi ...
*
Virial theorem In mechanics, the virial theorem provides a general equation that relates the average over time of the total kinetic energy of a stable system of discrete particles, bound by potential forces, with that of the total potential energy of the system. ...
*
Widom insertion method The Widom insertion method is a statistical thermodynamic approach to the calculation of material and mixture properties. It is named for Benjamin Widom, who derived it in 1963.Widom, B, "Some Topics in the Theory of Fluids", ''J. Chem. Phys.'', ...


References

* * * * * {{Statistical mechanics topics Equations of physics