Concept:
- No external horizontal force acts on the two blocks and the spring (smooth surface), so the centre of mass stays at rest and \(m_1 v_1 = m_2 v_2\) at every instant.
- The spring exerts equal and opposite forces on the blocks, so \(m_1 a_1 = m_2 a_2\) at every instant.
Step 1: Use the conservation of momentum
The blocks are released from rest, so the total initial momentum is zero. At any later time \(m_1 \vec v_1 + m_2 \vec v_2 = 0\), so the speeds satisfy \(m_1 v_1 = m_2 v_2\) throughout the motion. Hence the centre of mass of the two blocks does not move.
Step 2: Relate the distances travelled
Since both speeds are in the fixed ratio \(v_1/v_2 = m_2/m_1\) at every instant, the distances covered in the same interval, until both blocks come to rest momentarily, are in the same ratio: \[ \frac{x_1}{x_2} = \frac{v_1}{v_2} = \frac{m_2}{m_1}. \] Equivalently, the position of the centre of mass is unchanged, so \(m_1 x_1 = m_2 x_2\).
Step 3: Why the other options fail
The heavier block moves the shorter distance, so \(x_1/x_2\) must be \(m_2/m_1\) and not \(m_1/m_2\) (option B). The square-root forms in (C) and (D) arise only for energy-based relations such as \(\tfrac12 m_1 v_1^{2}\) versus \(\tfrac12 m_2 v_2^{2}\), which are not what the momentum-controlled motion gives here.
Step 4: Conclusion
The distances are inversely proportional to the masses: \(x_1/x_2 = m_2/m_1\). Hence, the correct option is (A).