Sub topic 4
Shells and solid spheres: field outside and inside
This chapter assumes you know Newton's law of gravitation, the definition of gravitational field intensity as force per unit mass, and basic integration of power functions. It covers the field of a uniform thin spherical shell and of a uniform solid sphere, both outside and inside.
The two results to remember
For a uniform thin shell of mass M and radius R, with r measured from the centre:
- Outside (r ≥ R): the shell acts like a point mass M at its centre, so the field magnitude is GM/r².
- Inside (r < R): the field is zero everywhere.
For a uniform solid sphere of mass M and radius R:
- Outside (r ≥ R): the field is GM/r², the same as a point mass at the centre.
- Inside (r ≤ R): the field is GMr/R³. It grows linearly from zero at the centre to GM/R² at the surface.
The field always points toward the centre.
Why a shell behaves this way
Take a point P at distance r from the centre of a shell. Split the shell into thin rings. Each ring contributes a field along the line to the centre, and the components perpendicular to that line cancel in pairs. Adding all the rings, with the integral done over the shell's surface, gives two outcomes:
- If P is outside, the total equals GM/r².
- If P is inside, the contributions cancel exactly and the total is zero.
The inside result depends on the inverse-square law. A small patch of shell on the near side has less mass than a patch on the far side that subtends the same cone from P. The far patch is farther away. The mass grows as distance squared and the field falls as distance squared, so the two effects cancel.
From shell to solid sphere
A solid sphere is a set of nested shells. At a point inside the sphere at distance r, only the mass within radius r pulls on you. Shells outside r contribute nothing.
For uniform density, the enclosed mass is
M' = M (r³/R³)
so the field is
g(r) = G M' / r² = GMr/R³.
Worked example
A uniform solid sphere has mass M and radius R. Find the field at r = R/2 and at r = 2R.
- At r = R/2: g = GM(R/2)/R³ = GM/(2R²).
- At r = 2R: g = GM/(2R)² = GM/(4R²).
The first is half the surface value and the second is a quarter of it.
You can check the first result with a short script.
G = 6.674e-11
M = 5.972e24
R = 6.371e6
def g_sphere(r):
if r <= R:
return G * M * r / R**3
return G * M / r**2
def g_shell(r):
if r < R:
return 0.0
return G * M / r**2
g0 = G * M / R**2
print(g_sphere(R / 2) / g0) # 0.5
print(g_sphere(2 * R) / g0) # 0.25
print(g_shell(R / 2)) # 0.0Common errors
- Using GM/r² inside a solid sphere. Inside, use only the enclosed mass, which gives GMr/R³.
- Saying the field inside a solid sphere is zero. That holds only for a hollow shell.
- Applying the linear formula to a non-uniform sphere. If density varies, compute the enclosed mass by integration first.
- Using the shell result for a hollow sphere with a cavity that is not concentric. The field inside such a cavity is uniform but not zero. You find it by superposition: a full sphere plus a negative-mass sphere filling the cavity.
Superposition for a cavity
Suppose a uniform sphere of density ρ has a spherical cavity whose centre is displaced from the sphere's centre by the vector d. At any point inside the cavity, the field of the full sphere is −(4/3)πGρ r, where r is measured from the sphere's centre. The field of the removed sphere is −(4/3)πGρ r′, where r′ is measured from the cavity's centre. Subtracting gives a field of −(4/3)πGρ d. This is constant in magnitude and direction.
Exercise
A uniform solid sphere of mass M and radius R has a field g0 = GM/R² at its surface. At what two distances from the centre is the field equal to g0/4?
Show answer
Inside, GMr/R³ = GM/(4R²) gives r = R/4. Outside, GM/r² = GM/(4R²) gives r = 2R. So the field is g0/4 at r = R/4 and at r = 2R.
Exercise
A thin shell of mass M and radius R has a small point mass m placed at its centre. What is the force on m from the shell, and what is the force on m when it is placed at r = R/2 from the centre?
Show answer
The field of the shell is zero everywhere inside, so the force on m is zero at the centre and at r = R/2.