In 1964, Henon and Heiles introduced a model to study the motion of a star through a galaxy with a two-dimensional, non-integrable potential, the result of adding a perturbation to an integrable harmonic potential. This Demonstration shows a plot of the phase-space trajectory and the Poincaré map. This system is an often-cited example of chaotic dynamics.

The equations of motion are , , , and , where and are the coordinates and and are the momenta. The energy is equal to .