The Hamiltonian is . On a regular family of closed phase-space trajectories, action-angle variables are canonical coordinates in which is periodic modulo and . Hamilton's equations then give and .
The action variable is
The orientation is that of the motion, so the integral is the positive enclosed phase-space area divided by .