Generalized coordinates basic question

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 1K views
nomadreid
Gold Member
Messages
1,779
Reaction score
258
From "A Student's Guide to Langrangins and Hamiltonians", Patrick Hamill, Cambridge, 2017 edition.
Apologies: since I do not know how to put dots above a variable in this box, I will put the dots as superscripts. Similarly for the limits in a sum.
On page 6,
"we denote the coordinates by qi and the corresponding velocities by qi."
Further he terms pi the generalized momenta.
Then, on page 97, using L as the Lagrangian,
" H(qi, pi, t) = ∑i=1npiqi - L(qi, qi,t)" [equation (4.8)]
The function H is called the Hamiltonian...Keep in mind that the Hamiltonian must be expressed in terms of the generalized momentum. An expression for H involving velocities is wrong." (Italics in the original.)

But it is not clear to me why equation 4.8 is not also in terms of velocities, i.e., qi

(Perhaps this should be a mathematics threads rather than a QM thread; I place it here because of the context.)
 
Physics news on Phys.org
But the book is in fact right. For the Hamiltonian formulation of Hamilton's principle the Hamiltonian must be expressed in terms of generalized coordinates and their canonical momenta, not generalized velocities. The Lagrangian formulation deals with the generalized coordinates and their assiciated generalized velocities. Of course you can use any form of "mixture", which is due to Routh. It's rarely found in modern textbooks, and I've never found any application which is easier solved using this most general description than with Lagrange or Hamilton. If you are interested in it, you find it in Sommerfeld's Lectures on Theoretical Physics, vol. 1 (which book series I cannot recommend enough; for me it's the master piece in theoretical-physics textbook writing which sets the very high standard of any text-book writing in this field).
 
Obviously, you can convert back and forth between momenta and velocities. But in Hamiltonian dynamics, the Hamiltonian serves a role beyond its numerical value (which is of course, not changed by substituting velocities for momenta or vice-versa). The Hamiltonian equations of motion are (I'm just going to use a single variable, [itex]x[/itex] and the corresponding momentum, [itex]p[/itex]. The generalization to multiple generalized coordinates and momenta is straight-forward.)
  1. [itex]\frac{dx}{dt} = \frac{\partial H}{\partial p}[/itex]
  2. [itex]\frac{dp}{dt} = - \frac{\partial H}{\partial x}[/itex]
In order to compute the partial derivatives on the right side of the equalities, you have to write [itex]H[/itex] in terms of [itex]x[/itex] and [itex]p[/itex]

So there's really four steps in obtaining the hamiltonian:
  1. First, compute the momentum as a function of position and velocity, using the Lagrangian: [itex]p = \frac{\partial L}{\partial \dot{x}}[/itex]
  2. Use that to compute the velocity as a function of position and momentum: [itex]\dot{x} = F(x,p)[/itex]
  3. Then, compute the "mixed" expression: [itex]H(x,p,\dot{x}) = p \dot{x} - L[/itex]
  4. Finally, use the result of 2 to rewrite all occurrences of [itex]\dot{x}[/itex] in terms of [itex]p[/itex] and [itex]x[/itex], to get an expression: [itex]H(p,x)[/itex] that only involves [itex]p[/itex] and [itex]x[/itex]
 
  • Like
Likes   Reactions: vanhees71, nomadreid and Nguyen Son
Thanks, stevendaryl, for the very helpful and complete answer.
Thanks also vanhees71; I will keep the recommended book in mind if I find a way to freely access it.