Gravitational self-energy of a uniform sphere of mass M and radius R: = -*/R
This is the energy released when assembling the sphere by bringing mass from infinity. To completely disperse the sphere back to infinity, you must supply +*/R.
Gravitational PE at the surface: U = -GMm/R = -mgR (for a small mass m)
Inside the Earth (uniform density): V(r) = - * (3 - ) for r <= R At centre: V(0) = -* = -*gR (minimum potential, most negative)