A Hamiltonian system is a dynamical system governed by Hamilton's equations. In physics, this dynamical system describes the evolution of a physical system such as a planetary system or an electron in an electromagnetic field. These systems can be studied in both Hamiltonian mechanics and dynamical systems theory.
Informally, a Hamiltonian system is a mathematical formalism developed by Hamilton to describe the evolution equations of a physical system. The advantage of this description is that it gives important insight about the dynamics, even if the initial value problem cannot be solved analytically. One example is the planetary movement of three bodies: even if there is no simple solution to the general problem, Poincaré showed for the first time that it exhibits deterministic chaos.
Formally, a Hamiltonian system is a dynamical system completely described by the scalar function , the Hamiltonian. The state of the system, , is described by the generalized coordinates 'momentum' and 'position' where both and are vectors with the same dimension N. So, the system is completely described by the 2N dimensional vector