In the C.M. frame of the system (both the discs + spring), the linear momentum of the discs are related by the relation, ~→p1=−~→p2, at all moments of time.
where ~p1=~p2=~p=μvrel
And the total kinetic energy of the system,
T=12μv2rel
Bearing in mind that at the moment of maximum deformation of the spring, the projection of →vrel along the length of the spring becomes zero, i.e. vrel(x)=0.
The conservation of mechanical energy of the considered system in the C.M. frame gives,
12(m2)v20=12κx2+12(m2)v2rel(y)
Now from the conservation of angular momentum of the system about the C.M.,
12(l02)(m2v0)=2(l0+x2)m2vrel(y)
or, vrel(y)=v0l0(l0+x)=v0(1+xl0)−1≈(1−xl0), as x≪l0 (2)
Using (2) in (1), 12mv20[1−(1−xl0)2]=κx2
or, 12mv20⎡⎣1−(1−2xl0+x2l20)2⎤⎦=κx2
or, mv20xl0≈κx2 [neglecting x2l20]
As x≠0, thus x=mv20κl0