If the canonical variables are not all independent, but are connected by auxiliary conditions of the form
ψk(qi,pi,t)=0,
show that the canonical equations of motion can be written
∂pi∂H+k∑λk∂pi∂ψk=q˙i,∂qi∂H+k∑λk∂qi∂ψk=−p˙i,
where the λk are the undetermined Lagrange multipliers. The formulation of the Hamiltonian equations in which t is a canonical variable is a case in point, since a relation exists between pn+1 and the other canonical variables:
H(q1,…,qn+1;p1,…,pn)+pn+1=0.
Show that as a result of these circumstances the 2n+2 Hamilton's equations of this formulation can be reduced to the 2n ordinary Hamilton's equations plus Eq. (8.41) and the relation
λ=dθdt.
Note that while these results are reminiscent of the relativistic covariant Hamiltonian formulation, they have been arrived at entirely within the framework of nonrelativistic mechanics.