Converting a Lagrangian to a Hamiltonian

In summary, the conversation discusses the formulation of the Hamiltonian, which does not depend on conserved quantities such as angular momentum. However, it is recommended to express the Hamiltonian in terms of momenta rather than velocities. The Hamiltonian in this problem should be a function of the momenta and general coordinates.
  • #1
MyoPhilosopher
41
4
Homework Statement
Convert to Hamiltonian
Relevant Equations
$$L(\theta,\dot{\theta},\phi,\dot{\phi}) = \frac12ml^2((\dot{\theta})^2 + (sin(\theta)^2)\dot{\phi}^2) + k\theta^4$$
Given the following
$$L(\theta,\dot{\theta},\phi,\dot{\phi}) = \frac12ml^2((\dot{\theta})^2 + (sin(\theta)^2)\dot{\phi}^2) + k\theta^4$$

This is my attempt:
I am not understanding if the conserved quantities (like angular momentum about the z-axis) impacts my formulation of the Hamiltonian or is it irrelevant for the transformation. (EDIT: my last term below should be negative)
1587902315812.png
 
Last edited:
Physics news on Phys.org
  • #3
As @wrobel says, the fact that ##p_{\phi}## is conserved does not affect the formulation of ##H##. However, you should express ##H## in terms of the momenta ##p_{\theta}## and ##p_{\phi}## instead of the "velocities" ##\dot \theta## and ##\dot\phi##.
 
  • Like
  • Informative
Likes JD_PM, etotheipi and MyoPhilosopher
  • #4
Hint: By definition the Hamiltonian , in general, has to be a function of momentum ##p## and general coordinate ##q##.

In your problem you need to get ##H(p_{\phi},p_{\theta}, \phi, \theta)##
 

1. What is the difference between a Lagrangian and a Hamiltonian?

The Lagrangian and Hamiltonian are two different mathematical formulations used in classical mechanics to describe the motion of a system. The Lagrangian is based on the principle of least action, which states that the actual path taken by a system is the one that minimizes the action. The Hamiltonian, on the other hand, is based on the principle of conservation of energy and describes the system in terms of its total energy.

2. How do you convert a Lagrangian to a Hamiltonian?

To convert a Lagrangian to a Hamiltonian, you can use the Legendre transformation. This involves taking the partial derivative of the Lagrangian with respect to the generalized velocities and then substituting the generalized velocities with their conjugate momenta. The resulting expression is the Hamiltonian.

3. Why would you want to convert a Lagrangian to a Hamiltonian?

There are several reasons why one might want to convert a Lagrangian to a Hamiltonian. One reason is that the Hamiltonian formulation is often more convenient for solving certain problems, such as those involving conservative systems. Additionally, the Hamiltonian formulation can provide insight into the energy and stability of a system.

4. Can you convert any Lagrangian to a Hamiltonian?

In general, yes, any Lagrangian can be converted to a Hamiltonian using the Legendre transformation. However, there are some cases where this may not be possible, such as when the Lagrangian is not a smooth function or when there are constraints present in the system.

5. Are there any limitations to using the Hamiltonian formulation?

While the Hamiltonian formulation can be useful in many cases, it does have some limitations. For example, it is not applicable to non-conservative systems or systems with dissipation. Additionally, the Hamiltonian may not always be well-defined or unique, depending on the system being studied.

Similar threads

  • Advanced Physics Homework Help
Replies
2
Views
472
Replies
6
Views
974
  • Advanced Physics Homework Help
Replies
6
Views
2K
  • Advanced Physics Homework Help
Replies
4
Views
2K
  • Advanced Physics Homework Help
Replies
1
Views
690
  • Advanced Physics Homework Help
Replies
6
Views
1K
  • Advanced Physics Homework Help
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
4
Views
372
  • Advanced Physics Homework Help
Replies
5
Views
1K
  • Advanced Physics Homework Help
Replies
21
Views
3K
Back
Top