1-D Lagrange and Hamilton equation gives different results.

Click For Summary

Homework Help Overview

The discussion revolves around a problem involving the dynamics of a yoyo using Lagrangian and Hamiltonian mechanics. The original poster describes a scenario where a yoyo is attached to a massless string and suspended from a fixed point, with the goal of analyzing its acceleration using both methods. The poster reports obtaining a correct result using Lagrangian mechanics but encounters discrepancies when applying Hamilton's equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to derive the equations of motion using both Lagrangian and Hamiltonian frameworks, noting a difference in results. Some participants question the definition of canonical momentum and its application in the Hamiltonian formulation. Others seek clarification on how to properly construct the Hamiltonian from the Lagrangian and the canonical momentum.

Discussion Status

Participants are actively engaging with the problem, offering insights on the definition of canonical momentum and its implications for the Hamiltonian. There is a recognition of the need to correctly relate the momentum derived from the Lagrangian to the Hamiltonian, but no consensus has been reached on the specific steps to resolve the discrepancies.

Contextual Notes

There is an emphasis on understanding the relationship between the Lagrangian and Hamiltonian formulations, particularly regarding the definitions and substitutions of momentum. The original poster expresses uncertainty about how to proceed with the Hamiltonian after determining the canonical momentum.

13Nike
Messages
44
Reaction score
5

Homework Statement


This was supposed to be an easy question. I have a question here that wants you to describe a yoyo's acceleration (in one dimension) using Lagrangian mechanics. I did and got the right answer. Now I want to use Hamilton's equations of motion but I get a wrong number. Here is the excerpt

"A yoyo attached to a mass less string is suspended vertically from a fixed point and the other end is wrapped several times around a uniform cylinder of mass, m and radius R. When the cylinder is released it moves vertically down, rotating as the string unwinds. Write down the Lagrangian equation using the distance x as your generalized coordinate. Find the Lagrange equation of motion and show that the cylinder accelerates downward with #\ddot{x}# = 2g/3"

Homework Equations


I used Hamilton equation xdot = partial H/partial P
To help,
L = (3/4) m xdot^2 + mgx
and
H = (3p^2)/(4m) - mgx

The Attempt at a Solution


[/B]
I used Hamilton's equation and took the derivative
d/dt (xdot) = xddot = d/dt(3p/4m)
xddot = (3 xddot)/2
 
Physics news on Phys.org
The momentum, ##p##, that enters into the Hamiltonian should be the "canonical momentum" which is determined from the Lagrangian. You should find that ## p \neq m \dot{x}##.
 
  • Like
Likes   Reactions: 13Nike
TSny said:
The momentum, ##p##, that enters into the Hamiltonian should be the "canonical momentum" which is determined from the Lagrangian. You should find that ## p \neq m \dot{x}##.
I get ##p = \partial L / \partial \dot{q} = (6/4) m \dot{x}## but I don't know how/where to replace this ##p## into. Back into L and then re equate the Hamiltonian then use the Hamiltonian equation?
 
OK for your result for ##p##.

I don't understand what you mean when you say "re equate the Hamiltonian". There is a specific prescription for constructing the Hamiltonian from the Lagrangian and the canonical momentum.
 
  • Like
Likes   Reactions: 13Nike
TSny said:
OK for your result for ##p##.

I don't understand what you mean when you say "re equate the Hamiltonian". There is a specific prescription for constructing the Hamiltonian from the Lagrangian and the canonical momentum.
We I am stuck at ##p = (6/4)m \dot{x}## do I take this result and somehow put ##p## back into the lagrange?
 

Similar threads

  • · Replies 25 ·
Replies
25
Views
3K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K