Can both Lagrangian and Hamiltonian formalisms lead to different solutions?
I have a simple system described by the Lagrangian L(η,˙η,θ,˙θ)=η˙θ+2θ2.
But when I obtain one of the equations of motion from the Hamiltonian (via Legendre transformation), H=(∂L∂˙η)˙η+(∂L∂˙θ)˙θ−L=−2θ2,
Can someone give a proper explanation for this inconsistency? Am I doing something wrong here?
Answer
The problem here is that, because there exist constraints of the form f(q,p)=0, the phase space coordinates of the usual Hamiltonian formulation aren't independent. I'm not sure how you encountered this Lagrangian, but this issue is a common hiccup in electromagnetism and (if you'll pardon a more obscure example) BRST quantisation. The good news is you can still form a Hamiltonian description equivalent to the Lagrangian one. The trick is to append suitable terms to the "naïve" Hamiltonian, as explained here, and as a result the Poisson brackets are upgraded to what are called Dirac brackets.
For your problem the full Hamiltonian is H=−2θ2+c1pη+c2(pθ−η), where the ci remain to be computed as functions of undifferentiated phase space coordinates. In fact c1=∂H∂pη=˙η=4θ while c2=∂H∂pθ=˙θ=0, so H=−2θ2+4θpη. You can verify this gives you the right equations of motion.
No comments:
Post a Comment