7.8: Generalized energy theorem
( \newcommand{\kernel}{\mathrm{null}\,}\)
The Hamilton function, (7.7.6) plus equation (7.7.4) lead to the generalized energy theorem
dH(q,p,t)dt=dh(q,˙q,t)dt=∑j˙qj[QEXCj+m∑k=1λk∂gk∂qj(q,t)]−∂L(q,˙q,t)∂t
Note that for the special case where all the external forces [QEXCj+∑mk=1λk∂gk∂qj(q,t)]=0, then
dHdt=−∂L∂t
Thus the Hamiltonian is time independent if both [QEXCj+∑mk=1λk∂gk∂qj(q,t)]=0 and the Lagrangian are time-independent. For an isolated closed system having no external forces acting, then the Lagrangian is time independent because the velocities are constant, and there is no external potential energy. That is, the Lagrangian is time-independent, and
ddt[∑j(˙qj∂L∂˙qj)−L]=dHdt=−∂L∂t=0
As a consequence, the Hamiltonian H(q,p,t), and generalized energy h(q,˙q,t), both are constants of motion if the Lagrangian is a constant of motion, and if the external non-potential forces are zero. This is an example of Noether’s theorem, where the symmetry of time independence leads to conservation of the conjugate variable, which is the Hamiltonian or Generalized energy.