Hamilton's Equations of Motion

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
4 replies · 12K views
jhat21
Messages
9
Reaction score
0
Here's a quick one:

If the generalized force F is not zero,
does the equation
dH/dq = -pdot

become
dH/dq = F- pdot
?
 
Physics news on Phys.org
dextercioby said:
What have generalized forces have to do with the hamiltonian formulation of dynamics ??
Everything. Hamiltonian dynamics concerns itself with positions and generalized momenta. A generalized force is the derivative of a generalized momentum.
 
Hamilton's equations are always:

[tex]\dot{p} = -\frac{\partial H}{\partial q} = f[/tex]
[tex]\dot{q} & = & \frac{\partial H}{\partial p} = v[/tex]
 
Last edited:
Oh because dL/dq always equals d/dt[ dL/dqdot ]!
no matter what the force is, the force is inclusive in dL/dq
since
L = T - V
and
dL/dq = dT/dq - dV/dq ,
where the force, F = -dV/dq
taking the partial derivative of L w/respect to position q takes care of our generalized force F, so we don't need to write it explicitly in the Hamiltonian equations. it's already covered by the Lagrangian in dL/dq, which we can express as the time derivative of the momentum, pdot.

the idea is that the force is in the Lagrangian!

Then when u derive the Hamiltonian equations from Lagrange's
u have dH/dq = - dL/dq
and using the above observation about dL/dq, we have
dL/dq = d/dt[ dL/dqdot ]

going to inside the brackets we have
dL/dqdot = d/dqdot [ 1/2 m qdot^2] = m qdot = p
which is always - always true.
and that means its time derivative is
d/dt[ dL/dqdot = p ] = pdot

so the conclusion is the same
the equation is always

pdot = - dH/dq

oh my god
dT/dq = 0
it's so obvious
then
dL/dq = F
lol