A spring is compressed between two blocks of masses $m_1$ and $m_2$ placed on a horizontal frictionless surface as shown in the figure. When the blocks are released, they have initial velocity of $v_1$ and $v_2$ as shown. The blocks travel distances $x_1$ and $x_2$ respectively before coming to rest. The ratio $\left(\dfrac{x_1}{x_2}\right)$ is
(see the figure above)

- (1)
$\dfrac{m_2}{m_1}$
- (2)
$\dfrac{m_1}{m_2}$
- (3)
$\sqrt{\dfrac{m_2}{m_1}}$
- (4)
$\sqrt{\dfrac{m_1}{m_2}}$
Show answer
Option (1) is correct.
Key from source paper