Additivity of Boltzmann entropy 2026-10-14
For two subsystems with independently specified macrostates, suppose every allowed microstate of can be paired with every allowed microstate of . Their allowed set is a Cartesian product. With equal probability for each pair, Boltzmann's entropy formula givesFor example, take two independent copies of the toy model, each with two labels choosing between its two boxes. Each copy has four configurations and Boltzmann entropy . Combining their independent labels gives sixteen configurations and Boltzmann entropy . This explains why entropy adds even though microscopic counts multiply. [ref]
https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node57.html. MIT, §7.4, equation 7.17: independent state counts multiply
The product assumption matters. A constraint shared between the subsystems can forbid some pairs; for example, fixing only their combined energy generally requires summing over its possible divisions. See entropy maximization under thermal contact for how thermal equilibrium selects the dominant division. Statistical independence cannot be inferred merely from drawing a boundary between two parts.
Boltzmann distribution and state degeneracy 2026-10-14
Group microstates by their energy . The state degeneracy counts how many microstates have that energy; their aggregate probability isHere is the probability of the macrostate retaining only energy, while is the probability of one individual microstate. For two such macrostates,Counting more microstates can compensate for a smaller Boltzmann factor. Omitting the state degeneracy confuses a sum over microstates with a sum over distinct energies. [ref]
https://ocw.mit.edu/courses/5-62-physical-chemistry-ii-spring-2008/bda82786b6014d3f468798339f658629_03_562ln08.pdf. MIT 5.62, spring 2008, lecture 3, page 4: degeneracy and the aggregate energy probability
Consider two distinguishable, noninteracting two-level systems, each with energies and . Their four microstates have total energies . Thus the three energy macrostates have state degeneracies . This is a stipulated finite model, not a measured material.
Set . The four individual Boltzmann factors are , so the partition function and aggregate probabilities areEach of the two middle microstates has probability , while their shared energy macrostate has probability .
At the temperature satisfying , the Boltzmann factor is and the partition function is . ThereforeThe middle energy is as likely as the ground state energy because its state degeneracy is twice as large. Yet each individual middle microstate is only half as likely as the ground state microstate. The diagram places the four energies beside their individual probabilities, then shows the sums within each macrostate.
The expected value of energy follows directly by weighting the three possible energies:At this is . An individual energy measurement still returns , or ; the expected value describes the ensemble average, rather than a fourth possible measured energy.
Boltzmann distribution ratios and energy reference Created 2026-10-14 Updated 2026-10-25
For two individual microstates, the partition function cancels:At positive temperature, a higher-energy individual microstate is less probable, and equal-energy individual microstates are equally probable. For example, a gap , using the natural logarithm, gives . This comparison concerns individual microstates; a whole macrostate can contain several of them.
Changing the reference for energy leaves every probability unchanged. If all energies become for the same constant , thenThe partition function itself changes, but its common factor cancels in the Boltzmann distribution. Thus choosing a ground state energy of zero simplifies calculations without changing populations. The expected value of energy shifts by , as it must when its reference changes.
Keep the gap fixed and vary positive temperature. With , the Boltzmann factor is . In the four-microstate example, as , : the unique ground state has probability tending to one, and the other microstates have probabilities tending to zero. If several microstates instead shared the lowest energy, their state degeneracy would split that limiting population equally.
As in this fixed finite model, all four individual Boltzmann factors tend to one, so all four individual microstates have probability tending to . The three aggregate probabilities instead approachThe equal-population limit applies to this finite set of microstates. An infinite collection of microstates cannot all have the same positive normalized probability, so the statement cannot be extended to an unbounded energy spectrum. Real systems may also acquire additional accessible microstates as temperature rises.
Aggregate Boltzmann distribution populations versus positive temperature for state degeneracies 1, 2, 1
. Details. The plotted crossing occurs at , where . For larger positive temperatures, the middle macrostate is more probable than the lowest-energy macrostate, although the lowest-energy individual microstate remains more probable than either individual middle microstate. The expected value of energy rises from zero toward in this finite model.
Boltzmann entropy of a two-box occupancy Created 2026-10-14 Updated 2026-10-18
Take distinguishable, labeled particles and two boxes of equal volume. Retain only whether each particle is in the left or right box: use a bit for left and for right. Each length-20 string is one coarse microstate of this toy model. Assume the labels make independent side choices with equal probability, so the strings are equiprobable. Equal volumes motivate these weights for noninteracting particles with no preference for either box; equal volumes alone would not establish them for an arbitrary interacting gas.
Now retain only the number in the left box as the macrostate. Choosing which labels are left gives a binomial coefficient, soThe factorials count assignments to labels; the probability of a macrostate sums the probabilities of its constituent microstates. This is the binomial distribution with parameters and . The same binomial coefficient appears in the counting of distinguishable two-level systems, although here the macrostate records occupancy rather than energy. [ref]
https://ocw.mit.edu/courses/8-333-statistical-mechanics-i-statistical-mechanics-of-particles-fall-2013/0cb99318c2ed889316cdcff839759e8d_MIT8_333F13_Lec12.pdf. Mehran Kardar, MIT 8.333 (2013), lecture 12, §IV.C, equations IV.17–18: binomial microstate counts
The largest binomial coefficient occurs at , the balanced macrostate. All-left means and supplies just one string. ThusThere are balanced strings for every all-left string, even though each individual string has the same probability. Exact balance has about of the total probability; equilibrium reasoning concerns the many macrostates near balance too, rather than certainty of exactly ten particles on each side. The diagram compares the counts with their natural logarithms.
Counts and Boltzmann entropies of the occupancy macrostates of twenty labeled particles
. Details. Four fair, independent coins give a smaller worked example with the same binomial distribution. If is the number of heads, the five macrostates contain respectively microstates. Their probabilities are respectively . In particular, two heads is one macrostate containing six ordered coin sequences, with Boltzmann entropy in this counting analogy. A prescribed ordered sequence has one realization. The next diagram enumerates the same sixteen strings as left/right assignments.
In Boltzmann entropy of a two-box occupancy, impose an initial restriction that all labels are left. There is one allowed coarse microstate. Remove that restriction, allowing all occupancy values: the allowed set is now the union of every occupancy macrostate, containing strings. If the final description assigns equal probability to this whole set, its Boltzmann entropy change isThe counting identity is the binomial theorem. For twenty labels, . This final description fixes neither box occupancy; it is coarser than the particular macrostate , whose Boltzmann entropy is . The two counts answer different questions, so substituting the balanced macrostate for the full allowed set would change the calculation.
For four labels, the initial all-left string is
0000; removing the restriction makes all sixteen strings available. The column has only six strings. Accordingly, the whole allowed set has Boltzmann entropy , while the balanced macrostate has Boltzmann entropy .Sixteen configurations of four labeled particles grouped by left occupancy, compared with the all-left restriction
. Details. Removing a barrier changes the allowed set immediately, but it does not instantaneously randomize the actual probability distribution. Motion and equilibration must make those configurations accessible. The counting result illustrates the configurational contribution to free expansion; it does not describe the relaxation time or every contribution to the entropy of a real gas.
Boltzmann's entropy formula 2026-10-14
Why does a gas spread through an available container? One part of the answer is counting: a nearly uniform macrostate can be realized by vastly more microstates than a macrostate with every particle crowded into one corner. Boltzmann's entropy formula turns that multiplicity into entropy. The useful insight is that a large entropy measures how many microscopic realizations fit a specified macroscopic description, rather than how untidy a picture looks.
For a specified macrostate containing accessible, equally likely microstates, writeHere is the Boltzmann constant, and is the natural logarithm, also written in this article's title. The count is dimensionless; entropy has units of energy divided by temperature. Always specify the macrostate, the constraints and the model's microscopic resolution before counting. A microcanonical ensemble provides a familiar equilibrium setting for the equal-probability assumption. [ref]
https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node57.html. MIT, §7.4: equiprobable microstates and S = k ln Ω
The natural logarithm compresses an enormous count into a manageable number and makes products of counts into sums of entropies; see additivity of Boltzmann entropy. With this counting convention, one allowed microstate has zero Boltzmann entropy. This zero refers to the chosen model and resolution; it does not by itself assign an absolute entropy to a real material.
Entropy Created 2026-09-24 Updated 2026-10-20
Entropy is an extensive quantity and a state function of an equilibrium system, measured in . Differences between equilibrium states are calculated along a reversible thermodynamic process:Here heat entering the system is positive and is its absolute thermodynamic temperature. The reversible path used for calculation need not be the path actually taken. Dividing the actual heat by a single temperature generally fails for an irreversible process.
For example, put two rigid bodies, each with constant heat capacity , at and in an otherwise isolated system. Assume each body has a uniform internal temperature, no phase transition occurs, and no work is extracted. Their final thermal equilibrium is at , because the internal energy lost by one equals that gained by the other. Using entropy from heat capacity,so . One body's entropy decreases while the total increases. [ref]
https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node41.html. MIT, Entropy changes and the hot-brick problem
In statistical mechanics, Boltzmann's entropy formula counts equally likely microstates compatible with a macrostate; Gibbs entropy handles a specified probability distribution over microstates. If the number of equally likely microstates doubles, entropy increases by . The logarithm makes multiplicative counts additive for independent systems. These are precise statements about states and probabilities, not a universal measure of visible messiness. Calling entropy merely "disorder" obscures the thermal calculation above and hides which microstates are being counted. [ref]
https://web.mit.edu/16.unified/www/FALL/thermodynamics/notes/node57.html. MIT, Statistical entropy and randomness
The usefulness of entropy is that measurable heat capacities determine its changes, and the Second law of thermodynamics turns those changes into constraints on processes. It also connects macroscopic measurements to microscopic descriptions without requiring us to track every particle.
Macrostate Created 2026-09-24 Updated 2026-10-14
A macrostate groups microstates sharing prescribed coarse data. The grouping depends on what is retained: here retain only total energy. For the two distinguishable two-level systems, the macrostates have state degeneracies . Although two units are not macroscopic in size, they make this loss of information visible: knowing does not tell us which unit is excited.
At inverse temperature , each unit's excited-state probability is . Their independence gives microstate probabilities in the order above. Adding within each macrostate givesThe total expected value of energy is therefore , matching two units each with expected value of energy . Equal state degeneracies would give the wrong answer: macrostate probabilities combine counting with the Boltzmann factor. At very high positive temperature, all four microstates become equally likely, but these three macrostate probabilities approach .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 37A c Solution Created 2026-09-24 Updated 2026-09-25
Several microstates can have the same extension. If denotes their state degeneracy, grouping equal terms in the state sum givesFor the one-dimensional freely jointed chain, a macrostate with positive links and negative links hasHenceThe binomial theorem now gives the fixed-tension partition function of a one-dimensional chain
Past exam of the physics B course of the University of Cambridge 2011 Paper 1 Section C C13 Solution 2026-10-20
A microstate specifies the microscopic state: classically the positions and momenta of all particles, or quantum mechanically an allowed many-body state. A macrostate specifies a few coarse variables such as energy, volume and particle number. Many microstates can give the same macrostate. A statistical ensemble is a probability assignment over hypothetical copies prepared with the same macroscopic constraints; it does not require a sample to be literally divided into many physical copies. An observable's ensemble mean is , with an integral replacing the sum in classical phase space.
For an isolated system at fixed , the microcanonical ensemble assigns equal probability to accessible microstates in a narrow energy shell. If their number is , the Boltzmann entropy is . Thermal contact between two initially isolated systems allows energy to be shared while their sum stays fixed. The most probable division maximizes , so equilibrium requires equal . This gives the statistical temperature definitionFor positive temperature, energy tends to flow from lower entropy slope to higher entropy slope until those slopes agree. The narrow energy-shell width represents macroscopic resolution; it must not exclude the physically accessible states.
For a small subsystem exchanging energy with a much larger bath, the bath has energy when subsystem microstate has energy . Expanding its entropy gives . Counting compatible bath states therefore yields the Boltzmann distribution and canonical ensemble:The exponential weights individual microstates. An energy level of degeneracy has total probability ; a more degenerate excited level can outweigh one ground-state level even though each of its microstates is less probable. The Gibbs entropy gives . The equilibrium energy variance is , linking measurable fluctuations to a macroscopic response.
If particle exchange is also allowed, a reservoir fixes and chemical potential . The grand canonical ensemble weights a state by , with . Mean particle number is , while volume remains a constraint in this version. Thus the ensemble follows the physical exchange conditions: fixed energy, thermal contact, or thermal and particle contact.
In ordinary large short-range systems, relative fluctuations often decrease as and the ensembles give the same bulk thermodynamics away from singular limits. Finite systems, critical fluctuations and long-range interactions require care. Interpreting a time average as an ensemble average additionally requires appropriate sampling or mixing dynamics; it is not guaranteed solely by naming an ensemble. thermal equilibrium probability assignments do not describe every driven or relaxing state.
Past exam of the physics B course of the University of Cambridge 2019 Paper 2 Section C C13 Solution 2026-10-18
Temperature as an equilibrium relation. Classical thermodynamics begins with the zeroth law of thermodynamics: thermal equilibrium is transitive. A thermometer can therefore assign a common empirical temperature to systems in mutual thermal equilibrium. Different thermometer properties initially give different monotone empirical scales; a resistance reading by itself does not define the absolute scale.
The Second law of thermodynamics provides a substance-independent thermodynamic scale. A reversible engine operating between reservoirs has a heat ratio depending only on their temperatures. One chooses absolute temperature so that , with the positive heat magnitudes. Its reversible efficiency is . Equivalently, reversible heat defines entropy through . For an equilibrium simple compressible system,Classical thermodynamics uses this relation without needing a microscopic account of entropy. A dilute-gas thermometer realizes an empirical scale approaching the thermodynamic scale after corrections for nonideal behavior.
Statistical meaning of the same derivative. In the microcanonical description, an equilibrium energy shell containing accessible states has . Its statistical temperature is consequentlyTo see why this is an equilibrium temperature, let two weakly coupled systems exchange a small energy while their total energy stays fixed. The combined multiplicity is . Maximizing its logarithm giveswhich is equality of the two inverse temperatures. Stability requires the total entropy maximum, not only stationarity. The overwhelmingly dominant macrostate in a large system therefore realizes the thermodynamic equilibrium condition.
A large reservoir gives a small subsystem the canonical probabilities , with . In that ensemble, and agree with macroscopic thermodynamic relations in their usual equilibrium regime. The equipartition identity for a classical dilute monatomic gas, , is a useful operational connection between microscopic motion and temperature, but is not a universal definition: quantum modes need not obey equipartition, and a system away from equilibrium need not have one temperature at all.
For finite systems one must specify the entropy convention and energy resolution; surface and fluctuation corrections can distinguish definitions that agree in the ordinary thermodynamic limit. Bounded-energy population-inverted systems can also have a negative entropy derivative and hence a negative statistical temperature. That possibility lies outside an ordinary positive-temperature ideal-gas thermometer; it does not mean temperature is merely an arbitrary average kinetic energy.
Obtaining the energy–temperature conversion. The Boltzmann constant connects entropy measured in with the dimensionless logarithm of a state count. Historically it could be determined from the ideal gas law : measure the molar gas constant and independently determine the Avogadro constant , then obtain . The independent particle-number determination matters; using alone would not fix energy per particle.
An electrical method uses Johnson-Nyquist noise. A resistor of resistance at known temperature has, in the classical range , a one-sided open-circuit voltage-noise spectrum . Over a calibrated flat bandwidth ,A practical measurement uses an equilibrium resistor, a calibrated low-noise amplifier and a known transfer function, subtracts or independently characterizes amplifier noise, and replaces a nominal bandwidth by the actual effective noise bandwidth. Varying temperature and fitting the mean-square voltage is more informative than treating one amplified voltage sample as the thermal variance. Other primary methods relate temperature to sound speed in a dilute gas or to calibrated particle diffusion and mobility.
There is a historically relevant unit-definition qualification: by the date of this exam, the revised SI had already taken effect on 20 May 2019. The kelvin is now defined by fixingThe same experiments now realize or compare thermodynamic temperatures using this fixed constant, whereas historically they measured the conversion constant on an independently defined temperature scale. The physical distinction between equilibrium temperature and microscopic state counting is unchanged.[ref]
https://www.bipm.org/en/measurement-units/. BIPM, SI definitions effective from 20 May 2019 and fixed Boltzmann constant
State degeneracy Created 2026-09-24 Updated 2026-10-13
This counts microstates sharing a macrostate; when the shared quantity is energy, it gives the multiplicity of degenerate energy levels. The degeneracy of a macrostate labelled by is the number of distinct microstates having that value of .
Statistical mechanics 2026-10-13
Statistical mechanics connects microstates to macrostates through probability distributions. Its microcanonical ensemble, canonical ensemble and grand canonical ensemble specify different constraints on exchanges with the surroundings. An ensemble average describes repeated preparations under those constraints; it need not be the value in every individual preparation.
This makes the subject useful whenever tracking every microscopic detail would obscure the question being asked. To predict a heat capacity, we need how the expected value of energy changes with temperature, rather than a record of every unit's state. The partition function packages that calculation into one reusable object.
In his 1902 book, J. Willard Gibbs systematically developed the canonical ensemble. His preface contrasts following one system through time with studying a collection of systems with different microscopic conditions. Chapter IV defines the canonical ensemble through an exponential function of energy and establishes its normalization. This supplied a general strategy for predicting collective measurements by averaging over possible microscopic conditions, with the partition function organizing the calculation. [ref]
https://en.wikisource.org/wiki/Elementary_Principles_in_Statistical_Mechanics. Gibbs, Elementary Principles in Statistical Mechanics (1902), preface
[ref]https://en.wikisource.org/wiki/Elementary_Principles_in_Statistical_Mechanics/Chapter_IV. Gibbs (1902), Chapter IV, equations 90–93





