If a physical tension acts on a state of extension , its mechanical energy is . The canonical ensemble therefore assigns that state the Boltzmann factor
Comparison with the statistical weight gives
Equivalently, is the thermodynamic conjugate variable to in the Gibbs free energy, just as pressure is conjugate to volume.