Annus Mirabilis · Interactive critical edition in preparation
Independent configurations and the gas analogy
Count the configurations before interpreting the entropy.
Light quanta · §5 statistical microstate counting
Independent configurations and Boltzmann entropy
How counting independent configurations gives an entropy that depends on the volume, and what changes when the positions are locked together.
This experiment is unavailable on this device
CurrentThese numbers match the current settings.
Model note
- Primary outputs configurationProbability, lnW, log10W, deltaSOverKb, expectedTrialsToOne: Host calculation (radiation.independentPointsProbability). Owner radiation.independentPointsProbability.
- Primary outputs sampleFraction, successCount, drawCountAfter: Host calculation (radiation.sampleIndependentPoints). Owner radiation.sampleIndependentPoints.
- Primary output lockedProbability: Host calculation (radiation.lockedPositionsProbability). Owner radiation.lockedPositionsProbability.
- Seed 12345.
- Accepted input revision 1.
- Snapshot version 1.
- Not modeled: Interactions between points.; Gas dynamics or time evolution.; Radiation itself (this is the gas and dilute-solution analogy, not a model of light).; Correlations other than the fully locked case..
Binomial distribution P(k): the chance that k of the 4 points lie inside
The last bar, k = 4, is every point inside: W = P(4) = f4.
Predict before the numbers
Ten independent points move in the box. At a moment picked at random, what is the chance that all ten are in the left half?
Predict before the numbers
Now the ten points are locked together and move as one. What is the chance that all ten are in the left half?
The result appears when you choose, say you have one in mind, or skip.
Worked example: 4 independent points all sit in a fraction 0.5 of the volume with probability 0.5 to the power 4, 0.0625.
Calculated microstate and entropy outputs
| Quantity | Symbolic form | Value | Meaning |
|---|---|---|---|
| Relative state probability | W = (V/V₀)n = fn | 0.06250000 | Probability that all n independent points are found in V |
| Natural logarithm ln W | n ln f | −2.772589 | Proportional to the entropy difference ΔS / kB |
| Dimensionless entropy change ΔS/kB | n ln(V/V₀) | −2.772589 | Matches Wien-regime radiation entropy S − S₀ = (E / hν) kB ln(V/V₀) |
| Base-10 logarithm log₁₀ W | n log₁₀ f | −1.20412 | Order of magnitude (for example 10⁻¹⁸ at n = 60) |
If points wander independently through a box, the chance of finding all of them in its left half at the same moment is one half multiplied by itself once for each point: one in 16 for four points. Einstein turned that chance, through Boltzmann's principle, into the way a gas's entropy depends on its volume, and then read radiation the same way.
§5 of the light-quanta paper takes n points moving in a volume v0, with nothing assumed about how they move except that no part of the space and no direction is preferred, and so few that they do not act on one another. It asks for the probability that, at a moment picked at random, all n are in a part v of the volume, and answers W = (v/v0)n. Boltzmann's principle, S − S0 = (R/N) lg W, then gives S − S0 = R(n/N) lg(v/v0), from which the gas law and the law of osmotic pressure follow. The instrument sets the fraction f = v/v0 and the number n. At its defaults, n = 4 and f = 1/2, W = 1/16 = 0.0625 and the entropy difference is ln W = −2.773 in units of R/N, which is kB. A seeded run of 10 000 random placements, seed 12345, finds all four inside 606 times, a fraction of 0.0606. The enumeration view lists every arrangement of the points among equal cells, 24 = 16 of them here with one favourable, and stops at 220 arrangements rather than freeze the page. For large n the chance is too small to see by sampling: at n = 60 it is 8.67 × 10−19, one success in about 1.2 × 1018 tries, so the logarithmic view states log10 W = −18.06 instead. Locking the points into one group makes W = f = 1/2 whatever n is, which shows that the exponent n comes from the independence of the points, not from how many labels there are. In §6 Einstein reads radiation's entropy in the same form, with E/(Rβν/N) in the place of n.
Take one point first. It moves about the whole volume v0, and no part of the volume is preferred, so at a moment chosen at random it is in the part v with probability v/v0, the fraction of the volume that part occupies. Call that fraction f; for the left half, f = 1/2. Now take a second point that moves independently of the first. Independently means that where the first point is tells you nothing about where the second is, and for independent events the probability that both happen is the product of their probabilities: f × f = f². Each further point multiplies by f again, so for n points W = fn. With four points and half the volume, W = (1/2)4 = 1/16 = 0.0625. A sampler checks this: it places the four points at random 10 000 times and counts the placements with all four on the left, expecting about 10 000/16 = 625. With seed 12345 it finds 606, a fraction of 0.0606, within the ordinary scatter of such a count, whose standard deviation is √(10 000 × 0.0625 × 0.9375) ≈ 24. The enumeration view reaches the same number by counting. Divide the box into two equal cells; each of the four points can be in either, which makes 2 × 2 × 2 × 2 = 16 equally likely arrangements, and exactly one has all four on the left. Now the entropy. Boltzmann's principle says S − S0 = (R/N) lg W, where lg is Einstein's natural logarithm, R the gas constant and N the number of molecules in a gram-molecule, so R/N is Boltzmann's constant kB. The logarithm of a power brings the power down in front, lg fn = n lg f, so S − S0 = (R/N) n lg(v/v0). For four points and half the volume that is 4 × lg(1/2) = −2.773 in units of R/N. Squeezing the points into a smaller part lowers the entropy, as compressing a gas does. The same arithmetic for n = 60 gives 60 × lg(1/2) = −41.59, so W = e−41.59 = 8.67 × 10−19. The sampler finds nothing in 10 000 tries because the expected number of successes, 10 000 × 8.67 × 10−19, is far below one, which is why the logarithmic view states log10 W = −18.06 instead of waiting for an event. Last, lock the points together so that they move as one. Now one placement decides all of them, W = f = 1/2 for any n, and the entropy change is lg(1/2), as for a single point. The coefficient in front of the logarithm counts independent placements, and §6 uses exactly that: radiation's entropy has E/(Rβν/N) in that place, so it behaves as that many independent quanta.
The phrase statistical probability is Einstein's own. §5 opens by objecting that entropy calculations often fix cases of equal probability by hypothesis, and promises a separate paper; here the probability is that of finding the state at a moment picked at random. He remarks that the derivation needs no assumption about the law by which the molecules move. The relation as usually written, S = k log W, and the constant k are Planck's, from 1900 and 1901; Boltzmann's 1877 work related entropy to the number of ways a state can be realized without that notation, and Einstein writes R/N. §6 applies the result to radiation of low density, in the range where Wien's law holds, and draws the heuristic conclusion that gives the paper its title. The locked group is a counterexample authored for this site, not a model Einstein discussed.
The explanation
Full explanation
Change the subvolume fraction and compare independent positions with locked positions. Inspect the probability and its logarithm rather than treating a small probability as an impossible event.
Show every step of the investigation
Start with one point, increase the point count, then lock the positions. Compare the resulting volume dependence. The counting argument is a premise for the radiation analogy, not by itself a demonstration of light quanta.
An explanatory model, not an observation of nature. This embed starts from the laboratory’s worked defaults, not a saved run. Presentation options change the surrounding guide, never the numerical inputs.