Mass M is divided into two parts xM and (1 − x)M. For a given separation, the value of x for which the gravitational attraction between the two pieces becomes maximum is
Gravitational force F=Gm1m2r2=GxM(1−x)Mr2=GM2r2x(1−x)
For maximum value of force dFdx=0 ∴ddx[GM2xr2(1−x)]=0
⇒ddx(x−x2)=0⇒1−2x=0⇒x=12