Consider the situation shown in figure (12-E10). Show that if the blocks are displaced slightly in opposite directions and released, they will execute simple harmonic motion. Calculate the time period.
The centre of mass of the system should not change during the motion.
So, if the block 'm' on the left moves towards right a distance 'x', the block on the right moves towards left a distance 'x'. So, total compression of the spring is 2x.
By energy method,
12k (2x)2+12mv2+12mv2=C
⇒ mv2+2kx2=C
Taking derivative of both sides with respect to 't'.
m2vdvdt+2k×2xdxdt=0
∴ ma+2kx=0
[ because v=dxdt and a=dvdt]
⇒ −ax=2kmω2
⇒ ω=√2km
⇒ Time period = T=2π √(m2k)