Skip to main content
Sandbox Physics

Gravity Field & Shell Theorem

Inside a hollow shell, where does the shell's gravity go? Nowhere; it cancels. Inside a uniform spherical shell, the near side pulls harder but has less mass, the far side pulls more weakly but has more, and the two balance exactly. The field is zero everywhere inside. The potential is not zero, though: it is constant, equal to its value at the cavity boundary.

Drag a probe through a layered sphere and release a particle into its diameter tunnel. Compare hollow-shell gravity with a uniform sphere.

Interactive modelGravity Field & Shell Theorem
Selected timeReady\text{Ready}
Probe radiusReady\text{Ready}
Probe inward accelerationReady\text{Ready}
Probe enclosed massReady\text{Ready}
Probe specific potentialReady\text{Ready}
Total source massReady\text{Ready}
Tunnel particle positionReady\text{Ready}
Tunnel particle speedReady\text{Ready}
Gravity clockReady\text{Ready}
Maximum specific-energy errorReady\text{Ready}
Endpoint refinement differenceReady\text{Ready}
Mass fitted from raw exterior scanReady\text{Ready}
Acquired field stationsReady\text{Ready}

Why gravity vanishes inside a spherical shell

BackgroundA spherical shell pulls on a particle from every direction. Inside its empty cavity those pulls cancel at every point, even away from the centre.

Why it mattersDrop a particle through a diameter tunnel. Compare its motion through solid material with its motion across an empty cavity.

One-sentence intuition
Zero field does not imply zero potential.

Core mathematical model

Mass enclosed within a radius

M(<r)=4π∫0rρ(s)s2 dsM(<r)=4\pi\int_0^r\rho(s)s^2\,ds

The layer densities set how much mass lies inside each radius. Shells outside that radius exert no net force there.

Field and potential

g(r)=GM(<r)r2J(r)=4π∫rRρ(s)s dsΦ(r)=−GM(<r)r−GJ(r)\begin{aligned}g(r)&=\frac{GM(<r)}{r^2}\\J(r)&=4\pi\int_r^R\rho(s)s\,ds\\\Phi(r)&=-G\frac{M(<r)}r\\&\quad-GJ(r)\end{aligned}

Outer shells exert no force inside their cavity but still add a constant to the potential there. At the centre the limiting value is used, so nothing is divided by zero.

Motion inside a uniform sphere

g(r)=4πGρ3r(r≤R)x(t)=x0cos⁡(4πGρ3 t)\begin{aligned}g(r)&=\frac{4\pi G\rho}{3}r\quad(r\le R)\\x(t)&=x_0\cos\left(\sqrt{\frac{4\pi G\rho}{3}}\,t\right)\end{aligned}

A particle released from rest inside a uniform sphere oscillates harmonically. The force stays finite as it passes the centre.

Energy per unit mass

ε=12x˙2+Φ(∣x∣)\varepsilon=\frac12\dot x^2+\Phi(|x|)

In this idealization the tunnel runs along a diameter and removes none of the source mass.

Weighing the source from outside

gi=GM ri−2g_i=GM\,r_i^{-2}

Fit a line through zero to the raw accelerations measured outside the source, using the calibrated radii. The fit is never given the source mass.

Common difficulties

Zero force does not stop motion

Typical misconceptionA particle entering a gravity-free cavity must stop.

Better mental modelZero force means zero acceleration. The particle keeps its entry velocity until it reaches material on the other side.

Run the experiment

  1. 01

    Move the field probe

    Choose Rest inside a hollow shell, then drag the blue probe from the cavity to the exterior. Compare the field with the dashed exterior point-mass reference.

    What to observe: Inside the cavity the acceleration is zero while the potential remains negative.
  2. 02

    Change the source

    Try Uniform sphere, Dense core and Rest inside a hollow shell, and change all three densities.

    What to observe: Where the density changes affects the field inside, but outside the sphere the field depends only on the total mass.
  3. 03

    Send a particle across the cavity

    Compare Rest inside a hollow shell with Cross the empty cavity. Drag the gold particle or use Selected time to inspect the crossing.

    What to observe: A particle that enters the field-free cavity keeps the velocity it had on entry.
  4. 04

    Weigh the source from readings

    Expand Geometry, clock and sensors, add Sensor noise gain, acquire a new radial field scan and export the raw CSV.

    What to observe: The mass fitted from the outside readings is shown separately from the exact source mass.
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy