The diagonal matrix element combines the equal-endpoint Euclidean oscillator path with its endpoint-independent Dirichlet oscillator fluctuation determinant. It is not itself a normalized probability density: its integral is the canonical partition function . The normalized position probability density is
At high temperature, the variance approaches as in the classical canonical ensemble. At zero temperature, it approaches , the ground state variance. Dividing by cancels its entire fluctuation prefactor.
Put , the interval of imaginary time, and assume . For a variation with , the first variation of the Euclidean action is
The boundary term vanishes. The fundamental lemma of the calculus of variations therefore gives the Euler-Lagrange equation
Its sign differs from the real-time harmonic oscillator equation because the Euclidean action contains positive kinetic energy and positive potential energy. The general solution is . Applying the two endpoint conditions gives and . Equivalently, the equal-endpoint Euclidean oscillator path is
This form displays reflection about the midpoint and satisfies both endpoints immediately. On this path,
Thus the Euclidean action reduces to a boundary term. Since and ,
The positive quadratic form is the second variation, so this stationary path is the unique minimum, rather than merely an arbitrary stationary point.
Because at , the factor cancels from the ratio. Write and . The exact answer is
At high temperature, . Expanding the hyperbolic tangent gives
The displayed leading expression is the ratio of classical Boltzmann factors for potential energy and . Indeed the classical canonical ensemble gives
The momentum Gaussian integral is independent of and cancels in the ratio. This is the classical phase-space limit of the thermal kernel. Here , with the Boltzmann constant; the associated classical position variance is . At fixed , ultimately tends to one as temperature tends to infinity, while its width grows.
At low temperature, . Now , so at fixed
Unlike the classical high-temperature expression, this limiting width remains nonzero at zero temperature, reflecting the ground state of the quantum harmonic oscillator.
Figure 1.
Imaginary-time stationary paths and the crossover of the diagonal thermal kernel
. Original plots of the equal-endpoint Euclidean oscillator path and the diagonal thermal kernel of a quantum harmonic oscillator, divided by its value at zero. Increasing lowers the temperature: the path spends more of its interior near zero, and the ratio approaches the finite-width ground state profile. Details.