Introduction to Hamiltonian Systems

Example 1: Mass on a spring with no friction

Total energy is conserved

Hamilton's equations

The Hamiltonian

Hamilton's equations

In general:

For the spring

Taking the partial derivatives of gives back our equations of motion:

Phase space trajectories

Initial position =

Parameters

Example 2: Pendulum with no friction

Pendulum phase space

Initial state
Parameters

Liouville's theorem: spring

Area of the disk:

Liouville's theorem: pendulum

Area of the disk:

Spring with damping

Initial position =

Parameters
  • — damping coefficient

The system (no longer Hamiltonian):

where we have an additional force, proportional to the velocity:

Example 3: Double pendulum with no friction

Double pendulum phase space

Each plane is a projection of the 4D phase space, so the trails can cross even though trajectories in phase space never do.

Initial state
Parameters

Energy =

Chaos: double pendulum