Two stars, each of mass m and radius R, are approaching each other for a head-on collision. They start approaching each other when their separation is r >> R. If their speed at this separation is negligible, the speed with which they collide would be
v=√Gm(12R−1r)
The speed of the stars at separation r is negligible. Therefore, their energy is entirely potential at this separation.
E1=−Gm2r
As the stars approach each other under gravitational attraction, they begin to acquire speed and hence kinetic energy at the expense of potential energy. When they eventually collide, the separation between their centres is r = R + R = 2R.
Now, the total energy is
E2=−Gm22R+12mv2+12mv2=−Gm22R+mv2
From the principle of conservation of energy, E1=E2
⇒−Gm2r=−Gm22R+mv2
⇒v=√Gm(12R−1r)
Hence, the correct choice is (b).