[Physics] Lagrangian of two particles connected with a spring, free to rotate

classical-mechanicslagrangian-formalism

Two particles of different masses $m_1$ and $m_2$ are connected by a massless spring of spring constant $k$ and equilibrium length $d$. The system rests on a frictionless table and may both oscillate and rotate.

I need to find the Lagrangian for this system. I'm not sure if I'm interpreting it correctly, but I think there are 4 degrees of freedom in this problem, $x_1, y_1, x_2, y_2$ or $r_1,\theta_1,r_2,\theta_2$. If I use the former choice I get my Lagrangian to be

$L = \frac{1}{2}m_1(\dot{x_1}^2 + \dot{y_1}^2) + \frac{1}{2}m_2(\dot{x_2}^2 + \dot{y_2}^2) – \frac{1}{2}k(\sqrt{(x_1-x_2)^2+(y_1-y_2)^2} -d)^2$.

Does this make any sense? It seems like the EOM would be a mess in this case.

Best Answer

This is correct, and you should use the rectangular coordinates until later. The equations of motion aren't a mess, because the system has a center of mass conservation law, so you can linearly mix up the variables:

$$ X = m_1 x_1 + m_2 x_2$$ $$ Y= m_1 y_1 + m_2 y_2 $$

for the center of mass and

$$ x = x_1 - x_2 $$ $$ y = y_1 - y_2 $$

which are the relative coordinates. In terms of this transformation (which is something you should just know), the Lagrangian for the CM becomes that of a free particle, while the Lagrangian for the relative coordinate becomes that of a 2d particle on a spring of finite length

$$ {m (\dot{x}^2 + \dot{y}^2)\over 2} + {k (\sqrt{x^2 + y^2} - d)^2\over 2}, $$

where m is the reduced mass. Now you can transform the relative coordinates x,y into polar form $r,\theta$ and the $\theta$ equation is expressing conservation of angular momentum. This reduces to a 1d problem for r with a potential.

$$ V(r) = {k\over 2}(r-d)^2 + {A\over r^2}, $$

where A is a constant for constant angular momentum an effective centrifugal repulsion plus the attractive potential.

Related Question