We know that, when two identical bodies collide elastically, they transfer their momenta. That means, just after collision the stationary ball starts moving with a speed v0 till the string is taut. Then both the balls will continue to move with same speed, say v. Since no external force is acting on the system of the balls and string (tension in the string is internal force), the system conservess its linear momentum. Conserving the momentum of the system just before and after the string is taut obtain,
mv0=mv+mv⇒v=v02
(a) Now the loss in KE of the ball
ΔKE=12mv2+12mv2−12mv20
Putting v=v02, value of ΔKE can be found