Hamiltonian Qn Homework: Find T+U is Not Equal

  • Thread starter Thread starter derrickb
  • Start date Start date
  • Tags Tags
    Hamiltonian
Click For Summary
SUMMARY

The discussion centers on the Hamiltonian formulation in classical mechanics, specifically addressing the condition under which the simple form H=T+U holds true. It is established that this relationship is valid only when generalized coordinates are "natural," meaning they are independent of time. In cases where this is not true, the Hamiltonian must be derived using the equation H=Ʃpq'-L. The example provided illustrates that for a ball in a moving railroad car, the Hamiltonian calculated does not equal T+U, emphasizing the necessity of using an inertial frame for accurate results.

PREREQUISITES
  • Understanding of Hamiltonian mechanics
  • Familiarity with generalized coordinates
  • Knowledge of Lagrangian mechanics, specifically L=T-U
  • Basic principles of classical mechanics, including inertial frames
NEXT STEPS
  • Study the derivation of the Hamiltonian from Lagrangian mechanics
  • Learn about the implications of non-natural generalized coordinates
  • Explore the concept of inertial frames in classical mechanics
  • Investigate the role of sign conventions in Hamiltonian formulations
USEFUL FOR

This discussion is beneficial for physics students, educators, and researchers focusing on classical mechanics, particularly those studying Hamiltonian dynamics and Lagrangian formulations.

derrickb
Messages
21
Reaction score
0

Homework Statement


The simple form H=T+U is true only if your generalized coordinates are "natural"(relation between generalized and underlying Cartesian coordinates is independent of time). If the generalized coordinates are not natural, you must use the definition H=Ʃpq'-L. To illustrate this point, consider the following: Two children are playing catch inside a railroad car that is moving with varying speed V along a straight horizontal track. For generalized coordinates you can use the position(x,y,z) of the ball relative to a point fixed in the car, but in setting up the Hamiltionian you must use coordinates in an inertial frame-a frame fixed to the ground. Find the Hamiltonian for the ball and show that it is not equal to T+U (neither as measured in the car, nor as measured in the ground-based frame).


Homework Equations


L=T-U
H=Ʃpq'-L
Px=\frac{dL}{dx'}
Py=\frac{dL}{dy'}
Pz=\frac{dL}{dz'}

' is time derivative in this case

The Attempt at a Solution


T=.5m(x'2+y'2+z'2)
U=mgz; z is the vertical axis
L=.5m(x'2+y'2+z'2)-mgz

Px=mx'
Py=my'
Pz=mz'
Pv=mv

H=Ʃpq'-L
H=Pxx'+Pyy'+Pzz'+Pvx'-.5m(x'2+y'2+z'2)+mgz
H=Px(Px/m)+Py(Py/m)+Pz(Pz/m)+mv(Px/m)-.5m(x'2+y'2+z'2)+mgz

If I continue this way, I end up with
H=(Px2+Py2+Pz2)/(2m)+Pxv+mgz
but the correct answer is
H=(Px2+Py2+Pz2)/(2m)-Pxv+mgz

Does anyone see where I went wrong, or is my answer correct, just with different sign convention?
 
Physics news on Phys.org
Shouldn't your expression for T depend on V?
 

Similar threads

Replies
12
Views
3K
Replies
6
Views
4K
Replies
9
Views
8K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K