Definition

Let (M,ω)(M,\omega) be a . A Hamiltonian function is a smooth function H:MRH:M\to\mathbb{R}. With the convention

ιXHω=dH,\iota_{X_H}\omega=dH,

the nondegeneracy of ω\omega determines a unique XHX_H, called the of HH. The corresponding is the differential equation γ˙(t)=XH(γ(t))\dot{\gamma}(t)=X_H(\gamma(t)). Thus HH is the scalar function, not the vector field or its flow. Two Hamiltonians differing by a locally constant function generate the same vector field; the converse also holds.

Generated dynamics

Cartan's formula gives LXHω=0\mathcal{L}_{X_H}\omega=0, so every local flow map of XHX_H preserves the symplectic form. Moreover,

ddtH(γ(t))=dH(XH)=ω(XH,XH)=0,\frac{d}{dt}H(\gamma(t))=dH(X_H)=\omega(X_H,X_H)=0,

and hence HH is constant along its own trajectories. These conclusions use only the defining equation and the closedness and skew-symmetry of ω\omega.

Examples and scope

On R2n\mathbb{R}^{2n} with coordinates (qi,pi)(q_i,p_i) and ω=idqidpi\omega=\sum_i dq_i\wedge dp_i, the defining equation yields

XH=i(HpiqiHqipi).X_H=\sum_i\left(\frac{\partial H}{\partial p_i}\frac{\partial}{\partial q_i} -\frac{\partial H}{\partial q_i}\frac{\partial}{\partial p_i}\right).

A constant Hamiltonian generates the zero vector field. A vector field preserving ω\omega need not be globally Hamiltonian: ιXω\iota_X\omega must be exact, not merely closed.

Conventions
References
  1. V. I. Arnol'd, Mathematical Methods of Classical Mechanics, 2nd ed., Springer, 1989. DOI record. Relevant: Chapter 8.
  2. R. Abraham and J. E. Marsden, Foundations of Mechanics, 2nd ed., AMS Chelsea, 2008. DOI record. Relevant: §3.3.