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 (force per unit mass), and basic integration of power functions. It gives the field of a uniform thin spherical shell and a uniform solid sphere at every distance from the centre. You will use these results for the variation of g with depth, for potential energy, and for escape velocity in later chapters.
Why this result matters
Newton's law gives the force between two point masses. Real bodies such as Earth are extended. Adding up the pull of every small piece looks hard, but two results make it simple:
- Outside a uniform spherical shell or solid sphere, the field is the same as if all the mass sat at the centre.
- Inside a uniform thin shell, the field is zero everywhere. Inside a uniform solid sphere, only the mass closer to the centre than your position contributes.
These are the shell theorems. They hold because gravity follows an inverse-square law. A different power of r would break them.
Setup and notation
Let the gravitational field intensity at a point be the force on a test mass m divided by m. It points toward the attracting mass. Write its magnitude as E (some books use I or g).
- M is the mass of the shell or sphere.
- a is its radius.
- r is the distance of the field point from the centre.
Field of a thin uniform shell
Outside the shell (r > a)
Split the shell into thin rings about the line joining the centre to the field point P. Each ring has a mass element dM. Because of symmetry, the components of the ring's pull perpendicular to that line cancel. Only the component along the line survives.
Summing all rings gives a result that depends only on the total mass:
E = GM / r², for r ≥ a
The direction is toward the centre. The full ring integration is lengthy. The ring-pair argument below shows why the inverse-square law gives this result.
Inside the shell (r < a)
Take a point P inside the shell. Draw a narrow double cone with its apex at P. It cuts out two small patches of the shell on opposite sides.
- The area of each patch is proportional to the square of its distance from P, because the cone widens with distance.
- The mass of each patch is proportional to its area, so the mass is proportional to the distance squared.
- The pull of each patch is proportional to mass divided by distance squared. The distance factors cancel.
So the two patches pull on P with equal magnitude in opposite directions. Every patch has a partner, so the net field is zero:
E = 0, for r < a
This works only for a 1/r² force. It is an exact cancellation, not an approximation.
Field at the surface
At r = a the field is GM/a². The field jumps from this value to zero as you move inward through a thin shell. Its graph is discontinuous at the shell, as the graph description in the later section shows.
Field of a uniform solid sphere
Treat a solid sphere as many nested thin shells. Let its density be ρ, so M = (4/3)πa³ρ.
Outside (r ≥ a)
Every shell acts as a point mass at the centre, so the whole sphere does too:
E = GM / r²
Inside (r < a)
At distance r from the centre, the shells with radius larger than r contribute zero. The shells with radius smaller than r act as a point mass at the centre. That inner mass is
M(r) = M (r³ / a³)
because mass scales with volume for uniform density. Then
E = G M(r) / r² = G M r / a³
The field grows linearly with r inside and reaches GM/a² at the surface. Equivalent forms are E = (4/3)πGρ r inside and E = GM/r² outside.
Summary of the fields
| Body | r < a | r = a | r > a |
|---|---|---|---|
| Thin uniform shell | 0 | GM/a² (outer side) | GM/r² |
| Uniform solid sphere | GMr/a³ | GM/a² | GM/r² |
The shell has an abrupt jump at r = a. The solid sphere has a continuous field with a peak at the surface.
Worked example: field inside a uniform sphere
A uniform solid sphere has mass M = 6.0 × 10²⁴ kg and radius a = 6.4 × 10⁶ m. Find the field at r = a/2 and compare it with the surface value.
Inside, E = GMr/a³. At r = a/2:
E(a/2) = (1/2) × GM/a²
So the field is exactly half the surface value. With G = 6.67 × 10⁻¹¹ N m² kg⁻²:
GM/a² = (6.67 × 10⁻¹¹ × 6.0 × 10²⁴) / (6.4 × 10⁶)² ≈ 9.77 m s⁻²
so E(a/2) ≈ 4.9 m s⁻².
This matches the depth formula used for Earth: at depth d, g′ = g(1 − d/R), which gives g/2 at d = R/2.
G = 6.674e-11
M = 5.972e24
a = 6.371e6
def field_sphere(r):
"""Field magnitude of a uniform solid sphere at distance r from the centre."""
if r < a:
return G * M * r / a**3
return G * M / r**2
def field_shell(r):
"""Field magnitude of a thin uniform shell at distance r from the centre."""
if r < a:
return 0.0
return G * M / r**2
for r in [0.5 * a, a, 2 * a]:
print(f"r = {r / a:.1f} a: sphere = {field_sphere(r):.3f}, shell = {field_shell(r):.3f}")For r = 0.5a, the sphere gives about 4.9 m s⁻² and the shell gives 0. At r = 2a, both give one quarter of the surface value.
Superposition: cavities and combined bodies
Because fields add as vectors, you can build new problems from the results above.
A spherical cavity in a solid sphere
Suppose a solid sphere of density ρ has a spherical cavity. Treat the cavity as the full sphere plus a smaller sphere of density −ρ.
Inside the full sphere, the field vector at position r from the centre is
E = −(4/3)πGρ r
The negative sign shows that the field points toward the centre. For the cavity sphere centred at c, the removed material contributes +(4/3)πGρ (r − c). Adding them:
E = −(4/3)πGρ c
This is a constant vector. Inside a spherical cavity of a uniform sphere, the field is uniform, with the same magnitude and direction at every point in the cavity. It depends only on the displacement c between the two centres.
Two concentric shells
For two concentric shells with masses M₁ (radius a₁) and M₂ (radius a₂), where a₁ < a₂, the field in each region is:
- r < a₁: 0
- a₁ < r < a₂: GM₁/r²
- r > a₂: G(M₁ + M₂)/r²
Only enclosed mass counts. The outer shell never contributes inside itself.
Common errors
- Using GMr/a³ outside the body. The linear form holds only for r < a in a uniform solid sphere. Outside, use GM/r².
- Using M as the mass when the point is inside. Inside a solid sphere, use only the mass M(r) within radius r.
- Applying the zero-field result to a solid sphere. The field vanishes inside a hollow shell only. In a solid sphere, the field is zero only at the centre.
- Assuming a non-uniform density gives the same linear law. With density varying with r, M(r) is not proportional to r³. You must integrate ρ(r) over shells to get M(r). The idea is unchanged, since the field is still G M(r)/r².
- Treating a shell's surface value as continuous. The field at r = a for a thin shell has a jump. The value GM/a² applies on the outer side, and 0 on the inner side.
- Forgetting direction in cavity problems. Add vectors, not magnitudes.
Gravitational potential preview
The same results lead to the potential. Outside a shell or sphere, V = −GM/r. For a thin shell, the field inside is zero, so the potential inside is constant and equals the surface value −GM/a. This constancy is the reason the field is zero. A later chapter develops potential and potential energy in full.
Check your understanding
Exercise
A uniform solid sphere of mass M and radius a has a point P inside at distance a/3 from the centre. Find the field at P in terms of G, M and a. Then find the field at a point outside at distance 3a.
Show answer
Inside, E = GMr/a³ with r = a/3, so E = GM/(3a²). Outside at r = 3a, E = GM/(3a)² = GM/(9a²). The inside field is three times larger than the outside field.
Exercise
A thin shell of mass 2M and radius a surrounds a concentric solid sphere of mass M and radius a/2. Find the field at distances a/4, 3a/4, and 2a from the centre.
Show answer
At r = a/4 (inside the sphere), only the sphere acts, and the shell gives zero. E = G M r / (a/2)³ = G M (a/4) × 8/a³ = 2GM/a². At r = 3a/4 (between sphere and shell), the sphere acts as a point mass M and the shell gives zero: E = GM/(3a/4)² = 16GM/(9a²). At r = 2a, the total mass 3M acts at the centre: E = 3GM/(4a²).
Exercise
A solid sphere of radius R and uniform density ρ has a spherical cavity of radius R/2 whose centre is at distance R/2 from the centre of the sphere. What is the field inside the cavity?
Show answer
The field is uniform with magnitude (4/3)πGρ × (R/2) = (2/3)πGρR. Its direction points from the cavity's centre toward the sphere's centre. This follows from E = −(4/3)πGρ c, where c is the vector from the sphere's centre to the cavity's centre.