Each partition function is constructed to represent a particular statistical ensemble (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 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; see partition function (mathematics) for generalizations. The partition function has many physical meanings, as discussed in Meaning and significance.
Derivation of canonical partition function (classical, discrete)
There are multiple approaches to deriving the partition function. The following derivation follows the more powerful and general information-theoreticJaynesianmaximum entropy approach.
Applying variational calculus with constraints (analogous in some sense to the method of Lagrange multipliers), we write the Lagrangian (or Lagrange function) as
Varying and extremizing with respect to leads to
Since this equation should hold for any variation , it implies that
Isolating for yields
To obtain , one substitutes the probability into the first constraint:
where is a number defined as the canonical ensemble partition function:
Isolating for yields .
Rewriting in terms of gives
Rewriting in terms of gives
To obtain , we differentiate with respect to the average energy and apply the first law of thermodynamics, :
(Note that and vary with as well; however, using the chain rule and
one can show that the additional contributions to this derivative cancel each other.)
Thus the canonical partition function becomes
where is defined as the thermodynamic beta. Finally, the probability distribution and entropy are respectively
Classical continuous system
In classical mechanics, the position and momentum variables of a particle can vary continuously, so the set of microstates is actually uncountable. 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 rather than a sum. For a canonical ensemble that is classical and continuous, the canonical partition function is defined as
where
To make it into a dimensionless quantity, we must divide it by h, which is some quantity with units of action (usually taken to be the Planck constant).
Classical continuous system (multiple identical particles)
For a gas of identical classical non-interacting particles in three dimensions, the partition function is
where
is shorthand notation to indicate that and are vectors in three-dimensional space.
is the classical continuous partition function of a single particle as given in the previous section.
The reason for the factorial factor N! is discussed below. The extra constant factor introduced in the denominator was introduced because, unlike the discrete form, the continuous form shown above is not dimensionless. As stated in the previous section, to make it into a dimensionless quantity, we must divide it by h3N (where h is usually taken to be the Planck constant).
Quantum mechanical discrete system
For a canonical ensemble that is quantum mechanical and discrete, the canonical partition function is defined as the trace of the Boltzmann factor:
where:
In systems with multiple quantum statess sharing the same energy Es, it is said that the energy levels of the system are degenerate. 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:
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 quantumstatistical mechanics, 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 (which is independent of the choice of basis):
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 states[1] and when quantum-mechanical uncertainties in the position and momentum of a particle are regarded as negligible. Formally, using bra–ket notation, one inserts under the trace for each degree of freedom the identity:
where |x, p⟩ is a normalisedGaussian wavepacket centered at position x and momentum p. Thus
A coherent state is an approximate eigenstate of both operators and , hence also of the Hamiltonian Ĥ, with errors of the size of the uncertainties. If Δx and Δp can be regarded as zero, the action of Ĥ reduces to multiplication by the classical Hamiltonian, and Z 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 bathB. Let the total energy of both systems be E. Let pi denote the probability that the system S is in a particular microstate, i, with energy Ei. According to the fundamental postulate of statistical mechanics (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 (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:
Assuming that the heat bath's internal energy is much larger than the energy of S (E ≫ Ei), we can Taylor-expand to first order in Ei and use the thermodynamic relation , where here , are the entropy and temperature of the bath respectively:
Thus
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, and so, we can define the partition function to be this constant:
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:
or, equivalently,
Incidentally, one should note that if the microstate energies depend on a parameter λ in the manner
then the expected value of A is
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 method used in the path integral formulation of quantum field theory.[citation needed]
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
The variance in the energy (or "energy fluctuation") is
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
In the special case of entropy, entropy is given by
where A is the Helmholtz free energy defined as A = U − TS, where U = ⟨E⟩ is the total energy and S is the entropy, so that
Furthermore, the heat capacity can be expressed as
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:
If the sub-systems have the same physical properties, then their partition functions are equal, ζ1 = ζ2 = ... = ζ, in which case
However, there is a well-known exception to this rule. If the sub-systems are actually identical particles, in the quantum mechanical sense that they are impossible to distinguish even in principle, the total partition function must be divided by a N! (Nfactorial):
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.
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 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 Ps that the system occupies microstate s is
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:
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. Other partition functions for different ensembles divide up the probabilities based on other macrostate variables. As an example: the partition function for the isothermal-isobaric ensemble, the generalized Boltzmann distribution, divides up probabilities based on particle number, pressure, and temperature. The energy is replaced by the characteristic potential of that ensemble, the Gibbs Free Energy. The letter Z stands for the German word Zustandssumme, "sum over states". The usefulness of the partition function stems from the fact that the macroscopic thermodynamic quantities of a system can be related to its microscopic details through the derivatives of its partition function. Finding the partition function is also equivalent to performing a Laplace transform of the density of states function from the energy domain to the β domain, and the inverse Laplace transform of the partition function reclaims the state density function of energies.
We can define a grand canonical partition function for a grand canonical ensemble, 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μ.
The grand canonical partition function, denoted by , is the following sum over microstates
Here, each microstate is labelled by , and has total particle number and total energy . This partition function is closely related to the grand potential, , by the relation
This can be contrasted to the canonical partition function above, which is related instead to the Helmholtz free energy.
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 :
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 for fermions, Bose–Einstein statistics 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[2]
where is known as the absolute activity (or fugacity) and is the canonical partition function.
^Klauder, John R.; Skagerstam, Bo-Sture (1985). Coherent States: Applications in Physics and Mathematical Physics. World Scientific. pp. 71–73. ISBN978-9971-966-52-2.
^Baxter, Rodney J. (1982). Exactly solved models in statistical mechanics. Academic Press Inc. ISBN9780120831807.
Huang, Kerson (1967). Statistical Mechanics. New York: John Wiley & Sons. ISBN0-471-81518-7.
Isihara, A. (1971). Statistical Physics. New York: Academic Press. ISBN0-12-374650-7.
Prolepsis tristis Klasifikasi ilmiah Kerajaan: Animalia Filum: Arthropoda Kelas: Insecta Ordo: Diptera Famili: Tipulidae Genus: Prolepsis Spesies: Prolepsis tristis Prolepsis tristis adalah spesies lalat yang tergolong famili Asilidae. Lalat ini juga merupakan bagian dari genus Prolepsis, ordo Diptera, kelas Insecta, filum Arthropoda, dan kingdom Animalia.[1] Lalat ini mempunyai insting predator yang agresif dan makanannya utamanya adalah serangga lain. Referensi ^ Bisby F.A., Roskov ...
Опис файлу Опис Українське Дунайське пароплавство Джерело http://chalyi.pro/videogallery/ Автор зображення Ліцензія див. нижче Обґрунтування добропорядного використання для статті «Українське Дунайське пароплавство» [?] Мета використання в якості основного засобу візуально...
Artikel ini membutuhkan rujukan tambahan agar kualitasnya dapat dipastikan. Mohon bantu kami mengembangkan artikel ini dengan cara menambahkan rujukan ke sumber tepercaya. Pernyataan tak bersumber bisa saja dipertentangkan dan dihapus.Cari sumber: Khabbab bin al-Arat – berita · surat kabar · buku · cendekiawan · JSTOR artikel ini perlu dirapikan agar memenuhi standar Wikipedia. Tidak ada alasan yang diberikan. Silakan kembangkan artikel ini semampu And...
منتخب جزر البهاما لكرة السلة جزر البهاما التصنيف 60 ▼ 1 (16 سبتمبر 2019)[1] انضم للاتحاد الدولي 1962 منطفة فيبا اتحاد الأمريكتين لكرة السلة البلد جزر البهاما الألعاب الأولمبية المشاركة لا يوجد الميداليات لا يوجد كأس العالم لكرة السلة المشاركة لا يوجد الميداليات لا يوجد بطولة ا
The main characters in The Emperor's New Groove. From left to right: Yzma, Kronk, Kuzco (in llama form), and Pacha. The following are fictional characters from Disney's 2000 animated film The Emperor's New Groove, its direct-to-video sequel Kronk's New Groove, and the spin-off television series The Emperor's New School. Kuzco Fictional character Emperor KuzcoFirst appearanceThe Emperor's New Groove (2000)Created byMark Dindal Roger Allers (originally for Kingdom of the Sun)Voiced by David Spa...
Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. K. H. Abdul Hamid adalah seorang Ulama dan Waliyullah yang terkenal untuk wilayah Kabupaten Magelang dan untuk kalangan santri yang terafiliasi dengan Nahdlatul 'Ulama di Jawa Tengah dan Jawa Timur.'Abdul ChamidNama'Abdul ChamidNisbahKajoranKebangsaanI...
Prasasti Untash Napirisha, batu pasir, skt. 1340-1300 SM, dibawa dari Tchoga Zanbil ke Susan pada abad ke-12 SM; wanita berekor ikan memegang ular Untash-Napirisha merupakan seorang raja Elam (sekarang Iran barat daya) selama periode Pertengahan Elam. Ia adalah putra dari raja Elam sebelumnya, Humban-Numena. Ia dinamai seperti Napir, dewa bulan Elam. Ia mendirikan dan membangun kota baru yang luas, Dur-Untash, 40 km SE dari Susan, Chogha Zanbil modern. Ia membangun secara luas di kota in...
Mexican architect This biography of a living person needs additional citations for verification. Please help by adding reliable sources. Contentious material about living persons that is unsourced or poorly sourced must be removed immediately from the article and its talk page, especially if potentially libelous.Find sources: Mauricio Rocha – news · newspapers · books · scholar · JSTOR (November 2017) (Learn how and when to remove this template message...
Canadian actor and magician (born 1961) Christopher HartHart in 2016OccupationMagicianNotable workThing (The Addams Family) Christopher Hart (born 22 February 1961) is a Canadian actor and magician whose roles include Thing, the disembodied hand, in the 1991, 1993, and 1998 movies The Addams Family, Addams Family Values, and Addams Family Reunion. Early life Christopher Hart was born in Nanaimo, British Columbia, to an English mother and Canadian father. He was raised in Los Angeles, where he...
Historic district in Pennsylvania, United States United States historic placeDowntown Altoona Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Show map of PennsylvaniaShow map of the United StatesLocationRoughly bounded by 11th Avenue, 11th Street, 15th Avenue and 13th Street, also 700–1000 Lexington and 900–1000 Howard Avenues, Altoona, PennsylvaniaCoordinates40°31′8″N 78°24′4″W / 40.51889°N 78.40111°W / 40.51889...
This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: DMAX Turkish TV channel – news · newspapers · books · scholar · JSTOR (February 2019) (Learn how and when to remove this template message) Television channel DMAXCountryTurkeyHeadquartersBarbaros Boulevard, Beşiktaş, Bebek, Istanbul, TurkeyProgrammingLanguage(s)TurkishPic...
FreyjaThe goddess Freyja depicted in a portrait by Nils Blommér.Pronunciation/ˈfreɪ.ə/ FRAY-əGenderfemaleOriginWord/nameOld NorseMeaningLadyOther namesRelated namesFreyja, Freja, Frøya, Frida, Priya, Ffreuer Freya is an Old Norse feminine given name derived from the name of the Old Norse word for noble lady (Freyja). The theonym of the goddess Freyja is thus considered to have been an epithet in origin, replacing a personal name that is now unattested.[1][2] Freya, along...
Major release of Windows NT, released in 2021 Windows 11Version of the Windows NT operating systemScreenshot showing the new Start menu and centered taskbar, with the Search box[1]DeveloperMicrosoftWritten inC, C++, C#, Rust,[2][3] assembly languageOS familyMicrosoft WindowsSource modelClosed-sourceSource-available (through Shared Source Initiative)Some components open source[4][5][6][7]GeneralavailabilityOctober 5, 2021; 2 ...
Неформáлы — общее название для представителей различных групп и субкультурных молодёжных движений в СССР 80-90-х годов XX века. Определение «неформáл» (укор. «нéфор») происходит от словосочетания «неформальные объединения молодёжи», возникшего в противопоставление форма...
American infrastructure services corporation This article is about the American infrastructure services corporation. For the Taiwanese hardware company, see Quanta Computer. For the airline, see Qantas. This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article contains content that is written like an advertisement. Please help improve it by removing promotional content and inappropriat...
Island subdistrict in Surat Thani, Thailand Subdistrict in Surat Thani, ThailandKo Tao เกาะเต่าSubdistrictShark Bay, on the island's south sideKo TaoCoordinates: 10°5′24″N 99°50′17″E / 10.09000°N 99.83806°E / 10.09000; 99.83806Country ThailandProvinceSurat ThaniDistrictKo Pha-nganArea • Total21 km2 (8 sq mi)Population • Total1,382Time zoneUTC+7 (ICT) Ko Tao (Thai: เกาะเต่า, pronounc...
Fictional character from the Dexter book and TV series Bay Harbor Butcher redirects here. For the fictional character framed as the Bay Harbor Butcher, see James Doakes. Fictional character Dexter MorganDexter characterMichael C. Hall as Dexter MorganFirst appearanceNovels:Darkly Dreaming Dexter (2004)Television:Dexter(episode 1.01; 2006)Last appearanceNovels:Dexter Is Dead (2015)Television:Sins of the Father(episode 9.10; 2022)Created byJeff LindsayPortrayed byMichael C. HallDevon Graye (tee...
Medical imaging technique Magnetic resonance cholangiopancreatographyMRCP image showing stones in the distal common bile duct: (a) Gallbladder with stones, (b) Stones in bile duct, (c) Pancreatic duct, (d) Duodenum.ICD-9-CM88.97MeSHD049448OPS-301 code3-843[edit on Wikidata] Magnetic resonance cholangiopancreatography (MRCP) is a medical imaging technique. It uses magnetic resonance imaging to visualize the biliary and pancreatic ducts non-invasively. This procedure can be used to det...