The characteristic vector field is a divergence-free vector field:
The Jacobian determinant obeys , with . Thus the flow preserves phase-space volume, the Liouville theorem in Hamiltonian mechanics. Changing variables and using (i) gives
This applies on intervals where the flow is a diffeomorphism of the phase space and the integrals are defined; for finite conservation statements require integrability. For instance compactly supported initial data and give the usual setting. An arbitrary smooth need not make these integrals finite on infinite-volume space, and merely smooth does not exclude escape of characteristics to infinity. Equivalently , with no flux through infinity, proves the same Casimir invariant of a transport equation conservation.