1. g at the surface g=GM/r^2, where M is the mass of the Earth, and r is the radius out to the surface.
2. g=0 at the Earth centre.
3. How to explain 1 and 2?
Without doing the maths, I merely state the reuslt:
At any given point within the Earth, the "local g"-value will only be affected by the mass of the ball with the Earth's center as its center, and upon which you are placed on the surface. The massive shell around contributes nothing at all!
4. Thus, for an ARBITRARY r-value, we substitute "M" in the formula with [itex]\rho\frac{4}{3}\pi{r}^{3}[/itex], where [itex]\rho[/itex] is the (constant) density, and you recognize in the other parts the volume for a sphere of radius r.
Inserting this into the formula, we gain the following expression for local g:
[tex]g=\frac{4}{3}G\rho\pi{r}[/itex], i.e, the local g decreases linearly to zero as we proceed towards r=0[/tex]