Question
Question: Two masses m1 and m2 are connected by a spring of spring constant k and are placed on a smooth horiz...
Two masses m1 and m2 are connected by a spring of spring constant k and are placed on a smooth horizontal surface. Initially the spring is stretched through a distance 'd' when the system is released from rest. Find the distance moved by the two masses when spring is compressed by a distance 'd'.

Distance moved by m1 = m1+m22dm2, Distance moved by m2 = m1+m22dm1
Solution
Let's solve this problem step-by-step using the principles of conservation of momentum and conservation of the center of mass.
1. Identify the System and Forces: The system consists of two masses (m1 and m2) and a spring. The surface is smooth, meaning there are no external horizontal forces like friction. The spring force is an internal force within the system.
2. Conservation of Linear Momentum: Since there are no external horizontal forces acting on the system, the total linear momentum of the system must be conserved. Initially, the system is released from rest, so the initial velocity of both masses is zero. Initial momentum Pi=m1(0)+m2(0)=0. Let v1f and v2f be the velocities of m1 and m2 respectively when the spring is compressed by distance 'd'. Final momentum Pf=m1v1f+m2v2f. By conservation of momentum: Pi=Pf⟹0=m1v1f+m2v2f.
3. Conservation of Center of Mass Position: Since the total linear momentum is conserved and is equal to zero, the velocity of the center of mass (VCM=m1+m2m1v1+m2v2) is always zero. If the velocity of the center of mass is always zero, its position (XCM=m1+m2m1x1+m2x2) must remain constant. Let x1i and x2i be the initial positions of m1 and m2. Let x1f and x2f be the final positions of m1 and m2. The initial position of the center of mass is XCM,i=m1+m2m1x1i+m2x2i. The final position of the center of mass is XCM,f=m1+m2m1x1f+m2x2f. Since XCM,i=XCM,f, we have m1+m2m1x1i+m2x2i=m1+m2m1x1f+m2x2f. m1x1i+m2x2i=m1x1f+m2x2f. Rearranging this, we get m1(x1f−x1i)+m2(x2f−x2i)=0. Let Δx1=x1f−x1i be the displacement of m1 and Δx2=x2f−x2i be the displacement of m2. So, m1Δx1+m2Δx2=0. This is our first equation relating the displacements.
4. Relation between Displacements and Spring Extension/Compression: Let the natural length of the spring be L0. Initially, the spring is stretched by a distance 'd'. The distance between the masses is x2i−x1i=L0+d. Finally, the spring is compressed by a distance 'd'. The distance between the masses is x2f−x1f=L0−d. Consider the change in the distance between the masses: (x2f−x1f)−(x2i−x1i)=(L0−d)−(L0+d) (x2f−x2i)−(x1f−x1i)=−2d Δx2−Δx1=−2d. This is our second equation relating the displacements.
5. Solve the System of Equations: We have two linear equations for Δx1 and Δx2:
- m1Δx1+m2Δx2=0
- Δx2−Δx1=−2d
From equation (1), Δx2=−m2m1Δx1. Substitute this into equation (2): −m2m1Δx1−Δx1=−2d −Δx1(m2m1+1)=−2d −Δx1(m2m1+m2)=−2d Δx1=m1+m22dm2.
Now find Δx2 using Δx2=−m2m1Δx1: Δx2=−m2m1(m1+m22dm2) Δx2=−m1+m22dm1.
The distance moved by the masses are the magnitudes of their displacements. Distance moved by m1 is ∣Δx1∣=m1+m22dm2. Distance moved by m2 is ∣Δx2∣=m1+m22dm1.
Note that the displacements are in opposite directions, as indicated by the signs, which is consistent with the conservation of momentum (or center of mass being stationary).
Explanation: The system starts from rest, so its center of mass is initially at rest. Since there are no external forces, the center of mass remains at rest throughout the motion. The displacement of the masses relative to the center of mass are related by m1Δx1′+m2Δx2′=0, and since the CM is fixed in the inertial frame, the displacements in the inertial frame are also related by m1Δx1+m2Δx2=0. The change in the relative position of the masses is the change in the spring length. The spring goes from an extension of 'd' to a compression of 'd'. If we consider x2−x1 as the relative position, it changes from L0+d to L0−d. The change in relative position is (L0−d)−(L0+d)=−2d. This change is also equal to Δx2−Δx1. Solving the two equations m1Δx1+m2Δx2=0 and Δx2−Δx1=−2d simultaneously gives the displacements Δx1=m1+m22dm2 and Δx2=−m1+m22dm1. The distances moved are the magnitudes of these displacements.