The classical one-particle partition function, with phase-space cell , is
For the homogeneous trap, rescale . The spatial measure contributes , so
Here , as specified; the last integral is .
Using the printed convention , the free energy is
This convention treats the particles as labeled. For indistinguishable classical particles, adds to . It changes the entropy by but leaves the following force, energy and heat capacities unchanged. This normalization qualification is required to distinguish the printed expression from the usual Gibbs-corrected gas free energy.
The generalized force conjugate to the external parameter is , hence
It is the same equation of state as a hard-wall ideal gas, although now dilates a soft confining potential rather than being the occupied geometric volume.
Writing , thermodynamic differentiation gives
The mean kinetic energy is and the trap potential contributes . At fixed , , so . Consequently
The same result follows from enthalpy . These identities describe the classical ideal gas in a homogeneous soft trap.