Lagrangian - 2 masses attached by spring

  • Thread starter Thread starter Xyius
  • Start date Start date
  • Tags Tags
    Lagrangian Spring
Click For Summary
SUMMARY

This discussion focuses on the dynamics of two masses, ##m_1## and ##m_2##, connected by a massless spring with spring constant ##k## in a two-dimensional space. The problem is approached using center-of-mass (COM) coordinates to simplify the equations of motion. The Lagrangian is derived as ##\mathcal{L}=\frac{1}{2}m_1\dot{x}_{1,CM}^2+\frac{1}{2}m_2\dot{x}_{2,CM}^2+\frac{1}{2}M\dot{X}^2-\frac{1}{2}k(x_{2,CM}-x_{1,CM})^2##, leading to the equations of motion: ##M\ddot{X} = 0##, ##m_1\ddot{x}_{1,CM}=-k (x_{2,CM}-x_{1,CM})##, and ##m_2\ddot{x}_{2,CM}=k (x_{2,CM}-x_{1,CM})##. The use of COM coordinates is justified as it reduces the degrees of freedom in the system.

PREREQUISITES
  • Understanding of Lagrangian mechanics
  • Familiarity with center-of-mass (COM) transformations
  • Knowledge of potential and kinetic energy expressions
  • Basic concepts of oscillatory motion
NEXT STEPS
  • Study the derivation of Lagrange's equations in detail
  • Explore the implications of using center-of-mass coordinates in multi-body systems
  • Learn about the behavior of coupled oscillators and their solutions
  • Investigate the effects of varying spring constants on system dynamics
USEFUL FOR

Students of classical mechanics, physicists analyzing multi-body systems, and anyone interested in the application of Lagrangian mechanics to oscillatory motion.

Xyius
Messages
501
Reaction score
4

Homework Statement



EDIT: This is a 2D problem, so all of my ##x## variables should be vectors. I just realized this and it may answer my question, I don't know yet though.

Two masses, ##m_1## and ##m_2## are connected by a massless spring of spring constant ##k##. The spring is at it's equilibrium length and the masses are both at rest; there is no gravitational field. Suddenly, ##m_2## is given a velocity ##v##. Assume that ##v## is so small that the two masses never collide in their subsequent motion. Describe the motion of both masses. What are their maximum and minimum separations?

Homework Equations


Lagrange's Equation
COM equations

The Attempt at a Solution


My professor says that we should use center-of-mass coordinates to make the problem easier (He also says assume the length of the spring is zero). The initial kinetic energy expression is given by,

T=\frac{1}{2}m_1 \dot{x}_1^2+\frac{1}{2}m_2 \dot{x}_2^2.

The center-of-mass transformations are given by,

\dot{x}_{1,CM}=\dot{x}_1-\dot{X}
\dot{x}_{2,CM}=\dot{x}_2-\dot{X}.

Plugging these expressions into the initial expression for kinetic energy and doing some simplification gives me the following.

T=\frac{1}{2}m_1\dot{x}_{1,CM}^2+\frac{1}{2}m_2\dot{x}_{2,CM}^2+\frac{1}{2}M\dot{X}^2

The expression for the potential energy is given by,

V = \frac{1}{2}k(x_{2}-x_{1})^2

Using the same transformation equations on this expression gives the following.

V = \frac{1}{2}k(x_{2,CM}-x_{1,CM})^2

Which makes my Lagrangian equal to,

\mathcal{L}=T-V=\frac{1}{2}m_1\dot{x}_{1,CM}^2+\frac{1}{2}m_2\dot{x}_{2,CM}^2+\frac{1}{2}M\dot{X}^2-\frac{1}{2}k(x_{2,CM}-x_{1,CM})^2

Using Lagrange's equation, I get the three following equations of motion.

M\ddot{X} = 0
m_1\ddot{x}_{1,CM}=-k (x_{2,CM}-x_{1,CM})
m_2\ddot{x}_{2,CM}=k (x_{2,CM}-x_{1,CM})

What is confusing to me is, why is he recommending COM coordinates? If I were to do this problem in laboratory coordinates, would I not get the exact same equations minus the equation for the center-of-mass?? Wouldn't my Lagrangian in that case be,

\mathcal{L}=T-V=\frac{1}{2}m_1\dot{x}_{1}^2+\frac{1}{2}m_2\dot{x}_{2}^2-\frac{1}{2}k(x_{2}-x_{1})^2?

Which yields the same two differential equations for both masses.
 
Last edited:
Physics news on Phys.org
You have introduced CoM coordinates without really taking CoM into account in the sense that you are still keeping both ##x_1## and ##x_2##. In the CoM coordinates, you can express one as a function of the other. This is the entire point with introducing CoM coordinates. Note that you are increasing the number of degrees of freedom of the system when writing it as you have up to this point, ##x_1## and ##x_2## are not independent.
 
  • Like
Likes   Reactions: Xyius
I guess I can isolate ##\ddot{x}_{1,CM}## and ##\ddot{x}_{2,CM}## and subtract the two differential equations from each other and see what I get.

EDIT:

I get ##\ddot{x}=-\frac{k}{\mu}x##
Where ##x = x_{2,CM}-x_{1,CM}##
This is real easy to solve as it is just an oscillator. I believe I can answer the rest problem from this (assuming it is correct)
 
Last edited:

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
Replies
5
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
9
Views
4K
Replies
2
Views
3K
Replies
7
Views
3K
Replies
46
Views
2K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
26
Views
5K