Fundamentals / Physics / Thermodynamics and statistical physics / Counting, correlations and thermal measurements

Why macroscopic measurements become reproducible

The same collection of microscopic switches can teach us two different facts about a macroscopic sample. Its mean becomes predictable, and the fluctuations about that mean acquire a particular shape. Derive both statements, then find an experiment in which only the first prediction is reliable at the available sample size.

Start with an experiment that has only two outcomes

A detector records whether one two-level site is excited. Write \(X_i=1\) for an excitation at site \(i\) and \(X_i=0\) for its ground state. For now take the sites to be equivalent and independent, with fixed excitation probability \(0<p<1\). Sites with identical level spacings in a heat bath can share a bias different from \(p=1/2\). For a nondegenerate gap \(\epsilon\) in thermal equilibrium, the ratio \(p/(1-p)=\exp(-\epsilon/k_BT)\) fixes the bias. Even when every site has the same preparation, a single record can contain any count from zero to \(N\).

To obtain exactly \(k\) excitations, first specify one pattern with \(k\) occupied sites. Independence gives its probability \(p^k(1-p)^{N-k}\). There are \(\binom Nk\) ways to select the occupied positions. Thus

\[{\mathbb P}(K=k)=\binom Nk p^k(1-p)^{N-k},\]
\[K=\sum_{i=1}^N X_i.\]

Distinguish this probability from the multiplicity. With four sites and \(p=0.2\), the probability of exactly two excitations is

\[6(0.2)^2(0.8)^2=0.1536.\]

Six is a count of patterns. The factor multiplying it carries information about the physical preparation. A change of temperature changes that factor even though the available patterns stay the same.

Derive a law of large numbers from one inequality

Linearity of expectation gives

\[\mathbb E K=Np,\]

with no requirement of independence. For the variance, expand the square of the deviation as the sum of all pair products. Distinct sites give zero covariance under the present assumptions. Each diagonal term contributes \(p(1-p)\), because \(X_i^2=X_i\). Consequently the measured excited fraction has variance \(p(1-p)/N\). The width of the count grows with \(N\). The width of the fraction shrinks.

Choose an absolute tolerance \(a>0\). On the event that the measured fraction differs from \(p\) by at least \(a\), its squared deviation is at least \(a^2\). Keeping only that event in the expectation of the nonnegative square gives

\[\mathbb P\!\left(\left|K/N-p\right|\geq a\right)\leq\frac{\mathbb E(K/N-p)^2}{a^2}=\frac{p(1-p)}{Na^2}.\]

At fixed \(a\) the upper bound tends to zero. This proves convergence in probability for the measured fraction. It gives a conservative guarantee even if little else is known about its distribution. At \(p=1/2\), \(a=0.05\), \(N=1000\), the bound is 0.1. It is a limit on a probability, and substituting it as the probability of failure would discard information we actually possess about these sites.

Find the shape hidden by the concentration bound

For the count itself, magnify deviations on their natural scale. Set \(\sigma=\sqrt{p(1-p)}\), \(Y_i=(X_i-p)/\sigma\) and \(Z_N=N^{-1/2}\sum Y_i\). Now \(\mathbb E Y_i=0\) and \(\mathbb E Y_i^2=1\). The characteristic function \(\phi(t)=\mathbb E e^{itY_i}\) encodes moments in its Taylor series. In this bounded two-state example its first three terms yield

\[\phi(t)=1-t^2/2+O(|t|^3).\]

The missing linear term follows from centring. At \(p=0\) or \(p=1\) the count is already fixed and its zero standard deviation makes this rescaling undefined.

Independence turns the characteristic function of the sum into a product. Each argument gets divided by \(\sqrt N\), while each of the \(N\) factors is identical. Taking logarithms turns this product into

\[\ln\mathbb E e^{itZ_N}=N\ln\phi(t/\sqrt N)=-t^2/2+O(|t|^3/\sqrt N)\quad\text{for fixed }t.\]

The limit \(e^{-t^2/2}\) is the characteristic function of the unit normal density. The continuity theorem for characteristic functions therefore gives convergence in distribution to a standard normal. This statement concerns the probabilities of scaled intervals. A normal random variable assigns zero probability to any single value, whereas a finite count assigns positive probability to integer bins. To compare them in an experiment, integrate the normal density over each bin from \(k-1/2\) to \(k+1/2\) in the original count coordinate. Probability outside the physical range is a visible defect of the approximation for small samples.

The first correction predicts which experiment will look asymmetric

For one Bernoulli site the centred third moment equals \(p(1-p)(1-2p)\). In the sum, terms with any singly occurring independent centred factor vanish. Thus the third centred moment of the count grows as \(N\), while its standard deviation cubed grows as \(N^{3/2}\). Their ratio is

\[\gamma_1=\frac{1-2p}{\sqrt{Np(1-p)}}.\]

A rare excitation produces a longer upper tail. For \(N=20,p=0.05\), even an entirely empty detector has probability \(0.95^{20}\simeq0.3585\). Here a symmetric curve extends into a physically impossible negative count and may miss the leftmost bin. At \(N=20,p=1/2\) the skewness vanishes exactly by reflection symmetry. Finite support and discreteness still matter, particularly in the far tails. Increasing \(N\) while reducing the excitation probability to \(p_N=1/N\) describes a different limit. The mean count stays at one and the empty-bin probability \((1-1/N)^N\) tends to \(e^{-1}\). A Poisson count of mean one describes this rare-event limit.

Compare a detector with one expected excitation and a detector with twenty. The displayed normal-bin probabilities use the same mean and variance as the exact count. Identify the bin with the largest absolute discrepancy. A small central discrepancy alone gives little information about a very small tail probability.

Changing the physics can change the scaling

Now imagine observing the same slowly fluctuating site at evenly spaced times. Centring removes its mean without removing memory. If the sequence is stationary with lag-\(h\) covariance \(C(h)\), then expanding the variance of the sample mean once more gives

\[\operatorname{var}(\bar X)=\frac{1}{N}\left[C(0)+2\sum_{h=1}^{N-1}(1-h/N)C(h)\right].\]

There are \(N-h\) pairs at separation \(h\) in either order. Positive correlations inflate the variance compared with independent observations. For \(C(h)=C(0)\rho^h\), \(0\leq\rho<1\), and a record long compared with the correlation time, the bracket tends to \(C(0)(1+\rho)/(1-\rho)\). With \(\rho=0.9\), roughly nineteen records contain the information of one independent record for estimating the mean. Dividing the same observation interval into more samples need not buy nineteen times the information.

A different failure comes from the single-site law itself. A standard Cauchy variable has characteristic function \(e^{-|t|}\) and has no finite variance or mean. The characteristic function of the arithmetic average of \(N\) independent Cauchy readings is \((e^{-|t|/N})^N=e^{-|t|}\). The average has exactly the original spread at every sample size. Identify the physical observable and its tail behaviour before assigning the familiar square-root error bar.

Tutorial on counting, fluctuations and experimental design

1. Size an equilibrium sample. For sites prepared with \(p=0.2\), the measured excited fraction should have standard deviation no greater than 0.01. An instrument can instead measure repeated copies with the same gap. How many independent readings suffice, and how does this differ from a guarantee that every report is within 0.01?

Calculate the required number

The variance criterion is \(0.2(1-0.2)/N\leq10^{-4}\), giving \(N\geq1600\). It supplies one standard deviation. It leaves a finite probability of larger deviations. Chebyshev's inequality alone would require 32,000 readings to guarantee that the probability of a deviation of at least 0.01 is at most 0.05. If 0.2 is only a pilot estimate, a guarantee valid for any preparation uses \(p(1-p)\leq1/4\), giving 2,500 and 50,000 readings for the two requirements.

2. Test a tail. At \(p=0.05,N=20\), approximate the probability of no excitations in two ways. First calculate it exactly. Then use the normal probability contained between −0.5 and 0.5.

Separate the empty bin from a negative count

The exact value is 0.35849. The mean is 1 and the standard deviation is

\[\sqrt{0.95}=0.97468.\]

The standardised boundaries are about −1.539 and −0.513, yielding approximately 0.242. The same discrete event can be written as \(K\leq0\). Applying a one-sided continuity correction to that cumulative probability gives \(\Phi((0.5-1)/0.97468)\simeq0.3040\). The difference of 0.0619 is the Gaussian probability below −0.5. The exact detector has no bins there. The plot integrates over individual finite bins, so its empty-bin value is 0.2421.

3. Identify shared noise. One hundred identical thermometers each have independent zero-mean noise of standard deviation 0.20 K. All share a random calibration offset with zero mean and standard deviation 0.10 K. What is the standard deviation of the mean reading under repeated calibration?

Keep the common contribution

Write \(X_i=T+B+\eta_i\), with \(B\) independent of the individual noises. The average contains \(B\) exactly once and the mean of all \(\eta_i\). Its variance is \(0.10^2+0.20^2/100=0.0104\,{\rm K}^2\), so the standard deviation is about 0.102 K. Collecting more readings under the same calibration can only shrink the second term.

4. Keep the units when converting a fluctuation. Fifty independent sites have an energy gap of 3 meV. At one temperature, one quarter of the sites are typically excited. Find the mean excitation energy of the whole sample and its standard deviation.

Convert the count to energy

The energy relative to the all-ground state is \(E=\epsilon K\). Hence

\[\langle E\rangle=3(50)(0.25)=37.5\,\mathrm{meV},\]
\[\sigma_E=3\sqrt{50(0.25)(0.75)}=9.19\,\mathrm{meV}.\]

The standard deviation of the sample energy per site is 0.184 meV. Which of these the detector reports determines whether the measured width grows or shrinks as additional sites are included.

Fließbach places mathematical statistics before the construction of the statistical ensembles. The publisher's contents for Statistische Physik identify this starting point. Continue to the finite-reservoir experiment to see how conservation couples the recorded counts.