The question is the very last sentence at the end of this post. In this post, I'll first show that the Hamiltonian is conserved since it does not have explicit dependence on time and then show that the Hamiltonian is not conserved since when directly calculate, the derivative is found not to vanish. A bead is threaded on a friction-less vertical wire loop of radius R. The loop is spinning w.r.t. a fixed axis shown in the figure at a constant angular speed ω. The Lagrangian is given by
L=12˙θ2R2+12R2sin2θω2+gR(cosθ−1)
The equation of motion:
¨θ=sinθcosθω2−gRsinθ
Since the Hamiltonian is given by H=12˙θ2R2+12R2sin2θω2−gR(cosθ−1), we see that there is no explicit dependence on time; therefore we expect that the Hamiltonian is conserved. However, when we directly compute the total derivative of the Hamiltonian, we can see that the derivative is not zero:˙H=˙θ(¨θR2+R2sinθcosθω2+gRsinθ)=2˙θR2sinθcosθω2,
Concern:Something is clearly missing here. I hope that some other people can help point out some mistake that I've made in the above reasoning.
Answer
The Hamiltonian H(θ,pθ) needs to be formulated in terms of the coordinate θ and its canonically conjugate momentum pθ=∂L∂˙θ=R2˙θ. The correct expression for the Hamiltonian is H(θ,pθ)=pθ˙θ(θ,pθ)−L(θ,˙θ(θ,pθ))=p2θ2R2−12R2sin2(θ)ω2−gR(cos(θ)−1)
where you have to be careful with the signs (note the differing sign for the second term compared to yours). If you take the same expression with dependence on ˙θ instead of pθ, it is not the Hamiltonian, but merely some expression which is often the energy.For general Hamiltonian systems with time-independent Hamiltonian on coordinates q with momenta p we have the following: Since the Hamiltonian is not explicitly time-dependent, its derivative vanishes upon use of the Hamiltonian equations of motion ˙p=−∂H∂q∧˙q=∂H∂p
for a Hamiltonian trajectory (q(t),p(t)) since plugging this into dHdt=∂H∂p˙p+∂H∂q˙qgives zero regardless of the actual form of the equations of motion. If you get a different result, you simply made an error in your calculations somewhere, it cannot happen that the Hamiltonian is not constant along a trajectory that is a solution of the equations of motion.Since the Hamiltonian equations of motion are equivalent to the Lagrangian equations of motion in this (unconstrained) case, it must also be constant if expressed in the Lagrangian generalized velocities instead of the momenta.
No comments:
Post a Comment