In a mechanical system with a defined number of parts, the phase space has n generalized coordinates called q 1,... q n, and n associated canonical momenta called p 1,... p n. The ensemble is then represented by a joint probability density function ρ (p 1,... p n, q 1,... q n).