Deriving Hamilton's Equations for a Particle: A Non-Physicist's Guide

In summary: The Lagrangian/Hamiltonian approach involves finding the Lagrange's equations for the object. So if you have the trajectory in the coordinate space, then you can solve for the Lagrange's equations. However, if you only have the trajectory, you will not be able to find the Lagrange's equations. You will need to know something about the object to get the Lagrange's equations.
  • #1
gumby55555
3
0
I'm a PhD student (not in physics) working on a research problem where I need to use the Lagrangian/Hamiltonian approach for a problem. Suppose I have a particle/object that I can track the location/trajectory of; is it possible for me to derive or enumerate Hamilton's equations for that object? If so, how would one go about doing it?

The end goal would be to get a trajectory in phase space... I've been trying to read quite a few books but it's been tough going and I can't figure out how to solve the actual problem or how to approach it. Is it possible to take a trajectory from (x,y,t) and get a trajectory in phase space (q,p)?

If you could outline how or refer me to a source that makes it easy for those of us who are dummies in physics, I'd really appreciate it! :)
 
Physics news on Phys.org
  • #2


When you have a trajectory [itex]t\mapsto x(t)[/itex] in the coordinate space, and a Lagrange's function [itex](x,\dot{x})\mapsto L(x,\dot{x})[/itex] fixed, the corresponding trajectory in a phase space is [itex]t\mapsto (x(t),p(t))[/itex], where

[tex]
p(t) = \frac{\partial L(x(t),\dot{x}(t))}{\partial \dot{x}}.
[/tex]

So if you have only a trajectory in the coordinate space, but not a Lagrange's function, you cannot map this trajectory into phase space.

Furthermore, if you have only a one trajectory in the coordinate space, there can be several Lagrange's functions, which would imply this trajectory with Euler-Lagrange equations. So absolutely, there will not be a unique trajectory in phase space for any single trajectory in a coordinate space.

You will need to know something to get the Lagrange's function. For example, if you are only interested in Lagrange's functions of certain form, then a fixed trajectory could fix the Lagrange's function too.
 
  • #3


Thanks so much for your reply, jostpuur... I really appreciate it! I hope you'll excuse my ignorance about some of this but couldn't I use the trajectory, x(t), and compute the [tex]\dot{x}[/tex](t) from that and put that into the Lagrangian to get the phase space trajectory?

I was very intrigued by what you said here, btw:

You will need to know something to get the Lagrange's function. For example, if you are only interested in Lagrange's functions of certain form, then a fixed trajectory could fix the Lagrange's function too.

Could I please inquire as to what the "something" is that might help fix the Lagrange's function? Also, what would be the various forms of the Lagrange's functions? Would they just be the various KE and PE terms for various situations plugged into T - V? Or would they involve some coordinates' transformations, as well?

I'm sorry to ask all these questions and I really appreciate your help! If you'd like to point me to some resources that might help a struggling non-physicist, I'd very much appreciate that, too! I've tried plowing through Goldstein but find that very tough going and it seems like I'd need months to get a handle on this problem via that route. I also got the Schaum's Lagrangian Mechanics problem solver but got overwhelmed with the number and variety of problems and didn't see where they discussed something similar to this. But thanks again... I REALLY appreciate your help! :smile:
 
  • #4


gumby55555 said:
Thanks so much for your reply, jostpuur... I really appreciate it! I hope you'll excuse my ignorance about some of this but couldn't I use the trajectory, x(t), and compute the [tex]\dot{x}[/tex](t) from that and put that into the Lagrangian to get the phase space trajectory?

Since you first only mentioned the trajectory, but not a Lagrangian, I thought that a Lagrangian would not be available in the problem. But if you know what Lagrangian you are using, then you can get the path in the phase space simply by using the definition of the canonical momentum, which is [itex]p=\frac{\partial L}{\partial \dot{x}}[/itex]. It sounds like this is what you mean by your question, so the answer is yes, that is how it goes.

If the problem was merely to recall the definition of the canonical momentum (or the phase space), then it could be I understood incorrectly what kind of problem you have. Try not to get distracted by all of my comments.
 
  • #5


I think the problem might have been my inadequate description, Jostpuur; I guess I should be more specific! We essentially have some tracking data of a particle's position over time in 2-d (actually, of a couple of objects) and I I'd like to transform it to a Lagrangian/Hamiltonian format. I'm trying to see if this is an approach I'd like to pursue or not: i.e., assuming I have the trajectory (x,t) of a particle in two dimensions, how can I get the phase space trajectories and then compare those trajectories. I was sort of assuming, based on the Lagrangian/Hamiltonian approach, that once I have (x, x_dot, t), I should be able to derive the Lagrangian and then use that to come up with the Hamiltonian equations, which should give me the phase space trajectory. But I just cannot figure out how to do the actual problem of deriving the Lagrangian from the trajectory (including going from (x,t) to (x_dot,t)) and I'm not sure where to read or research more about this (I've basically been reading Goldstein and Schaum's Lagrangian Mechanics problem solver).

The end goal would be to get a trajectory in phase space (q,p) (ostensibly using the Lagrangian/Hamiltonian approach) for each of the particles/objects and then to compare them to see what their relationships are in phase space. Is it possible for me to derive or enumerate Hamilton's equations for these objects? If so, how would one go about doing it? I've been trying to read quite a few books but it's been tough going and I can't figure out how to solve the actual problem or how to approach it. Is it possible to take a trajectory from (x,t) and get a trajectory in phase space (q,p)?

The difficulties I see so far are not having a Potential Energy (which we can assume to be zero or gravitational), not having the masses (but we can assume them to be unit mass), and not having any forces or constraints. But I think it should be possible to use the (x,t) to get (x_dot,t), no? And from that, the Lagrangian? Finally, I'm not sure about which change of coordinates to do, if any, for this kind of a problem...

But, if it helps, the data would be something like this for 1-d (I just made up the numbers):

Code:
time, x_position
0, 3
1, 5
2, 8
3, 15
4, 11
5, 17
 

1. What is the significance of Hamilton's equations in physics?

Hamilton's equations are important in classical mechanics as they provide a mathematical framework for understanding the motion of particles in a system. They are derived from the principle of least action, which states that a system will follow the path that minimizes the total action (a measure of energy) over time.

2. How are Hamilton's equations derived?

Hamilton's equations are derived using a method known as Hamilton's principle, which involves finding the path of least action for a system. This involves setting up the Lagrangian function for the system, which is a mathematical expression that describes the system's kinetic and potential energies. By minimizing the action over time, the equations of motion for the system can be found.

3. What is the difference between Hamilton's equations and Newton's laws of motion?

While both Hamilton's equations and Newton's laws of motion describe the motion of particles in a system, they use different approaches. Newton's laws are based on forces acting on a particle, while Hamilton's equations are derived from the principle of least action. Additionally, Hamilton's equations can be used to describe more complex systems, such as those involving multiple particles or non-conservative forces.

4. Are Hamilton's equations applicable in all situations?

Hamilton's equations are applicable in classical mechanics, which is the study of macroscopic objects moving at speeds much slower than the speed of light. They are not applicable in quantum mechanics, which deals with the behavior of particles at the atomic and subatomic level.

5. Can Hamilton's equations be used to solve real-world problems?

Yes, Hamilton's equations can be used to solve real-world problems in classical mechanics, such as predicting the motion of satellites or spacecraft. They can also be used in fields such as engineering and physics to analyze and design systems with complex motions.

Similar threads

Replies
5
Views
805
Replies
25
Views
1K
Replies
1
Views
729
Replies
2
Views
1K
Replies
4
Views
785
  • Classical Physics
Replies
20
Views
1K
Replies
1
Views
948
  • Quantum Physics
2
Replies
62
Views
5K
Replies
3
Views
828
Replies
1
Views
435
Back
Top