A block of mass m is connected to another block of mass M by a massless spring of spring constant k. The blocks are kept on a smooth horizontal plane. Initially, the blocks are at rest and the spring is un-stretched when a constant force F starts acting on the block of mass M to pull it. Find the maximum extension of the spring?
2mFk(m+M)
Let us take the two blocks plus the spring as the system. The centre of mass of the system moves with an acceleration a=Fm+M Let us work from a reference frame with its origin at the centre of mass. As this frame is accelerated with respect to the ground we have to apply a pseudo force ma towards left on the block of mass m and Ma towards left on the block of mass M. The net external force on m is
F1=ma=mFm+M towards left
and the net external force on M is
F2=F−Ma=F−MFm+M=mFm+M towards right.
The situation from this frame is shown in figure. As the centre of mass is at rest in this frame, the blocks move in opposite directions and come to instantaneous rest at some instant. The extension of the spring will be maximum at this instant. Suppose the left block is displaced through a distance x1 and the right block through a distance x2 from the initial positions. The total work done by the external forces F1 and F2 in this period are
W=F1x1+F2x2=mFm+M(x1+x2).
This should be equal to the increase in the potential energy of the spring as there is no change in the kinetic energy. Thus,
mFm+M(x1+x2)=12k(x1+x2)2
x1+x2=2mFk (m+M)
This is the maximum extension of the spring.