# Adiabatic Invariant of the simple pendulum

I don't understand something about the adiabatic invariant in Tomonaga book that I discuss below.

(Page 22&23)in calculating the increase of energy(5.9) we only consider the oscillation energy and skip the gravitianol potential energy but why in calculate energy(5.10) we consider both of them not only the oscillation energy?