Lagrangian Analysis of Two-Body Systems and Spring Dynamics
Problem 1: Two Masses in a Uniform Gravitational Field
Two masses m1 and m2 move in a uniform gravitational field g and interact via a potential energy U(r).
- Show that the Lagrangian can be decomposed as L = LCM + Lrel.
- Write down the Lagrange equations for the CM coordinates X, Y, Z and describe the motion of the CM. Then write the Lagrange equations for the relative coordinates and show that the motion of r is the same as that of a particle of reduced mass μ, position r, and potential energy U(r).
Solution for Two Masses
Definitions
- r1, r2: Positions of particles 1 and 2
- m1, m2: Masses
- g: Uniform gravitational field
- R = (m1r1 + m2r2) / (m1 + m2): Center of mass position
- r = r1 – r2: Relative position
- M = m1 + m2: Total mass
- μ = (m1m2) / M: Reduced mass
(a) Lagrangian Decomposition
Kinetic Energy
T = ½ m1 |ṙ1|2 + ½ m2 |ṙ2|2
Where ṙ1 = Ṙ + (m2/M) ṙ, and ṙ2 = Ṙ – (m1/M) ṙ
Therefore, T = ½ M |Ṙ|2 + ½ μ |ṙ|2
Potential Energy
V = –m1 g · r1 – m2 g · r2 + U(r)
This simplifies to V = –M g · R + U(r)
Final Lagrangian
L = T – V = ½ M |Ṙ|2 + ½ μ |ṙ|2 + M g · R – U(r)
Thus:
- LCM = ½ M |Ṙ|2 + M g · R
- Lrel = ½ μ |ṙ|2 – U(r)
(b) Lagrange Equations and Motion Analysis
Lagrange Equations for CM Coordinates R
From LCM = ½ M |Ṙ|2 + M g · R
The Lagrange equations are:
d/dt (∂L/∂Ẋ) = ∂L/∂X ⇒ M Ẍ = M gx ⇒ Ẍ = gx
Similarly for Y and Z coordinates:
Ÿ = gy
Z̈ = gz
So, M R̈ = M g ⇒ R̈ = g
The motion of the Center of Mass is that of a free particle under uniform gravitational acceleration.
Lagrange Equations for Relative Coordinates r
From Lrel = ½ μ |ṙ|2 – U(r)
The Lagrange equations are:
μ r̈ = -∇U(r)
Thus, the relative motion is the same as that of a particle of reduced mass μ in the potential U(r).
Problem 2: Spring-Mass System Dynamics
Two particles of masses m1 and m2 are joined by a massless spring of natural length L and force constant k.
Initially, m2 is resting on a table and m1 is held vertically above m2 at a height L. At time t = 0, m1 is projected vertically upward with initial velocity v0. Assume v0 is small enough that the masses never collide.
Find the positions of the two masses at any subsequent time t (before either returns to the table) and describe the motion.
Solution for Spring-Mass System
Definitions
- y1(t), y2(t): Vertical positions of m1 and m2
- m1, m2: Masses
- g: Acceleration due to gravity
- R = (m1y1 + m2y2) / (m1 + m2): Center of mass position
- r = y1 – y2: Relative position
- M = m1 + m2: Total mass
- μ = (m1 * m2) / M: Reduced mass
Energy Components
Spring Potential Energy
U(r) = ½ k (r – L)2
Gravitational Potential Energy
Vg = –m1 g y1 – m2 g y2 = –M g R
Total Potential Energy
V = –M g R + ½ k (r – L)2
Kinetic Energy
T = ½ M Ṙ2 + ½ μ ṙ2
Lagrangian
L = T – V
L = ½ M Ṙ2 + ½ μ ṙ2 + M g R – ½ k (r – L)2
Lagrange Equations
For R (Center of Mass)
d/dt (∂L/∂Ṙ) = ∂L/∂R
⇒ M R̈ = M g
⇒ R̈ = g
So, the CM moves like a free particle under gravity.
For r (Relative Motion)
d/dt (∂L/∂ṙ) = ∂L/∂r
⇒ μ r̈ = –k (r – L)
⇒ r̈ + (k/μ) (r – L) = 0
This is a simple harmonic oscillator equation centered at r = L.
General Solution
Let ω = √(k / μ)
Relative Motion
r(t) = L + A cos(ωt) + B sin(ωt)
Initial conditions:
- At t = 0: r(0) = L ⇒ A = 0
- ṙ(0) = v0 ⇒ B = v0 / ω
So:
r(t) = L + (v0 / ω) sin(ωt)
CM Motion
Initial conditions:
- R(0) = (m1 * L + m2 * 0) / M = (m1 * L) / M
- Ṙ(0) = (m1 * v0 + m2 * 0) / M = (m1 * v0) / M
So:
R(t) = (m1 * L) / M + (m1 * v0) / M * t + ½ g t2
Final Positions
To find y1(t) and y2(t), we use the definitions of R and r:
- y1(t) = R(t) + (m2 / M) * r(t)
- y2(t) = R(t) – (m1 / M) * r(t)