Finding hamiltonian for spring/pulley problem

  • Thread starter Thread starter Ned Stark
  • Start date Start date
  • Tags Tags
    Hamiltonian
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Ned Stark
Messages
7
Reaction score
0

Homework Statement


a light, inextensible string passes over a small pulley and carries a mass of 2m on one end.

on the other end is a mass m, and beneath it, supported by a spring w/ spring constant k, is a second mass m.

using the distance x, of the first mass beneath the pulley, and the extension y in the spring, as generalized co-ordinates, find the hamiltonian

Homework Equations



H=kinetic energy+potential

The Attempt at a Solution



The problem, as stated above, is copied straight from the book, and I am not really sure what the coordinate x describes.

ill call the mass of 2m "M1"
& "M2" is the mass connected to the string from above, and spring from below
& "M3" is the mass hanging from the spring.

In my setup, x is the distance from the pully to M1, and y is the extension of the spring

so the kinetic energy in terms of x and y:

for M1: KE= m(dx/dt)^2

M2: KE= 1/2 m(dx/dt)^2

M3: KE=1/2 m(dy/dt+dx/dt)^2

Then for the system,
KE =3/2 m(dx/dt)^2+1/2 m(dy/dt+dx/dt)^2

I am struggling writing down the potential in terms of x and y

M1 will have only that of gravity, where as the other 2 will also have a spring term.

Can anybody point me in the right direction with these coordinates?
 
Last edited:
Physics news on Phys.org
The masses don't have spring potential energy. The spring does. The total potential will consist of the gravitational potential energy of the three masses plus the potential energy of the spring.