The gravitational force of attraction on m1 due to m2 at a separation r is
F1=Gm1m2r2
Therefore, the acceleration of m1 is
a1=F1m1=Gm2r2
Similarly, the acceleration of m2 due to m1 is
a2=−Gm1r2
The negative sign is put as a2 is directed opposite to a1. The relative acceleration of approach is
a=a1−a2=G(m1+m2)r2 (i)
If v is the relative velocity, then
a=dvdt=dvdrdrdt
But −dr/dt=v(negative sign shows that r decreases with increasing t).
∴a=−dvdrv (ii)
vdv=−G(m1+m2)r2dr
Integrating, we get
v22=G(m1+m2)r+C
At r=∞,v=0(given), and so C=0. Therefore,
v2=2G(m1+m2)r
Let v=vR when r=R. Then
vR=√2(Gm1+m2)R