# What would happen if energy was conserved but phase space volume wasn't? (and vice-versa)

I'm trying to understand the relationship between the two conservation laws. As I understand, Liouville's result is a weaker condition: it relies merely on the particular form assumed by Hamilton's equations and their correspondent hamiltonian vector field, while conservation of energy in the hamiltonian formalism requires the Hamiltonian to be explicitly independent of time. I'd go as far as saying it's a deeper principle in this respect.

On the other hand, its direct implications for the trajectories and the motion of particles are quite elusive to me. I've seen mostly physical systems where both energy and phase space volume get conserved and I've seen a bunch of dissipative systems, say a damped oscillator, where both of them aren't conserved. I'm looking for examples somewhere in the middle in order to capture their respective uniqueness: phase space volume preservation but no energy conservation, a hypothetical situation where energy is conserved but Liouville's theorem doesn't hold and so on. I'd rather know an example out of classical mechanics than statistical mechanics, which I know it's where Liouville's theorem comes particularly in handy but I know almost nothing about it, but please go ahead if you think it can shed some light on the matter.

-

Liouville's theorem not only depends on the form of Hamilton's equations but also on the fact that $\partial\rho/\partial t = 0$, where $\rho$ is the statistical distribution function of the system. This is strictly true only for closed systems and is approximately true for quasi-closed systems when not observed for too long a time.

Energy of a system is conserved when its Lagrangian, and therefore also the Hamiltonian, is not explicitly dependent on time. For macroscopic bodies, this will be true only for a closed system and approximately true for a quasi-closed system over a short enough duration of time.

A duration of time is considered long or short on how it compares with the relaxation time of the system. Relaxation time is, roughly, the time the system takes to adjust to its environment.

Thus, both Liouville's theorem and energy conservation are true over the same time scale and under the same conditions. In that sense, they are equivalent.

-