Liouville's theorem provides a local conservation law for representative points in phase space of a dynamical system. It states that the density of representative points near a point in phase space is constant in time. In other words, state density is stationary and representative points behave like an incompressible fluid, in that their density does not change in time.
> where the curly braces are [[Poisson brackets|Poisson brackets]] between $\rho$ and the [[Hamiltonian|Hamiltonian]]. Alternatively, we can write > $$\frac{ \partial \rho }{ \partial t } =\{ H,\rho \}> where the number is given by integrating the number density over $\omega$ and $d\omega=d^{3N}qd^{3N}p$. Calling $\mathbf{v}=(\dot{p}_{1},\ldots,\dot{p}_{3N},\dot{q}_{1},\ldots,\dot{q}_{3N})$ the velocity of a representative point, we have, by the [[continuity equation]], > $$- \frac{ \partial }{ \partial t } \int_{\omega}\rho\ d\omega=\int_{\sigma}\mathbf{\hat{n}}\cdot \mathbf{v}\ \rho\ d\sigma\tag{1}This means that the number of representative points in phase space is conserved, both globally and in a given volume.
> Combining $1$ and $2$ we get > $$\frac{ \partial }{ \partial t } \int_{\omega}\rho\ d\omega=-\int_{\omega}\nabla\cdot\mathbf{(\rho \mathbf{v})}\ d\omega \quad\to \quad \int_{\omega}\left( \frac{ \partial \rho }{ \partial t } +\nabla\cdot\mathbf{(\rho \mathbf{v})} \right)\ d\omega=0where is the normal vector from the surface. This is the outflow of representative points from (the decrease in contained points is equal to the number of points passing through the boundary). Then, using the divergence theorem, we get
> This is the continuity equation for representative points. The [[Divergence]], when written explicitly in this space, reads > $$\nabla\cdot\mathbf{(\rho \mathbf{v})}=\sum_{i=1}^{3N} \left[ \frac{ \partial }{ \partial q_{i} } (\rho \dot{q}_{i})+ \frac{ \partial }{ \partial p_{i} } (\rho \dot{p}_{i}) \right]=\underbrace{ \sum_{i=1}^{3N} \left[ \frac{ \partial \rho }{ \partial q_{i} }\dot{q}_{i} +\frac{ \partial \rho }{ \partial p_{i} }\dot{p}_{i} \right] }_{ \{ \rho,H \} }+\rho\sum_{i=1}^{3N} \left[ \underbrace{ \frac{ \partial \dot{q}_{i} }{ \partial q_{i} } +\frac{ \partial \dot{p}_{i} }{ \partial p_{i} } }_{ 0 } \right]Recall that was completely arbitrary. We have proven that this integral vanishes for , and so it must vanish for any , and therefore anywhere in phase space. But for an integral to vanish anywhere, in any subset of space, it must be the integral of zero. So
> which completes the proof. As an additional statement, since $\rho=\rho(q,p;t)$, we can merge the former statement into the [[Differential|total derivative]] of $\rho$ and state: > $$\frac{d\rho}{dt}=0The second step is by and expanding the derivatives. By the Hamilton equations of motion, the terms in the second sum are all zero, while the first is the Poisson brackets of and . Using this knowledge in we can state
which is the most straight-forward form of the theorem.
This theorem only holds in conservative systems, i.e. systems where the phase space measure is constant over time
An alternative and equivalent statement from analytical mechanics goes as follows:
> $J$ is the [[Jacobian]] of the transformation. The [[determinant]] of the Jacobian of a univalent canonical transformation is always one. ### Quantum form In quantum physics, the Liouville theorem takes on a similar form. Given a [[Hamiltonian]] $\hat{H}$ and a [[Matrice di densità|density matrix]] $\hat{\rho}$, an equivalent statement isi\hbar \frac{ \partial \rho }{ \partial t } =[\hat{H},\hat{\rho}]
where $[\cdot,\cdot]$ is the [[Commutator|commutator]] and $\hbar$ is the [[Planck constant|reduced Planck constant]]. This follows from the [[Poisson brackets|Poisson brackets]] conversion $\{ \cdot,\cdot \}\to \frac{1}{i\hbar} [\cdot,\cdot]$. ### Examples > [!example] Damped harmonic oscillator > We know that Liouville's theorem only holds for conservatives systems. As a counterpoint, let's examine a non-conservative system to see what happens. Consider a [[Harmonic oscillator|damped harmonic oscillator]] (like a pendulum). It is described by $\dot{q}=p/m$ and $\dot{p}=-\gamma p-k\sin q$, where $\gamma$ is the dampening constant. We have > $$-\gamma=\frac{ \partial \dot{p} }{ \partial p } +\frac{ \partial \dot{q} }{ \partial q } =0> We want to check if the Liouville theorem holds and what $d\rho/dt$ is. To do so, we want to see if there exist a Hamiltonian for which the following holds: > $$\frac{ \partial ^{2}H }{ \partial q\partial p } =\frac{ \partial \dot{q} }{ \partial q } ,\qquad \frac{ \partial ^{2}H }{ \partial q\partial p } =\frac{ \partial \dot{p} }{ \partial p }and the Hamilton equations
> With some mathemagics we get > $$\frac{ \partial \rho }{ \partial t } =-\frac{ \partial }{ \partial q } (\rho \dot{q})-\frac{ \partial }{ \partial p } (p \dot{p})=-\frac{ \partial \rho }{ \partial q } \dot{q}-\frac{ \partial \rho }{ \partial p } \dot{p}-\rho\left( \frac{ \partial \dot{q} }{ \partial q } + \frac{ \partial \dot{p} }{ \partial p } \right)(TODO: Apparently we proved this, idk)
To find we use the continuity equations, which is always true, so
Since we know and this becomes