Converting a Lagrangian to a Hamiltonian

Click For Summary
The discussion focuses on converting a Lagrangian to a Hamiltonian, specifically addressing the formulation of the Hamiltonian from a given Lagrangian. It clarifies that conserved quantities, such as angular momentum about the z-axis, do not influence the Hamiltonian's formulation. Instead, the Hamiltonian should be expressed in terms of momenta, specifically ##p_{\theta}## and ##p_{\phi}##, rather than velocities ##\dot{\theta}## and ##\dot{\phi}##. Participants emphasize that the Hamiltonian must be a function of momentum and general coordinates. The transformation requires obtaining ##H(p_{\phi}, p_{\theta}, \phi, \theta)##.
MyoPhilosopher
Messages
41
Reaction score
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
Irrelevant
 
  • Like
Likes MyoPhilosopher
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
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)##
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
Replies
6
Views
3K
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
5K
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K