Assign a weight to each configuration
Picture a thermally agitated bead wandering across two valleys. A sequence of photographs shows which locations occur most often. At equilibrium, a small cell of low energy usually appears more frequently. Finding the population of an entire valley requires adding the probabilities of all its cells.
The configuration coordinates increase to the right and upward. They may represent scaled molecular deformations. The potential energy is , the temperature is , and , with Boltzmann constant . A probability density becomes a probability after multiplication by a small area. The partition function normalizes the total probability.
Source: PLUMED Masterclass 21.2 · Michael R. Shirts and John D. Chodera
Two boxes are enough to see entropy
Worked example: box A contains two distinguishable configurations of zero energy. Box B contains eight, each higher by . Box A has total weight two. Each configuration in B has weight one half, giving total weight four. The higher-energy box therefore has probability two thirds.
For equal-energy configurations the entropy is . Free energy compares the total weights. Here B has free energy lower than A by . The negative difference reflects its greater population.
The width of a continuous valley plays the same role as the number of discrete configurations. Width means volume in configuration space. Entropy depends on actual configuration-space volume; line thickness is a drawing choice.
| Box | Configurations | Weight per configuration | Population |
|---|---|---|---|
| A | 2 | 1 | |
| B | 8 |
Add a whole slice when projecting
A camera reporting only combines every possible at that coordinate. This sum gives the marginal density . Its negative logarithm, multiplied by thermal energy, defines the projected free energy . An arbitrary constant sets the vertical zero.
Suppose locally and the transverse domain is wide enough to extend the integral over the real line. A Gaussian integral gives . A stiffer, narrower cross-section raises the free energy. The minimum-energy curve omits this contribution. A finite box instead requires its actual integration limits.
A different coordinate asks a different question
Rotate the viewing direction through angle and define . A collective variable summarizes configurations with a few numbers. Each value here labels a slanted slice. One direction separates two valleys; another can stack them on top of each other. A flatter projected curve may then conceal a slow crossing.
Even a monotone change of scale matters. If , conservation of probability gives . State the coordinate measure before comparing pointwise barriers. Integrated probabilities of corresponding regions survive this relabeling.
The two-coordinate landscape used along the course
Our numerical examples use the reflecting square . Coordinates, energy and time are dimensionless, with default thermal energy one. Parameters set two double-well barriers, couples the coordinates and tilts the landscape. Defaults are , and . This teaching model can be integrated independently.
A reference curve sums Boltzmann weights over a two-dimensional grid. A trajectory estimate uses the positions actually visited by the bead. Their agreement tests the selected projected occupancy. Hidden conditional distributions require another check.