Interactive · The most likely distribution

ε = 0ε = 1ε = 2ε = 3ε = 4ε = 5share of particlesBoltzmannyour rivalsame particles, same average energy (1.20)

Every rival has less entropy, so fewer ways to arrange the particles. With only a handful of particles, though, it is not much less likely: fluctuations are large when N is small.

Entropy, Boltzmann1.481the largest possible
Entropy, your rival1.460
Rival as likely as Boltzmann0.11 ×e^(−N ΔS)

The same formula, pᵢ = e−βεᵢ/Z, is the softmax that ends almost every neural network classifier, with the network’s scores in place of −εᵢ and β as an inverse temperature.

Particles sharing six energy levels at a fixed average energy. Among every division that keeps the number of particles and the average energy, the Boltzmann shares have the most entropy. Make a rival that keeps both constraints and its entropy is always lower; with N particles it is about e^(−N ΔS) times as likely, which for a gas means never.