MathemagiciansLibraryExplorationsDeep Dives
← Physics · Pre-University
PhysicsPre-University

Gravitational field and potential for shells and spheres

PP1 — Mechanics Advanced › PP1.5 — Gravitation AdvancedLecture 3 of 3~2980 words

The near wall should win. It does not.

Imagine a huge hollow ball of rock, with a thin wall of the same thickness everywhere. You float inside it, close to one side. Which way are you pulled?

Almost everyone says: towards the nearest wall. That wall is close, and gravity is stronger at short distances. The far wall is a long way off, so its pull should be weak.

The answer is that you are not pulled at all. The resultant force is exactly zero, at every point inside the ball. The Upper Secondary lecture on field strength stated this result, Newton's shell theorem, but it did not prove it. This lecture proves it twice, first with a picture and then with one integral. Then it drops a ball through the Earth.

Two cones, two patches

Stand at a point P inside a uniform shell. Point a very narrow double cone through P, like two ice-cream cones joined at their tips. The cone meets the shell in two small patches, one on each side of P.

OPααnear patchfar patchd₁d₂
A narrow double cone from P meets the shell in a near patch at distance and a far patch at distance . The dashed line through P meets the shell at the same angle to the radius at both ends.

The near patch is at distance , and the far patch is at distance . Compare their pulls in three steps.

Step 1: the far patch is bigger. A cone widens as it goes out. Its width grows in proportion to the distance, so the area it cuts out grows in proportion to the distance squared. If the far patch is three times as far away, it is nine times as large, and so it holds nine times as much mass.

Step 2: the far patch is further away. Gravity follows an inverse-square law. Three times the distance means one-ninth of the pull from each kilogram.

Step 3: the two effects cancel exactly. Nine times the mass, at one-ninth of the pull per kilogram, gives the same pull. The two patches pull P with equal forces in opposite directions.

There is one detail to check. The patch is not cut straight across. The cone meets the shell at a slant, so the patch is a little larger than the cone's cross-section, by a factor . Here is the angle between the cone's direction and the radius at that patch. So it matters whether the angle is the same at both ends. It is. The line through P is a chord of the sphere, and its two ends are both a distance from the centre O. So the triangle formed by O and the two ends is isosceles, and its two base angles are equal. Both patches are enlarged by the same factor, so the cancelling stays exact.

In symbols, let the shell have mass per square metre and let the cone be narrow. A patch at distance has area proportional to . Its pull on each kilogram at P is proportional to

The distance has cancelled. Every direction from P gives a pair of patches that cancel, and the whole shell is made of such pairs. So the resultant force on P is zero.

That is it. That is the whole idea. The near wall pulls harder on each kilogram, and the far wall has exactly enough extra kilograms to make up for it. Move P and turn the cone below, and watch the two pulls stay equal.

Explore — the two patches of a double cone

Move P away from the centre, and turn the cone. Compare the two patches. Then tick the box to see what would happen if gravity weakened faster, as one over the distance cubed.



The table shows the two patches for four positions of P and four directions of the cone. Distances are in units of the shell's radius . The area is in units of the cone's cross-section at distance .

P from centreCone direction, Angle AreasPulls (1/d²)Near ÷ far if 1/d³
0.6R0°0.40, 1.600°0.16, 2.561.00, 1.004.0
0.6R60°0.55, 1.1531.3°0.36, 1.561.17, 1.172.1
0.8R170°0.20, 1.788.0°0.04, 3.191.01, 1.018.8
0any1.00, 1.000°1.00, 1.001.00, 1.001.0

With an inverse-square law, the two pulls are always equal. With an inverse-cube law, the near patch would always win, by the factor .

With the inverse-square law, the two pulls always match. With an inverse-cube law, the near patch wins every time. So the shell theorem is not a fact about spheres alone. It needs a sphere and an inverse-square law together.

The same result from one integral

The cone argument shows that the field inside is zero. It does not say what happens outside. One calculation does both. It finds the potential of the shell at any distance from its centre. Then the field follows from , as in the lecture on gravitational potential.

This is the hard part of the lecture. Spend time here. Each step uses only one idea.

OPQrRsθa thin ring:every pointis a distances from P
The shell is cut into thin rings around the line OP. Every point of one ring is the same distance from P, so each ring is easy to add up.

Cut the shell into rings. Take a thin ring at angle from the line OP, with angular width . Its radius is and its width is . So its area is . The whole shell has area and mass , so the ring's mass is

Every point of the ring is the same distance from P. Call that distance . Potential is a scalar, so the ring's potential at P is simply . No directions are needed. This is why the potential is easier than the field.

Change the variable from to . The cosine rule in triangle OPQ gives

Differentiate both sides, with and fixed: . So . Put this into the ring's potential:

Look at what happened. The cancelled. Every ring contributes the same amount for each metre of change in . So the total is just multiplied by the range of , from the nearest ring () to the farthest ().

P outside the shell (). The distance runs from to . That range is . So . This is exactly the potential of a point mass at the centre.

P inside the shell (). Now runs from to . That range is . So . The has cancelled. The potential is the same at every point inside.

Now take the slope. Outside, gives : a pull towards the centre of size , as if all the mass were at the centre. Inside, is constant, so its slope is zero, and . One integral has given both halves of the theorem.

The shell theorem

For a thin spherical shell of mass and radius , with its mass spread evenly:

Outside (): and towards the centre, exactly as for a point mass at the centre.

Inside (): everywhere, and .

Stop and think

Inside the shell the field is zero. Does that mean the potential inside is zero too?

Show the answer

No. The potential inside is , the same value as at the shell itself. The field is the slope of the potential, not its value. A flat floor in a deep basement has zero slope, but it is not at ground level. Inside the shell you are at the bottom of a flat-floored well. To escape to infinity, 1 kg still needs of energy.

Inside a solid sphere

A uniform solid sphere is a set of thin shells, one inside the next. Stand inside it, at radius . The shells outside you form hollow shells around you, so they pull with zero resultant force. The shells inside you act as one point mass at the centre. That inner mass is a sphere of radius , so it is the fraction of the whole:

So inside a uniform sphere, is proportional to . It rises in a straight line from zero at the centre to at the surface. Outside, it falls as .

The potential inside comes from the field. Since and the radial component points inwards, . Integrate from out to the surface, where :

Check the surface: at , this gives . It matches the outside formula, so the potential has no jump. At the centre, . That is one and a half times as deep as at the surface.

00.250.50.7510R2R3R½ at R/2½ at 1.41Rdistance from the centre, rsurfaceg ÷ g at the surface −1.5−1−0.500R2R3R−3GM/2R at the centre−GM/R at the surfacedistance from the centre, rsurfaceV in units of GM/R
A uniform solid sphere. Top: the field rises in a straight line to the surface and then falls as . It reaches half its surface value twice, at and at . Bottom: the potential is lowest at the centre, . It joins the outside curve at the surface with the same value and the same slope.

A tunnel through the Earth

Now use . Model the Earth as a uniform sphere. Dig a straight tunnel through it, with no air and no friction, and drop a ball in at one end.

At distance from the centre, the pull on each kilogram is , towards the centre. The tunnel need not pass through the centre. Measure the ball's position along the tunnel from its midpoint. Only the part of the pull along the tunnel matters. By similar triangles, that part is the full pull multiplied by . So the acceleration along the tunnel is

The acceleration is proportional to the displacement from the midpoint, and opposite to it. This is the condition for simple harmonic motion, which the next topic studies in full. The ball swings from end to end with angular frequency , and period

Notice what is missing from : the length of the tunnel. A short tunnel under two nearby cities and a long one through the centre take exactly the same time in this model. A shorter tunnel is less steep, so the ball accelerates less, but it also has less distance to cover. The two effects cancel.

The formula should look familiar. The previous lecture gave the period of a circular orbit as . Put , and you get the same . So the ball takes exactly as long for a round trip as a satellite skimming the ground (with no air and no mountains) takes for one orbit. For the tunnel through the centre, the ball is the satellite's shadow on the diameter. Watch both below.

Simulation — a straight tunnel and a satellite skimming the ground

Choose where the tunnel runs, then press Play. The ball starts at the right-hand end. The satellite starts on the same side and skims the surface. Compare where the ball is when the satellite has gone half way round.


The table shows three straight tunnels in a uniform Earth (, ). The time from end to end is the same for all three, and equal to half the orbit time of a satellite skimming the surface.

Tunnel's distance from the centreLength (km)Deepest point (km below ground)Top speed (km s⁻¹)End to end (min)
012 74263717.9142.2
0.5R11 03531866.8542.2
0.9R55546373.4542.2

Every tunnel took the same 42 minutes, exactly half an orbit of the satellite.

Worked examples

All examples use NASA's values for the Earth: and .

Worked Example 1 — The trip through the centre

In the uniform-Earth model, find (a) the time to fall from one end of a tunnel through the centre to the other, and (b) the ball's speed at the centre.

(a) .

. One end to the other is half of this, about 42.2 minutes.

(b) In SHM the top speed is times the amplitude: .

Check with energy. Each kilogram falls from to . It gains kinetic energy . So . The two methods agree. This is also the speed of the satellite skimming the ground, as the shadow picture says it must be.

Worked Example 2 — Half the surface field, twice

For a uniform sphere, where is half its surface value?

Inside: . Setting this equal to gives . For the Earth model, that is 3186 km from the centre, 3186 km below the ground.

Outside: . Setting this equal to gives , so . For the Earth, that is about 9010 km from the centre, about 2640 km above the ground.

Check. Halfway down, the inside sphere has of the mass at half the distance, so . Outside, . The graph is not symmetric: you reach half the field much sooner going up than going down.

Worked Example 3 — The real Earth has a heavy core

The Earth is not uniform. Its iron-rich core reaches out to about 3480 km from the centre, yet it holds about 32.5% of the Earth's mass (the Preliminary Reference Earth Model, PREM, Dziewonski and Anderson, 1981). Find at the top of the core.

The shell theorem still works here, because the density changes only with depth, not with direction. So every layer is a uniform shell. At the top of the core, the mantle above is a set of shells that pull with zero resultant force. Only the core pulls:

That is more than the 9.82 at the surface. Going down through the mantle, you get closer to the dense core faster than you leave mass above you. So in the real Earth, rises on the way down, to about 10.7 at the top of the core. PREM's value there is 10.68 m s⁻². Below that, it falls to zero at the centre.

What this does to the tunnel. A stronger pull for most of the way means a faster trip. Alexander Klotz used PREM to compute the fall through the centre: about 38 minutes and 11 seconds, not 42 (American Journal of Physics, 2015). The uniform model gets the shape of the answer right, but not every number.

Worked Example 4 — Escaping from the centre

In the uniform model, what is the least speed needed to escape to infinity from the centre of the Earth, through the tunnel?

At the centre, . To reach infinity, where , each kilogram needs kinetic energy . So , giving .

Check. From the surface, the escape speed is (the lecture on gravitational potential). The ratio is , and . The centre is deeper in the well, so escaping needs more.

The classic mistakes

Trap 1 — "Zero field, so zero potential"

Inside a hollow shell, but . The field is the slope of the potential. A constant potential has zero slope, whatever its value. Inside a solid sphere, the potential at the centre is the lowest of all, , even though the field there is zero.

Trap 2 — Using GM/r² inside a planet

is for points outside, or on the surface. Used inside, it says grows without limit near the centre. Inside, only the mass closer to the centre than you counts. For a uniform sphere, that gives .

Trap 3 — Using the theorem without spherical symmetry

The theorem needs every shell to be uniform. Density may change with depth, as in the real Earth, but not from one side to another. Inside a hollow cube, or a shell that is thicker on one side, the field is not zero, and the cone argument fails because the two patches no longer match.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck. Use , and .

  1. In the uniform-Earth model, find at a depth of 1000 km.

    Hint 1

    Inside a uniform sphere, is proportional to the distance from the centre, not to the depth.

    Hint 2

    km. Find first, then multiply by .

    Full answer

    .

    .

    Check: 1000 km is about 16% of the radius, and has dropped by about 16%, as a straight-line graph through the origin requires. (The real Earth gives a larger value here, as Worked Example 3 explains.)

  2. An invented hollow asteroid is a thin uniform shell of mass kg and radius 5.0 km. Find the field and the potential (a) at a point 2 km from its centre, (b) just outside its surface, (c) 10 km from its centre.

    Hint 1

    Decide first whether each point is inside or outside the shell. Inside, both values are given directly by the theorem box.

    Hint 2

    . Inside, use m in .

    Full answer

    (a) Inside: . . The 2 km does not appear.

    (b) , towards the centre. , the same as inside, so has no jump at the shell.

    (c) , one quarter of (b) at twice the distance. , half of (b).

    Notice that jumps from 0 to as you cross the thin shell. A solid sphere has no such jump.

  3. Two cities are 1000 km apart, measured along the ground. In the uniform-Earth model, a straight tunnel joins them. Find (a) the time from one city to the other, (b) the depth of the tunnel's middle, (c) the top speed.

    Hint 1

    The time does not depend on the tunnel. For (b) and (c), find the angle at the centre between the two cities, .

    Hint 2

    The half-length of the tunnel is , and its middle is from the centre. The top speed is times the half-length.

    Full answer

    (a) About 42.2 minutes, as for every straight tunnel.

    (b) rad. The middle is km from the centre, so it is about 19.6 km below the ground.

    (c) Half-length km. .

    Check: the tunnel is nearly flat, so the ball covers about 1000 km in 42 minutes. Its average speed is about 395 m s⁻¹, which is of the top speed, as it must be for SHM over half a cycle: .

  4. (a) Show that, for a uniform sphere, the tunnel period depends only on the density : . (b) Use NASA's Moon values, and m, to find the time to fall through the centre of the Moon. (c) Explain in one sentence why the Moon's time is longer than the Earth's, even though the Moon is much smaller.

    Hint 1

    Write in .

    Hint 2

    The cancels. For (b), use directly, then halve it.

    Full answer

    (a) . So .

    (b) . Through the centre takes half of this, about 54 minutes.

    (c) The period depends only on the density, and the Moon is less dense than the Earth.

    Check with densities: the Earth's mean density from these values is about 5510 kg m⁻³, giving min, which matches Worked Example 1. The Moon's period is longer by a factor of , so its density must be smaller by , giving about 3340 kg m⁻³.

The bigger idea

Newton published both halves of the shell theorem as Propositions 70 and 71 of Book I of the Principia, in 1687. The outside half is what lets every orbit calculation in this topic treat the Earth, the Moon and the Sun as points. Without it, the whole of orbital mechanics would need the shape of every planet.

The inside half turned into a way of testing the law itself. The cone argument works only for an inverse-square law. The electric force between charges also follows an inverse-square law, so a charged hollow conductor should have no electric field inside, and no charge should collect on an inner surface. In 1773 Henry Cavendish tested exactly this. He placed an insulated metal globe inside two hollow metal hemispheres, joined them with a wire, and charged the outer shell. Then he removed the hemispheres and tested the globe. It had no charge. He estimated that the power in the law could differ from 2 by no more than about 1/50. Coulomb's direct force measurements came twelve years later, in 1785. A null result like this tests the "2" without measuring any force at all. Later in the course, Gauss's law turns the same idea into one of the four basic equations of electricity and magnetism.

And the tunnel showed something worth keeping. A pull proportional to distance gives simple harmonic motion, with a period that does not depend on the size of the swing. That is the subject of the next topic.

Key concepts in this lesson