How Can the Spring Extension Be Determined Using the Lagrangian Method?

AI Thread Summary
The discussion focuses on determining the spring extension using the Lagrangian method in a system involving two blocks and an ideal spring. The user initially applied energy conservation principles to derive a relationship between the masses and spring extension, leading to an equation involving the spring constant. When attempting to use the Lagrangian approach, they encountered difficulties in deriving the extension due to the lack of acceleration information. Ultimately, they reformulated the Lagrangian in terms of spring displacement and successfully found the acceleration using Hooke's law, confirming consistency with the energy method. The user seeks a potentially simpler method for solving the problem.
albertrichardf
Messages
165
Reaction score
11

Homework Statement


An ideal spring of relaxed length l and spring constant k is attached to two blocks, A and B of mass M and m respectively. A velocity u is imparted to block B. Find the length of the spring when B comes to rest.

Homework Equations


∆K + ∆U = 0
U = \frac {kx^2}{2}
∆p = 0
L = K - U

The Attempt at a Solution


[/B]
I used energy conservation to find the answer. I got:

(mu)^2( \frac 1m - \frac1M) = kx^2

Then divide by k and take the square root.

I then tried with the Lagrangian. My coordinates are x and X, where X is the position of B, and x is the position of A. u is the velocity of A and U is the velocity B. And because the solutions will not change if I multiply the Lagrangian, I eliminated the factor of half from the energies. Thus my Lagrangian is:

mu^2 + MU^2 - k(x - X - l)^2 = L

I used the Euler Lagrange equations with respect to x and X. However when I used them I simply end up with Hooke's law. But Hooke's law relates the acceleration to the extension of the spring and I do not have the acceleration. Thus I can't solve for the extension. Plus the solution should depend on the final and initial velocities but it does not.
How could I solve this using the Lagrangian?
Thank you for answering
 
Physics news on Phys.org
I set up a new Lagrangian that is in terms of the displacement of the spring. Then I used Hooke's laws from the Lagrangian, and found an equation for the displacement's acceleration. Its Hooke's law, but with the reduced mass, so I solved it, used the velocity of the displacement to find the time, then plugged that in back in the equation of the displacement. I know it is the right answer because the energy answer matches this one, but is there a simpler way of doing this?
Thank you
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanged mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top